]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
[AArch64] Provide symbol version for _mcount.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
61a9dcb9
DM
12013-07-24 David S. Miller <davem@davemloft.net>
2
3 * po/libc.pot: Update.
4
7b1f8b58
AZ
52013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6
7 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
8 variable page size.
9 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
10 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
12
a8fc7a03
AK
132013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14
15 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16
e4608715
CD
172013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18 Andreas Schwab <schwab@suse.de>
19 Roland McGrath <roland@hack.frob.com>
20 Joseph Myers <joseph@codesourcery.com>
21 Carlos O'Donell <carlos@redhat.com>
22
23 [BZ #15755]
24 * config.h.in: Define HAVE_PT_CHOWN.
25 * config.make.in (build-pt-chown): New variable.
26 * configure.in (--enable-pt_chown): New configure option.
27 * configure: Regenerate.
28 * login/Makefile: Include Makeconfig. Build pt_chown only if
29 build-pt-chown is enabled.
30 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
31 pt_chown to fix pty ownership.
32 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
33 CLOSE_ALL_FDS.
34 * manual/install.texi (Configuring and compiling): Mention
35 --enable-pt_chown. Add @findex for grantpt.
36 * INSTALL: Regenerate.
37
da2d62df
DM
382013-07-20 David S. Miller <davem@davemloft.net>
39
40 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
41 difference between 32-bit and 64-bit.
42
d7e06450
CD
432013-07-15 Carlos O'Donell <carlos@redhat.com>
44
45 [BZ #15711]
46 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
47 Avoid system header dependency with -ffreestanding.
48 ($(objpfx)bits/syscall%d): Likewise.
49
f959cfd7
DM
502013-07-13 David S. Miller <davem@davemloft.net>
51
52 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
53 underflows from atanl/atan2l due to bug 15319.
54 (casinh_test_data): Likewise.
55
c61f8513
DM
562013-07-07 David S. Miller <davem@davemloft.net>
57
58 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
59
72c90ed0
JA
602013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
61
62 * sysdeps/i386/fpu/libm-test-ulps: Update.
63 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64
52dfbe13
SP
652013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
66
67 * configure.in (--enable-lock-elision): Fix message text.
68 * INSTALL: Regenerate.
69 * configure: Regenerate.
70
3f169543
AZ
712013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72
73 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74
521c6785
AJ
752013-07-03 Andreas Jaeger <aj@suse.de>
76
77 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
78 define.
79 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
80 (ptrace_peeksiginfo_args): Add.
81 (__ptrace_peeksiginfo_flags): Add.
82 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
83 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
84 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
85
d2cc15cb
AM
862013-07-03 Allan McRae <allan@archlinux.org>
87
88 * sysdeps/i386/fpu/libm-test-ulps: Update.
89
3aaeeca7
DM
902013-07-02 David S. Miller <davem@davemloft.net>
91
92 * sysdeps/sparc/fpu/libm-test-ulps: Update.
93
5314ed1a
MT
942013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
95
96 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
97
67338156
JM
982013-07-02 Joseph Myers <joseph@codesourcery.com>
99
100 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
102
1717da59
AK
1032013-07-02 Andi Kleen <ak@linux.intel.com>
104
105 * config.h.in (ENABLE_LOCK_ELISION): Add.
106 * configure.in (--enable-lock-elision): Add option.
107 * manual/install.texi: Document --enable lock elision.
108 * configure: Regenerate
109 * INSTALL: Regenerate.
110
1c81621c
L
1112013-07-02 H.J. Lu <hongjiu.lu@intel.com>
112
113 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
114 SSE4.2 strcasecmp for libc.a.
115 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
116
77f01ab5
JM
1172013-07-02 Joseph Myers <joseph@codesourcery.com>
118
119 [BZ #13304]
120 * soft-fp/op-common.h (_FP_FMA): New macro.
121 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
122 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
123 (_FP_MUL_MEAT_1_imm): ... here.
124 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
125 (_FP_MUL_MEAT_1_wide): ... here.
126 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
127 (_FP_MUL_MEAT_1_hard): ... here.
128 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
129 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
130 (_FP_MUL_MEAT_2_wide): ... here.
131 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
132 (_FP_MUL_MEAT_2_wide_3mul): ... here.
133 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
134 (_FP_MUL_MEAT_2_gmp): ... here.
135 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
136 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
137 (_FP_MUL_MEAT_4_wide): ... here.
138 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
139 (_FP_MUL_MEAT_4_gmp): ... here.
140 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
141 (_FP_WFRACBITS_DW_S): Likewise.
142 (_FP_WFRACXBITS_DW_S): Likewise.
143 (_FP_HIGHBIT_DW_S): Likewise.
144 (FP_FMA_S): Likewise.
145 (_FP_FRAC_HIGH_DW_S): Likewise.
146 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
147 (_FP_WFRACBITS_DW_D): Likewise.
148 (_FP_WFRACXBITS_DW_D): Likewise.
149 (_FP_HIGHBIT_DW_D): Likewise.
150 (FP_FMA_D): Likewise.
151 (_FP_FRAC_HIGH_DW_D): Likewise.
152 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
153 (_FP_WFRACBITS_DW_E): Likewise.
154 (_FP_WFRACXBITS_DW_E): Likewise.
155 (_FP_HIGHBIT_DW_E): Likewise.
156 (FP_FMA_E): Likewise.
157 (_FP_FRAC_HIGH_DW_E): Likewise.
158 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
159 (_FP_WFRACBITS_DW_Q): Likewise.
160 (_FP_WFRACXBITS_DW_Q): Likewise.
161 (_FP_HIGHBIT_DW_Q): Likewise.
162 (FP_FMA_Q): Likewise.
163 (_FP_FRAC_HIGH_DW_Q): Likewise.
164 * soft-fp/fmasf4.c: New file.
165 * soft-fp/fmadf4.c: Likewise.
166 * soft-fp/fmatf4.c: Likewise.
167
6308fd9a
LD
1682013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
169
170 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
171 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
172 Silvermont.
173 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
174 macro.
175 (index_Slow_SSE4_2): Likewise.
176 (index_Prefer_PMINUB_for_stringop): Likewise.
177 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
178 bit_Slow_SSE4_2 is set.
179 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
180 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
181
89cd9569
RA
1822013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
183
184 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
185 rtld_global._dl_hwcap2.
186 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
187 POWER8.
188 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
189 POWER8 feature descriptions defined in _dl_hwcap2.
190 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
191 string handling for POWER8 feature bits.
192 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
193 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
194 _dl_powerpc_cap_flags.
195 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
196 * sysdeps/powerpc/rtld-global-offsets.sym
197 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
198 _dl_hwcap2 in the rtld_global_ro structure.
199
1ae8bfe0
RA
2002013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
201
202 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
203 hardware capabilities in support of AT_HWCAP2.
204 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
205 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
206 GLRO(dl_hwcap2).
207 (_dl_show_auxv): Add support for calling _dl_procinfo to display
208 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
209 explicitly the unknown a_type display mechanism is used.
210 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
211 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
212 struct member.
213 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
214 to macro prototype for AT_HWCAP2 support.
215 * sysdeps/i386/dl-procinfo.h: Likewise.
216 * sysdeps/s390/dl-procinfo.h: Likewise.
217 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
218 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
219 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
220 return -1 for unknown a_type display fallback.
221 * sysdeps/sparc/dl-procinfo.h: Likewise.
222 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
223 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
224
8fbec010
JM
2252013-06-28 Joseph Myers <joseph@codesourcery.com>
226
227 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
228 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
229
0432680e
PY
2302013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
231
232 [BZ #12492]
233 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
234 mprotect making __stack_prot writable.
235
ce61a2ad
NF
2362013-06-28 Nathan Froyd <froydnj@codesourcery.com>
237 Joseph Myers <joseph@codesourcery.com>
238
239 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
240 as being properly aligned.
241
f91f1c0f
MR
2422013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
243
3d0f5d0c
MR
244 * dlfcn/modstatic5.c: New file.
245 * dlfcn/tststatic5.c: New file.
246 * dlfcn/Makefile (tests): Add tststatic5.
247 (tests-static): Likewise.
248 (modules-names): Add modstatic5.
249 (tststatic5-ENV): New variable.
250 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
251
f91f1c0f
MR
252 [BZ #15022]
253 * elf/dl-support.c (_dl_main_map): New variable.
254 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
255 (_dl_nns, _dl_load_adds): Set to 1.
256 (_dl_initial_searchlist): Refer to _dl_main_map.
257 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
258 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
259 call to _dl_get_origin.
260 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
261 around call_map.
262 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
263 * dlfcn/modstatic3.c: New file.
264 * dlfcn/tststatic3.c: New file.
265 * dlfcn/tststatic4.c: New file.
266 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
267 (tests-static): Likewise.
268 (modules-names): Add modstatic3.
269 (tststatic3-ENV, tststatic4-ENV): New variables.
270 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
271 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
272
cbe7d24b
JM
2732013-06-26 Joseph Myers <joseph@codesourcery.com>
274
275 * configure.in (CC): Require GCC version 4.4 or later.
276 * configure: Regenerated.
277 * manual/install.texi (Tools for Compilation): Update GCC version
278 requirement.
279 * INSTALL: Regenerated.
280
11b8a0e1
LD
2812013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
282
283 [BZ #15674]
bb5bb87c
L
284 * string/test-memcmp.c (check2): New.
285 (main): Call check2.
286
11b8a0e1
LD
287 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
288
b0037103
MR
2892013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
290
291 [BZ #15022]
292 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
293 over to...
294 (dl_open_worker) [!SHARED]: ... here.
295
c18c701d
RA
2962013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
297
298 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
299
1d17fa5f
RH
3002013-06-25 Richard Henderson <rth@redhat.com>
301
302 * locale/programs/locarchive.c: Include <libc-internal.h>
303
8fcb833a
JM
3042013-06-25 Joseph Myers <joseph@codesourcery.com>
305
306 * manual/texinfo.tex: Update to version 2013-06-21.17, with
307 trailing whitespace removed.
308
17db6e8d
MF
3092013-06-24 Mike Frysinger <vapier@gentoo.org>
310
311 [BZ #10283]
17db6e8d
MF
312 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
313 * locale/programs/locarchive.c: Include libc-mmap.h.
314 (prepare_address_space): Take two new outputs (the mmap base and len).
315 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
316 values.
317 (create_archive): Declare new mmap base and len values for
318 prepare_address_space, and store the result in ah.
319 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
320 (enlarge_archive): If ah->mmap_base is not NULL, use that and
321 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
322 Declare new mmap base and len values for
323 prepare_address_space, and store the result in new_ah.
324 (open_archive): Declare new mmap base and len values for
325 prepare_address_space, and store the result in ah.
326 (close_archive): If ah->mmap_base is not NULL, use that and
327 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
328 * sysdeps/generic/libc-mmap.h: New file.
329
d605071e
MF
3302013-06-24 Mike Frysinger <vapier@gentoo.org>
331
332 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
333 (ALIGN_UP): Likewise.
334 (PTR_ALIGN_DOWN): Likewise.
335 (PTR_ALIGN_UP): Likewise.
336
2f063a6e
RA
3372013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
338
339 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
340 entry mapped to PPC_PLATFORM_POWER8.
341 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
342 POWER8.
343 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
344 (_dl_string_platform): Add case for exporting platform position for
345 POWER8.
346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
347 search path to sysdeps/powerpc/powerpc32/power8 directory.
348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
349 search path to sysdeps/powerpc/powerpc64/power8 directory.
350 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
351 power7 directories.
352 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
353 power7 directories.
354
a31ee4b3
SP
3552013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
356
a74ca98f
SP
357 * INSTALL: Regenerate.
358
a31ee4b3
SP
359 * nscd/connections.c (nscd_init): Fix comment.
360
695c378f
JM
3612013-06-22 Joseph Myers <joseph@codesourcery.com>
362
d8412221
JM
363 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
364
695c378f
JM
365 [BZ #15667]
366 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
367 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
368
d1d54715
MR
3692013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
370
371 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
372 DL_DST_REQ_STATIC.
373 (DL_DST_REQ_STATIC): Remove macro.
374
8fdda7af
JM
3752013-06-21 Joseph Myers <joseph@codesourcery.com>
376
377 [BZ #7006]
378 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
379 with a shift of 0 bits.
380
f3bc5e5a
MR
3812013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
382
383 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
384 $(tststatic-ENV).
385
be09e8c9
KK
3862013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
387
388 [BZ #15655]
389 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
390
85c2e611
AZ
3912013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
392
393 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
394 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
395 accepts -fno-tree-loop-distribute-patterns.
396 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
397 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
398 recursive call.
399 * string/memset.c (memset): Likewise.
400 * string/test-memmove.c (simple_memmove): Disable loop transformation
401 to library calls.
402 * string/test-memset.c (simple_memset): Likewise.
403 * benchtests/bench-memmove.c (simple_memmove): Likewise.
404 * benchtests/bench-memset.c (simple_memset): Likewise.
405 * configure: Regenerated.
406
c91e0825
JM
4072013-06-20 Joseph Myers <joseph@codesourcery.com>
408
b8c792af
JM
409 * math/test-misc.c (main): Ignore fesetround failure when failures
410 of subsequent rounding tests would be ignored.
411
c91e0825
JM
412 [BZ #15654]
413 * math/fedisblxcpt.c (fedisableexcept): Return 0.
414 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
415 * math/fegetenv.c (__fegetenv): Return 0.
416 * math/fegetexcept.c (fegetexcept): Return 0.
417 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
418 FE_TONEAREST.
419 * math/feholdexcpt.c (feholdexcept): Return 0.
420 * math/fesetenv.c (__fesetenv): Return 0.
421 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
422 argument FE_TONEAREST.
423 * math/feupdateenv.c (__feupdateenv): Return 0.
424 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
425
bfcacbde
RM
4262013-06-18 Roland McGrath <roland@hack.frob.com>
427
428 * elf/rtld-Rules (rtld-compile-command.S): New variable.
429 (rtld-compile-command.s, rtld-compile-command.c): New variables.
430 ($(objpfx)rtld-%.os rules): Use them.
431
e55a9b25
AZ
4322013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
433
434 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
435 fields.
436
346d65b3
RM
4372013-06-17 Roland McGrath <roland@hack.frob.com>
438
12086fb4
RM
439 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
440 length of target pattern, then descending length of dependency pattern.
441 * configure.in (AWK): Require gawk 3.1.2 or newer.
442 * manual/install.texi (Tools for Compilation): Say that we do.
443 * configure: Regenerated.
444
346d65b3
RM
445 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
446 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
447 * scripts/sysd-rules.awk: ... this new script.
448 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
449 than a glob-style pattern.
450
1a846317
JM
4512013-06-17 Joseph Myers <joseph@codesourcery.com>
452
453 * math/test-misc.c (main): Do not treat incorrectly rounded
454 conversions as failure unless ROUNDING_TESTS passes.
455
8fc75e6f
JM
4562013-06-15 Joseph Myers <joseph@codesourcery.com>
457
3711a167
JM
458 [BZ #15631]
459 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
460 restore exception state around main square root computation, then
461 check for inexactness explicitly.
462
8fc75e6f
JM
463 * math/libm-test.inc (fma_test_data): Add another test.
464
61dd6208
SP
4652013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
466
adf23d2c
SP
467 * manual/threads.texi (Non-POSIX Extensions): New document
468 node. Document pthread_getattr_default_np and
469 pthread_setattr_default_np.
470
61dd6208
SP
471 * Versions.def (libpthread): Add GLIBC_2.18.
472 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
474 Likewise.
475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
476 Likewise.
477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
478 Likewise.
479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
480 Likewise.
481 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
482 Likewise.
483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
484 Likewise.
485 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
486 Likewise.
487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
488 Likewise.
489 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
490 Likewise.
491
d086fc7b
LD
4922013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
493
494 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
495 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
496
747ef469
SP
4972013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
498 H.J. Lu <hjl.tools@gmail.com>
499
500 [BZ #15627]
501 * sysdeps/x86_64/rtld-memset.c: Remove file.
502 * sysdeps/x86_64/rtld-memset.S: New file.
503
1b2feed2
JM
5042013-06-14 Joseph Myers <joseph@codesourcery.com>
505
506 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
507 (test_in_one_mode): Take arguments for whether the rounding mode
508 is supported for each floating-point type.
509 (do_test): Pass new arguments to test_in_one_mode using
510 ROUNDING_TESTS.
511
a58ad3f8
RM
5122013-06-13 Roland McGrath <roland@hack.frob.com>
513
514 * posix/tst-waitid.c (do_test): Distinguish different instances of
515 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
516 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
517 before entering the kernel for waitpid.
518
c204ab28
SP
5192013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
520
521 * NEWS: Fix note on clock function precision. Text by Roland
522 McGrath.
523
f4a29fba
RM
5242013-06-13 Roland McGrath <roland@hack.frob.com>
525
526 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
527 it into place only when and if the sanity check passes.
528
1f24b9ad
JM
5292013-06-13 Joseph Myers <joseph@codesourcery.com>
530
531 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
532 output for whether conversion result is exact. Take argument
533 indicating whether type is IBM long double.
534 (round_for_all): Change need_exact field to ibm_ld.
535 * stdlib/tst-strtod-round.c (struct exactness): New type.
536 (struct test): Change bool ld_ok field to struct exactness exact.
537 (TEST): Update all definitions for change to field.
538 (tests): Regenerate array contents.
539 (test_in_one_mode): Take pointer to new field instead of old ld_ok
540 field value. Check for IBM long double here.
541 (do_test): Update calls to test_in_one_mode.
542
58206c68
SP
5432013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
544
545 [BZ #12515]
546 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
547 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
548
2d6f4c5b 5492013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
550
551 [BZ #15605]
552 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
553 generated by the compiler on loop optimizations.
554 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
555 general definitions.
556
94f2c076
JM
5572013-06-12 Joseph Myers <joseph@codesourcery.com>
558
559 * math/bug-nextafter.c: Include <math-tests.h>.
560 (main): Only test for exceptions if EXCEPTION_TESTS is true for
561 the relevant type.
562 * math/bug-nexttoward.c: Include <math-tests.h>.
563 (main): Only test for exceptions if EXCEPTION_TESTS is true for
564 the relevant type.
565 * math/test-misc.c: Include <math-tests.h>.
566 (main): Only test for exceptions if EXCEPTION_TESTS is true for
567 the relevant type.
568
e0e50a0a
AJ
5692013-06-12 Andreas Jaeger <aj@suse.de>
570
571 * po/ia.po: Update Interlingua translation from translation
572 project.
573
25061094
SP
5742013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
575
576 * include/fenv.h: Include stdbool.h.
577 (struct rm_ctx): New structure.
578 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
579 Define macro.
580 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
581 (SET_RESTORE_ROUNDF): Likewise.
582 (SET_RESTORE_ROUNDL): Likewise.
583 (SET_RESTORE_ROUND_NOEX): Likewise.
584 (SET_RESTORE_ROUND_NOEXF): Likewise.
585 (SET_RESTORE_ROUND_NOEXL): Likewise.
586 (SET_RESTORE_ROUND_53BIT): Likewise.
587 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
588 (libc_feresetround_noexf_ctx): Likewise.
589 (libc_feresetround_noexl_ctx): Likewise.
590 (libc_feholdsetround_53bit_ctx): Likewise.
591 (libc_feresetround_53bit_ctx): Likewise.
592 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
593 (libc_feholdexcept_setround_sse_ctx): New function.
594 (libc_fesetenv_sse_ctx): Likewise.
595 (libc_feupdateenv_sse_ctx): Likewise.
596 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
597 (libc_feholdexcept_setround_387_ctx): Likewise.
598 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
599 (libc_feholdsetround_387_prec_ctx): Likewise.
600 (libc_feholdsetround_387_ctx): Likewise.
601 (libc_feholdsetround_387_53bit_ctx): Likewise.
602 (libc_feholdsetround_sse_ctx): Likewise.
603 (libc_feresetround_sse_ctx): Likewise.
604 (libc_feresetround_387_ctx): Likewise.
605 (libc_feupdateenv_387_ctx): Likewise.
606 (libc_feholdexcept_setroundf_ctx): Define macro.
607 (libc_fesetenvf_ctx): Likewise.
608 (libc_feupdateenvf_ctx): Likewise.
609 (libc_feholdsetroundf_ctx): Likewise.
610 (libc_feresetroundf_ctx): Likewise.
611 (libc_feholdexcept_setround_ctx): Likewise.
612 (libc_fesetenv_ctx): Likewise.
613 (libc_feupdateenv_ctx): Likewise.
614 (libc_feholdsetround_ctx): Likewise.
615 (libc_feresetround_ctx): Likewise.
616 (libc_feholdexcept_setroundl_ctx): Likewise.
617 (libc_feupdateenvl_ctx): Likewise.
618 (libc_feholdsetroundl_ctx): Likewise.
619 (libc_feresetroundl_ctx): Likewise.
620 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
621 (libc_feresetround_53bit_ctx): Likewise.
622
59b30555
SP
6232013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
624
625 * locale/iso-639.def: Convert to UTF-8.
626
f1d73d30
JM
6272013-06-11 Joseph Myers <joseph@codesourcery.com>
628
629 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
630 (EXCEPTION_TESTS_double): Likewise.
631 (EXCEPTION_TESTS_long_double): Likewise.
632 (EXCEPTION_TESTS): Likewise.
633 * math/libm-test.inc (test_exceptions): Only test exceptions if
634 EXCEPTION_TESTS (FLOAT).
635
94aca5e7
SP
6362013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
637
638 * benchtests/Makefile (string-bench): Add strcpy_chk and
639 stpcpy_chk.
640 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
641 * benchtests/bench-stpcpy_chk.c: New file.
642 * benchtests/bench-strcpy_chk-ifunc.c: New file.
643 * benchtests/bench-strcpy_chk.c: New file.
644 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
645 code.
646 (do_test): Likewise.
647
fac0c5f2
RA
6482013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
649
650 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
651 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
652 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
653 with tabs where appropriate.
654 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
655 dl-procinfo.h.
656 [PPC_PLATFORM_PPC440]: Likewise.
657 [PPC_PLATFORM_PPC464]: Likewise.
658 [PPC_PLATFORM_PPC476]: Likewise.
659 (_dl_string_platform): Add support for detecting ppc405, ppc440,
660 ppc464, and ppc476 platform strings merging from ports/
661 dl-procinfo.h.
662
f22bc486
AS
6632013-06-11 Andreas Schwab <schwab@suse.de>
664
665 [BZ #14991]
666 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
667 (from_ucs4_idx): Regenerate.
668 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
669 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
670 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
671 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
672 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
673 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
674 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
675 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
676 from FROM_LOOP and TO_LOOP specific macros.
677 (BODY): Handle combining characters.
678 * iconvdata/BIG5HKSCS.irreversible: Update.
679 * iconvdata/BIG5HKSCS.precomposed: New file.
680 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
681 characters.
682 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
683
c1f75dc3
SP
6842013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
685
4eacded2
SP
686 * include/sys/time.h: Fix indentation and add copyright header.
687
fec799f8
SP
688 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
689 (do_test): Likewise.
690 * string/test-memchr.c (do_one_test): Likewise.
691 (do_test): Likewise.
692 * string/test-memcmp.c (do_one_test): Likewise.
693 (do_test): Likewise.
694 * string/test-memcpy.c (do_one_test): Likewise.
695 (do_test): Likewise.
696 * string/test-memmem.c (do_one_test): Likewise.
697 (do_test): Likewise.
698 (do_random_tests): Likewise.
699 * string/test-memmove.c (do_one_test): Likewise.
700 (do_test): Likewise.
701 * string/test-memset.c (do_one_test): Likewise.
702 (do_test): Likewise.
703 * string/test-rawmemchr.c (do_one_test): Likewise.
704 (do_test): Likewise.
705 * string/test-strcasecmp.c (do_one_test): Likewise.
706 (do_test): Likewise.
707 * string/test-strcasestr.c (do_one_test): Likewise.
708 (do_test): Likewise.
709 * string/test-strcat.c (do_one_test): Likewise.
710 (do_test): Likewise.
711 * string/test-strchr.c (do_one_test): Likewise.
712 (do_test): Likewise.
713 * string/test-strcmp.c (do_one_test): Likewise.
714 (do_test): Likewise.
715 * string/test-strcpy.c (do_one_test): Likewise.
716 (do_test): Likewise.
717 * string/test-string.h: Likewise.
718 (test_init): Likewise.
719 * string/test-strlen.c (do_one_test): Likewise.
720 (do_test): Likewise.
721 * string/test-strncasecmp.c (do_one_test): Likewise.
722 (do_test): Likewise.
723 * string/test-strncat.c (do_one_test): Likewise.
724 (do_test): Likewise.
725 * string/test-strncmp.c (do_one_test): Likewise.
726 (do_test_limit): Likewise.
727 (do_test): Likewise.
728 * string/test-strncpy.c (do_one_test): Likewise.
729 (do_test): Likewise.
730 * string/test-strnlen.c (do_one_test): Likewise.
731 (do_test): Likewise.
732 * string/test-strpbrk.c (do_one_test): Likewise.
733 (do_test): Likewise.
734 * string/test-strrchr.c (do_one_test): Likewise.
735 (do_test): Likewise.
736 * string/test-strspn.c (do_one_test): Likewise.
737 (do_test): Likewise.
738 * string/test-strstr.c (do_one_test): Likewise.
739 (do_test): Likewise.
740
97020474
SP
741 * benchtests/Makefile (string-bench): Add string benchmarks.
742 * benchtests/bench-bcopy-ifunc.c: New file.
743 * benchtests/bench-bcopy.c: New file.
744 * benchtests/bench-bzero-ifunc.c: New file.
745 * benchtests/bench-bzero.c: New file.
746 * benchtests/bench-memccpy-ifunc.c: New file.
747 * benchtests/bench-memccpy.c: New file.
748 * benchtests/bench-memchr-ifunc.c: New file.
749 * benchtests/bench-memchr.c: New file.
750 * benchtests/bench-memcmp-ifunc.c: New file.
751 * benchtests/bench-memcmp.c: New file.
752 * benchtests/bench-memmem-ifunc.c: New file.
753 * benchtests/bench-memmem.c: New file.
754 * benchtests/bench-memmove-ifunc.c: New file.
755 * benchtests/bench-memmove.c: New file.
756 * benchtests/bench-mempcpy-ifunc.c: New file.
757 * benchtests/bench-mempcpy.c: New file.
758 * benchtests/bench-memset-ifunc.c: New file.
759 * benchtests/bench-memset.c: New file.
760 * benchtests/bench-rawmemchr-ifunc.c: New file.
761 * benchtests/bench-rawmemchr.c: New file.
762 * benchtests/bench-stpcpy-ifunc.c: New file.
763 * benchtests/bench-stpcpy.c: New file.
764 * benchtests/bench-stpncpy-ifunc.c: New file.
765 * benchtests/bench-stpncpy.c: New file.
766 * benchtests/bench-strcasecmp-ifunc.c: New file.
767 * benchtests/bench-strcasecmp.c: New file.
768 * benchtests/bench-strcasestr-ifunc.c: New file.
769 * benchtests/bench-strcasestr.c: New file.
770 * benchtests/bench-strcat-ifunc.c: New file.
771 * benchtests/bench-strcat.c: New file.
772 * benchtests/bench-strchr-ifunc.c: New file.
773 * benchtests/bench-strchr.c: New file.
774 * benchtests/bench-strchrnul-ifunc.c: New file.
775 * benchtests/bench-strchrnul.c: New file.
776 * benchtests/bench-strcmp-ifunc.c: New file.
777 * benchtests/bench-strcmp.c: New file.
778 * benchtests/bench-strcpy-ifunc.c: New file.
779 * benchtests/bench-strcpy.c: New file.
780 * benchtests/bench-strcspn-ifunc.c: New file.
781 * benchtests/bench-strcspn.c: New file.
782 * benchtests/bench-strlen-ifunc.c: New file.
783 * benchtests/bench-strlen.c: New file.
784 * benchtests/bench-strncasecmp-ifunc.c: New file.
785 * benchtests/bench-strncasecmp.c: New file.
786 * benchtests/bench-strncat-ifunc.c: New file.
787 * benchtests/bench-strncat.c: New file.
788 * benchtests/bench-strncmp-ifunc.c: New file.
789 * benchtests/bench-strncmp.c: New file.
790 * benchtests/bench-strncpy-ifunc.c: New file.
791 * benchtests/bench-strncpy.c: New file.
792 * benchtests/bench-strnlen-ifunc.c: New file.
793 * benchtests/bench-strnlen.c: New file.
794 * benchtests/bench-strpbrk-ifunc.c: New file.
795 * benchtests/bench-strpbrk.c: New file.
796 * benchtests/bench-strrchr-ifunc.c: New file.
797 * benchtests/bench-strrchr.c: New file.
798 * benchtests/bench-strspn-ifunc.c: New file.
799 * benchtests/bench-strspn.c: New file.
800 * benchtests/bench-strstr-ifunc.c: New file.
801 * benchtests/bench-strstr.c: New file.
802
c1f75dc3
SP
803 * benchtests/Makefile: Disable parallel execution of targets.
804 (string-bench): Add memcpy.
805 (benchset): New variable to store a list of benchmark sets.
806 (bench-func): Renamed from bench.
807 (bench-set): New target.
808 (bench): Depend on bench-func and bench-set.
809 * benchtests/README: Add section on benchmark sets.
810 * benchtests/bench-memcpy-ifunc.c: New file.
811 * benchtests/bench-memcpy.c: New file.
812 * benchtests/bench-string.h: New file.
813
50fd745b
AS
8142013-06-11 Andreas Schwab <schwab@suse.de>
815
816 [BZ #15577]
817 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
818 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
819 values in the triple.
820 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
821 terminator in the group key.
822
3ee7e9fe
AJ
8232013-06-11 Andreas Jaeger <aj@suse.de>
824
825 * po/zh_TW.po: Update Chinese (traditional) translation from
826 translation project.
827
89fb6835
SP
8282013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
829
830 * include/time.h (__clock_gettime): Add libc_hidden_proto.
831 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
832 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
833 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
834 (clock_getcpuclockid): Likewise.
835 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
836 Add weak_alias and libc_hidden_def.
837 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
838 * rt/clock_gettime.c (clock_gettime): Rename to
839 __clock_gettime. Add weak_alias and libc_hidden_def.
840 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
841 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
842 __clock_nanosleep. Add weak_alias and libc_hidden_def.
843 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
844 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
845 Likewise.
846 * rt/clock_settime.c (clock_settime): Rename to
847 __clock_settime. Add weak_alias and libc_hidden_def.
848 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
849
0efa6f8b
JM
8502013-06-10 Joseph Myers <joseph@codesourcery.com>
851
b8c61b4b
JM
852 * mach/err_boot.sub: Remove trailing whitespace.
853 * mach/err_ipc.sub: Likewise.
854 * mach/err_mach.sub: Likewise.
855
0efa6f8b
JM
856 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
857 (ROUNDING_TESTS_double): Likewise.
858 (ROUNDING_TESTS_long_double): Likewise.
859 (ROUNDING_TESTS): Likewise.
860 * math/libm-test.inc: Include <math-tests.h>.
861 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
862 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
863 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
864 (IF_ROUND_INIT_FE_UPWARD): Likewise.
865
50b818bf
SP
8662013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
867
868 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
869 of assigning.
870
60d2f8f3
JM
8712013-06-08 Joseph Myers <joseph@codesourcery.com>
872
4902d2c3
JM
873 * sysdeps/gnu/errlist.awk: Do not generate space at end of
874 otherwise empty TRANS lines.
875 * sysdeps/gnu/errlist.c: Regenerated.
876
60d2f8f3
JM
877 * catgets/gencat.c (error_print): Use (void) in function
878 definition.
879 * crypt/crypt_util.c (__init_des): Likewise.
880 * crypt/speeds.c (Stop): Likewise.
881 (main): Likewise.
882 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
883 * inet/ruserpass.c (token): Likewise.
884 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
885 * intl/localealias.c (extend_alias_table): Likewise.
886 * intl/plural-exp.c (init_germanic_plural): Likewise.
887 * libio/fcloseall.c (__fcloseall): Likewise.
888 * libio/genops.c (_IO_flush_all): Likewise.
889 (_IO_flush_all_linebuffered): Likewise.
890 (_IO_cleanup): Likewise.
891 (_IO_iter_begin): Likewise.
892 (_IO_iter_end): Likewise.
893 (_IO_list_lock): Likewise.
894 (_IO_list_unlock): Likewise.
895 (_IO_list_resetlock): Likewise.
896 * libio/getchar.c (getchar): Likewise.
897 * libio/getchar_u.c (getchar_unlocked): Likewise.
898 * libio/getwchar.c (getwchar): Likewise.
899 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
900 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
901 * login/getpt.c (__getpt): Likewise.
902 * login/tst-utmp.c (main): Likewise.
903 * malloc/hooks.c (__malloc_check_init): Likewise.
904 * malloc/malloc.c (__malloc_stats): Likewise.
905 * malloc/mtrace.c (tr_break): Likewise.
906 (mtrace): Likewise.
907 (muntrace): Likewise.
908 * misc/fstab.c (endfsent): Likewise.
909 * misc/getclktck.c (__getclktck): Likewise.
910 * misc/getdtsz.c (__getdtablesize): Likewise.
911 * misc/gethostid.c (gethostid): Likewise.
912 * misc/getpagesize.c (__getpagesize): Likewise.
913 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
914 (__get_nprocs): Likewise.
915 (__get_phys_pages): Likewise.
916 (__get_avphys_pages): Likewise.
917 * misc/getttyent.c (getttyent): Likewise.
918 (setttyent): Likewise.
919 (endttyent): Likewise.
920 * misc/getusershell.c (getusershell): Likewise.
921 (endusershell): Likewise.
922 (setusershell): Likewise.
923 (initshells): Likewise.
924 * misc/hsearch.c (__hdestroy): Likewise.
925 * misc/sync.c (sync): Likewise.
926 * misc/syslog.c (closelog_internal): Likewise.
927 (closelog): Likewise.
928 * misc/ttyslot.c (ttyslot): Likewise.
929 * misc/vhangup.c (vhangup): Likewise.
930 * posix/fork.c (__fork): Likewise.
931 * posix/getegid.c (__getegid): Likewise.
932 * posix/geteuid.c (__geteuid): Likewise.
933 * posix/getgid.c (__getgid): Likewise.
934 * posix/getpid.c (__getpid): Likewise.
935 * posix/getppid.c (__getppid): Likewise.
936 * posix/getuid.c (__getuid): Likewise.
937 * posix/pause.c (pause): Likewise.
938 * posix/setpgrp.c (setpgrp): Likewise.
939 * posix/setsid.c (__setsid): Likewise.
940 * posix/test-vfork.c (noop): Likewise.
941 * resolv/gethnamaddr.c (_endhtent): Likewise.
942 (_gethtent): Likewise.
943 (ht_endhostent): Likewise.
944 (gethostent): Likewise.
945 (dns_service): Likewise.
946 * stdlib/drand48.c (drand48): Likewise.
947 * stdlib/lrand48.c (lrand48): Likewise.
948 * stdlib/mrand48.c (mrand48): Likewise.
949 * stdlib/rand.c (rand): Likewise.
950 * stdlib/random.c (__random): Likewise.
951 * stdlib/setenv.c (clearenv): Likewise.
952 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
953 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
954 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
955 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
956 (__get_nprocs): Likewise.
957 (__get_phys_pages): Likewise.
958 (__get_avphys_pages): Likewise.
959 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
960 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
961 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
962 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
963 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
964 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
965 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
966 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
967 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
968 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
969 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
970 * sysdeps/mach/hurd/sync.c (sync): Likewise.
971 * sysdeps/posix/clock.c (clock): Likewise.
972 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
973 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
974 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
975 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
976 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
977 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
978 (__get_nprocs_conf): Likewise.
979 (__get_phys_pages): Likewise.
980 (__get_avphys_pages): Likewise.
981 * time/clock.c (clock): Likewise.
982 * time/tzset.c (__tzname_max): Likewise.
983
2e09a79a
JM
9842013-06-07 Joseph Myers <joseph@codesourcery.com>
985
986 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
987 (__bswap_32): Do not use "register".
988 * crypt/crypt.c (_ufc_doit_r): Likewise.
989 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
990 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
991 * gmon/gmon.c (__monstartup): Likewise.
992 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
993 * hurd/hurdmalloc.c (more_memory): Likewise.
994 (malloc): Likewise.
995 (free): Likewise.
996 (realloc): Likewise.
997 (malloc_fork_prepare): Likewise.
998 (malloc_fork_parent): Likewise.
999 (malloc_fork_child): Likewise.
1000 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1001 (_svcauth_des): Likewise.
1002 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1003 * inet/inet_net.c (inet_network): Likewise.
1004 * inet/inet_netof.c (inet_netof): Likewise.
1005 * inet/rcmd.c (__validuser2_sa): Likewise.
1006 * io/fts.c (fts_open): Likewise.
1007 (fts_load): Likewise.
1008 (fts_close): Likewise.
1009 (fts_read): Likewise.
1010 (fts_children): Likewise.
1011 (fts_build): Likewise.
1012 (fts_stat): Likewise.
1013 (fts_sort): Likewise.
1014 (fts_alloc): Likewise.
1015 (fts_lfree): Likewise.
1016 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1017 (_IO_file_xsgetn): Likewise.
1018 (_IO_file_xsgetn_mmap): Likewise.
1019 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1020 (_IO_cookie_write): Likewise.
1021 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1022 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1023 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1024 * malloc/obstack.c (_obstack_begin): Likewise.
1025 (_obstack_begin_1): Likewise.
1026 (_obstack_newchunk): Likewise.
1027 (_obstack_allocated_p): Likewise.
1028 (obstack_free): Likewise.
1029 (_obstack_memory_used): Likewise.
1030 * misc/getttyent.c (getttynam): Likewise.
1031 (getttyent): Likewise.
1032 (skip): Likewise.
1033 (value): Likewise.
1034 * misc/getusershell.c (initshells): Likewise.
1035 * misc/syslog.c (__vsyslog_chk): Likewise.
1036 * misc/ttyslot.c (ttyslot): Likewise.
1037 * nis/nis_hash.c (__nis_hash): Likewise.
1038 * posix/fnmatch_loop.c (FCT): Likewise.
1039 * posix/getconf.c (print_all): Likewise.
1040 (main): Likewise.
1041 * posix/getopt.c (exchange): Likewise.
1042 * posix/glob.c (globfree): Likewise.
1043 (prefix_array): Likewise.
1044 (__glob_pattern_type): Likewise.
1045 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1046 (NS_GET32): Likewise.
1047 (NS_PUT16): Likewise.
1048 (NS_PUT32): Likewise.
1049 * resolv/gethnamaddr.c (getanswer): Likewise.
1050 (gethostbyname2): Likewise.
1051 (gethostbyaddr): Likewise.
1052 (_gethtent): Likewise.
1053 (_gethtbyname2): Likewise.
1054 (_gethtbyaddr): Likewise.
1055 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1056 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1057 * resolv/res_init.c (__res_vinit): Likewise.
1058 (net_mask): Likewise.
1059 * resolv/res_mkquery.c (outchar): Likewise.
1060 (PRINT): Likewise.
1061 * stdio-common/printf_fp.c (outchar): Likewise.
1062 (PRINT): Likewise.
1063 * stdio-common/printf_fphex.c (outchar): Likewise.
1064 (PRINT): Likewise.
1065 * stdio-common/printf_size.c (outchar): Likewise.
1066 (PRINT): Likewise.
1067 * stdio-common/test_rdwr.c (main): Likewise.
1068 * stdio-common/tfformat.c (matches): Likewise.
1069 * stdio-common/vfprintf.c (outchar): Likewise.
1070 (printf_unknown): Likewise.
1071 (buffered_vfprintf): Likewise.
1072 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1073 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1074 (ReadFile): Likewise.
1075 * stdlib/qsort.c (SWAP): Likewise.
1076 (_quicksort): Likewise.
1077 * stdlib/setenv.c (__add_to_environ): Likewise.
1078 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1079 * stdlib/strtol_l.c (__strtol_l): Likewise.
1080 * stdlib/tst-strtod.c (main): Likewise.
1081 * stdlib/tst-strtol.c (main): Likewise.
1082 * stdlib/tst-strtoll.c (main): Likewise.
1083 * string/bits/string2.h (__strcmp_cc): Likewise.
1084 (__strcmp_cg): Likewise.
1085 (__strcspn_c1): Likewise.
1086 (__strcspn_c2): Likewise.
1087 (__strcspn_c3): Likewise.
1088 (__strspn_c1): Likewise.
1089 (__strspn_c2): Likewise.
1090 (__strspn_c3): Likewise.
1091 (__strsep_1c): Likewise.
1092 (__strsep_2c): Likewise.
1093 (__strsep_3c): Likewise.
1094 * string/memccpy.c (__memccpy): Likewise.
1095 * string/stpcpy.c (__stpcpy): Likewise.
1096 * string/strcmp.c (strcmp): Likewise.
1097 * string/strrchr.c (strrchr): Likewise.
1098 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1099 Likewise.
1100 * sysdeps/mach/hurd/getcwd.c
1101 (_hurd_canonicalize_directory_name_internal): Likewise.
1102 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1103 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1104 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1105 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1106 Likewise, in both definitions.
1107 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1108 definitions.
1109 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1110 64] (__bswap_64): Likewise.
1111 * time/test_time.c (main): Likewise.
1112 * time/tzfile.c (__tzfile_read): Likewise.
1113 (__tzfile_compute): Likewise.
1114 * time/tzset.c (__tzset_parse_tz): Likewise.
1115 (tzset_internal): Likewise.
1116 (compute_change): Likewise.
1117 * wcsmbs/wcscat.c (__wcscat): Likewise.
1118 * wcsmbs/wcschr.c (wcschr): Likewise.
1119 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1120 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1121 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1122 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1123 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1124 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1125 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1126 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1127 * wcsmbs/wmemset.c (wmemset): Likewise.
1128
9e54314b
JM
11292013-06-06 Joseph Myers <joseph@codesourcery.com>
1130
1131 * scripts/config.guess: Update to version 2013-05-16.
1132 * scripts/config.sub: Update to version 2013-04-24.
1133 * scripts/install-sh: Update to version 2011-11-20.07.
1134 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1135 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1136
350635a5
OB
11372013-06-06 Ondřej Bílka <neleai@seznam.cz>
1138
1139 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1140 * elf/sln.c: Likewise.
1141 * hurd/hurd/ioctl.h: Likewise.
1142 * hurd/hurdmalloc.c: Likewise.
1143 * hurd/xattr.c: Likewise.
1144 * include/shlib-compat.h: Likewise.
1145 * inet/ruserpass.c: Likewise.
1146 * libio/iofgets_u.c: Likewise.
1147 * libio/iofgetws_u.c: Likewise.
1148 * locale/programs/ld-identification.c: Likewise.
1149 * locale/programs/ld-time.c: Likewise.
1150 * mach/msg-destroy.c: Likewise.
1151 * nss/nss_files/files-netgrp.c: Likewise.
1152 * resolv/res_data.c: Likewise.
1153 * soft-fp/op-1.h: Likewise.
1154 * soft-fp/op-2.h: Likewise.
1155 * soft-fp/op-4.h: Likewise.
1156 * soft-fp/op-common.h: Likewise.
1157 * stdio-common/printf_fphex.c: Likewise.
1158 * stdlib/strtod_l.c: Likewise.
1159 * sunrpc/rpc/clnt.h: Likewise.
1160 * sysdeps/generic/framestate.c: Likewise.
1161 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1162 * sysdeps/i386/bsd-setjmp.S: Likewise.
1163 * sysdeps/i386/__longjmp.S: Likewise.
1164 * sysdeps/i386/setjmp.S: Likewise.
1165 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1166 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1167 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1168 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1169 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1170 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1171 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1172 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1173 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1174 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1175 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1176 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1177 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1178 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1179 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1180 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1181 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1182 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1183 * sysdeps/ieee754/support.c: Likewise.
1184 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1185 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1186 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1187 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1188 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1189 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1190 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1191 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1192 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1193 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1194 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1195 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1196 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1197 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1198 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1199 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1200 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1202
44a988af
OB
12032013-06-05 Ondřej Bílka <neleai@seznam.cz>
1204
25506f09 1205 * posix/transbug.c: Remove executable mode.
44a988af 1206
9c84384c
JM
12072013-06-05 Joseph Myers <joseph@codesourcery.com>
1208
1209 * crypt/speeds.c: Remove trailing whitespace.
1210 * dlfcn/default.c: Likewise.
1211 * elf/ifuncdep2.c: Likewise.
1212 * elf/ifuncmain1.c: Likewise.
1213 * elf/ifuncmain1vis.c: Likewise.
1214 * elf/testobj.h: Likewise.
1215 * elf/tst-stackguard1.c: Likewise.
1216 * gmon/sys/gmon.h: Likewise.
1217 * hurd/hurdmsg.c: Likewise.
1218 * hurd/new-fd.c: Likewise.
1219 * hurd/ports-get.c: Likewise.
1220 * iconvdata/ibm1008_420.c: Likewise.
1221 * inet/tst-getni1.c: Likewise.
1222 * inet/tst-getni2.c: Likewise.
1223 * libio/ioungetc.c: Likewise.
1224 * libio/wfiledoalloc.c: Likewise.
1225 * manual/libm-err-tab.pl: Likewise.
1226 * math/w_dremf.c: Likewise.
1227 * misc/ftruncate.c: Likewise.
1228 * posix/bug-glob2.c: Likewise.
1229 * posix/tst-pcre.c: Likewise.
1230 * posix/wait4.c: Likewise.
1231 * resolv/README: Likewise.
1232 * resolv/res_debug.h: Likewise.
1233 * resolv/tst-inet_ntop.c: Likewise.
1234 * setjmp/bug269-setjmp.c: Likewise.
1235 * soft-fp/extended.h: Likewise.
1236 * soft-fp/op-1.h: Likewise.
1237 * soft-fp/op-2.h: Likewise.
1238 * soft-fp/op-4.h: Likewise.
1239 * soft-fp/op-8.h: Likewise.
1240 * soft-fp/testit.c: Likewise.
1241 * stdio-common/bug16.c: Likewise.
1242 * stdlib/random.c: Likewise.
1243 * sunrpc/rpcsvc/rquota.x: Likewise.
1244 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1245 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1246 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1247 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1248 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1249 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1250 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1251 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1252 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1253 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1254 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1255 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1256 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1257 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1258 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1259 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1260 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1261 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1262 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1263 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1264 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1265 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1266 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1267 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1268 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1269 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1270 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1271 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1272 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1273 * sysdeps/ieee754/s_lib_version.c: Likewise.
1274 * sysdeps/mach/hurd/check_fds.c: Likewise.
1275 * sysdeps/mach/hurd/getsockname.c: Likewise.
1276 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1277 * sysdeps/mach/hurd/recvfrom.c: Likewise.
1278 * sysdeps/powerpc/bits/link.h: Likewise.
1279 * sysdeps/powerpc/dl-procinfo.c: Likewise.
1280 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1281 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1282 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1283 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1284 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1285 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1286 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1287 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1288 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1289 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1290 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1291 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1292 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1293 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1294 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1295 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1296 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1297 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1298 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1299 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1300 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1301 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1302 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1303 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1304 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1305 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1306 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1307 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1308 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1309 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1310 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1311 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1312 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1313 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1314 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1315 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1316 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1317 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1318 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1319 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1320 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1321 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1322 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1323 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1324 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1325 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1326 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1327 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1328 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1329 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1330 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1331 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1332 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1333 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1334 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1335 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1336 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1337 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1338 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1339 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1340 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1341 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1342 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1343 * sysdeps/powerpc/sysdep.h: Likewise.
1344 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1345 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1346 * sysdeps/sh/dl-trampoline.S: Likewise.
1347 * sysdeps/sh/memset.S: Likewise.
1348 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1349 * sysdeps/sh/strlen.S: Likewise.
1350 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1351 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1352 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1353 * sysdeps/sparc/sparc32/rem.S: Likewise.
1354 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1355 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1356 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1357 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1358 * sysdeps/sparc/sparc32/urem.S: Likewise.
1359 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1360 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1361 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1362 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1363 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1364 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1365 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1366 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1367 * sysdeps/unix/bsd/times.c: Likewise.
1368 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1369 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1373 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1374 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1375 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1376 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1377 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1378 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1379 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1380 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1381 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1382 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1383 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1384 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1385 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1386 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1387 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1388 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1389 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1390 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1391 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1392 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1393 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1394 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1395 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1396 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1397 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1398 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1399 * sysdeps/x86_64/strcspn.S: Likewise.
1400
869378a5
RA
14012013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1402
1403 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1404 generated file. Regenerate properly from gen-translit.pl.
1405 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1406 locale/C-translit.h.
1407
840e2943
AS
14082013-06-05 Andreas Schwab <schwab@suse.de>
1409
1410 [BZ #15100]
1411 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1412 week as 6 instead of -1.
1413 * time/tst-strptime.c (day_tests): Add test case.
1414
4c60cb0c
SP
14152013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1416
1417 * sysdeps/generic/math_private.h
1418 (libc_feholdexcept_setround_53bit): Replace with
1419 libc_feholdsetround_53bit.
1420 (libc_feupdateenv_53bit): Replace with
1421 libc_feresetround_53bit.
1422 (SET_RESTORE_ROUND_53BIT): Adjust.
1423
d180203e
SP
14242013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1425
96df079a
SP
1426 * string/test-strchrnul.c: Add copyright header.
1427
d180203e
SP
1428 * posix/tst-getaddrinfo4.c: Increase test timeout.
1429
8b0ccb2d
CD
14302013-06-03 Carlos O'Donell <carlos@redhat.com>
1431
1432 [BZ #15536]
1433 * math/libm-test.inc (MAX_EXP): Remove
1434 (MIN_EXP): Define.
1435 (ulp): Use MIN_EXP - MANT_DIG.
1436 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1437
3b3c4d40
CD
14382013-05-31 Carlos O'Donell <carlos@redhat.com>
1439
1440 * po/be.po: Revert last change.
1441 * po/zh_CN.po: Likewise.
1442 * po/header.pot: Likewise.
1443
fab7ce3f
JM
14442013-05-31 Joseph Myers <joseph@codesourcery.com>
1445
1446 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1447 link-libc-deps to empty as target-specific variable.
1448 * Makerules (link-libc-args): New variable.
1449 (libc-for-link): Likewise.
1450 (link-libc-deps): Likewise.
1451 (lib%.so): Depend on $(link-libc-deps). Link with
1452 $(link-libc-args).
1453 (build-module): Link with $(link-libc-args).
1454 (build-module-asneeded): Likewise.
1455 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1456 list of objects.
1457 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1458 target-specific variable.
1459 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1460 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1461 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1462 libc.
1463 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1464 libc and ld.so.
1465 ($(objpfx)libpcprofile.so): Likewise.
1466 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1467 libc_nonshared.a.
1468 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1469 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1470 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1471 $(link-libc-deps).
1472 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1473 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1474 * login/Makefile ($(objpfx)libutil.so): Likewise.
1475 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1476 * math/Makefile ($(objpfx)libm.so): Likewise.
1477 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1478 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1479 variable instead of depending directly on libc.
1480 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1481 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1482 $(link-libc-deps).
1483 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1484 libc.
1485 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1486 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1487 ($(objpfx)libanl.so): Likewise.
1488 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1489 ld.so.
1490 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1491 $(link-libc-deps).
1492 * sysdeps/i386/fpu/Makefile: Remove file.
1493 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1494 ($(objpfx)libm.so): Remove dependency on ld.so.
1495
eca5920c
PF
14962013-05-30 Patsy Franklin <pfrankli@redhat.com>
1497
1498 [BZ # 15553]
1499 * nis/yp_xdr.c (XDRMAXNAME): Define.
1500 (XDRMAXRECORD): Define.
1501 (xdr_domainname): Use XDRMAXNAME.
1502 (xdr_mapname): Likewise.
1503 (xdr_peername): Likewise.
1504 (xdr_keydat): Use XDRMAXRECORD.
1505 (xdr_valdat): Likewise.
1506
15072013-05-30 Jeff Law <law@redhat.com>
96945714
JL
1508
1509 [BZ #14256]
1510 * manual/errno.texi (ESTALE): Update to account for more than
1511 just NFS file systems.
1512 * sysdeps/gnu/errlist.c: Regenerated.
1513
b9375348
SP
15142013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1515
1516 [BZ #15465]
1517 * elf/Makefile (tests): Add tst-null-argv.
1518 (modules-names): Add tst-null-argv-lib.
1519 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1520 (tst-null-argv-ENV): Set environment for tst-null-argv.
1521 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1522 (RTLD_PROGNAME): New macro.
1523 * elf/tst-null-argv.c: New test case.
1524 * elf/tst-null-argv-lib.c: Library for test case.
1525 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1526 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1527 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1528 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1529 * elf/dl-init.c (call_init): Likewise.
1530 (_dl_init): Likewise.
1531 * elf/dl-load.c (print_search_path): Likewise.
1532 (_dl_map_object): Likewise.
1533 * elf/dl-lookup.c (do_lookup_x): Likewise.
1534 (add_dependency): Likewise.
1535 (_dl_lookup_symbol_x): Likewise.
1536 (_dl_debug_bindings): Likewise.
1537 * elf/dl-open.c (_dl_show_scope): Likewise.
1538 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1539 * elf/dl-version.c (match_symbol): Likewise.
1540 (_dl_check_map_versions): Likewise.
1541 * elf/rtld.c (dl_main): Likewise.
1542 (print_unresolved): Use RTLD_PROGNAME.
1543 (print_missing_version): Likewise.
1544 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1545 (elf_machine_rela): Likewise.
1546 * sysdeps/powerpc/powerpc32/dl-machine.c
1547 (__process_machine_rela): Likewise.
1548 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1549 Likewise.
1550 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1551 Likewise.
1552 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1553 Likewise.
1554 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1555 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1556 Likewise.
1557 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1558 Likewise.
1559 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1560
8a9f20c8
CD
15612013-05-28 Carlos O'Donell <carlos@redhat.com>
1562
1563 * po/be.po: Add descriptive title.
1564 * po/zh_CN.po: Likewise.
1565 * po/header.pot: Likewise.
1566
0e60d68e
MF
15672013-05-28 Mike Frysinger <vapier@gentoo.org>
1568
1569 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1570 error message.
1571 (enlarge_archive): Likewise.
1572
56b672e9
BN
15732013-05-28 Ben North <ben@redfrontdoor.org>
1574
1575 * manual/arith.texi (frexp): It is the magnitude of the return
1576 value which lies in [0.5, 1), not the return value itself.
1577
5e056687
AZ
15782013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1579
1580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1581
2b66ef5d
TS
15822013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1583
528c2405
TS
1584 * stdio-common/bug26.c (main): Correct fscanf template.
1585
07b4c13d
TS
1586 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1587 declare _dl_skip_args.
1588
ec9dd97c
TS
1589 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1590 Don't declare.
1591
2b66ef5d
TS
1592 * manual/platform.texi: Add missing @end deftypefun.
1593
4f8dfe27
JM
15942013-05-24 Joseph Myers <joseph@codesourcery.com>
1595
0323d086
JM
1596 [BZ #15529]
1597 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1598 bit of mantissa of 2^16382.
1599 * math/libm-test.inc (hypot_test_data): Add more tests.
1600
dd4259b9
JM
1601 * math/libm-test.inc: Add drem and pow10 to list of tested
1602 functions.
1603 (pow10_test): New function.
1604 (drem_test): Likewise.
1605 (drem_test_tonearest): Likewise.
1606 (drem_test_towardzero): Likewise.
1607 (drem_test_downward): Likewise.
1608 (drem_test_upward): Likewise.
1609 (main): Call the new functions.
1610
4f8dfe27
JM
1611 * math/libm-test.inc (finite_test_data): Remove.
1612 (finite_test): Run tests from isfinite_test_data.
1613 (gamma_test_data): Remove.
1614 (gamma_test): Run tests from lgamma_test_data.
1615 * sysdeps/i386/fpu/libm-test-ulps: Update.
1616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1617
d116b7c4
AZ
16182013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1619
1620 * manual/platform.texi: Add PowerPC PPR function set documentation.
1621 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1622 implementation.
1623
e96e3767
CD
16242013-05-24 Carlos O'Donell <carlos@redhat.com>
1625
1626 * math/libm-test.inc (MAX_EXP): Define.
1627 (ULPDIFF): Define.
1628 (ulp): New function.
1629 (check_float_internal): Use ULPDIFF.
1630 (cpow_test): Disable failing test.
1631 (check_ulp): Test ulp() implemetnation.
1632 (main): Call check_ulp before starting tests.
1633
b679a606
JM
16342013-05-24 Joseph Myers <joseph@codesourcery.com>
1635
e8bdba36
JM
1636 * math/gen-libm-test.pl (generate_testfile): Do not handle
1637 START_DATA and END_DATA.
1638 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1639 END_DATA.
1640 (acos_tonearest_test_data): Likewise.
1641 (acos_towardzero_test_data): Likewise.
1642 (acos_downward_test_data): Likewise.
1643 (acos_upward_test_data): Likewise.
1644 (acosh_test_data): Likewise.
1645 (asin_test_data): Likewise.
1646 (asin_tonearest_test_data): Likewise.
1647 (asin_towardzero_test_data): Likewise.
1648 (asin_downward_test_data): Likewise.
1649 (asin_upward_test_data): Likewise.
1650 (asinh_test_data): Likewise.
1651 (atan_test_data): Likewise.
1652 (atanh_test_data): Likewise.
1653 (atan2_test_data): Likewise.
1654 (cabs_test_data): Likewise.
1655 (cacos_test_data): Likewise.
1656 (cacosh_test_data): Likewise.
1657 (carg_test_data): Likewise.
1658 (casin_test_data): Likewise.
1659 (casinh_test_data): Likewise.
1660 (catan_test_data): Likewise.
1661 (catanh_test_data): Likewise.
1662 (cbrt_test_data): Likewise.
1663 (ccos_test_data): Likewise.
1664 (ccosh_test_data): Likewise.
1665 (ceil_test_data): Likewise.
1666 (cexp_test_data): Likewise.
1667 (cimag_test_data): Likewise.
1668 (clog_test_data): Likewise.
1669 (clog10_test_data): Likewise.
1670 (conj_test_data): Likewise.
1671 (copysign_test_data): Likewise.
1672 (cos_test_data): Likewise.
1673 (cos_tonearest_test_data): Likewise.
1674 (cos_towardzero_test_data): Likewise.
1675 (cos_downward_test_data): Likewise.
1676 (cos_upward_test_data): Likewise.
1677 (cosh_test_data): Likewise.
1678 (cosh_tonearest_test_data): Likewise.
1679 (cosh_towardzero_test_data): Likewise.
1680 (cosh_downward_test_data): Likewise.
1681 (cosh_upward_test_data): Likewise.
1682 (cpow_test_data): Likewise.
1683 (cproj_test_data): Likewise.
1684 (creal_test_data): Likewise.
1685 (csin_test_data): Likewise.
1686 (csinh_test_data): Likewise.
1687 (csqrt_test_data): Likewise.
1688 (ctan_test_data): Likewise.
1689 (ctan_tonearest_test_data): Likewise.
1690 (ctan_towardzero_test_data): Likewise.
1691 (ctan_downward_test_data): Likewise.
1692 (ctan_upward_test_data): Likewise.
1693 (ctanh_test_data): Likewise.
1694 (ctanh_tonearest_test_data): Likewise.
1695 (ctanh_towardzero_test_data): Likewise.
1696 (ctanh_downward_test_data): Likewise.
1697 (ctanh_upward_test_data): Likewise.
1698 (erf_test_data): Likewise.
1699 (erfc_test_data): Likewise.
1700 (exp_test_data): Likewise.
1701 (exp_tonearest_test_data): Likewise.
1702 (exp_towardzero_test_data): Likewise.
1703 (exp_downward_test_data): Likewise.
1704 (exp_upward_test_data): Likewise.
1705 (exp10_test_data): Likewise.
1706 (exp2_test_data): Likewise.
1707 (expm1_test_data): Likewise.
1708 (fabs_test_data): Likewise.
1709 (fdim_test_data): Likewise.
1710 (finite_test_data): Likewise.
1711 (floor_test_data): Likewise.
1712 (fma_test_data): Likewise.
1713 (fma_towardzero_test_data): Likewise.
1714 (fma_downward_test_data): Likewise.
1715 (fma_upward_test_data): Likewise.
1716 (fmax_test_data): Likewise.
1717 (fmin_test_data): Likewise.
1718 (fmod_test_data): Likewise.
1719 (fpclassify_test_data): Likewise.
1720 (frexp_test_data): Likewise.
1721 (gamma_test_data): Likewise.
1722 (hypot_test_data): Likewise.
1723 (ilogb_test_data): Likewise.
1724 (isfinite_test_data): Likewise.
1725 (isgreater_test_data): Likewise.
1726 (isgreaterequal_test_data): Likewise.
1727 (isinf_test_data): Likewise.
1728 (isless_test_data): Likewise.
1729 (islessequal_test_data): Likewise.
1730 (islessgreater_test_data): Likewise.
1731 (isnan_test_data): Likewise.
1732 (isnormal_test_data): Likewise.
1733 (issignaling_test_data): Likewise.
1734 (isunordered_test_data): Likewise.
1735 (j0_test_data): Likewise.
1736 (j1_test_data): Likewise.
1737 (jn_test_data): Likewise.
1738 (ldexp_test_data): Likewise.
1739 (lgamma_test_data): Likewise.
1740 (lrint_test_data): Likewise.
1741 (lrint_tonearest_test_data): Likewise.
1742 (lrint_towardzero_test_data): Likewise.
1743 (lrint_downward_test_data): Likewise.
1744 (lrint_upward_test_data): Likewise.
1745 (llrint_test_data): Likewise.
1746 (llrint_tonearest_test_data): Likewise.
1747 (llrint_towardzero_test_data): Likewise.
1748 (llrint_downward_test_data): Likewise.
1749 (llrint_upward_test_data): Likewise.
1750 (log_test_data): Likewise.
1751 (log10_test_data): Likewise.
1752 (log1p_test_data): Likewise.
1753 (log2_test_data): Likewise.
1754 (logb_test_data): Likewise.
1755 (logb_downward_test_data): Likewise.
1756 (lround_test_data): Likewise.
1757 (llround_test_data): Likewise.
1758 (modf_test_data): Likewise.
1759 (nearbyint_test_data): Likewise.
1760 (nextafter_test_data): Likewise.
1761 (nexttoward_test_data): Likewise.
1762 (pow_test_data): Likewise.
1763 (pow_tonearest_test_data): Likewise.
1764 (pow_towardzero_test_data): Likewise.
1765 (pow_downward_test_data): Likewise.
1766 (pow_upward_test_data): Likewise.
1767 (remainder_test_data): Likewise.
1768 (remainder_tonearest_test_data): Likewise.
1769 (remainder_towardzero_test_data): Likewise.
1770 (remainder_downward_test_data): Likewise.
1771 (remainder_upward_test_data): Likewise.
1772 (remquo_test_data): Likewise.
1773 (rint_test_data): Likewise.
1774 (rint_tonearest_test_data): Likewise.
1775 (rint_towardzero_test_data): Likewise.
1776 (rint_downward_test_data): Likewise.
1777 (rint_upward_test_data): Likewise.
1778 (round_test_data): Likewise.
1779 (scalb_test_data): Likewise.
1780 (scalbn_test_data): Likewise.
1781 (scalbln_test_data): Likewise.
1782 (signbit_test_data): Likewise.
1783 (sin_test_data): Likewise.
1784 (sin_tonearest_test_data): Likewise.
1785 (sin_towardzero_test_data): Likewise.
1786 (sin_downward_test_data): Likewise.
1787 (sin_upward_test_data): Likewise.
1788 (sincos_test_data): Likewise.
1789 (sinh_test_data): Likewise.
1790 (sinh_tonearest_test_data): Likewise.
1791 (sinh_towardzero_test_data): Likewise.
1792 (sinh_downward_test_data): Likewise.
1793 (sinh_upward_test_data): Likewise.
1794 (sqrt_test_data): Likewise.
1795 (tan_test_data): Likewise.
1796 (tan_tonearest_test_data): Likewise.
1797 (tan_towardzero_test_data): Likewise.
1798 (tan_downward_test_data): Likewise.
1799 (tan_upward_test_data): Likewise.
1800 (tanh_test_data): Likewise.
1801 (tgamma_test_data): Likewise.
1802 (trunc_test_data): Likewise.
1803 (y0_test_data): Likewise.
1804 (y1_test_data): Likewise.
1805 (yn_test_data): Likewise.
1806 (significand_test_data): Likewise.
1807
b679a606
JM
1808 * math/gen-libm-test.pl (@functions): Remove variable.
1809 (generate_testfile): Don't handle START and END lines.
1810 * math/libm-test.inc (START): New macro.
1811 (END): Likewise.
1812 (END_COMPLEX): Likewise.
1813 (acos_test): Use END macro without arguments.
1814 (acos_test_tonearest): Likewise.
1815 (acos_test_towardzero): Likewise.
1816 (acos_test_downward): Likewise.
1817 (acos_test_upward): Likewise.
1818 (acosh_test): Likewise.
1819 (asin_test): Likewise.
1820 (asin_test_tonearest): Likewise.
1821 (asin_test_towardzero): Likewise.
1822 (asin_test_downward): Likewise.
1823 (asin_test_upward): Likewise.
1824 (asinh_test): Likewise.
1825 (atan_test): Likewise.
1826 (atanh_test): Likewise.
1827 (atan2_test): Likewise.
1828 (cabs_test): Likewise.
1829 (cacos_test): Use END_COMPLEX macro without arguments.
1830 (cacosh_test): Likewise.
1831 (carg_test): Use END macro without arguments.
1832 (casin_test): Use END_COMPLEX macro without arguments.
1833 (casinh_test): Likewise.
1834 (catan_test): Likewise.
1835 (catanh_test): Likewise.
1836 (cbrt_test): Use END macro without arguments.
1837 (ccos_test): Use END_COMPLEX macro without arguments.
1838 (ccosh_test): Likewise.
1839 (ceil_test): Use END macro without arguments.
1840 (cexp_test): Use END_COMPLEX macro without arguments.
1841 (cimag_test): Use END macro without arguments.
1842 (clog_test): Use END_COMPLEX macro without arguments.
1843 (clog10_test): Likewise.
1844 (conj_test): Likewise.
1845 (copysign_test): Use END macro without arguments.
1846 (cos_test): Likewise.
1847 (cos_test_tonearest): Likewise.
1848 (cos_test_towardzero): Likewise.
1849 (cos_test_downward): Likewise.
1850 (cos_test_upward): Likewise.
1851 (cosh_test): Likewise.
1852 (cosh_test_tonearest): Likewise.
1853 (cosh_test_towardzero): Likewise.
1854 (cosh_test_downward): Likewise.
1855 (cosh_test_upward): Likewise.
1856 (cpow_test): Use END_COMPLEX macro without arguments.
1857 (cproj_test): Likewise.
1858 (creal_test): Use END macro without arguments.
1859 (csin_test): Use END_COMPLEX macro without arguments.
1860 (csinh_test): Likewise.
1861 (csqrt_test): Likewise.
1862 (ctan_test): Likewise.
1863 (ctan_test_tonearest): Likewise.
1864 (ctan_test_towardzero): Likewise.
1865 (ctan_test_downward): Likewise.
1866 (ctan_test_upward): Likewise.
1867 (ctanh_test): Likewise.
1868 (ctanh_test_tonearest): Likewise.
1869 (ctanh_test_towardzero): Likewise.
1870 (ctanh_test_downward): Likewise.
1871 (ctanh_test_upward): Likewise.
1872 (erf_test): Use END macro without arguments.
1873 (erfc_test): Likewise.
1874 (exp_test): Likewise.
1875 (exp_test_tonearest): Likewise.
1876 (exp_test_towardzero): Likewise.
1877 (exp_test_downward): Likewise.
1878 (exp_test_upward): Likewise.
1879 (exp10_test): Likewise.
1880 (exp2_test): Likewise.
1881 (expm1_test): Likewise.
1882 (fabs_test): Likewise.
1883 (fdim_test): Likewise.
1884 (finite_test): Likewise.
1885 (floor_test): Likewise.
1886 (fma_test): Likewise.
1887 (fma_test_towardzero): Likewise.
1888 (fma_test_downward): Likewise.
1889 (fma_test_upward): Likewise.
1890 (fmax_test): Likewise.
1891 (fmin_test): Likewise.
1892 (fmod_test): Likewise.
1893 (fpclassify_test): Likewise.
1894 (frexp_test): Likewise.
1895 (gamma_test): Likewise.
1896 (hypot_test): Likewise.
1897 (ilogb_test): Likewise.
1898 (isfinite_test): Likewise.
1899 (isgreater_test): Likewise.
1900 (isgreaterequal_test): Likewise.
1901 (isinf_test): Likewise.
1902 (isless_test): Likewise.
1903 (islessequal_test): Likewise.
1904 (islessgreater_test): Likewise.
1905 (isnan_test): Likewise.
1906 (isnormal_test): Likewise.
1907 (issignaling_test): Likewise.
1908 (isunordered_test): Likewise.
1909 (j0_test): Likewise.
1910 (j1_test): Likewise.
1911 (jn_test): Likewise.
1912 (ldexp_test): Likewise.
1913 (lgamma_test): Likewise.
1914 (lrint_test): Likewise.
1915 (lrint_test_tonearest): Likewise.
1916 (lrint_test_towardzero): Likewise.
1917 (lrint_test_downward): Likewise.
1918 (lrint_test_upward): Likewise.
1919 (llrint_test): Likewise.
1920 (llrint_test_tonearest): Likewise.
1921 (llrint_test_towardzero): Likewise.
1922 (llrint_test_downward): Likewise.
1923 (llrint_test_upward): Likewise.
1924 (log_test): Likewise.
1925 (log10_test): Likewise.
1926 (log1p_test): Likewise.
1927 (log2_test): Likewise.
1928 (logb_test): Likewise.
1929 (logb_test_downward): Likewise.
1930 (lround_test): Likewise.
1931 (llround_test): Likewise.
1932 (modf_test): Likewise.
1933 (nearbyint_test): Likewise.
1934 (nextafter_test): Likewise.
1935 (nexttoward_test): Likewise.
1936 (pow_test): Likewise.
1937 (pow_test_tonearest): Likewise.
1938 (pow_test_towardzero): Likewise.
1939 (pow_test_downward): Likewise.
1940 (pow_test_upward): Likewise.
1941 (remainder_test): Likewise.
1942 (remainder_test_tonearest): Likewise.
1943 (remainder_test_towardzero): Likewise.
1944 (remainder_test_downward): Likewise.
1945 (remainder_test_upward): Likewise.
1946 (remquo_test): Likewise.
1947 (rint_test): Likewise.
1948 (rint_test_tonearest): Likewise.
1949 (rint_test_towardzero): Likewise.
1950 (rint_test_downward): Likewise.
1951 (rint_test_upward): Likewise.
1952 (round_test): Likewise.
1953 (scalb_test): Likewise.
1954 (scalbn_test): Likewise.
1955 (scalbln_test): Likewise.
1956 (signbit_test): Likewise.
1957 (sin_test): Likewise.
1958 (sin_test_tonearest): Likewise.
1959 (sin_test_towardzero): Likewise.
1960 (sin_test_downward): Likewise.
1961 (sin_test_upward): Likewise.
1962 (sincos_test): Likewise.
1963 (sinh_test): Likewise.
1964 (sinh_test_tonearest): Likewise.
1965 (sinh_test_towardzero): Likewise.
1966 (sinh_test_downward): Likewise.
1967 (sinh_test_upward): Likewise.
1968 (sqrt_test): Likewise.
1969 (tan_test): Likewise.
1970 (tan_test_tonearest): Likewise.
1971 (tan_test_towardzero): Likewise.
1972 (tan_test_downward): Likewise.
1973 (tan_test_upward): Likewise.
1974 (tanh_test): Likewise.
1975 (tgamma_test): Likewise.
1976 (trunc_test): Likewise.
1977 (y0_test): Likewise.
1978 (y1_test): Likewise.
1979 (yn_test): Likewise.
1980 (significand_test): Likewise.
1981
bae143d2
OB
19822013-05-24 Ondřej Bílka <neleai@seznam.cz>
1983
1984 [BZ #15381]
1985 * libio/genops.c (_IO_no_init): Initialize wide struct info.
1986
9323d39b
EM
19872013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
1988
d4ea44a0 1989 [BZ #14894]
9323d39b
EM
1990 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1991 __ppc_mdoio and __ppc_mdoom.
1992 * manual/platform.texi: Document new functions __ppc_yield,
1993 __ppc_mdoio and __ppc_mdoom.
1994
13e23af7
CD
19952013-05-22 Carlos O'Donell <carlos@redhat.com>
1996
1997 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1998 (main): Mention "tls" pseudo-hwcap is legacy.
1999 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2000
351fe550
JM
20012013-05-22 Joseph Myers <joseph@codesourcery.com>
2002
2003 * math/gen-libm-test.pl (parse_args): Output only string of
2004 arguments as text for test name, not full call or descriptions of
2005 tests for extra outputs.
2006 (generate_testfile): Do not pass function name to parse_args.
2007 Generate this_func variable from START.
2008 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2009 field to arg_str.
2010 (struct test_ff_f_data): Likewise.
2011 (test_ff_f_data_nexttoward): Likewise.
2012 (struct test_fi_f_data): Likewise.
2013 (struct test_fl_f_data): Likewise.
2014 (struct test_if_f_data): Likewise.
2015 (struct test_fff_f_data): Likewise.
2016 (struct test_c_f_data): Likewise.
2017 (struct test_f_f1_data): Likewise. Remove field extra_name.
2018 (struct test_fF_f1_data): Likewise.
2019 (struct test_ffI_f1_data): Likewise.
2020 (struct test_c_c_data): Rename test_name field to arg_str.
2021 (struct test_cc_c_data): Likewise.
2022 (struct test_f_i_data): Likewise.
2023 (struct test_ff_i_data): Likewise.
2024 (struct test_f_l_data): Likewise.
2025 (struct test_f_L_data): Likewise.
2026 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2027 and extra2_name.
2028 (COMMON_TEST_SETUP): New macro.
2029 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2030 (COMMON_TEST_CLEANUP): Likewise.
2031 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2032 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2033 macros.
2034 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2035 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2036 macros.
2037 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2038 (RUN_TEST_fff_f): Take argument string. Call new setup and
2039 cleanup macros.
2040 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2041 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2042 macros.
2043 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2044 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2045 macros.
2046 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2047 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2048 cleanup macros.
2049 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2050 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2051 cleanup macros.
2052 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2053 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2054 cleanup macros.
2055 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2056 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2057 macros.
2058 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2059 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2060 macros.
2061 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2062 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2063 macros.
2064 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2065 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2066 cleanup macros.
2067 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2068 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2069 cleanup macros.
2070 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2071 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2072 macros.
2073 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2074 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2075 cleanup macros.
2076 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2077 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2078 macros.
2079 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2080 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2081 macros.
2082 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2083 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2084 cleanup macros.
2085 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2086
85118d4d
EBM
20872013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2088
2089 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2090 to _sifields.sigfault.
2091 (si_addr_lsb): Define new macro.
2092 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2093 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2094 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2095
7a44c18f
CD
20962013-05-03 Carlos O'Donell <carlos at redhat.com>
2097
2098 [BZ #15441]
2099 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2100 returns -1.
2101 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2102 null return -1.
2103 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2104 loading the domain.
2105
b50a7181
JM
21062013-05-22 Joseph Myers <joseph@codesourcery.com>
2107
2108 * math/gen-libm-test.pl (parse_args): Do not include expected
2109 result in test name.
2110 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2111 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2112 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2113 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2114 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2116
051063c8
SP
21172013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2118
3ce9e010
SP
2119 * benchtests/Makefile: Sort function entries.
2120
051063c8
SP
2121 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2122 tanh, asinh, acosh, atanh.
2123 * benchtests/acos-inputs: New file.
2124 * benchtests/acosh-inputs: New file.
2125 * benchtests/asin-inputs: New file.
2126 * benchtests/asinh-inputs: New file.
2127 * benchtests/atanh-inputs: New file.
2128 * benchtests/cosh-inputs: New file.
2129 * benchtests/log-inputs: New file.
2130 * benchtests/sinh-inputs: New file.
2131 * benchtests/tanh-inputs: New file.
2132
47c22455
DL
21332013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2134
2135 [BZ #15339]
2136 * posix/tst-getaddrinfo4.c: New test.
2137 * posix/Makefile (tests): Add it.
2138
3d04f5db
SP
21392013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2140
2141 [BZ #15339]
2142 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2143 when no services were used.
2144 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2145 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2146
d5dd6189
AS
21472013-05-21 Andreas Schwab <schwab@suse.de>
2148
2149 [BZ #15014]
2150 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2151 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2152 successful.
2153 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2154 redundant variable declarations and reallocation of buffer when
2155 parsing as IPv6 address. Always set NSS status when called from
2156 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2157 buffer too small. Correct computation of needed size.
2158 * nss/Makefile (tests): Add test-digits-dots.
2159 * nss/test-digits-dots.c: New test.
2160
fef94eab
SP
21612013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2162
2163 * benchtests/Makefile: Remove instructions for adding
2164 benchmark tests.
2165 * benchtests/README: New file to explain how to execute and
2166 enhance the benchmark tests.
2167
e39adf43
AS
21682013-05-21 Andreas Schwab <schwab@suse.de>
2169
2170 [BZ #15493]
2171 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2172 * setjmp/tst-sigsetjmp.c: New test.
2173
b2b671b6
OB
21742013-05-20 Ondřej Bílka <neleai@seznam.cz>
2175
2176 * sysdeps/x86_64/memset.S (memset): New implementation.
2177 (__bzero): Likewise.
2178 (__memset_tail): New function.
2179
2d48b41c
OB
21802013-05-20 Ondřej Bílka <neleai@seznam.cz>
2181
2182 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2183 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2184 __memcpy_sse2_unaligned ifunc selection.
2185 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2186 Add memcpy-sse2-unaligned.S.
2187 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2188 Add: __memcpy_sse2_unaligned.
2189
f16cc3eb
JM
21902013-05-19 Joseph Myers <joseph@codesourcery.com>
2191
3e694268
JM
2192 [BZ #15490]
2193 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2194 math_force_eval before restoring floating-point envrionment.
2195 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2196 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2197 Likewise.
2198 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2199 <math_private.h>.
2200 (__nearbyintl): Use math_force_eval before restoring
2201 floating-point environment.
2202 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2203
db62a907
JM
2204 * math/gen-libm-test.pl (special_functions): Remove.
2205 (parse_args): Don't handle TEST_extra. Handle functions with no
2206 return value.
2207 * math/libm-test.inc (struct test_sincos_data): Replace with
2208 struct test_fFF_11_data.
2209 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2210 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2211 (sincos_test_data): Change element type to struct
2212 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2213 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2214 RUN_TEST_LOOP_sincos.
2215 * math/README.libm-test: Don't mention special handling of
2216 individual functions.
2217 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2218 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2219 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2220 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2221 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2223
f16cc3eb
JM
2224 * math/gen-libm-test.pl (get_variable): Remove function.
2225 (parse_args): Don't show pointer parameters to call in test
2226 names. Use "extra output N" in test names for extra outputs
2227 rather than naming variables.
2228
3779b5b6
JM
22292013-05-18 Joseph Myers <joseph@codesourcery.com>
2230
2ee094ff
JM
2231 [BZ #15488]
2232 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2233 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2234 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2235 double tests.
2236 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2237 disable.
2238 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2239 check_long_double.
2240
3779b5b6
JM
2241 * math/gen-libm-test.pl (@tests): Remove variable.
2242 ($count): Likewise.
2243 (new_test): Remove function.
2244 (show_exceptions): New function.
2245 (special_functions): Use show_exceptions instead of new_test.
2246 (parse_args): Likewise.
2247 (generate_testfile): Pass only function name in generated call to
2248 print_max_error or print_complex_max_error.
2249 (get_ulps): Do not handle complex tests specially.
2250 (output_test): Rename to ...
2251 (get_all_ulps_for_test): ... this. Return a string rather than
2252 printing to a file. Require ulps to be present.
2253 (output_ulps): Generate arrays rather than #defines.
2254 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2255 (struct ulp_data): New type.
2256 (BUILD_COMPLEX_ULP): Remove macro.
2257 (compare_ulp_data): New function.
2258 (find_ulps): Likewise.
2259 (find_test_ulps): Likewise.
2260 (find_function_ulps): Likewise.
2261 (find_complex_function_ulps): Likewise.
2262 (print_max_error): Determine allowed ulps using
2263 find_function_ulps.
2264 (print_complex_max_error): Determine allowed ulps using
2265 find_complex_function_ulps.
2266 (check_float_internal): Determine max ulps using find_test_ulps.
2267 (check_float): Do not take max_ulp parameter. Update call to
2268 check_float_internal.
2269 (check_complex): Likewise.
2270 (check_int): Do not take max_ulp parameter.
2271 (check_long): Likewise.
2272 (check_bool): Likewise.
2273 (check_longlong): Likewise.
2274 (struct test_f_f_data): Remove max_ulp field.
2275 (struct test_ff_f_data): Likewise.
2276 (struct test_ff_f_data_nexttoward): Likewise.
2277 (struct test_fi_f_data): Likewise.
2278 (struct test_fl_f_data): Likewise.
2279 (struct test_if_f_data): Likewise.
2280 (struct test_fff_f_data): Likewise.
2281 (struct test_c_f_data): Likewise.
2282 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2283 (struct test_fF_f1_data): Likewise.
2284 (struct test_ffI_f1_data): Likewise.
2285 (struct test_c_c_data): Remove max_ulp field.
2286 (struct test_cc_c_data): Likewise.
2287 (struct test_f_i_data): Likewise.
2288 (struct test_ff_i_data): Likewise.
2289 (struct test_f_l_data): Likewise.
2290 (struct test_f_L_data): Likewise.
2291 (struct test_sincos_data): Likewise.
2292 (RUN_TEST_f_f): Do not handle ulps.
2293 (RUN_TEST_LOOP_f_f): Likewise.
2294 (RUN_TEST_2_f): Likewise.
2295 (RUN_TEST_LOOP_2_f): Likewise.
2296 (RUN_TEST_fff_f): Likewise.
2297 (RUN_TEST_LOOP_fff_f): Likewise.
2298 (RUN_TEST_c_f): Likewise.
2299 (RUN_TEST_LOOP_c_f): Likewise.
2300 (RUN_TEST_f_f1): Likewise.
2301 (RUN_TEST_LOOP_f_f1): Likewise.
2302 (RUN_TEST_fF_f1): Likewise.
2303 (RUN_TEST_LOOP_fF_f1): Likewise.
2304 (RUN_TEST_fI_f1): Likewise.
2305 (RUN_TEST_LOOP_fI_f1): Likewise.
2306 (RUN_TEST_ffI_f1): Likewise.
2307 (RUN_TEST_LOOP_ffI_f1): Likewise.
2308 (RUN_TEST_c_c): Likewise.
2309 (RUN_TEST_LOOP_c_c): Likewise.
2310 (RUN_TEST_cc_c): Likewise.
2311 (RUN_TEST_LOOP_cc_c): Likewise.
2312 (RUN_TEST_f_i): Likewise.
2313 (RUN_TEST_LOOP_f_i): Likewise.
2314 (RUN_TEST_f_i_tg): Likewise.
2315 (RUN_TEST_LOOP_f_i_tg): Likewise.
2316 (RUN_TEST_ff_i_tg): Likewise.
2317 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2318 (RUN_TEST_f_b): Likewise.
2319 (RUN_TEST_LOOP_f_b): Likewise.
2320 (RUN_TEST_f_b_tg): Likewise.
2321 (RUN_TEST_LOOP_f_b_tg): Likewise.
2322 (RUN_TEST_f_l): Likewise.
2323 (RUN_TEST_LOOP_f_l): Likewise.
2324 (RUN_TEST_f_L): Likewise.
2325 (RUN_TEST_LOOP_f_L): Likewise.
2326 (RUN_TEST_sincos): Likewise.
2327 (RUN_TEST_LOOP_sincos): Likewise.
2328
8269107f
JM
23292013-05-17 Joseph Myers <joseph@codesourcery.com>
2330
bb38759d
JM
2331 [BZ #15480]
2332 [BZ #15485]
2333 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2334 main case of finite arguments, set rounding mode to FE_TONEAREST
2335 and discard exceptions.
2336 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2337 exceptions.
2338 (remainder_tonearest_test_data): New variable.
2339 (remainder_test_tonearest): New function.
2340 (remainder_towardzero_test_data): New variable.
2341 (remainder_test_towardzero): New function.
2342 (remainder_downward_test_data): New variable.
2343 (remainder_test_downward): New function.
2344 (remainder_upward_test_data): New variable.
2345 (remainder_test_upward): New function.
2346 (main): Call the new test functions.
2347
a00bdcf0
JM
2348 * math/libm-test.inc (struct test_f_f1_data): Remove field
2349 extra_init.
2350 (struct test_fF_f1_data): Likewise.
2351 (struct test_ffI_f1_data): Likewise.
2352 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2353 based on value of EXTRA_EXPECTED.
2354 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2355 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2356 EXTRA_VAR based on value of EXTRA_EXPECTED.
2357 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2358 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2359 EXTRA_VAR based on value of EXTRA_EXPECTED.
2360 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2361 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2362 EXTRA_VAR based on value of EXTRA_EXPECTED.
2363 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2364 * math/gen-libm-test.pl (parse_args): Don't output initializers
2365 for extra output values.
2366
de407f79
JM
2367 * math/libm-test.inc (check_int): Expect result to be exactly
2368 equal to expected value and do not handle ulps.
2369 (check_long): Likewise.
2370 (check_longlong): Likewise.
2371
8269107f
JM
2372 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2373 exceptions.
2374 (cimag_test_data): Likewise.
2375 (conj_test_data): Likewise.
2376 (copysign_test_data): Likewise.
2377 (cproj_test_data): Likewise.
2378 (creal_test_data): Likewise.
2379 (fabs_test_data): Likewise.
2380 (fdim_test_data): Likewise.
2381 (finite_test_data): Likewise.
2382 (floor_test_data): Likewise.
2383 (fmax_test_data): Likewise.
2384 (fmin_test_data): Likewise.
2385 (fmod_test_data): Likewise.
2386 (fpclassify_test_data): Likewise.
2387 (frexp_test_data): Likewise.
2388 (ilogb_test_data): Likewise.
2389 (isfinite_test_data): Likewise.
2390 (isgreater_test_data): Likewise.
2391 (isgreaterequal_test_data): Likewise.
2392 (isinf_test_data): Likewise.
2393 (isless_test_data): Likewise.
2394 (islessequal_test_data): Likewise.
2395 (islessgreater_test_data): Likewise.
2396 (isnan_test_data): Likewise.
2397 (isnormal_test_data): Likewise.
2398 (issignaling_test_data): Likewise.
2399 (isunordered_test_data): Likewise.
2400 (ldexp_test_data): Likewise.
2401 (lrint_test_data): Likewise.
2402 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2403 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2404 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2405 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2406 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2407 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2408 test input.
2409 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2410 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2411 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2412 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2413 that test input.
2414 (lrint_downward_test_data): Test for "inexact" exceptions.
2415 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2416 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2417 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2418 test input.
2419 (lrint_upward_test_data): Test for "inexact" exceptions.
2420 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2421 test input.
2422 (llrint_test_data): Test for "inexact" exceptions.
2423 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2424 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2425 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2426 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2427 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2428 (llrint_downward_test_data): Test for "inexact" exceptions.
2429 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2430 (llrint_upward_test_data): Test for "inexact" exceptions.
2431 (logb_test_data): Likewise.
2432 (logb_downward_test_data): Likewise.
2433 (nextafter_test_data): Likewise.
2434 (nexttoward_test_data): Likewise.
2435 (remainder_test_data): Likewise.
2436 (remquo_test_data): Likewise.
2437 (scalbn_test_data): Likewise.
2438 (scalbln_test_data): Likewise.
2439 (signbit_test_data): Likewise.
2440 (sqrt_test_data): Likewise.
2441 (significand_test_data): Likewise.
2442
48a18de1
SP
24432013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2444
2445 [BZ #15424]
2446 * benchtests/bench-modf.c (struct args): Mark arg0 as
2447 volatile.
2448 * scripts/bench.pl: Mark members of struct args as volatile.
2449
13d3b41a
AZ
24502013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2451
68191c1d 2452 [BZ # 15497]
13d3b41a
AZ
2453 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2454 negative infinity on POWER6 or lower.
2455 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2456
2848b105
MR
24572013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2458
2459 [BZ #15442]
2460 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2461 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2462 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2463 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2464 (_FP_SETQNAN): New macro.
2465 (_FP_SETQNAN_SEMIRAW): Likewise.
2466 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2467 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2468 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2469 (FP_EXTEND): Use _FP_FRAC_SNANP.
2470 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2471 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2472 into account.
2473 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2474 New macro.
2475 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2476 Likewise.
2477
323e5cb7
JM
24782013-05-16 Joseph Myers <joseph@codesourcery.com>
2479
c58b274f
JM
2480 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2481 with DIVIDE_BY_ZERO_EXCEPTION.
2482 (gamma_test_data): Likewise.
2483 (lgamma_test_data): Likewise.
2484 (log_test_data): Likewise.
2485 (log10_test_data): Likewise.
2486 (log2_test_data): Likewise.
2487 (tgamma_test_data): Likewise.
2488
0ab34904
JM
2489 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2490 (acos_test_tonearest): Likewise.
2491 (acos_test_towardzero): Likewise.
2492 (acos_test_downward): Likewise.
2493 (acos_test_upward): Likewise.
2494 (acosh_test): Likewise.
2495 (asin_test): Likewise.
2496 (asin_test_tonearest): Likewise.
2497 (asin_test_towardzero): Likewise.
2498 (asin_test_downward): Likewise.
2499 (asin_test_upward): Likewise.
2500 (asinh_test): Likewise.
2501 (atan_test): Likewise.
2502 (atanh_test): Likewise.
2503 (atan2_test): Likewise.
2504 (cabs_test): Likewise.
2505 (cacos_test): Likewise.
2506 (cacosh_test): Likewise.
2507 (casin_test): Likewise.
2508 (casinh_test): Likewise.
2509 (catan_test): Likewise.
2510 (catanh_test): Likewise.
2511 (cbrt_test): Likewise.
2512 (ccos_test): Likewise.
2513 (ccosh_test): Likewise.
2514 (cexp_test): Likewise.
2515 (clog_test): Likewise.
2516 (clog10_test): Likewise.
2517 (cos_test): Likewise.
2518 (cos_test_tonearest): Likewise.
2519 (cos_test_towardzero): Likewise.
2520 (cos_test_downward): Likewise.
2521 (cos_test_upward): Likewise.
2522 (cosh_test): Likewise.
2523 (cosh_test_tonearest): Likewise.
2524 (cosh_test_towardzero): Likewise.
2525 (cosh_test_downward): Likewise.
2526 (cosh_test_upward): Likewise.
2527 (cpow_test): Likewise.
2528 (csin_test): Likewise.
2529 (csinh_test): Likewise.
2530 (csqrt_test): Likewise.
2531 (ctan_test): Likewise.
2532 (ctan_test_tonearest): Likewise.
2533 (ctan_test_towardzero): Likewise.
2534 (ctan_test_downward): Likewise.
2535 (ctan_test_upward): Likewise.
2536 (ctanh_test): Likewise.
2537 (ctanh_test_tonearest): Likewise.
2538 (ctanh_test_towardzero): Likewise.
2539 (ctanh_test_downward): Likewise.
2540 (ctanh_test_upward): Likewise.
2541 (erf_test): Likewise.
2542 (erfc_test): Likewise.
2543 (exp_test): Likewise.
2544 (exp_test_tonearest): Likewise.
2545 (exp_test_towardzero): Likewise.
2546 (exp_test_downward): Likewise.
2547 (exp_test_upward): Likewise.
2548 (exp10_test): Likewise.
2549 (exp2_test): Likewise.
2550 (expm1_test): Likewise.
2551 (fmod_test): Likewise.
2552 (gamma_test): Likewise.
2553 (hypot_test): Likewise.
2554 (j0_test): Likewise.
2555 (j1_test): Likewise.
2556 (jn_test): Likewise.
2557 (lgamma_test): Likewise.
2558 (log_test): Likewise.
2559 (log10_test): Likewise.
2560 (log1p_test): Likewise.
2561 (log2_test): Likewise.
2562 (logb_test_downward): Likewise.
2563 (pow_test): Likewise.
2564 (pow_test_tonearest): Likewise.
2565 (pow_test_towardzero): Likewise.
2566 (pow_test_downward): Likewise.
2567 (pow_test_upward): Likewise.
2568 (remainder_test): Likewise.
2569 (remquo_test): Likewise.
2570 (sin_test): Likewise.
2571 (sin_test_tonearest): Likewise.
2572 (sin_test_towardzero): Likewise.
2573 (sin_test_downward): Likewise.
2574 (sin_test_upward): Likewise.
2575 (sincos_test): Likewise.
2576 (sinh_test): Likewise.
2577 (sinh_test_tonearest): Likewise.
2578 (sinh_test_towardzero): Likewise.
2579 (sinh_test_downward): Likewise.
2580 (sinh_test_upward): Likewise.
2581 (sqrt_test): Likewise.
2582 (tan_test): Likewise.
2583 (tan_test_tonearest): Likewise.
2584 (tan_test_towardzero): Likewise.
2585 (tan_test_downward): Likewise.
2586 (tan_test_upward): Likewise.
2587 (tanh_test): Likewise.
2588 (tgamma_test): Likewise.
2589 (y0_test): Likewise.
2590 (y1_test): Likewise.
2591 (yn_test): Likewise.
2592
323e5cb7
JM
2593 * math/gen-libm-test.pl (adjust_arg): Remove function.
2594 (special_function): Remove argument $in_func. Only handle
2595 generating output for tables of tests, not inside functions.
2596 (parse_args): Likewise.
2597 (generate_testfile): Remove variable $in_func. Update call to
2598 parse_args.
2599 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2600 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2601 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2602 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2603 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2604 (MAX_VALUE_INIT): Rename macro to max_value.
2605 (MIN_VALUE_INIT): Rename macro to min_value.
2606 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2607 (plus_zero): Remove variable.
2608 (minus_zero): Likewise.
2609 (plus_infty): Likewise.
2610 (minus_infty): Likewise.
2611 (qnan_value): Likewise.
2612 (max_value): Likewise.
2613 (min_value): Likewise.
2614 (min_subnorm_value): Likewise.
2615
e054f494
RA
26162013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2617
2618 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2619 uint64_t or uint32_t usage.
2620 * crypt/sha256-block.c: Likewise.
2621 * crypt/sha256-crypt.c: Likewise.
2622 * crypt/sha256.c: Likewise.
2623 * crypt/sha512-block.c: Likewise.
2624 * crypt/sha512-crypt.c: Likewise.
2625 * crypt/sha512.c: Likewise.
2626 * debug/backtrace-tst.c: Likewise.
2627 * debug/pcprofiledump.c: Likewise.
2628 * elf/cache.c: Likewise.
2629 * elf/dl-cache.c: Likewise.
2630 * elf/dl-misc.c: Likewise.
2631 * elf/dl-profile.c: Likewise.
2632 * elf/dl-support.c: Likewise.
2633 * elf/ldconfig.c: Likewise.
2634 * elf/sprof.c: Likewise.
2635 * iconv/dummy-repertoire.c: Likewise.
2636 * iconv/iconv_charmap.c: Likewise.
2637 * iconv/skeleton.c: Likewise.
2638 * iconvdata/8bit-generic.c: Likewise.
2639 * iconvdata/cp737.h: Likewise.
2640 * iconvdata/cp775.h: Likewise.
2641 * iconvdata/ibm1008.h: Likewise.
2642 * iconvdata/ibm1025.h: Likewise.
2643 * iconvdata/ibm1046.h: Likewise.
2644 * iconvdata/ibm1097.h: Likewise.
2645 * iconvdata/ibm1112.h: Likewise.
2646 * iconvdata/ibm1122.h: Likewise.
2647 * iconvdata/ibm1123.h: Likewise.
2648 * iconvdata/ibm1124.h: Likewise.
2649 * iconvdata/ibm1129.h: Likewise.
2650 * iconvdata/ibm1130.h: Likewise.
2651 * iconvdata/ibm1132.h: Likewise.
2652 * iconvdata/ibm1133.h: Likewise.
2653 * iconvdata/ibm1137.h: Likewise.
2654 * iconvdata/ibm1140.h: Likewise.
2655 * iconvdata/ibm1141.h: Likewise.
2656 * iconvdata/ibm1142.h: Likewise.
2657 * iconvdata/ibm1143.h: Likewise.
2658 * iconvdata/ibm1144.h: Likewise.
2659 * iconvdata/ibm1145.h: Likewise.
2660 * iconvdata/ibm1146.h: Likewise.
2661 * iconvdata/ibm1147.h: Likewise.
2662 * iconvdata/ibm1148.h: Likewise.
2663 * iconvdata/ibm1149.h: Likewise.
2664 * iconvdata/ibm1153.h: Likewise.
2665 * iconvdata/ibm1154.h: Likewise.
2666 * iconvdata/ibm1155.h: Likewise.
2667 * iconvdata/ibm1156.h: Likewise.
2668 * iconvdata/ibm1157.h: Likewise.
2669 * iconvdata/ibm1158.h: Likewise.
2670 * iconvdata/ibm1160.h: Likewise.
2671 * iconvdata/ibm1161.h: Likewise.
2672 * iconvdata/ibm1162.h: Likewise.
2673 * iconvdata/ibm1163.h: Likewise.
2674 * iconvdata/ibm1164.h: Likewise.
2675 * iconvdata/ibm1166.h: Likewise.
2676 * iconvdata/ibm1167.h: Likewise.
2677 * iconvdata/ibm12712.h: Likewise.
2678 * iconvdata/ibm1390.h: Likewise.
2679 * iconvdata/ibm1399.h: Likewise.
2680 * iconvdata/ibm16804.h: Likewise.
2681 * iconvdata/ibm4517.h: Likewise.
2682 * iconvdata/ibm4899.h: Likewise.
2683 * iconvdata/ibm4909.h: Likewise.
2684 * iconvdata/ibm4971.h: Likewise.
2685 * iconvdata/ibm5347.h: Likewise.
2686 * iconvdata/ibm803.h: Likewise.
2687 * iconvdata/ibm856.h: Likewise.
2688 * iconvdata/ibm901.h: Likewise.
2689 * iconvdata/ibm902.h: Likewise.
2690 * iconvdata/ibm9030.h: Likewise.
2691 * iconvdata/ibm9066.h: Likewise.
2692 * iconvdata/ibm921.h: Likewise.
2693 * iconvdata/ibm922.h: Likewise.
2694 * iconvdata/ibm9448.h: Likewise.
2695 * iconvdata/isiri-3342.h: Likewise.
2696 * iconvdata/jis0201.h: Likewise.
2697 * include/link.h: Likewise.
2698 * include/netdb.h: Likewise.
2699 * inet/check_native.c: Likewise.
2700 * inet/check_pf.c: Likewise.
2701 * inet/getipv4sourcefilter.c: Likewise.
2702 * inet/getnameinfo.c: Likewise.
2703 * inet/getsourcefilter.c: Likewise.
2704 * inet/htonl.c: Likewise.
2705 * inet/setipv4sourcefilter.c: Likewise.
2706 * inet/setsourcefilter.c: Likewise.
2707 * inet/test-inet6_opt.c: Likewise.
2708 * inet/tst-network.c: Likewise.
2709 * locale/C-collate.c: Likewise.
2710 * locale/C-ctype.c: Likewise.
2711 * locale/C-time.c: Likewise.
2712 * locale/C-translit.h: Likewise.
2713 * locale/loadarchive.c: Likewise.
2714 * locale/programs/3level.h: Likewise.
2715 * locale/programs/charmap.c: Likewise.
2716 * locale/programs/charmap.h: Likewise.
2717 * locale/programs/ld-address.c: Likewise.
2718 * locale/programs/ld-collate.c: Likewise.
2719 * locale/programs/ld-ctype.c: Likewise.
2720 * locale/programs/ld-identification.c: Likewise.
2721 * locale/programs/ld-measurement.c: Likewise.
2722 * locale/programs/ld-messages.c: Likewise.
2723 * locale/programs/ld-monetary.c: Likewise.
2724 * locale/programs/ld-name.c: Likewise.
2725 * locale/programs/ld-numeric.c: Likewise.
2726 * locale/programs/ld-paper.c: Likewise.
2727 * locale/programs/ld-telephone.c: Likewise.
2728 * locale/programs/ld-time.c: Likewise.
2729 * locale/programs/linereader.c: Likewise.
2730 * locale/programs/locale.c: Likewise.
2731 * locale/programs/locarchive.c: Likewise.
2732 * locale/programs/locfile.h: Likewise.
2733 * locale/programs/repertoire.c: Likewise.
2734 * locale/programs/simple-hash.c: Likewise.
2735 * locale/programs/simple-hash.h: Likewise.
2736 * malloc/memusage.c: Likewise.
2737 * malloc/memusagestat.c: Likewise.
2738 * nis/nis_defaults.c: Likewise.
2739 * nis/nis_hash.c: Likewise.
2740 * nis/nis_print.c: Likewise.
2741 * nis/nis_xdr.c: Likewise.
2742 * nscd/connections.c: Likewise.
2743 * nscd/hstcache.c: Likewise.
2744 * nscd/nscd_gethst_r.c: Likewise.
2745 * nscd/nscd_getserv_r.c: Likewise.
2746 * nscd/nscd_helper.c: Likewise.
2747 * nscd/servicescache.c: Likewise.
2748 * nss/makedb.c: Likewise.
2749 * nss/nss_db/db-XXX.c: Likewise.
2750 * nss/nss_db/db-initgroups.c: Likewise.
2751 * nss/nss_db/db-netgrp.c: Likewise.
2752 * nss/nss_files/files-network.c: Likewise.
2753 * nss/nss_files/files-parse.c: Likewise.
2754 * posix/bug-regex5.c: Likewise.
2755 * posix/fnmatch_loop.c: Likewise.
2756 * posix/regcomp.c: Likewise.
2757 * posix/regexec.c: Likewise.
2758 * posix/tst-rfc3484-2.c: Likewise.
2759 * posix/tst-rfc3484-3.c: Likewise.
2760 * posix/tst-rfc3484.c: Likewise.
2761 * resolv/nss_dns/dns-canon.c: Likewise.
2762 * resolv/nss_dns/dns-network.c: Likewise.
2763 * resolv/res_init.c: Likewise.
2764 * resolv/res_mkquery.c: Likewise.
2765 * resolv/tst-aton.c: Likewise.
2766 * stdlib/cxa_atexit.c: Likewise.
2767 * stdlib/cxa_finalize.c: Likewise.
2768 * stdlib/gen-fpioconst.c: Likewise.
2769 * stdlib/strtol_l.c: Likewise.
2770 * string/tst-endian.c: Likewise.
2771 * sunrpc/auth_des.c: Likewise.
2772 * sunrpc/clnt_udp.c: Likewise.
2773 * sunrpc/rtime.c: Likewise.
2774 * sunrpc/svcauth_des.c: Likewise.
2775 * sunrpc/xdr.c: Likewise.
2776 * sunrpc/xdr_intXX_t.c: Likewise.
2777 * sunrpc/xdr_rec.c: Likewise.
2778 * sysdeps/generic/ldconfig.h: Likewise.
2779 * sysdeps/generic/ldsodefs.h: Likewise.
2780 * sysdeps/generic/memusage.h: Likewise.
2781 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2782 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2783 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2784 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2785 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2786 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2787 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2788 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2789 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2790 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2791 * sysdeps/posix/getaddrinfo.c: Likewise.
2792 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2793 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2794 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2795 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2796 * sysdeps/powerpc/test-gettimebase.c: Likewise.
2797 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2798 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2799 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2800 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2801 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2802 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2803 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2804 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2805 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2806 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2807 * sysdeps/x86_64/dl-tls.h: Likewise.
2808 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2809 * time/alt_digit.c: Likewise.
2810 * time/era.c: Likewise.
2811 * wcsmbs/tst-c16c32-1.c: Likewise.
2812
8c75f674
JM
28132013-05-16 Joseph Myers <joseph@codesourcery.com>
2814
2815 * math/libm-test.inc (struct test_sincos_data): New type.
2816 (RUN_TEST_LOOP_sincos): New macro.
2817 (sincos_test_data): New variable.
2818 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2819
e6e49e59
RH
28202013-05-16 Richard Henderson <rth@redhat.com>
2821
2822 * math/atest-exp2.c (LIMB64): New macro.
2823 (CONSTSZ): New macro.
2824 (mp_exp1, mp_exp_m1, mp_log2): New variables.
2825 (hexdig): Move ...
2826 (print_mpn_fp): ... to function scope.
2827 (read_mpn_hex): Remove.
2828 (get_log2): Remove.
2829 (exp2_mpn): Use mp_log2.
2830 (main): Use mp_exp1.
2831
15c7c18d
JM
28322013-05-16 Joseph Myers <joseph@codesourcery.com>
2833
105a07df
JM
2834 * math/libm-test.inc: Remove comment about not testing "inexact"
2835 exceptions.
2836 (INEXACT_EXCEPTION): New macro.
2837 (NO_INEXACT_EXCEPTION): Likewise.
2838 (INVALID_EXCEPTION_OK): Update value.
2839 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2840 (OVERFLOW_EXCEPTION_OK): Likewise.
2841 (UNDERFLOW_EXCEPTION_OK): Likewise.
2842 (IGNORE_ZERO_INF_SIGN): Likewise.
2843 (ERRNO_UNCHANGED): Likewise.
2844 (ERRNO_EDOM): Likewise.
2845 (ERRNO_ERANGE): Likewise.
2846 (test_exceptions): Handle testing "inexact" exceptions.
2847 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2848 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2849 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2850 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2851 INEXACT_EXCEPTION.
2852 (rint_towardzero_test_data): Likewise.
2853 (rint_downward_test_data): Likewise.
2854 (rint_upward_test_data): Likewise.
2855
e9eee333
JM
2856 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2857 with OVERFLOW_EXCEPTION.
2858 (exp10_test_data): Likewise.
2859 (exp2_test_data): Likewise.
2860 (expm1_test_data): Likewise.
2861 (lgamma_test_data): Likewise.
2862 (pow_test_data): Likewise.
2863 (tgamma_test_data): Likewise.
2864 (yn_test_data): Remove duplicate test of overflow.
2865
1c38ff73
JM
2866 * math/libm-test.inc (struct test_cc_c_data): New type.
2867 (RUN_TEST_LOOP_cc_c): New macro.
2868 (cpow_test_data): New variable.
2869 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2870
15c7c18d
JM
2871 * math/libm-test.inc (struct test_f_L_data): New type.
2872 (RUN_TEST_LOOP_f_L): New macro.
2873 (llrint_test_data): New variable.
2874 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2875 (llrint_tonearest_test_data): New variable.
2876 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2877 (llrint_towardzero_test_data): New variable.
2878 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2879 (llrint_downward_test_data): New variable.
2880 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2881 (llrint_upward_test_data): New variable.
2882 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2883 (llround_test_data): New variable.
2884 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2885
f137ff13
PC
28862013-05-13 Peter Collingbourne <pcc@google.com>
2887
2888 * math/atest-exp2.c (get_log2): Remove const attribute.
2889
3608cb24
JM
28902013-05-15 Joseph Myers <joseph@codesourcery.com>
2891
2892 * math/libm-test.inc (struct test_f_l_data): New type.
2893 (RUN_TEST_LOOP_f_l): New macro.
2894 (lrint_test_data): New variable.
2895 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2896 (lrint_tonearest_test_data): New variable.
2897 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2898 (lrint_towardzero_test_data): New variable.
2899 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2900 (lrint_downward_test_data): New variable.
2901 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2902 (lrint_upward_test_data): New variable.
2903 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2904 (lround_test_data): New variable.
2905 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2906
39b1f617
PC
29072013-05-15 Peter Collingbourne <pcc@google.com>
2908
1deff3dc
PC
2909 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2910 (EXTRACT_WORDS64) Use where appropriate.
2911 (INSERT_WORDS64) Likewise.
2912
791f3ba0
PC
2913 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2914 constraints with x constraints.
2915 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2916
39b1f617
PC
2917 * malloc/obstack.c (_obstack_compat): Add initializer.
2918
12fba011
EM
29192013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
2920
2921 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2922 si_trapno and add si_addr_lsb to _sifields.sigfault.
2923 (si_trapno): Remove macro.
2924 (si_addr_lsb): Define new macro.
2925 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2926
d369f531
JM
29272013-05-15 Joseph Myers <joseph@codesourcery.com>
2928
b861c6c4
JM
2929 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2930 instead of TEST_f_l.
2931 (llrint_test_tonearest): Likewise.
2932 (llrint_test_towardzero): Likewise.
2933 (llrint_test_downward): Likewise.
2934 (llrint_test_upward): Likewise.
2935 (llround_test): Likewise.
2936
7abeee12
JM
2937 * math/libm-test.inc (struct test_f_i_data): Add comment.
2938 (RUN_TEST_LOOP_f_b): New macro.
2939 (RUN_TEST_LOOP_f_b_tg): Likewise.
2940 (finite_test_data): New variable.
2941 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2942 (isfinite_test_data): New variable.
2943 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2944 (isinf_test_data): New variable.
2945 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2946 (isnan_test_data): New variable.
2947 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2948 (isnormal_test_data): New variable.
2949 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2950 (issignaling_test_data): New variable.
2951 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2952 (signbit_test_data): New variable.
2953 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2954
cbe8c4d3
JM
2955 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2956 with INVALID_EXCEPTION.
2957 (acosh_test_data): Likewise.
2958 (asin_test_data): Likewise.
2959 (atanh_test_data): Likewise.
2960 (fmod_test_data): Likewise.
2961 (log_test_data): Likewise.
2962 (log10_test_data): Likewise.
2963 (log2_test_data): Likewise.
2964 (pow_test_data): Likewise.
2965 (sqrt_test_data): Likewise.
2966 (y0_test_data): Likewise.
2967 (y1_test_data): Likewise.
2968 (yn_test_data): Likewise.
2969
5575c0e5
JM
2970 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2971 function contents.
2972
d369f531
JM
2973 * math/libm-test.inc (struct test_ff_i_data): New type.
2974 (RUN_TEST_LOOP_ff_i_tg): New macro.
2975 (isgreater_test_data): New variable.
2976 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2977 (isgreaterequal_test_data): New variable.
2978 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2979 (isless_test_data): New variable.
2980 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2981 (islessequal_test_data): New variable.
2982 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2983 (islessgreater_test_data): New variable.
2984 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2985 (isunordered_test_data): New variable.
2986 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2987
781fd748
DM
29882013-05-14 David S. Miller <davem@davemloft.net>
2989
2990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2991
87aa21df
JM
29922013-05-14 Joseph Myers <joseph@codesourcery.com>
2993
5e908270
JM
2994 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2995
f71172e5
JM
2996 * math/libm-test.inc (struct test_fF_f1_data): Change type of
2997 extra_test to int.
2998 (struct test_f_i_data): Change type of max_ulp to int.
2999
8cfa635a
JM
3000 * math/libm-test.inc (test_ffI_f1_data): New type.
3001 (RUN_TEST_LOOP_ffI_f1): New macro.
3002 (remquo_test_data): New variable.
3003 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3004
2bcb36b2
JM
3005 * setjmp/tst-setjmp-fp.c: New file.
3006 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3007 (link-libm): New variable.
3008 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3009
acbd839a
JM
3010 * math/libm-test.inc (struct test_f_i_data): New type.
3011 (RUN_TEST_LOOP_f_i): New macro.
3012 (RUN_TEST_LOOP_f_i_tg): Likewise.
3013 (fpclassify_test_data): New variable.
3014 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3015 (ilogb_test_data): New variable.
3016 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3017
e414d745
JM
3018 * math/libm-test.inc (scalbln_test): Correct function name in END
3019 call.
3020
d9c2a0fd
JM
3021 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3022 (RUN_TEST_LOOP_fI_f1): New macro.
3023 (frexp_test_data): New variable.
3024 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3025
9dc9095d
JM
3026 * math/libm-test.inc (struct test_fF_f1_data): New type.
3027 (RUN_TEST_LOOP_fF_f1): New macro.
3028 (modf_test_data): New variable.
3029 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3030
87aa21df
JM
3031 * math/libm-test.inc (struct test_f_f1_data): New type.
3032 (RUN_TEST_LOOP_f_f1): New macro.
3033 (gamma_test_data): New variable.
3034 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3035 (lgamma_test_data): New variable.
3036 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3037
141af660
CD
30382013-05-13 Carlos O'Donell <carlos@redhat.com>
3039
3040 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3041 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3042 (main): Comment "tls" pseudo-hwcap.
3043
6d33265c
JM
30442013-05-13 Joseph Myers <joseph@codesourcery.com>
3045
68fc074c
JM
3046 * math/libm-test.inc (struct test_fl_f_data): New type.
3047 (RUN_TEST_LOOP_fl_f): New variable.
3048 (scalbln_test_data): New variable.
3049 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3050
243216e1
JM
3051 * math/libm-test.inc (struct test_fi_f_data): New type.
3052 (RUN_TEST_LOOP_fi_f): New macro.
3053 (ldexp_test_data): New variable.
3054 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3055 (scalbn_test_data): New variable.
3056 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3057
6a1992e2
JM
3058 * math/libm-test.inc (struct test_c_f_data): New type.
3059 (RUN_TEST_LOOP_c_f): New macro.
3060 (cabs_test_data): New variable.
3061 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3062 (carg_test_data): New variable.
3063 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3064 (cimag_test_data): New variable.
3065 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3066 (creal_test_data): New variable.
3067 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3068
0e400df5
JM
3069 * math/libm-test.inc (struct test_if_f_data): New type.
3070 (RUN_TEST_LOOP_if_f): New macro.
3071 (jn_test_data): New variable.
3072 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3073 (yn_test_data): New variable.
3074 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3075
6d33265c
JM
3076 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3077
f98ece5f
AZ
30782013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3079
3080 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3081 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3082
0f7d347b
SP
30832013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3084
43fe811b
SP
3085 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3086 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3087 (bench-deps): Add bench-timing.h.
3088 * benchtests-bench-skeleton.c: Include bench-timing.h.
3089 (main): Use TIMING_* macros instead of clock_gettime.
3090 * benchtests/bench-timing.h: New file.
3091
0f7d347b
SP
3092 [BZ #14582]
3093 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3094 Renamed from _LIB_VERSION.
3095 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3096
601a3a5f
JM
30972013-05-12 Joseph Myers <joseph@codesourcery.com>
3098
4f184d30
JM
3099 * math/libm-test.inc (struct test_fff_f_data): New type.
3100 (RUN_TEST_LOOP_fff_f): New macro.
3101 (fma_test_data): New variable.
3102 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3103 (fma_towardzero_test_data): New variable.
3104 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3105 (fma_downward_test_data): New variable.
3106 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3107 (fma_upward_test_data): New variable.
3108 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3109
08198877
JM
3110 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3111 (struct test_c_c_data): New type.
3112 (RUN_TEST_LOOP_c_c): New macro.
3113 (cacos_test_data): New variable.
3114 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3115 (cacosh_test_data): New variable.
3116 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3117 (casin_test_data): New variable.
3118 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3119 (casinh_test_data): New variable.
3120 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3121 (catan_test_data): New variable.
3122 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3123 (catanh_test_data): New variable.
3124 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3125 (ccos_test_data): New variable.
3126 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3127 (ccosh_test_data): New variable.
3128 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3129 (cexp_test_data): New variable.
3130 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3131 (clog_test_data): New variable.
3132 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3133 (clog10_test_data): New variable.
3134 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3135 (conj_test_data): New variable.
3136 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3137 (cproj_test_data): New variable.
3138 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3139 (csin_test_data): New variable.
3140 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3141 (csinh_test_data): New variable.
3142 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3143 (csqrt_test_data): New variable.
3144 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3145 (ctan_test_data): New variable.
3146 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3147 (ctan_tonearest_test_data): New variable.
3148 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3149 (ctan_towardzero_test_data): New variable.
3150 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3151 (ctan_downward_test_data): New variable.
3152 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3153 (ctan_upward_test_data): New variable.
3154 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3155 (ctanh_test_data): New variable.
3156 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3157 (ctanh_tonearest_test_data): New variable.
3158 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3159 (ctanh_towardzero_test_data): New variable.
3160 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3161 (ctanh_downward_test_data): New variable.
3162 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3163 (ctanh_upward_test_data): New variable.
3164 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3165 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3166 of BUILD_COMPLEX.
3167
601a3a5f
JM
3168 * math/libm-test.inc (struct test_ff_f_data): New type.
3169 (struct test_ff_f_data_nexttoward): Likewise.
3170 (RUN_TEST_LOOP_2_f): New macro.
3171 (RUN_TEST_LOOP_ff_f): Likewise.
3172 (atan2_test_data): New variable.
3173 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3174 (copysign_test_data): New variable.
3175 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3176 (fdim_test_data): New variable.
3177 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3178 (fmax_test_data): New variable.
3179 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3180 (fmin_test_data): New variable.
3181 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3182 (fmod_test_data): New variable.
3183 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3184 (hypot_test_data): New variable.
3185 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3186 (nextafter_test_data): New variable.
3187 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3188 (nexttoward_test_data): New variable.
3189 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3190 (pow_test_data): New variable.
3191 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3192 (pow_tonearest_test_data): New variable.
3193 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3194 (pow_towardzero_test_data): New variable.
3195 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3196 (pow_downward_test_data): New variable.
3197 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3198 (pow_upward_test_data): New variable.
3199 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3200 (remainder_test_data): New variable.
3201 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3202 (scalb_test_data): New variable.
3203 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3204 * sysdeps/i386/fpu/libm-test-ulps: Update.
3205
74c57478
JM
32062013-05-11 Joseph Myers <joseph@codesourcery.com>
3207
8329e4da
JM
3208 * math/libm-test.inc (fma_test): Use max_value instead of local
3209 variable fltmax.
3210 (nextafter_test): Likewise.
3211
74c57478
JM
3212 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3213 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3214 (acos_downward_test_data): New variable.
3215 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3216 (acos_upward_test_data): New variable.
3217 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3218 (acosh_test_data): New variable.
3219 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3220 (asin_test_data): New variable.
3221 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3222 (asin_tonearest_test_data): New variable.
3223 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3224 (asin_towardzero_test_data): New variable.
3225 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3226 (asin_downward_test_data): New variable.
3227 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3228 (asin_upward_test_data): New variable.
3229 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3230 (asinh_test_data): New variable.
3231 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3232 (atan_test_data): New variable.
3233 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3234 (atanh_test_data): New variable.
3235 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3236 (cbrt_test_data): New variable.
3237 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3238 (ceil_test_data): New variable.
3239 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3240 (cos_test_data): New variable.
3241 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3242 (cos_tonearest_test_data): New variable.
3243 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3244 (cos_towardzero_test_data): New variable.
3245 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3246 (cos_downward_test_data): New variable.
3247 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3248 (cos_upward_test_data): New variable.
3249 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3250 (cosh_test_data): New variable.
3251 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3252 (cosh_tonearest_test_data): New variable.
3253 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3254 (cosh_towardzero_test_data): New variable.
3255 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3256 (cosh_downward_test_data): New variable.
3257 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3258 (cosh_upward_test_data): New variable.
3259 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3260 (erf_test_data): New variable.
3261 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3262 (erfc_test_data): New variable.
3263 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3264 (exp_test_data): New variable.
3265 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3266 (exp_tonearest_test_data): New variable.
3267 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3268 (exp_towardzero_test_data): New variable.
3269 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3270 (exp_downward_test_data): New variable.
3271 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3272 (exp_upward_test_data): New variable.
3273 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3274 (exp10_test_data): New variable.
3275 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3276 (exp2_test_data): New variable.
3277 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3278 (expm1_test_data): New variable.
3279 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3280 (fabs_test_data): New variable.
3281 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3282 (floor_test_data): New variable.
3283 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3284 (j0_test_data): New variable.
3285 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3286 (j1_test_data): New variable.
3287 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3288 (log_test_data): New variable.
3289 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3290 (log10_test_data): New variable.
3291 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3292 (log1p_test_data): New variable.
3293 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3294 (log2_test_data): New variable.
3295 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3296 (logb_test_data): New variable.
3297 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3298 (logb_downward_test_data): New variable.
3299 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3300 (nearbyint_test_data): New variable.
3301 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3302 (rint_test_data): New variable.
3303 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3304 (rint_tonearest_test_data): New variable.
3305 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3306 (rint_towardzero_test_data): New variable.
3307 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3308 (rint_downward_test_data): New variable.
3309 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3310 (rint_upward_test_data): New variable.
3311 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3312 (round_test_data): New variable.
3313 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3314 (sin_test_data): New variable.
3315 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3316 (sin_tonearest_test_data): New variable.
3317 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3318 (sin_towardzero_test_data): New variable.
3319 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3320 (sin_downward_test_data): New variable.
3321 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3322 (sin_upward_test_data): New variable.
3323 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3324 (sinh_test_data): New variable.
3325 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3326 (sinh_tonearest_test_data): New variable.
3327 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3328 (sinh_towardzero_test_data): New variable.
3329 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3330 (sinh_downward_test_data): New variable.
3331 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3332 (sinh_upward_test_data): New variable.
3333 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3334 (sqrt_test_data): New variable.
3335 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3336 (tan_test_data): New variable.
3337 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3338 (tan_tonearest_test_data): New variable.
3339 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3340 (tan_towardzero_test_data): New variable.
3341 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3342 (tan_downward_test_data): New variable.
3343 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3344 (tan_upward_test_data): New variable.
3345 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3346 (tanh_test_data): New variable.
3347 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3348 (tgamma_test_data): New variable.
3349 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3350 (trunc_test_data): New variable.
3351 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3352 (y0_test_data): New variable.
3353 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3354 (y1_test_data): New variable.
3355 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3356 (significand_test_data): New variable.
3357 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3358
7187d844
CG
33592013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3360
3361 [BZ #12387]
3362 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3363
f63fae73
PT
33642013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3365
3366 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3367
8a67a4b3
AJ
33682013-05-10 Andreas Jaeger <aj@suse.de>
3369
3370 [BZ #15448]
3371 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3372 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3373
51df539d
JM
33742013-05-10 Joseph Myers <joseph@codesourcery.com>
3375
3376 * math/gen-libm-test.pl (adjust_arg): New function.
3377 (special_functions): Handle generating output in both functions
3378 and arrays.
3379 (parse_args): Likewise.
3380 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3381 $in_func argument to parse_args.
3382 * math/libm-test.inc (struct test_f_f_data): New type.
3383 (IF_ROUND_INIT_): New macro.
3384 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3385 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3386 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3387 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3388 (ROUND_RESTORE_): Likewise.
3389 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3390 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3391 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3392 (ROUND_RESTORE_FE_UPWARD): Likewise.
3393 (RUN_TEST_LOOP_f_f): New macro.
3394 (acos_test_data): New variable.
3395 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3396 (acos_tonearest_test_data): New variable.
3397 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3398
5c637fe5
SP
33992013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3400
3401 * benchtests/bench-skeleton.c (startup): Fix coding style.
3402
ab2b9461
JM
34032013-05-10 Joseph Myers <joseph@codesourcery.com>
3404
3405 [BZ #6809]
3406 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3407 negative infinity argument.
3408 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3409 negative infinity argument.
3410 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3411 negative infinity argument.
3412 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3413 domain errors.
3414
4c0fe6fe
FW
34152013-05-10 Florian Weimer <fweimer@redhat.com>
3416
3417 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3418 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3419 * iconv/iconv_prog.c (main): Likewise.
3420 * locale/programs/charmap-dir.c (charmap_readdir)
3421 (fopen_uncompressed): Likewise.
3422 * locale/programs/locfile.c (siblings_uncached)
3423 (write_locale_data): Use lstat64 instead of lstat.
3424 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3425 stat.
3426
a3375d29
AJ
34272013-05-10 Andreas Jaeger <aj@suse.de>
3428
3429 [BZ #15395]
3430 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3431 localization.
3432 Include <locale.h>.
3433
36129722
CD
34342013-05-09 Carlos O'Donell <carlos@redhat.com>
3435
3436 * elf/dl-close.c (_dl_close_worker): Add comments.
3437
faa7f811
JM
34382013-05-09 Joseph Myers <joseph@codesourcery.com>
3439
ed41ffef
JM
3440 [BZ #15359]
3441 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3442 high part of pi/2.
3443 (__ieee754_rem_pio2l): Update comments.
3444
d0213cd0
JM
3445 [BZ #15429]
3446 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3447 high part of pi/2.
3448 (__ieee754_rem_pio2l): Update comments.
3449
0d3e777a
JM
3450 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3451 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3452
24f56066
JM
3453 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3454 M_PI_4l.
3455
faa7f811
JM
3456 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3457 (M_PI_34_LOG10El): Likewise.
3458 (M_PI2_LOG10El): Likewise.
3459 (M_PI4_LOG10El): Likewise.
3460 (M_PI_LOG10El): Likewise.
3461
e9a5e0fd
AZ
34622013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3463
3464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3465
d8cd06db
JM
34662013-05-08 Joseph Myers <joseph@codesourcery.com>
3467
a0d9f9d7
JM
3468 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3469 (MINUS_ZERO_INIT): Likewise.
3470 (PLUS_INFTY_INIT): Likewise.
3471 (MINUS_INFTY_INIT): Likewise.
3472 (QNAN_VALUE_INIT): Likewise.
3473 (MAX_VALUE_INIT): Likewise.
3474 (MIN_VALUE_INIT): Likewise.
3475 (MIN_SUBNORM_VALUE_INIT): Likewise.
3476 (plus_zero): Initialize with PLUS_ZERO_INIT.
3477 (minus_zero): Initialize with MINUS_ZERO_INIT.
3478 (plus_infty): Initialize with PLUS_INFTY_INIT.
3479 (minus_infty): Initialize with MINUS_INFTY_INIT.
3480 (qnan_value): Initialize with QNAN_VALUE_INIT.
3481 (max_value): Initialize with MAX_VALUE_INIT.
3482 (min_value): Initialize with MIN_VALUE_INIT.
3483 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3484
ae08db3b
JM
3485 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3486 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3487 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3488 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3489
f44bf14a
JM
3490 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3491 (RUN_TEST_2_f): Likewise.
3492 (RUN_TEST_ff_f): Likewise.
3493 (RUN_TEST_fi_f): Likewise.
3494 (RUN_TEST_fl_f): Likewise.
3495 (RUN_TEST_fff_f): Likewise.
3496 (RUN_TEST_c_f): Likewise.
3497 (RUN_TEST_f_f1): Likewise.
3498 (RUN_TEST_fF_f1): Likewise.
3499 (RUN_TEST_fI_f1): Likewise.
3500 (RUN_TEST_ffI_f1): Likewise.
3501 (RUN_TEST_c_c): Likewise.
3502 (RUN_TEST_cc_c): Likewise.
3503 (RUN_TEST_f_i): Likewise.
3504 (RUN_TEST_f_i_tg): Likewise.
3505 (RUN_TEST_ff_i_tg): Likewise.
3506 (RUN_TEST_f_b): Likewise.
3507 (RUN_TEST_f_b_tg): Likewise.
3508 (RUN_TEST_f_l): Likewise.
3509 (RUN_TEST_f_L): Likewise.
3510 (RUN_TEST_sincos): Likewise.
3511 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3512 whether to show exceptions. Do not include ");\n" in return
3513 value.
3514 (special_functions): Output call to RUN_TEST_sincos instead of
3515 check_float calls. Update calls to new_test.
3516 (parse_args): Output call to single RUN_TEST_* macro instead of
3517 check_* calls and other assignments. Update calls to new_test.
3518
d8cd06db
JM
3519 [BZ #2546]
3520 [BZ #2560]
3521 [BZ #5159]
3522 [BZ #15426]
3523 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3524 input to result for tgamma overflow.
3525 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3526 (gamma_coeff): New variable.
3527 (NCOEFF): New macro.
3528 (gamma_positive): New function.
3529 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3530 underflow here. Use gamma_positive instead of exp (lgamma) for
3531 other arguments.
3532 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3533 (gamma_coeff): New variable.
3534 (NCOEFF): New macro.
3535 (gammaf_positive): New function.
3536 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3537 underflow here. Use gamma_positive instead of exp (lgamma) for
3538 other arguments.
3539 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3540 (gamma_coeff): New variable.
3541 (NCOEFF): New macro.
3542 (gammal_positive): New function.
3543 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3544 underflow here. Use gamma_positive instead of exp (lgamma) for
3545 other arguments.
3546 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3547 (gamma_coeff): New variable.
3548 (NCOEFF): New macro.
3549 (gammal_positive): New function.
3550 (__ieee754_gammal_r): Handle positive infinity, overflow and
3551 underflow here. Handle NaN the same as positive infinity. Remove
3552 check x < 0xffffffff for negative integers. Use gamma_positive
3553 instead of exp (lgamma) for other arguments.
3554 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3555 (gamma_coeff): New variable.
3556 (NCOEFF): New macro.
3557 (gammal_positive): New function.
3558 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3559 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3560 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3561 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3562 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3563 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3564 * sysdeps/generic/math_private.h (__gamma_productf): New
3565 prototype.
3566 (__gamma_product): Likewise.
3567 (__gamma_productl): Likewise.
3568 * math/Makefile (libm-calls): Add gamma_product.
3569 * math/libm-test.inc (tgamma_test): Add more tests.
3570 * sysdeps/i386/fpu/libm-test-ulps: Update.
3571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3572
bb7cf681
OB
35732013-05-08 Ondřej Bílka <neleai@seznam.cz>
3574
3575 * benchtests/bench-skeleton.c (main): Preheat CPU.
3576
ba853947
AJ
35772013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3578
3579 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3580
8347c74c
RM
35812013-05-07 Roland McGrath <roland@hack.frob.com>
3582
3583 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3584 and _dl_skip_args_internal.
3585
e8dd4791
CD
35862013-05-07 Carlos O'Donell <carlos@redhat.com>
3587
3588 * manual/message.texi (Message Translation): Talk about users.
3589 Message to key mapping impacts design.
3590
c7405830
RM
35912013-05-06 Roland McGrath <roland@hack.frob.com>
3592
a9173057
RM
3593 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3594
976e2f03
RM
3595 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3596
9723ffc5
RM
3597 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3598 * sysdeps/wordsize-64/glob64.c: ... here.
3599
962e6658
RM
3600 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3601 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3602 New macros.
3603
ee586a6d
RM
3604 * debug/getlogin_r_chk.c: Moved to ...
3605 * login/getlogin_r_chk.c: ... here.
3606 * debug/Makefile (routines): Move getlogin_r_chk to ...
3607 * login/Makefile (routines): ... here.
3608 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3609 * login/Versions (libc: GLIBC_2.4): ... here.
3610
355f9165
RM
3611 * io/poll.c (__poll): Renamed from poll.
3612 Add libc_hidden_def.
3613 (poll): Define as weak alias.
3614
bd9ffde6
RM
3615 * debug/ptsname_r_chk.c: Moved to ...
3616 * login/ptsname_r_chk.c: ... here.
3617 * debug/Makefile (routines): Move ptsname_r_chk to ...
3618 * login/Makefile (routines): ... here.
3619 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3620 * login/Versions (libc: GLIBC_2.4): ... here.
3621
8fb16a04
RM
3622 * posix/getlogin.c: Moved to ...
3623 * login/getlogin.c: ... here.
3624 * posix/getlogin_r.c: Moved to ...
3625 * login/getlogin_r.c: ... here.
3626 * posix/getlogin_r.c: Moved to ...
3627 * login/getlogin_r.c: ... here.
3628 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3629 * login/Makefile (routines): ... here.
3630 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3631 * login/Versions (libc: GLIBC_2.0): ... here.
3632
b99b892f
RM
3633 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3634 (setrlimit): Define as weak alias.
3635
c7405830
RM
3636 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3637 Call __ names for open, ftruncate, and close.
3638 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3639 (truncate): Define as weak alias.
3640
5bf96de5
JM
36412013-05-06 Joseph Myers <joseph@codesourcery.com>
3642
9ea3513c
JM
3643 * math/gen-libm-test.pl (parse_args): Initialize x before each
3644 test of frexp, modf and remquo.
3645
5bf96de5
JM
3646 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3647 test signgam value.
3648
16e616a7
AZ
36492013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3650
3651 [BZ #15418]
3652 [BZ #15419]
3653 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3654 internal tests.
3655 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3656
d5e82754
RM
36572013-05-06 Roland McGrath <roland@hack.frob.com>
3658
3659 * elf/dl-writev.h: New file.
3660 * elf/dl-misc.c: Include it.
3661 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3662 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3663
a7548d41
JM
36642013-05-04 Joseph Myers <joseph@codesourcery.com>
3665
b7dab1e4
JM
3666 * math/libm-test.inc (noXFails): Remove variable.
3667 (noXPasses): Likewise.
3668 (BUILD_COMPLEX_INT): Remove macro.
3669 (print_screen): Remove xfail argument.
3670 (print_screen_max_error): Likewise.
3671 (update_stats): Likewise.
3672 (print_max_error): Likewise. Update calls to other affected
3673 functions.
3674 (print_complex_max_error): Likewise.
3675 (test_single_exception): Update calls to print_screen.
3676 (test_single_errno): Likewise.
3677 (check_float_internal): Remove xfail argument. Update calls to
3678 other affected functions.
3679 (check_float): Likewise.
3680 (check_complex): Likewise.
3681 (check_int): Likewise.
3682 (check_long): Likewise.
3683 (check_bool): Likewise.
3684 (check_longlong): Likewise.
3685 (main): Don't print noXFails and noXPasses.
3686 * math/gen-libm-test.pl (top level): Don't mention expected
3687 failure handling in comment.
3688 (new_test): Don't handle expected failures.
3689 (parse_args): Don't mention expected failure handling in comment.
3690 (generate_testfile): Don't handle expected failures.
3691 (parse_ulps): Likewise.
3692 (print_ulps_file): Likewise.
3693 (get_failure): Remove function.
3694 (output_test): Don't handle expected failures.
3695 * make/README.libm-test: Don't mention expected failure handling.
3696
a7548d41
JM
3697 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3698 (minus_zero): Likewise.
3699 (plus_infty): Likewise.
3700 (minus_infty): Likewise.
3701 (qnan_value): Likewise.
3702 (max_value): Likewise.
3703 (min_value): Likewise.
3704 (min_subnorm_value): Likewise.
3705 (initialize): Do not initialize those variables dynamically.
3706
60bfd54c
RM
37072013-05-03 Roland McGrath <roland@hack.frob.com>
3708
cc0e6ed8
RM
3709 * io/open.c (__open_2): Moved to ...
3710 * io/open_2.c: ... this new file.
3711 * io/open64.c (__open64_2): Moved to ...
3712 * io/open64_2.c: ... this new file.
3713 * io/openat.c (__openat_2): Moved to ...
3714 * io/openat_2.c: ... this new file.
3715 * io/openat64.c (__openat64_2): Moved to ...
3716 * io/openat64_2.c: ... this new file.
3717 * io/Makefile (routines): Add them.
3718 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3719 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3720 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3721 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3722 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3723 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3724 (__openat64): Add hidden_ver.
3725 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3726 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3727
60bfd54c
RM
3728 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3729 Separately conditionalize setting of GLRO(dl_sysinfo) so
3730 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3731 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3732
83e7640f
AZ
37332013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3734
3735 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3736 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3737 definition.
3738 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3739 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3740 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3741 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3742 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3743
d5dc2af3
JM
37442013-05-03 Joseph Myers <joseph@codesourcery.com>
3745
c31a5b1e
JM
3746 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3747 test signgam value.
3748
d5dc2af3
JM
3749 * math/libm-test.inc (hypot_test): Do not use
3750 IGNORE_ZERO_INF_SIGN.
3751
164fd39d
AJ
37522013-05-03 Andreas Jaeger <aj@suse.de>
3753
3754 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3755 Linux 3.9.
3756 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3757 (PF_MAX): Adjust for VSOCK change.
3758
8237f48c
AZ
37592013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3760
3761 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3762
9df02941
CD
37632013-05-02 Carlos O'Donell <carlos@redhat.com>
3764
3765 [BZ #15264]
3766 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3767 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3768 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3769
d422395e
DM
37702013-05-02 David S. Miller <davem@davemloft.net>
3771
3772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3773
a07c5731
OB
37742013-05-01 Ondřej Bílka <neleai@seznam.cz>
3775
3776 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3777
1324e37f
RM
37782013-05-01 Roland McGrath <roland@hack.frob.com>
3779
3780 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3781
0695940b
RS
37822013-05-01 Richard Smith <richard@metafoo.co.uk>
3783
bb5f27ad 3784 [BZ #14952]
0695940b
RS
3785 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3786 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3787 Use __attribute__ ((__gnu_inline__)).
3788 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3789 Don't use __attribute__ ((__gnu_inline__)).
3790
10de07f5
JM
37912013-05-01 Joseph Myers <joseph@codesourcery.com>
3792
3793 [BZ #15423]
3794 * math/s_catan.c (__catan): Handle small real or imaginary part of
3795 input specially to avoid spurious underflow.
3796 * math/s_catanf.c (__catanf): Likewise.
3797 * math/s_catanh.c (__catanh): Likewise.
3798 * math/s_catanhf.c (__catanhf): Likewise.
3799 * math/s_catanhl.c (__catanhl): Likewise.
3800 * math/s_catanl.c (__catanl): Likewise.
3801 * math/libm-test.inc (catan_test): Add more tests.
3802 (catanh_test): Likewise.
3803 * sysdeps/i386/fpu/libm-test-ulps: Update.
3804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3805
cb4d5414
AZ
38062013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3807
3808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3809
caf84319
JM
38102013-04-30 Joseph Myers <joseph@codesourcery.com>
3811
3812 [BZ #15416]
3813 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3814 accurately for denominator in atan2.
3815 * math/s_catanf.c (__catanf): Likewise.
3816 * math/s_catanh.c (__catanh): Likewise.
3817 * math/s_catanhf.c (__catanhf): Likewise.
3818 * math/s_catanhl.c (__catanhl): Likewise.
3819 * math/s_catanl.c (__catanl): Likewise.
3820 * math/libm-test.inc (catan_test): Add more tests.
3821 (catanh_test): Likewise.
3822 * sysdeps/i386/fpu/libm-test-ulps: Update.
3823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3824
d569c6ee
SP
38252013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3826
6dbe713d
SP
3827 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3828
f0ee064b
SP
3829 * benchtests/Makefile (bench): Remove slow benchmarks.
3830 * benchtests/atan-inputs: Add slow benchmark inputs.
3831 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3832 (BENCH_FUNC): Accept variant offset.
3833 (VARIANT): Define.
3834 * benchtests/bench-skeleton.c (main): Run benchmark for each
3835 variant.
3836 * benchtests/cos-inputs: Add slow benchmark inputs.
3837 * benchtests/exp-inputs: Likewise.
3838 * benchtests/pow-inputs: Likewise.
3839 * benchtests/sin-inputs: Likewise.
3840 * benchtests/slowatan-inputs: Remove.
3841 * benchtests/slowatan.c: Remove.
3842 * benchtests/slowcos-inputs: Remove.
3843 * benchtests/slowcos.c: Remove.
3844 * benchtests/slowexp-inputs: Remove.
3845 * benchtests/slowexp.c: Remove.
3846 * benchtests/slowpow-inputs: Remove.
3847 * benchtests/slowpow.c: Remove.
3848 * benchtests/slowsin-inputs: Remove.
3849 * benchtests/slowsin.c: Remove.
3850 * benchtests/slowtan-inputs: Remove.
3851 * benchtests/slowtan.c: Remove.
3852 * benchtests/tan-inputs: Add slow benchmark inputs.
3853 * scripts/bench.pl: Parse comments and directives.
3854
d569c6ee
SP
3855 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3856 in CPPFLAGS.
3857 ($(objpfx)bench-%.c): Remove *-ITER.
3858 * benchtests/bench-modf.c: Remove definition of ITER.
3859 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3860 (main): Loop for DURATION seconds instead of fixed number of
3861 iterations.
3862 * scripts/bench.pl: Don't expect iterations in parameters.
3863
a6a242fe
RM
38642013-04-29 Roland McGrath <roland@hack.frob.com>
3865
3866 * io/fchdir.c (__fchdir): Renamed from fchdir.
3867 (fchdir): Define as weak alias.
3868
f2da7793
JM
38692013-04-29 Joseph Myers <joseph@codesourcery.com>
3870
3871 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3872 (ERRNO_EDOM): Likewise.
3873 (ERRNO_ERANGE): Likewise.
3874 (noErrnoTests): New variable.
3875 (init_max_error): Set errno to 0.
3876 (test_single_errno): New function.
3877 (test_errno): Likewise.
3878 (check_float_internal): Call test_errno. Set errno to 0.
3879 (check_complex): Refer to errno tests in comment.
3880 (check_int): Call test_errno. Set errno to 0.
3881 (check_long): Likewise.
3882 (check_bool): Likewise.
3883 (check_longlong): Likewise.
3884 (cos_test): Use ERRNO_* flags for errno tests instead of
3885 check_int.
3886 (expm1_test): Likewise.
3887 (fmod_test): Likewise.
3888 (ilogb_test): Likewise.
3889 (lgamma_test): Likewise.
3890 (pow_test): Likewise.
3891 (remainder_test): Likewise.
3892 (sin_test): Likewise.
3893 (tan_test): Likewise.
3894 (yn_test): Likewise.
3895 (initialize): Set errno to 0.
3896 (main): Print number of errno tests.
3897 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3898
b1a36ceb
AJ
38992013-04-29 Andreas Jaeger <aj@suse.de>
3900
c3ed8088
AJ
3901 [BZ #15084]
3902 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3903 and RES_USEVC.
3904
f1a24198
AJ
3905 [BZ #15085]
3906 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3907 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3908 unimplemented.
3909
9ce3b2cb
AJ
3910 [BZ #15380]
3911 * stdlib/random.c (__initstate): Return NULL if
3912 __initstate fails.
3913
f1a24198 3914 [BZ #15086]
b1a36ceb
AJ
3915 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3916 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3917 RES_SNGLKUPREOP.
3918
7e7b6f36
AZ
39192013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3920
3921 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3922
4d14f449
JM
39232013-04-29 Joseph Myers <joseph@codesourcery.com>
3924
3925 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3926 of individual tests.
3927 (casin_test): Likewise.
3928 (casinh_test): Likewise.
3929
5b4217d7
JM
39302013-04-27 Joseph Myers <joseph@codesourcery.com>
3931
3932 [BZ #15409]
3933 * math/s_catan.c (__catan): Handle arguments with large real or
3934 imaginary part separately without squaring.
3935 * math/s_catanf.c (__catanf): Likewise.
3936 * math/s_catanh.c (__catanh): Likewise.
3937 * math/s_catanhf.c (__catanhf): Likewise.
3938 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3939 and redefine.
3940 (__catanhl): Handle arguments with large real or imaginary part
3941 separately without squaring.
3942 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3943 and redefine.
3944 (__catanl): Handle arguments with large real or imaginary part
3945 separately without squaring.
3946 * math/libm-test.inc (catan_test): Add more tests.
3947 (catanh_test): Likewise.
3948 * sysdeps/i386/fpu/libm-test-ulps: Update.
3949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3950
4220c3ef
AJ
39512013-04-27 Andreas Jaeger <aj@suse.de>
3952
3953 [BZ #15007]
3954 * stdlib/stdlib.h: Update guards for qecvt.
3955 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3956 <stdlib.h>.
3957
4721b2d1
AM
39582013-04-27 Allan McRae <allan@archlinux.org>
3959
3960 * sysdeps/i386/fpu/libm-test-ulps: Update.
3961
f0302940
JM
39622013-04-26 Joseph Myers <joseph@codesourcery.com>
3963
9457fd95
JM
3964 [BZ #15406]
3965 * math/s_catan.c: Include <float.h>.
3966 (__catan): Ensure underflow exception occurs for underflowed
3967 result.
3968 * math/s_catanf.c: Include <float.h>.
3969 (__catanf): Ensure underflow exception occurs for underflowed
3970 result.
3971 * math/s_catanh.c: Include <float.h>.
3972 (__catanh): Ensure underflow exception occurs for underflowed
3973 result.
3974 * math/s_catanhf.c: Include <float.h>.
3975 (__catanhf): Ensure underflow exception occurs for underflowed
3976 result.
3977 * math/s_catanhl.c: Include <float.h>.
3978 (__catanhl): Ensure underflow exception occurs for underflowed
3979 result.
3980 * math/s_catanl.c: Include <float.h>.
3981 (__catanl): Ensure underflow exception occurs for underflowed
3982 result.
3983 * math/libm-test.inc (catan_test): Add more tests.
3984 (catanh_test): Likewise.
3985
f0302940
JM
3986 [BZ #15405]
3987 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3988 underflowed result.
3989 * math/s_ccoshf.c (__ccoshf): Likewise.
3990 * math/s_ccoshl.c (__ccoshl): Likewise.
3991 * math/s_csin.c (__csin): Likewise.
3992 * math/s_csinf.c (__csinf): Likewise.
3993 * math/s_csinh.c (__csinh): Likewise.
3994 * math/s_csinhf.c (__csinhf): Likewise.
3995 * math/s_csinhl.c (__csinhl): Likewise.
3996 * math/s_csinl.c (__csinl): Likewise.
3997 * math/libm-test.inc (ccos_test): Add more tests.
3998 (ccosh_test): Likewise.
3999 (csin_test): Likewise.
4000 (csinh_test): Likewise.
4001
aa630f59
AZ
40022013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4003
4004 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4005 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4006 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4007 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4008 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4009 powerpc/power5+/fpu folders.
4010 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4011
4012
1b835983
MT
40132013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4014
4015 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4016
73709b26
JM
40172013-04-25 Joseph Myers <joseph@codesourcery.com>
4018
4019 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4020 additions to variable.
4021 [$(config-machine) = x86_64] (modules-names): Likewise.
4022 ($(objpfx)tst-audit3): Remove dependency.
4023 ($(objpfx)tst-audit3.out): Likewise.
4024 ($(objpfx)tst-audit4): Likewise.
4025 ($(objpfx)tst-audit4.out): Likewise.
4026 ($(objpfx)tst-audit5): Likewise.
4027 ($(objpfx)tst-audit5.out): Likewise.
4028 ($(objpfx)tst-audit6): Likewise.
4029 ($(objpfx)tst-audit6.out): Likewise.
4030 ($(objpfx)tst-audit7): Likewise.
4031 ($(objpfx)tst-audit7.out): Likewise.
4032 (tst-audit3-ENV): Remove variable.
4033 (tst-audit4-ENV): Likewise.
4034 (tst-audit5-ENV): Likewise.
4035 (tst-audit6-ENV): Likewise.
4036 (tst-audit7-ENV): Likewise.
4037 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4038 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4039 addition to variable.
4040 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4041 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4042 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4043 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4044 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4045 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4046 tst-audit3, tst-audit4 and tst-audit5.
4047 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4048 tst-audit6 and tst-audit7.
4049 [$(subdir) = elf] (modules-names): Add audit modules for those
4050 tests.
4051 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4052 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4053 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4054 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4055 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4056 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4057 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4058 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4059 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4060 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4061 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4062 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4063 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4064 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4065 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4066 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4067 Likewise.
4068 [$(subdir) = elf && $(config-cflags-avx) = yes]
4069 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4070 [$(subdir) = elf && $(config-cflags-avx) = yes]
4071 (CFLAGS-tst-auditmod4a.c): Likewise.
4072 [$(subdir) = elf && $(config-cflags-avx) = yes]
4073 (CFLAGS-tst-auditmod4b.c): Likewise.
4074 [$(subdir) = elf && $(config-cflags-avx) = yes]
4075 (CFLAGS-tst-auditmod6b.c): Likewise.
4076 [$(subdir) = elf && $(config-cflags-avx) = yes]
4077 (CFLAGS-tst-auditmod6c.c): Likewise.
4078 [$(subdir) = elf && $(config-cflags-avx) = yes]
4079 (CFLAGS-tst-auditmod7b.c): Likewise.
4080 * elf/tst-audit3.c: Move to ...
4081 * sysdeps/x86_64/tst-audit3.c: ... here.
4082 * elf/tst-audit4.c: Move to ...
4083 * sysdeps/x86_64/tst-audit4.c: ... here.
4084 * elf/tst-audit5.c: Move to ...
4085 * sysdeps/x86_64/tst-audit5.c: ... here.
4086 * elf/tst-audit6.c: Move to ...
4087 * sysdeps/x86_64/tst-audit6.c: ... here.
4088 * elf/tst-audit7.c: Move to ...
4089 * sysdeps/x86_64/tst-audit7.c: ... here.
4090 * elf/tst-auditmod3a.c: Move to ...
4091 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4092 * elf/tst-auditmod3b.c: Move to ...
4093 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4094 * elf/tst-auditmod4a.c: Move to ...
4095 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4096 * elf/tst-auditmod4b.c: Move to ...
4097 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4098 * elf/tst-auditmod5a.c: Move to ...
4099 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4100 * elf/tst-auditmod5b.c: Move to ...
4101 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4102 * elf/tst-auditmod6a.c: Move to ...
4103 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4104 * elf/tst-auditmod6b.c: Move to ...
4105 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4106 * elf/tst-auditmod6c.c: Move to ...
4107 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4108 * elf/tst-auditmod7a.c: Move to ...
4109 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4110 * elf/tst-auditmod7b.c: Move to ...
4111 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4112
1ef74943
PP
41132013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4114
4115 [BZ #15366]
4116 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4117 define unconditionally.
4118 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4119 define unconditionally.
4120 (INT8_C, INT16_C, etc.): Likewise.
4121
93fd48c5
MR
41222013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4123
ae9552cf
MR
4124 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4125 __ehdr_start with hidden visibility.
4126
93fd48c5
MR
4127 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4128
418601aa
CD
41292013-04-24 Carlos O'Donell <carlos@redhat.com>
4130
4131 * math/libm-test.inc (cos_test): Use accurate hex constants.
4132 (sincost_test): Likewise.
4133
2f38fbfe
JM
41342013-04-24 Joseph Myers <joseph@codesourcery.com>
4135
5e221800
JM
4136 * math/libm-test.inc (catan_test): Add more tests.
4137 (catanh_test): Likewise.
4138
77f143fd
JM
4139 * math/s_catanf.c (__catanf): Use suffixed floating-point
4140 constants.
4141 * math/s_catanhf.c (__catanhf): Likewise.
4142 * math/s_catanhl.c (__catanhl): Likewise.
4143 * math/s_catanl.c (__catanl): Likewise.
4144
2f38fbfe
JM
4145 [BZ #15394]
4146 * math/s_catan.c (__catan): Calculate imaginary part of result
4147 with log1p not log unless computing log of number close to 0.
4148 * math/s_catanf.c (__catanf): Likewise.
4149 * math/s_catanl.c (__catanl): Likewise.
4150 * math/s_catanh.c (__catanh): Calculate real part of result with
4151 log1p not log unless computing log of number close to 0.
4152 * math/s_catanhf.c (__catanhf): Likewise.
4153 * math/s_catanhl.c (__catanhl): Likewise.
4154 * math/libm-test.inc (catan_test): Add more tests.
4155 (catanh_test): Likewise.
4156 * sysdeps/i386/fpu/libm-test-ulps: Update.
4157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4158
45d69176
SP
41592013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4160
4161 * benchtests/Makefile: Mention files in which fast and slow
4162 paths of math functions are implemented.
4163
87f51853
RM
41642013-04-23 Roland McGrath <roland@hack.frob.com>
4165
4166 * sysdeps/posix/timespec_get.c: New file.
4167
3c026539
AZ
41682013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4169
4170 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4171 POWER.
4172 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4173 for POWER.
4174 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4175 powerpc/power5/fpu folders.
4176 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4177 * benchtests/Makefile: Add modf testcase.
4178 * benchtests/bench-modf.c: New file: Benchmark test for mo
4179
ff491d14
SP
41802013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4181
4182 [BZ #14888]
4183 * time/Makefile (tests): Add tst-strptime-whitespace.
4184 * time/strptime_l.c (get_number): Use ISSPACE.
4185 (__strptime_internal): Likewise.
4186 * time/tst-strptime-whitespace.c: New test case.
4187
7ed3f4e8
AS
41882013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4189
4190 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4191 member.
4192 (_nss_files_init): Set it here.
4193
5c95f7b6
HC
41942013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4195
4196 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4197 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4198 unsigned.
4199
d34c9158
JBG
42002013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4201
4202 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4203
2169712d
SP
42042013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4205
4206 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4207 size just once.
4208
29c5de99
DM
42092013-04-21 David S. Miller <davem@davemloft.net>
4210
4211 * po/ru.po: Update Russion translation from translation project.
4212
ccdad15d
AC
42132013-04-17 Adam Conrad <adconrad@0c3.net>
4214
4215 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4216 and setfsgid.
4217
0f122b8d
CD
42182013-04-17 Carlos O'Donell <carlos@redhat.com>
4219
5c5b07da 4220 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 4221 * configure: Regenerate.
5c5b07da 4222 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
4223 Add example to error message.
4224 * sysdeps/i386/configure: Regenerate.
4225
037714dd
SP
42262013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4227
4228 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4229 slowtan.
4230 * benchtests/cos-inputs: New file.
4231 * benchtests/slowcos-inputs: New file.
4232 * benchtests/slowcos.c: New file.
4233 * benchtests/slowtan-inputs: New file.
4234 * benchtests/slowtan.c: New file.
4235 * benchtests/tan-inputs: New file.
4236
e913141d
RM
42372013-04-16 Roland McGrath <roland@hack.frob.com>
4238
4239 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4240 considered kosher.
4241
a2964074
SP
42422013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4243
4856bcd2
SP
4244 * benchtests/Makefile: Include cppflags-iterator.mk to add
4245 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4246
a2964074
SP
4247 * Makefile.in (bench-clean): New target.
4248 * benchtests/Makefile (bench-clean): Likewise.
4249
9fbf9aca
DH
42502013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4251
4252 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4253
207d1e2a
TS
42542013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4255
4256 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4257
306dfba9
AS
42582013-04-15 Andreas Schwab <schwab@suse.de>
4259
4260 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4261 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4262 * nscd/pwdcache.c (cache_addpw): Likewise.
4263 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4264 more than recsize.
4265
206a6699
SP
42662013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4267
4268 * benchtests/Makefile (bench): Write all output to
4269 bench-out.tmp together.
4270
0582f6b3
AS
42712013-04-15 Andreas Schwab <schwab@suse.de>
4272
4273 * nscd/nscd.c (main): Don't fork again after closing files.
4274
acb4325f
SP
42752013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4276
5cb26d0a
SP
4277 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4278
acb4325f
SP
4279 * benchtests/Rules (bench-deps): Collect dependencies into a
4280 single variable. Add Makefile to dependencies.
4281 ($(objpfx)bench-%.c): Depend on bench-deps.
4282
47792506
RM
42832013-04-12 Roland McGrath <roland@hack.frob.com>
4284 Xavier Roche <roche+kml2@exalead.com>
4285
4286 [BZ #15361]
4287 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4288 just that it's a file descriptor.
4289 * manual/llio.texi (Synchronizing AIO Operations): Update description
4290 for EBADF error from aio_fsync.
4291
8fc1bee5
SP
42922013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4293
4294 * Rules (bench): Move target definition...
4295 * benchtests/Makefile: ... here.
4296
aba5e333
CD
42972013-04-11 Carlos O'Donell <carlos@redhat.com>
4298
4299 * math/libm-test.inc (cos_test): Fix PI/2 test.
4300 (sincos_test): Likewise.
4301 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4302 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4303
273cdee8
AS
43042013-04-11 Andreas Schwab <schwab@suse.de>
4305
6ecec3b6
AS
4306 [BZ #13988]
4307 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4308 accept exponent character only when digits were seen.
4309 * stdio-common/Makefile (tests): Add bug26.
4310 * stdio-common/bug26.c: New file.
4311
273cdee8
AS
4312 [BZ #14293]
4313 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4314 non-freeable.
4315
8da491f5
SP
43162013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4317
01dc6df9
SP
4318 * Makeconfig (rtld-prefix): Define built linker prefix.
4319 * Rules (run-bench): Use it.
4320 * math/Makefile (run-regen-ulps): Likewise.
4321
8da491f5
SP
4322 * Rules (bench): Remove eval.
4323
abe7f530
SP
43242013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4325 Roland McGrath <roland@hack.frob.com>
4326 Ondrej Bilka <neleai@seznam.cz>
4327
4328 [BZ #15346]
4329 * time/getdate.c: Include ctype.h and alloca.h.
4330 (__getdate_r): Trim leading and trailing spaces of input.
4331 * time/tst-getdate.c (tests): Add tests with leading and
4332 trailing spaces.
4333
61c23e62
RM
43342013-04-08 Roland McGrath <roland@hack.frob.com>
4335
4336 [BZ #14280]
4337 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4338 when computing value.
4339
7208a313
CD
43402013-04-06 Carlos O'Donell <carlos@redhat.com>
4341
085b2d41
CD
4342 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4343 Use testrun.sh to run libm tests.
4344
7208a313
CD
4345 [BZ #15309]
4346 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4347
872c0acd
MM
43482013-04-06 Marko Myllynen <myllynen@redhat.com>
4349
4350 [BZ #15264]
4351 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4352
26510bdd
CD
43532013-04-06 Carlos O'Donell <carlos@redhat.com>
4354
4355 * Makefile.in (regen-ulps): New target.
4356 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4357 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4358 [ifneq (no,$(PERL)] (regen-ulps): New target.
4359 [ifeq (no,$(PERL)] (regen-ulps): New target.
4360 * math/libm-test.inc (ulps_file_name): Define.
4361 (output_dir): New variable.
4362 (options): Add "output-dir" option.
4363 (parse_opt): Handle 'o' case.
4364 (main): If output_dir is non-NULL use it as a prefix
4365 otherwise use "".
4366 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4367
a01f19c8
CD
43682013-04-06 Carlos O'Donell <carlos@redhat.com>
4369
4370 [BZ #10060, #10062]
4371 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4372 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4373 fail configure if __sync_val_compare_and_swap is not inlined.
4374 * sysdeps/i386/configure: Regenerate.
4375 * configure.in: Build for i686 when configured for i386.
4376 * configure: Regenerate.
4377 * README: Remove i386 reference.
4378
b7a329a5
CD
43792013-04-06 Carlos O'Donell <carlos@redhat.com>
4380
4381 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4382 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4383
bf0f50df
TS
43842013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4385
ee091edf
TS
4386 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4387 (lmsnanval): New variables.
4388 (F): Add conversion tests.
4389 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4390 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4391
a8b792d6
TS
4392 * stdio-common/tstdiomisc.c (F): Properly collect individual
4393 tests' results.
4394
a1cbf437
TS
4395 [BZ #14686, #15336]
4396 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4397 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4398 Instead, use input NaN values or generate a qNaN by arithmetic
4399 operation. Also fix bugs to comply with the standard.
4400 * math/libm-test.inc (remainder_test): Add more tests.
4401
8b43a0c9
TS
4402 [BZ #15335, #15342]
4403 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4404 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4405 input NaN values or generate a qNaN by arithmetic operation.
4406
d91da4ce
TS
4407 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4408 unreachable code.
4409
bf0f50df
TS
4410 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4411 definitions.
4412
05e166c8
JM
44132013-04-03 Joseph Myers <joseph@codesourcery.com>
4414
4415 [BZ #14478]
4416 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4417 underflowed result.
4418 * math/s_cexpf.c (__cexpf): Likewise.
4419 * math/s_cexpl.c (__cexpl): Likewise.
4420 * math/libm-test.inc (cexp_test): Add more tests.
4421
1cef1b19
AS
44222013-04-03 Andreas Schwab <schwab@suse.de>
4423
4424 [BZ #15330]
4425 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4426 order arrays from heap if bigger than alloca cutoff.
4427
74d87055
TS
44282013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4429
4430 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4431 (SNAN_TESTS_double): Refer to GCC PR56831.
4432 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4433 GCC PR56828.
4434
d755bba4
SP
44352013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4436
90d5d5bb
SP
4437 * Rules (bench): Move bench.out after the run is complete.
4438
73e0cd5d
SP
4439 * Rules (bench): Echo currently running benchmark.
4440
64aabd4b
SP
4441 * benchtests/Makefile (bench): Add atan and slowatan.
4442 * benchtests/atan-inputs: New file.
4443 * benchtests/slowatan-inputs: New file.
4444 * benchtests/slowatan.c: New file.
4445
c871eccd
SP
4446 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4447 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4448 its value.
4449
d755bba4
SP
4450 [BZ #15305]
4451 * sysdeps/unix/sysv/linux/kernel-features.h
4452 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4453 __ASSUME_XFS_RESTRICTED_CHOWN.
4454 * sysdeps/unix/sysv/linux/pathconf.c
4455 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4456 Save and restore errno.
4457
52ce4860
JM
44582013-04-02 Joseph Myers <joseph@codesourcery.com>
4459
4460 [BZ #15327]
4461 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4462 arguments using __kernel_casinh.
4463 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4464 arguments using __kernel_casinhf.
4465 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4466 arguments using __kernel_casinhl.
4467 * math/libm-test.inc (cacosh_test): Add more tests.
4468 * sysdeps/i386/fpu/libm-test-ulps: Update.
4469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4470
81f311c2
SP
44712013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4472
e7906a47
SP
4473 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4474 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4475
92e3664b
SP
4476 * bench/Makefile (bench): Add sin and slowsin.
4477 * benchtests/sin-inputs: New file.
4478 * benchtests/slowsin-inputs: New file.
4479 * benchtests/slowsin.c: New file.
4480
81f311c2
SP
4481 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4482 (bench): Add slowexp and slowpow.
4483 (exp-ITER): Increase iterations.
4484 (pow-ITER): Likewise.
4485 * benchtests/exp-inputs: Change input.
4486 * benchtests/pow-inputs: Likewise.
4487 * benchtests/slowexp-inputs: New file.
4488 * benchtests/slowexp.c: New file.
4489 * benchtests/slowpow-inputs: New file.
4490 * benchtests/slowpow.c: New file.
4491
ab0f1aa9
AZ
44922013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4493
4494 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4495 instructions.
4496 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4497 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4498 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4499 * benchtests/Makefile: Add rint benchtest.
4500 * benchtests/rint-inputs: Input for rint benchtest.
4501
57267616
TS
45022013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4503
4504 * Versions.def (libm): Add GLIBC_2.18.
4505 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4506 hidden libm prototypes.
4507 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4508 * math/Makefile (libm-calls): Add s_issignaling.
4509 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4510 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4511 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4512 declaration.
4513 * math/math.h [__USE_GNU] (issignaling): New macro.
4514 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4515 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4516 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4517 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4518 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4519 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4520 * manual/arith.texi (issignaling): New section.
4521 * manual/libm-err-tab.pl (@all_functions): Update comment.
4522 * math/gen-libm-test.pl (parse_args): Apply special handling for
4523 issignaling.
4524 * math/libm-test.inc (print_float, issignaling_test): New
4525 functions.
4526 (check_float_internal): Add issignaling checks.
4527 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4528 default definition.
4529 * sysdeps/powerpc/math-tests.h: New file.
4530 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4531 tests.
4532 * math/test-snan.c (TEST_FUNC): Likewise.
4533
6142896d
DM
45342013-03-30 David S. Miller <davem@davemloft.net>
4535
4536 * po/de.po: Update from translation team.
4537
ccc8cadf
JM
45382013-03-30 Joseph Myers <joseph@codesourcery.com>
4539
4540 [BZ #10357]
4541 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4542 imaginary part less than 1.0 and real part less than 0.5
4543 specially.
4544 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4545 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4546 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4547 (cacos_test): Add more tests.
4548 (casin_test): Likewise.
4549 (casinh_test): Likewise.
4550 * sysdeps/i386/fpu/libm-test-ulps: Update.
4551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4552
0f6a8d4b
SP
45532013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4554
0d1029de
SP
4555 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4556 ONE with its value.
4557
c2d94018
SP
4558 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4559 (__pow_mp): Replace ONE and MONE with their values.
4560 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4561 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4562 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4563 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4564 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4565 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4566
27ec37f1
SP
4567 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4568
a64d7e0e
SP
4569 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4570 (__pow_mp): Replace ZERO and MZERO with their values.
4571 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4572 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4573 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4574 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4575 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4576 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4577 (__sqr): Likewise.
4578
d26dd3eb
SP
4579 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4580
0f6a8d4b
SP
4581 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4582
e57b0c61
RM
45832013-03-28 Roland McGrath <roland@hack.frob.com>
4584
4585 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4586 Declare with __attribute__ ((weak)).
4587 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4588 Call __call_tls_dtors only if it's not NULL.
4589
356b3480
RM
45902013-03-28 Roland McGrath <roland@hack.frob.com>
4591
288f7d79
RM
4592 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4593 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4594 magic __ehdr_start linker symbol if it's defined.
4595 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4596 them up here if it was already done.
4597
dc0a0263
RM
4598 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4599 (_dl_aux_init): Use const in cast when setting it.
4600 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4601 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4602 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4603
3d3436ae
RM
4604 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4605 Declare them here.
4606 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4607 * csu/libc-tls.c: Nor here.
4608 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4609
356b3480
RM
4610 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4611 (__libc_message): Never call vsyslog.
4612
b0f1246a
AM
46132013-03-28 Alan Modra <amodra@gmail.com>
4614
4615 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4616 Define as empty.
4617 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4618 Likewise.
4619
fbbe2b9a
AZ
46202013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4621
4622 [BZ #15214]
4623 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4624 underflow.
4625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4626
1728ab37
SP
46272013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4628
7a86be6e
SP
4629 [BZ #15304]
4630 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4631 Don't add gid passed as argument.
4632
1728ab37
SP
4633 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4634
3a7182a1
JM
46352013-03-27 Joseph Myers <joseph@codesourcery.com>
4636
4637 [BZ #15307]
4638 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4639 imaginary part between 1.0 and 1.5 and real part less than 0.5
4640 specially.
4641 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4642 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4643 * math/libm-test.inc (cacos_test): Add more tests.
4644 (casin_test): Likewise.
4645 (casinh_test): Likewise.
4646 * sysdeps/i386/fpu/libm-test-ulps: Update.
4647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4648
6f2e90e7
SP
46492013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4650
5739f705
SP
4651 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4652 constants.
4653 (norm): Likewise.
4654 (denorm): Likewise.
4655 (__dbl_mp): Likewise.
4656 (add_magnitudes): Likewise.
4657 (sub_magnitudes): Likewise.
4658 (__add): Likewise.
4659 (__sub): Likewise.
4660 (__mul): Likewise.
4661 (__sqr): Likewise.
4662 (__inv): Likewise.
4663 (__dvd): Likewise.
4664
e375e83d
SP
4665 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4666 commented code.
4667 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4668 (__dubcos): Likewise.
4669 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4670 (__ieee754_acos): Likewise.
4671 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4672 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4673 (__exp1): Likewise.
4674 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4675 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4676 (log1): Likewise.
4677 (my_log2): Likewise.
4678 (checkint): Likewise.
4679 * sysdeps/ieee754/dbl-64/e_remainder.c
4680 (__ieee754_remainder): Likewise.
4681 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4682 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4683 (bsloww): Likewise.
4684 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4685
6f2e90e7
SP
4686 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4687 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4688 MANTISSA_STORE_T to store computations on mantissa. Use
4689 macros for rounding and division.
4690 (denorm): Likewise.
4691 (__dbl_mp): Likewise.
4692 (add_magnitudes): Likewise.
4693 (sub_magnitudes): Likewise.
4694 (__mul): Likewise.
4695 (__sqr): Likewise.
4696 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4697 powers of two in terms of TWOPOW macro.
4698 (mp_no): Make type of mantissa as MANTISSA_T.
4699 [!RADIXI]: Define RADIXI.
4700 [!TWO52]: Define TWO52.
4701 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4702
fce14d4e
AZ
47032013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4704
4705 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4706 llroundl symbol when building for PPC32.
4707
9ad027fb
MW
47082013-03-24 Mark H Weaver <mhw@netris.org>
4709
4710 * manual/arith.texi (Normalization Functions): Fix prototypes for
4711 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4712
e42a38dd
AZ
47132013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4714
4715 [BZ #13889]
4716 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4717 high value to check if expl overflow.
4718 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4719 to check for underflow and overflow.
4720 * math/libm-test.inc: Add exp test.
4721
2e0fb521
DL
47222013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4723
4724 [BZ #11120]
4725 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4726 with NOT_IN_libc.
4727
b5784d95
AZ
47282013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4729
4730 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4731 symbol.
4732
5aa4a1a1
TS
47332013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4734
bdef0be7
TS
4735 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4736 wrap blocks consisting of several statements.
4737
5aa4a1a1
TS
4738 * sysdeps/generic/math-tests.h: New file.
4739 * sysdeps/i386/fpu/math-tests.h: Likewise.
4740 * math/test-snan.c: Include it.
4741 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4742
98c48fe5
JM
47432013-03-21 Joseph Myers <joseph@codesourcery.com>
4744
4745 [BZ #15285]
4746 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4747 (__ieee754_j0l): Do not improve calculations using cos of twice
4748 input for inputs above LDBL_MAX / 2.0L.
4749 (__ieee754_y0l): Likewise.
4750 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4751 (__ieee754_j1l): Do not improve calculations using cos of twice
4752 input for inputs above LDBL_MAX / 2.0L.
4753 (__ieee754_y1l): Likewise.
4754 * math/libm-test.inc (j0_test): Add another test.
4755 (j1_test): Likewise.
4756 (y0_test): Likewise.
4757 (y1_test): Likewise.
4758 * sysdeps/i386/fpu/libm-test-ulps: Update.
4759
3775a8bc
SP
47602013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4761
4762 * Rules ($(objpfx)bench-%.c): Include code from a C source
4763 file.
4764
0a1b2ae6
JM
47652013-03-21 Joseph Myers <joseph@codesourcery.com>
4766
4767 [BZ #15287]
4768 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4769 imaginary part 1.0 and real part less than 0.5 specially.
4770 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4771 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4772 * math/libm-test.inc (cacos_test): Add more tests.
4773 (casin_test): Likewise.
4774 (casinh_test): Likewise.
4775 * sysdeps/i386/fpu/libm-test-ulps: Update.
4776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4777
b33d4ce4
SP
47782013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4779
4780 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4781 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4782
bef0b507
JM
47832013-03-20 Joseph Myers <joseph@codesourcery.com>
4784
4785 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4786 * config.make.in (config-cflags-sse4): Remove variable.
4787 (config-cflags-avx): Likewise.
4788 (config-cflags-sse2avx): Likewise.
4789 (config-cflags-novzeroupper): Likewise.
4790 (config-asflags-i686): Likewise.
4791 (have-mfma4): Likewise.
4792 (have-as-vis3): Likewise.
4793 (MIG): Likewise.
4794 * configure.in (MIG): Do not AC_SUBST.
4795 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4796 (libc_cv_cc_sse4): Do not AC_SUBST.
4797 (libc_cv_cc_avx): Likewise.
4798 (libc_cv_cc_sse2avx): Likewise.
4799 (libc_cv_cc_novzeroupper): Likewise.
4800 (libc_cv_cc_fma4): Likewise.
4801 (libc_cv_as_i686): Likewise.
4802 (libc_cv_sparc_as_vis3): Likewise.
4803 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4804 LIBC_CONFIG_VAR.
4805 (config-asflags-i686): Likewise.
4806 (config-cflags-avx): Likewise.
4807 (config-cflags-sse2avx): Likewise.
4808 (have-mfma4): Likewise.
4809 (config-cflags-novzeroupper): Likewise.
4810 * sysdeps/mach/configure.in (MIG): Likewise.
4811 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4812 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4813 LIBC_CONFIG_VAR.
4814 (config-cflags-avx): Likewise.
4815 (config-cflags-sse2avx): Likewise.
4816 (have-mfma4): Likewise.
4817 (config-cflags-novzeroupper): Likewise.
4818 * configure: Regenerated.
4819 * sysdeps/i386/configure: Likewise.
4820 * sysdeps/mach/configure: Likewise.
4821 * sysdeps/sparc/configure: Likewise.
4822 * sysdeps/x86_64/configure: Likewise.
4823
912cc4b3
RM
48242013-03-20 Roland McGrath <roland@hack.frob.com>
4825
4826 [BZ #14812]
4827 * locale/programs/localedef.c (options): Put N_ translation marker
4828 on argument names, not just descriptions.
4829
04eed2b0
MS
48302013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4831
4832 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4833
a065ceff
OB
48342013-03-20 Ondřej Bílka <neleai@seznam.cz>
4835
9bb2a810 4836 [BZ #14176]
a065ceff
OB
4837 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4838
a600e5ce
RM
48392013-03-19 Roland McGrath <roland@hack.frob.com>
4840
4841 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4842 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4843 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4844 [!BEFORE_ABORT] (before_abort): New function.
4845 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4846 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4847 (writev_for_fatal): New function.
4848 (WRITEV_FOR_FATAL): New macro; call that.
4849 (backtrace_and_maps): New function.
4850 (BEFORE_ABORT): New macro; call that.
4851 (struct str_list): Type removed.
4852 (__libc_message, __libc_fatal): Functions removed.
4853 Include <sysdeps/posix/libc_fatal.c> instead.
4854
6b18bea6
JM
48552013-03-19 Joseph Myers <joseph@codesourcery.com>
4856
4857 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4858 constants.
4859 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4860 double constants.
4861
aaa8cb4b
AS
48622013-03-19 Andreas Schwab <schwab@suse.de>
4863
44673770
AS
4864 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4865 * sysdeps/gnu/configure: Regenerate.
4866
aaa8cb4b
AS
4867 * configure.in: Substitute libc_cv_rtlddir.
4868 * configure: Regenerate.
4869 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4870 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4871 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4872 * elf/Makefile (install-others, CFLAGS-interp.c)
4873 (ldso_install, common-ldd-rewrite): Likewise.
4874 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4875 $(inst_slibdir)/$(rtld-installed-name).
4876 * scripts/rellns-sh: Add -p option.
4877 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4878 for source.
4879
d3cfc668
SP
48802013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4881
4882 * manual/nptl.texi: Renamed to ...
4883 * manual/threads.texi: ... this.
4884 * manual/Makefile (chapters): Update.
4885
0e2b9cdd
RM
48862013-03-18 Roland McGrath <roland@hack.frob.com>
4887
4888 [BZ #14812]
4889 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4890 on argument names, not just descriptions.
0e2b9cdd
RM
4891 * malloc/memusagestat.c (options): Likewise.
4892 * nss/getent.c (options): Likewise.
63270c24
RM
4893
48942013-03-18 Benno Schulenberg <bensberg@justemail.net>
4895
4896 [BZ #14812]
4897 * iconv/iconv_prog.c (options): Put N_ translation marker
4898 on argument names, not just descriptions.
4899 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 4900
b2e1393c
OB
49012013-03-18 Ondrej Bilka <neleai@seznam.cz>
4902
4903 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4904 implementation which is faster on all x86_64 architectures.
4905 Tested on AMD, Intel Nehalem, SNB, IVB.
4906 * sysdeps/x86_64/strnlen.S: Likewise.
4907
4908 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4909 Remove all multiarch strlen and strnlen versions.
4910 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4911 Remove strlen and strnlen related parts.
4912
4913 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4914 Inline strlen part.
4915 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4916
4917 * sysdeps/x86_64/multiarch/strlen.S: Remove.
4918 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4919 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4920 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4921 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4922 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4923
ec4ff04d
CD
49242013-03-17 Carlos O'Donell <carlos@redhat.com>
4925
4926 * manual/memory.texi (Malloc Tunable Parameters):
4927 Sort parameters alphabetically. Add comments for missing entries.
4928
cd18e90a
DM
49292013-03-17 David S. Miller <davem@davemloft.net>
4930
4931 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4932
2a185d32
JM
49332013-03-16 Joseph Myers <joseph@codesourcery.com>
4934
d2f9799e
JM
4935 [BZ #15283]
4936 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4937 for arguments at most half maximum finite value.
4938 * math/libm-test.inc (j0_test): Add more tests.
4939 (j1_test): Likewise.
4940 (y0_test): Likewise.
4941 (y1_test): Likewise.
4942 * sysdeps/i386/fpu/libm-test-ulps: Update.
4943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4944
2a185d32
JM
4945 [BZ #14155]
4946 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4947 1 / x and functions P and Q for arguments above 0x1p256L.
4948 (__ieee754_y0l): Likewise.
4949 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4950 (__ieee754_y1l): Likewise.
4951 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4952 (j1_test): Likewise.
4953 (y0_test): Likewise.
4954 (y1_test): Likewise.
4955
6cbec759
TS
49562013-03-16 Thomas Schwinge <thomas@codesourcery.com>
4957
4958 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4959 variable.
4960
bc16e260
RM
49612013-03-15 Roland McGrath <roland@hack.frob.com>
4962
aefc9b8c
RM
4963 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4964 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4965 zero since it's initialized to EXEC_PAGESIZE.
4966
bc16e260
RM
4967 * sysdeps/unix/sysv/linux/ldsodefs.h
4968 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4969 * sysdeps/generic/ldsodefs.h: ... here.
4970
a57da955
TS
49712013-03-15 Thomas Schwinge <thomas@codesourcery.com>
4972
af00a34d
TS
4973 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4974
495ded2c
TS
4975 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4976 math/test-snan.c.
4977 * math/test-snan.c: Renamed from
4978 sysdeps/powerpc/fpu/test-powerpc-snan.c.
4979 * math/Makefile (tests): Add test-snan.
4980 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4981 test-powerpc-snan.
4982
777b0332
TS
4983 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4984 SUFFIX. Initialize qNaN_var with __builtin_nan family of
4985 functions.
4986 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
4987 __builtin_nan family of functions.
4988 * math/libm-test.inc (initialize): Initialize qnan_value with
4989 __builtin_nan family of functions.
4990 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4991 Remove variables.
4992 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4993 Remove functions.
4994 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
4995 storage class. Initialize qNaN_var and sNaN_var with
4996 __builtin_nan and __builtin_nans families of functions,
4997 respectively.
4998
64d063b8
TS
4999 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5000 (sqrt_test): Remove duplicate test with qNaN input.
5001 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5002 (round_test, signbit_test, significand_test): Note missing +/-Inf
5003 as well as qNaN tests.
5004
67e971f1
TS
5005 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5006 qNaN_var. Fix a few strings, too.
5007 * math/libm-test.inc (nan_value): Rename to qnan_value.
5008 * math/gen-libm-test.pl (%beautify): Adjust to that.
5009 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5010 * math/test-misc.c (main): Likewise.
5011 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5012 to __qnan_bytes, and __qnan_union, respectively.
5013 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5014 Likewise.
5015 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5016 and lqnanval, respectively.
5017 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5018 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5019 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5020 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5021
64487e12
TS
5022 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5023 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5024 doubles.
5025
e015e27b
TS
5026 * math/test-misc.c (main): Fix copy'n'pastos.
5027 * misc/tst-efgcvt.c (special): Likewise.
5028
a57da955
TS
5029 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5030 Remove declarations.
5031
1e380345
SP
50322013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5033
5034 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5035 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5036 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5037 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5038
ef26eece
AZ
50392013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5040
5041 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5042 macro to return vdso values correctly in IFUNC implementations.
5043 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5044 Optimization by using IFUNC.
5045
8cfdb7e0
SP
50462013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5047 Richard Henderson <rth@redhat.com>
5048 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5049
5050 * Makefile.in (bench): New target.
5051 * NEWS: Mention the benchmark framework.
5052 * Rules (bench): Likewise.
5053 (binaries-bench): Generate binaries for functions to
5054 benchmark.
5055 * benchtests/Makefile: New makefile for benchmark tests.
5056 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5057 programs.
5058 * benchtests/exp-inputs: New input file for EXP function.
5059 * benchtests/pow-inputs: New input file for POW function.
5060 * scripts/bench.pl: New script to generate source files for
5061 benchmark programs.
5062
bcda9880
SP
50632013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5064
d22ca8cd
SP
5065 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5066 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5067 computations on mantissa. Use macros for rounding and
5068 division.
5069 (denorm): Likewise.
5070 (__dbl_mp): Likewise.
5071 (add_magnitudes): Likewise.
5072 (sub_magnitudes): Likewise.
5073 (__mul): Likewise.
5074 (__sqr): Likewise.
5075 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5076 powers of two in terms of TWOPOW macro.
5077 (mp_no): Make type of mantissa as MANTISSA_T.
5078 [!RADIXI]: Define RADIXI.
5079 [!TWO52]: Define TWO52.
5080 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5081
bcda9880
SP
5082 * manual/nptl.texi (cindex): Modify threads to pthreads.
5083
06d5adfb
JM
50842013-03-15 Joseph Myers <joseph@codesourcery.com>
5085
5086 * sysdeps/x86_64/preconfigure: Regenerated.
5087
41c7328e
JM
50882013-03-14 Joseph Myers <joseph@codesourcery.com>
5089
5090 [BZ #14155]
5091 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5092 0x1p28 and above.
5093 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5094 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5095 0x1p28 and above.
5096 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5097 * math/libm-test.inc (j0_test): Do not allow one spurious
5098 underflow exception.
5099 (y1_test): Likewise.
5100
e25cfa60
SP
51012013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5102
0409959c
SP
5103 * manual/Makefile (chapters): Add nptl.
5104 * manual/debug.texi (Debugging Support): Add link to Threads
5105 chapter.
5106 * manual/nptl.texi: New file.
5107
e25cfa60
SP
5108 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5109
58a1335e
PB
51102013-03-14 Petr Baudis <pasky@ucw.cz>
5111
5112 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5113 for non-NULL pointer before the memory validity test. Pointed
5114 out by Holger Brunck <holger.brunck@keymile.com>.
5115
9dc7c64f
AS
51162013-03-13 Andreas Schwab <schwab@suse.de>
5117
5118 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5119 instead of .os.
5120
54206aa6
JM
51212013-03-13 Joseph Myers <joseph@codesourcery.com>
5122
5123 * timezone/zic.c: Update from tzcode 2013b.
5124
e98cdb38
CD
51252013-03-12 Carlos O'Donell <carlos@redhat.com>
5126
5127 * manual/install.texi (Configuring and compiling):
5128 Mention i686 and i586.
5129 * INSTALL: Regenerate.
5130
9967e003
RM
51312013-03-12 Roland McGrath <roland@hack.frob.com>
5132
5133 * sysdeps/init_array/elf-init.c: New file.
5134 * csu/elf-init.c
5135 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5136 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5137
5138 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5139 __gmon_start__ as global, but as static with a .preinit_array pointer.
5140 * sysdeps/init_array/gmon-start.c: New file. Use that.
5141 * sysdeps/init_array/crti.S: New file, empty except for comments.
5142 * sysdeps/init_array/crtn.S: Likewise.
5143
e6b5a293 51442013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
5145
5146 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5147 definining bcopy.
80f844c9
OB
5148 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5149 Remove Prefer_SSE_for_memop.
5150 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5151 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5152 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
5153 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5154 memset-x86-64.
80f844c9 5155 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 5156 Remove bzero, memset ifunc support.
80f844c9
OB
5157 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5158 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5159 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5160 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5161
fb6b0fcb
AS
51622013-03-11 Andreas Schwab <schwab@suse.de>
5163
5164 [BZ #15234]
5165 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5166 by SHLIB_COMPAT.
5167 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5168 (GLIBC_2.16): Remove pthread_atfork.
5169
3e6bd4b1
PP
51702013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5171
5172 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5173 (ptestcases.h): Likewise.
5174
222d7f00
RM
51752013-03-08 Roland McGrath <roland@hack.frob.com>
5176
5177 * Makeconfig ($(common-objpfx)config.status): Depend on
5178 sysdeps/*/preconfigure{,.in} too.
5179
1ba4f030
JM
51802013-03-08 Joseph Myers <joseph@codesourcery.com>
5181
a222d91a
JM
5182 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5183 (__free_hook): Use void * instead of __malloc_ptr_t.
5184 (__malloc_hook): Likewise.
5185 (__realloc_hook): Likewise.
5186 (__memalign_hook): Likewise.
5187 (__after_morecore_hook): Likewise.
5188 * malloc/arena.c (save_malloc_hook): Likewise.
5189 (save_free_hook): Likewise.
5190 * malloc/hooks.c (malloc_hook_ini): Likewise.
5191 (realloc_hook_ini): Likewise.
5192 (memalign_hook_ini): Likewise.
5193 * malloc/malloc.c (malloc_hook_ini): Likewise.
5194 (realloc_hook_ini): Likewise.
5195 (memalign_hook_ini): Likewise.
5196 (__free_hook): Likewise.
5197 (__malloc_hook): Likewise.
5198 (__realloc_hook): Likewise.
5199 (__memalign_hook): Likewise.
5200 (__libc_malloc): Likewise.
5201 (__libc_free): Likewise.
5202 (__libc_realloc): Likewise.
5203 (__libc_memalign): Likewise.
5204 (__libc_valloc): Likewise.
5205 (__libc_pvalloc): Likewise.
5206 (__libc_calloc): Likewise.
5207 (__posix_memalign): Likewise.
5208 * malloc/morecore.c (__sbrk): Likewise.
5209 (__default_morecore): Likewise.
5210
5cc45e10
JM
5211 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5212
dd54b864
JM
5213 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5214 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5215 __malloc_ptrdiff_t.
5216
1ba4f030
JM
5217 * malloc/malloc.h (__malloc_size_t): Remove macro.
5218 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5219 __malloc_size_t.
5220 (old_memalign_hook): Likewise.
5221 (old_realloc_hook): Likewise.
5222 (struct hdr): Likewise.
5223 (flood): Likewise.
5224 (mallochook): Likewise.
5225 (memalignhook): Likewise.
5226 (reallochook): Likewise.
5227 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5228 (tr_old_realloc_hook): Likewise.
5229 (tr_old_memalign_hook): Likewise.
5230 (tr_mallochook): Likewise.
5231 (tr_reallochook): Likewise.
5232 (tr_memalignhook): Likewise.
5233
edf66e57
AZ
52342013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5235
5236 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5237 default_ldbl_pack and using as default implementation.
5238 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5239 implementation.
5240 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5241 redundant definition.
5242 (ldbl_insert_mantissa): Likewise.
5243 (ldbl_canonicalize): Likewise.
5244 (ldbl_nearbyint): Likewise.
5245 (ldbl_pack): Rename to ldbl_pack_ppc.
5246 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5247 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5248 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5249
6d9145d8
SP
52502013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5251
5252 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5253 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5254 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5255 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5256 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5257 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5258 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5259 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5260
4dd4e157
AJ
52612013-03-07 Andreas Jaeger <aj@suse.de>
5262
5263 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5264 bits/mman-linux.h.
5265
adbb8027
SP
52662013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5267
ce544b5b
SP
5268 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5269 Include mpa.h and declare __MPEXP.
5270 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5271 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5272 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5273 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5274 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5275 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5276 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5277
4cc149fd
SP
5278 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5279 (__slowpow): Use long double EXPL and LOGL functions to
5280 compute POW.
5281 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5282 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5283 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5284 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5285 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5286 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5287
e6ebd4a7
SP
5288 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5289 intermediate variable to calculate exponent.
5290 (__sqr): Likewise.
5291 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5292 Likewise.
5293 (__sqr): Likewise.
5294
82a9811d
SP
5295 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5296 [!NO__SQR]: Define __sqr.
5297 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5298 and NO__SQR. Remove all code except __mul and __sqr. Include
5299 sysdeps/ieee754/dbl-64/mpa.c.
5300 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5301
adbb8027
SP
5302 [BZ #12723]
5303 * posix/Makefile (tests): Add tst-pathconf.
5304 * posix/tst-pathconf.c: New test case.
5305 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5306 _PC_PIPE_BUF.
5307 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5308
39120df9
PF
53092013-03-06 Patsy Franklin <pfrankli@redhat.com>
5310
5311 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5312
67525cb8
AJ
53132013-03-06 Andreas Jaeger <aj@suse.de>
5314
664a9ce4
AJ
5315 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5316 definition via __MAP_ANONYMOUS.
5317
8e39047d
AJ
5318 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5319 it's not part of Linux headers.
5320
67525cb8
AJ
5321 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5322 (MAP_HUGE_MASK): Define.
5323
5324 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5325 Define.
5326 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5327 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5328 Define.
5329 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5330 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5331 Define.
5332 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5333 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5334 Define.
5335 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5336
5337 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5338 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5339 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5340 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5341 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5342 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5343
5344 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5345 Handle f2fs.
5346
5347 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5348 Handle f2fs and efivarfs.
5349
5350 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5351 f2fs.
5352
5353 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5354 (EFIVARFS_MAGIC): Add.
5355 (F2FS_LINK_MAX): Add.
5356
e1b42695
PP
53572013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5358
5359 * stdio-common/vfprintf.c: Replace __builtin_expect with
5360 __glibc_unlikely.
5361
2d67d91a
JM
53622013-03-06 Joseph Myers <joseph@codesourcery.com>
5363
5364 [BZ #13550]
5365 * sysdeps/generic/bp-sym.h: Remove file.
5366 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5367 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5368 <bp-sym.h> and <bp-asm.h>.
5369 (__longjmp): Don't use BP_SYM.
5370 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5371 and <bp-asm.h>.
5372 (memcpy): Don't use BP_SYM.
5373 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5374 <bp-sym.h> and <bp-asm.h>.
5375 (memcpy): Don't use BP_SYM.
5376 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5377 <bp-asm.h>.
5378 (memcpy): Don't use BP_SYM.
5379 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5380 <bp-asm.h>.
5381 (memset): Don't use BP_SYM.
5382 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5383 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5384 (__bzero): Don't use BP_SYM.
5385 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5386 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5387 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5388 <bp-sym.h> and <bp-asm.h>.
5389 (memcmp): Don't use BP_SYM. Remove comment about bounded
5390 pointers.
5391 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5392 <bp-sym.h> and <bp-asm.h>.
5393 (memcpy): Don't use BP_SYM.
5394 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5395 <bp-sym.h> and <bp-asm.h>.
5396 (memset): Don't use BP_SYM.
5397 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5398 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5399 (__bzero): Don't use BP_SYM.
5400 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5401 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5402 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5403 <bp-sym.h> and <bp-asm.h>.
5404 (strncmp): Don't use BP_SYM. Remove comment about bounded
5405 pointers.
5406 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5407 <bp-sym.h> and <bp-asm.h>.
5408 (memcpy): Don't use BP_SYM.
5409 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5410 <bp-sym.h> and <bp-asm.h>.
5411 (memset): Don't use BP_SYM.
5412 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5413 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5414 (__bzero): Don't use BP_SYM.
5415 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5416 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5417 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5418 <bp-sym.h> and <bp-asm.h>.
5419 (__memchr): Don't use BP_SYM.
5420 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5421 <bp-sym.h> and <bp-asm.h>.
5422 (memcmp): Don't use BP_SYM. Remove comment about bounded
5423 pointers.
5424 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5425 <bp-sym.h> and <bp-asm.h>.
5426 (memcpy): Don't use BP_SYM.
5427 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5428 <bp-sym.h> and <bp-asm.h>.
5429 (__mempcpy): Don't use BP_SYM.
5430 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5431 <bp-sym.h> and <bp-asm.h>.
5432 (__memrchr): Don't use BP_SYM.
5433 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5434 <bp-sym.h> and <bp-asm.h>.
5435 (memset): Don't use BP_SYM.
5436 (__bzero): Likewise.
5437 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5438 <bp-sym.h> and <bp-asm.h>.
5439 (__rawmemchr): Don't use BP_SYM.
5440 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5441 <bp-sym.h> and <bp-asm.h>.
5442 (__STRCMP): Don't use BP_SYM.
5443 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5444 <bp-sym.h> and <bp-asm.h>.
5445 (strchr): Don't use BP_SYM.
5446 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5447 <bp-sym.h> and <bp-asm.h>.
5448 (__strchrnul): Don't use BP_SYM.
5449 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5450 <bp-sym.h> and <bp-asm.h>.
5451 (strlen): Don't use BP_SYM.
5452 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5453 <bp-sym.h> and <bp-asm.h>.
5454 (strncmp): Don't use BP_SYM. Remove comment about bounded
5455 pointers.
5456 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5457 <bp-sym.h> and <bp-asm.h>.
5458 (__strnlen): Don't use BP_SYM.
5459 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5460 <bp-sym.h> and <bp-asm.h>.
5461 (__GI__setjmp): Don't use BP_SYM.
5462 (_setjmp): Likewise.
5463 (__sigsetjmp): Likewise.
5464 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5465 (L(start_addresses)): Don't use BP_SYM.
5466 (_start): Likewise.
5467 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5468 <bp-asm.h>.
5469 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5470 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5471 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5472 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5473 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5474 <bp-asm.h>.
5475 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5476 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5477 about bounded pointers.
5478 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5479 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5480 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5481 <bp-asm.h>.
5482 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5483 about bounded pointers. Remove GKM FIXME comments.
5484 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5485 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5486 <bp-asm.h>.
5487 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5488 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5489 Remove GKM FIXME comments.
5490 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5491 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5492 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5493 <bp-asm.h>.
5494 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5495 about bounded pointers. Remove GKM FIXME comment.
5496 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5497 and <bp-asm.h>.
5498 (strncmp): Don't use BP_SYM. Remove comment about bounded
5499 pointers.
5500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5501 <bp-sym.h> and <bp-asm.h>.
5502 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5504 <bp-sym.h> and <bp-asm.h>.
5505 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5506 comment.
5507
cdcf361f
PP
55082013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5509
5510 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5511 call free(NULL).
5512
3c4a2b15
DM
55132013-03-05 David S. Miller <davem@davemloft.net>
5514
5515 * po/es.po: Update from translation team.
5516
cdcf361f 55172013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
5518
5519 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5520 <bits/mman-linux.h>.
5521 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5522 is fine.
5523 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5524 <bits/mman-linux.h> to end of file.
5525 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5526 is fine.
5527 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5528 <bits/mman-linux.h> to end of file.
5529 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5530 is fine.
5531 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5532 <bits/mman-linux.h> to end of file.
5533
5534 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5535 (MCL_CURRENT, MCL_FUTURE): Define here.
5536
5f67c04f
AK
55372013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5538
8a4473cc 5539 [BZ #15232]
5f67c04f
AK
5540 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5541 attribute_hidden.
5542 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5543
c3e94a95
AK
55442013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5545
5546 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5547 fourth parameter needed for rt_sigprocmask syscall.
5548 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5549 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5550 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5551 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5552 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5553 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5554
cfb6382a
JM
55552013-03-04 Joseph Myers <joseph@codesourcery.com>
5556
5557 [BZ #13550]
5558 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5559 comment about bounded pointers.
5560 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5561 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5562
539d8e01
AJ
55632013-03-04 Andreas Jaeger <aj@suse.de>
5564
5565 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5566 common definitions.
5567
5568 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5569 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5570 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5571 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5572 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
5573 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5574
2e167a70 55752013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
5576
5577 [BZ #15055]
5578 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5579 __ieee754_sqrl instead of __sqrl.
5580
68508633
JM
55812013-03-01 Joseph Myers <joseph@codesourcery.com>
5582
5583 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5584 * sysdeps/powerpc/fpu_control.h: ... here.
5585 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5586 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5587 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5588 * sysdeps/powerpc/bits/mathinline.h: ... here.
5589
7775448e
RM
55902013-03-01 Roland McGrath <roland@hack.frob.com>
5591
5592 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5593 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5594 to just [NEED_DL_SYSINFO_DSO].
5595 * elf/dl-support.c: Likewise.
5596 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5597 * elf/rtld.c (dl_main): Likewise.
5598 * elf/setup-vdso.h (setup_vdso): Likewise.
5599 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5600 * sysdeps/unix/sysv/linux/dl-sysdep.c
5601 (_dl_discover_osversion): Likewise.
5602
4e9b5995
CD
56032013-03-01 Carlos O'Donell <carlos@redhat.com>
5604
5605 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5606 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5607
e23872c8
SP
56082013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5609
e5c74c63
SP
5610 * NEWS: Mention libm performance improvements and non-x86 PI
5611 futex support.
5612
e23872c8
SP
5613 * csu/libc-start.c (__pthread_initialize_minimal): Change
5614 function arguments.
5615 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5616
b5510883
JM
56172013-02-28 Joseph Myers <joseph@codesourcery.com>
5618
5619 [BZ #13550]
5620 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5621 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5622 <bp-sym.h> and <bp-asm.h>.
5623 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5624 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5625 and <bp-asm.h>.
5626 (memcpy): Don't use BP_SYM.
5627 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5628 <bp-asm.h>.
5629 (__mpn_add_n): Don't use BP_SYM.
5630 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5631 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5632 and <bp-asm.h>.
5633 (__mpn_addmul_1): Don't use BP_SYM.
5634 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5635 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5636 <bp-sym.h>.
5637 (_setjmp): Don't use BP_SYM.
5638 (__novmx_setjmp): Likewise.
5639 (__GI__setjmp): Likewise.
5640 (__vmx_setjmp): Likewise.
5641 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5642 <bp-sym.h>.
5643 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5644 (__bzero): Don't use BP_SYM.
5645 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5646 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5647 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5648 <bp-sym.h> and <bp-asm.h>.
5649 (memcpy): Don't use BP_SYM.
5650 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5651 <bp-sym.h> and <bp-asm.h>.
5652 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5653 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5654 <bp-sym.h> and <bp-asm.h>.
5655 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5656 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5657 <bp-asm.h>.
5658 (__mpn_lshift): Don't use BP_SYM.
5659 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5660 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5661 <bp-asm.h>.
5662 (memset): Don't use BP_SYM.
5663 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5664 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5665 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5666 <bp-asm.h>.
5667 (__mpn_mul_1): Don't use BP_SYM.
5668 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5669 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5670 <bp-sym.h> and <bp-asm.h>.
5671 (memcmp): Don't use BP_SYM.
5672 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5673 <bp-sym.h> and <bp-asm.h>.
5674 (memcpy): Don't use BP_SYM.
5675 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5676 <bp-sym.h> and <bp-asm.h>.
5677 (memset): Don't use BP_SYM.
5678 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5679 <bp-sym.h> and <bp-asm.h>.
5680 (strncmp): Don't use BP_SYM.
5681 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5682 <bp-sym.h> and <bp-asm.h>.
5683 (memcpy): Don't use BP_SYM.
5684 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5685 <bp-sym.h> and <bp-asm.h>.
5686 (memset): Don't use BP_SYM.
5687 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5688 <bp-sym.h> and <bp-asm.h>.
5689 (__memchr): Don't use BP_SYM.
5690 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5691 <bp-sym.h> and <bp-asm.h>.
5692 (memcmp): Don't use BP_SYM.
5693 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5694 <bp-sym.h> and <bp-asm.h>.
5695 (memcpy): Don't use BP_SYM.
5696 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5697 <bp-sym.h> and <bp-asm.h>.
5698 (__mempcpy): Don't use BP_SYM.
5699 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5700 <bp-sym.h> and <bp-asm.h>.
5701 (__memrchr): Don't use BP_SYM.
5702 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5703 <bp-sym.h> and <bp-asm.h>.
5704 (memset): Don't use BP_SYM.
5705 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5706 <bp-sym.h> and <bp-asm.h>.
5707 (__rawmemchr): Don't use BP_SYM.
5708 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5709 <bp-sym.h> and <bp-asm.h>.
5710 (__STRCMP): Don't use BP_SYM.
5711 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5712 <bp-sym.h> and <bp-asm.h>.
5713 (strchr): Don't use BP_SYM.
5714 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5715 <bp-sym.h> and <bp-asm.h>.
5716 (__strchrnul): Don't use BP_SYM.
5717 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5718 <bp-sym.h> and <bp-asm.h>.
5719 (strlen): Don't use BP_SYM.
5720 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5721 <bp-sym.h> and <bp-asm.h>.
5722 (strncmp): Don't use BP_SYM.
5723 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5724 <bp-sym.h> and <bp-asm.h>.
5725 (__strnlen): Don't use BP_SYM.
5726 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5727 <bp-asm.h>.
5728 (__mpn_rshift): Don't use BP_SYM.
5729 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5730 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5731 <bp-sym.h> and <bp-asm.h>.
5732 (__sigsetjmp): Don't use BP_SYM.
5733 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5734 (L(start_addresses)): Don't use BP_SYM.
5735 (_start): Likewise.
5736 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5737 <bp-asm.h>.
5738 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5739 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5740 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5741 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5742 <bp-asm.h>.
5743 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5744 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5745 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5746 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5747 <bp-asm.h>.
5748 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5749 comments.
5750 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5751 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5752 <bp-asm.h>.
5753 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5754 FIXME comments.
5755 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5756 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5757 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5758 <bp-asm.h>.
5759 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5760 comment.
5761 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5762 and <bp-asm.h>.
5763 (strncmp): Don't use BP_SYM,
5764 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5765 <bp-asm.h>.
5766 (__mpn_sub_n): Don't use BP_SYM.
5767 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5768 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5769 and <bp-asm.h>.
5770 (__mpn_submul_1): Don't use BP_SYM.
5771 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5773 <bp-sym.h> and <bp-asm.h>.
5774 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5776 <bp-sym.h> and <bp-asm.h>.
5777 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5778 comment.
5779
8d19fe64
SP
57802013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5781
5782 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5783 Use ZK to minimize writes to Z.
5784 (sub_magnitudes): Simplify code a bit.
5785 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5786 Use ZK to minimize writes to Z.
5787 (sub_magnitudes): Simplify code a bit.
5788
85bd816a
RM
57892013-02-27 Roland McGrath <roland@hack.frob.com>
5790
5791 * csu/gmon-start.c: Add special exception to license text.
5792
b5977bf2
RH
57932013-02-27 Richard Henderson <rth@redhat.com>
5794
5795 * scripts/config.guess: Update from config.git.
5796 * scripts/config.sub: Likewise.
5797
11d6e2f2
SP
57982013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5799
09c14ed2
SP
5800 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5801
a688864e
SP
5802 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5803
6295157a
SP
5804 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5805
b8de2202
SP
5806 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5807
11d6e2f2
SP
5808 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5809
7e80ddb8
RM
58102013-02-26 Roland McGrath <roland@hack.frob.com>
5811
5812 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5813 [$(build-shared = yes].
7e80ddb8 5814
7da6d9ed
SP
58152013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5816
45f05884
SP
5817 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5818 (__mul): Reduce iterations for calculating mantissa.
5819
2236d359
SP
5820 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5821 MPTWO.
5822 (__mpranred): Likewise.
5823
7da6d9ed
SP
5824 [BZ #15160]
5825 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5826 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5827
b7688c42
PE
58282013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5829
5830 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5831 Define __attribute__.
5832
53a5c423
SP
58332013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5834
5835 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5836 unused.
5837 * posix/regex_internal.h (__attribute): Remove.
5838 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5839 (re_string_context_at): Likewise.
5840 (bitset_not): Use __attribute__ and mark function as possibly
5841 unused.
5842 (bitset_merge): Likewise.
5843 (bitset_mask): Likewise.
5844 (re_string_char_size_at): Likewise.
5845 (re_string_wchar_at): Likewise.
5846 (re_string_elem_size_at): Likewise.
5847
60f5a8b5
SP
58482013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5849
2a983a2e
SP
5850 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5851 code.
5852 (cc32): Likewise.
5853
e69804d1
SP
5854 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5855 (__acr): Likewise.
5856 (__cpy): Likewise.
5857 (norm): Likewise.
5858 (denorm): Likewise.
5859 (__dbl_mp): Likewise.
5860 (add_magnitudes): Likewise.
5861 (sub_magnitudes): Likewise.
5862 (__mul): Likewise.
5863 (__inv): Likewise.
5864
2f22a1e8
SP
5865 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5866 style.
5867
8930ddc7
SP
5868 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5869 style.
5870
dc60cb11
SP
5871 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5872 code.
5873
60f5a8b5
SP
5874 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5875 up changes with default code.
5876 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5877 Likewise.
5878
b4d1fd33
AM
58792013-02-24 Allan McRae <allan@archlinux.org>
5880
faf6f8bc
AM
5881 * manual/socket.texi (The Internet Namespace): Order menu items
5882 to match that in the file.
5883
b4d1fd33
AM
5884 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5885 node listing of the info page menu.
5886
2366713d
JM
58872013-02-21 Joseph Myers <joseph@codesourcery.com>
5888
5889 [BZ #13550]
5890 * sysdeps/i386/bp-asm.h: Remove file.
5891 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5892 (PARMS): Do not use macros from bp-asm.h.
5893 (S1): Likewise.
5894 (S2): Likewise.
5895 (SIZE): Likewise.
5896 (__mpn_add_n): Do not use BP_SYM
5897 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5898 "bp-asm.h".
5899 (PARMS): Do not use macros from bp-asm.h.
5900 (S1): Likewise.
5901 (SIZE): Likewise.
5902 (__mpn_addmul_1): Do not use BP_SYM
5903 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5904 "bp-asm.h".
5905 (PARMS): Do not use macros from bp-asm.h.
5906 (SIGMSK): Likewise.
5907 (_setjmp): Likewise. Do not use BP_SYM.
5908 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5909 "bp-asm.h".
5910 (PARMS): Do not use macros from bp-asm.h.
5911 (SIGMSK): Likewise.
5912 (setjmp): Likewise. Do not use BP_SYM.
5913 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5914 "bp-asm.h".
5915 (PARMS): Do not use macros from bp-asm.h.
5916 (__frexp): Do not use BP_SYM.
5917 (frexp): Likewise.
5918 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5919 "bp-asm.h".
5920 (PARMS): Do not use macros from bp-asm.h.
5921 (__frexpf): Do not use BP_SYM.
5922 (frexpf): Likewise.
5923 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5924 "bp-asm.h".
5925 (PARMS): Do not use macros from bp-asm.h.
5926 (__frexpl): Do not use BP_SYM.
5927 (frexpl): Likewise.
5928 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5929 "bp-asm.h".
5930 (PARMS): Do not use macros from bp-asm.h.
5931 (__remquo): Do not use BP_SYM.
5932 (remquo): Likewise.
5933 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5934 "bp-asm.h".
5935 (PARMS): Do not use macros from bp-asm.h.
5936 (__remquof): Do not use BP_SYM.
5937 (remquof): Likewise.
5938 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5939 "bp-asm.h".
5940 (PARMS): Do not use macros from bp-asm.h.
5941 (__remquol): Do not use BP_SYM.
5942 (remquol): Likewise.
5943 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5944 "bp-asm.h".
5945 (PARMS): Do not use macros from bp-asm.h.
5946 (DEST): Likewise.
5947 (SRC): Likewise.
5948 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
5949 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5950 "bp-asm.h".
5951 (PARMS): Do not use macros from bp-asm.h.
5952 (strlen): Do not use BP_SYM.
5953 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5954 "bp-asm.h".
5955 (PARMS): Do not use macros from bp-asm.h.
5956 (S1): Likewise.
5957 (S2): Likewise.
5958 (SIZE): Likewise.
5959 (__mpn_add_n): Do not use BP_SYM.
5960 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5961 "bp-asm.h".
5962 (PARMS): Do not use macros from bp-asm.h.
5963 (S1): Likewise.
5964 (SIZE): Likewise.
5965 (__mpn_addmul_1): Do not use BP_SYM.
5966 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5967 weak_alias.
5968 (bzero): Likewise.
5969 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5970 "bp-asm.h".
5971 (PARMS): Do not use macros from bp-asm.h.
5972 (S): Likewise.
5973 (SIZE): Likewise.
5974 (__mpn_lshift): Do not use BP_SYM.
5975 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5976 "bp-asm.h".
5977 (PARMS): Do not use macros from bp-asm.h.
5978 (DEST): Likewise.
5979 (SRC): Likewise.
5980 (LEN): Likewise.
5981 (memcpy): Likewise. Do not use BP_SYM.
5982 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5983 libc_hidden_def and weak_alias.
5984 (mempcpy): Do not use BP_SYM in weak_alias.
5985 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5986 "bp-asm.h".
5987 (PARMS): Do not use macros from bp-asm.h.
5988 (DEST): Likewise.
5989 (LEN): Likewise.
5990 [!BZERO_P] (CHR): Likewise.
5991 (memset): Likewise. Do not use BP_SYM.
5992 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5993 "bp-asm.h".
5994 (PARMS): Do not use macros from bp-asm.h.
5995 (S1): Likewise.
5996 (SIZE): Likewise.
5997 (__mpn_mul_1): Do not use BP_SYM.
5998 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5999 "bp-asm.h".
6000 (PARMS): Do not use macros from bp-asm.h.
6001 (S): Likewise.
6002 (SIZE): Likewise.
6003 (__mpn_rshift): Do not use BP_SYM.
6004 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6005 "bp-asm.h".
6006 (PARMS): Do not use macros from bp-asm.h.
6007 (STR): Likewise.
6008 (CHR): Likewise.
6009 (strchr): Likewise. Do not use BP_SYM.
6010 (index): Do not use BP_SYM in weak_alias.
6011 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6012 "bp-asm.h".
6013 (PARMS): Do not use macros from bp-asm.h.
6014 (DEST): Likewise.
6015 (SRC): Likewise.
6016 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6017 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6018 "bp-asm.h".
6019 (PARMS): Do not use macros from bp-asm.h.
6020 (strlen): Do not use BP_SYM.
6021 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6022 "bp-asm.h".
6023 (PARMS): Do not use macros from bp-asm.h.
6024 (S1): Likewise.
6025 (S2): Likewise.
6026 (SIZE): Likewise.
6027 (__mpn_sub_n): Do not use BP_SYM.
6028 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6029 "bp-asm.h".
6030 (PARMS): Do not use macros from bp-asm.h.
6031 (S1): Likewise.
6032 (SIZE): Likewise.
6033 (__mpn_submul_1): Do not use BP_SYM.
6034 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6035 "bp-asm.h".
6036 (PARMS): Do not use macros from bp-asm.h.
6037 (S1): Likewise.
6038 (S2): Likewise.
6039 (SIZE): Likewise.
6040 (__mpn_add_n): Do not use BP_SYM.
6041 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6042 weak_alias.
6043 (bzero): Likewise.
6044 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6045 "bp-asm.h".
6046 (PARMS): Do not use macros from bp-asm.h.
6047 (BLK2): Likewise.
6048 (LEN): Likewise.
6049 (memcmp): Do not use BP_SYM.
6050 (bcmp): Do not use BP_SYM in weak_alias.
6051 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6052 "bp-asm.h".
6053 (PARMS): Do not use macros from bp-asm.h.
6054 (DEST): Likewise.
6055 (SRC): Likewise.
6056 (LEN): Likewise.
6057 (memcpy): Likewise. Do not use BP_SYM.
6058 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6059 "bp-asm.h".
6060 (PARMS): Do not use macros from bp-asm.h.
6061 (DEST): Likewise.
6062 (SRC): Likewise.
6063 (LEN): Likewise.
6064 (memmove): Likewise. Do not use BP_SYM.
6065 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6066 "bp-asm.h".
6067 (PARMS): Do not use macros from bp-asm.h.
6068 (DEST): Likewise.
6069 (SRC): Likewise.
6070 (LEN): Likewise.
6071 (__mempcpy): Likewise. Do not use BP_SYM.
6072 (mempcpy): Do not use BP_SYM in weak_alias.
6073 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6074 "bp-asm.h".
6075 (PARMS): Do not use macros from bp-asm.h.
6076 (DEST): Likewise.
6077 (LEN): Likewise.
6078 [!BZERO_P] (CHR): Likewise.
6079 (memset): Likewise. Do not use BP_SYM.
6080 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6081 "bp-asm.h".
6082 (PARMS): Do not use macros from bp-asm.h.
6083 (STR2): Likewise.
6084 (strcmp): Do not use BP_SYM.
6085 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6086 "bp-asm.h".
6087 (PARMS): Do not use macros from bp-asm.h.
6088 (STR): Likewise.
6089 (DELIM): Likewise.
6090 [USE_AS_STRTOK_R] (SAVE): Likewise.
6091 (FUNCTION): Likewise. Do not use BP_SYM.
6092 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6093 aliases.
6094 (strtok_r): Likewise.
6095 (__GI___strtok_r): Likewise.
6096 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6097 (PARMS): Do not use macros from bp-asm.h.
6098 (S): Likewise.
6099 (SIZE): Likewise.
6100 (__mpn_lshift): Do not use BP_SYM.
6101 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6102 (PARMS): Do not use macros from bp-asm.h.
6103 (STR): Likewise.
6104 (CHR): Likewise.
6105 (__memchr): Do not use BP_SYM.
6106 (memchr): Do not use BP_SYM in weak_alias.
6107 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6108 (PARMS): Do not use macros from bp-asm.h.
6109 (BLK2): Likewise.
6110 (LEN): Likewise.
6111 (memcmp): Do not use BP_SYM.
6112 (bcmp): Do not use BP_SYM in weak_alias.
6113 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6114 (PARMS): Do not use macros from bp-asm.h.
6115 (S1): Likewise.
6116 (SIZE): Likewise.
6117 (__mpn_mul_1): Do not use BP_SYM.
6118 * sysdeps/i386/rawmemchr.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 (__rawmemchr): Do not use BP_SYM.
6124 (rawmemchr): Do not use BP_SYM in weak_alias.
6125 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6126 (PARMS): Do not use macros from bp-asm.h.
6127 (S): Likewise.
6128 (SIZE): Likewise.
6129 (__mpn_rshift): Do not use BP_SYM.
6130 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6131 (PARMS): Do not use macros from bp-asm.h.
6132 (SIGMSK): Likewise.
6133 (__sigsetjmp): Likewise. Do not use BP_SYM.
6134 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6135 (_start): Do not use BP_SYM.
6136 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6137 (PARMS): Do not use macros from bp-asm.h.
6138 (DEST): Likewise.
6139 (SRC): Likewise.
6140 (__stpcpy): Likewise. Do not use BP_SYM.
6141 (stpcpy): Do not use BP_SYM in weak_alias.
6142 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6143 "bp-asm.h".
6144 (PARMS): Do not use macros from bp-asm.h.
6145 (DEST): Likewise.
6146 (SRC): Likewise.
6147 (LEN): Likewise.
6148 (__stpncpy): Likewise. Do not use BP_SYM.
6149 (stpncpy): Do not use BP_SYM in weak_alias.
6150 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6151 (PARMS): Do not use macros from bp-asm.h.
6152 (STR): Likewise.
6153 (CHR): Likewise.
6154 (strchr): Likewise. Do not use BP_SYM.
6155 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6156 "bp-asm.h".
6157 (PARMS): Do not use macros from bp-asm.h.
6158 (STR): Likewise.
6159 (CHR): Likewise.
6160 (__strchrnul): Likewise. Do not use BP_SYM.
6161 (strchrnul): Do not use BP_SYM in weak_alias.
6162 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6163 "bp-asm.h".
6164 (PARMS): Do not use macros from bp-asm.h.
6165 (STOP): Likewise.
6166 (strcspn): Do not use BP_SYM.
6167 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6168 "bp-asm.h".
6169 (PARMS): Do not use macros from bp-asm.h.
6170 (STR): Likewise.
6171 (STOP): Likewise.
6172 (strpbrk): Likewise. Do not use BP_SYM.
6173 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6174 "bp-asm.h".
6175 (PARMS): Do not use macros from bp-asm.h.
6176 (STR): Likewise.
6177 (CHR): Likewise.
6178 (strrchr): Likewise. Do not use BP_SYM.
6179 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6180 (PARMS): Do not use macros from bp-asm.h.
6181 (SKIP): Likewise.
6182 (strspn): Do not use BP_SYM.
6183 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6184 (PARMS): Do not use macros from bp-asm.h.
6185 (STR): Likewise.
6186 (DELIM): Likewise.
6187 (SAVE): Likewise.
6188 (FUNCTION): Likewise. Do not use BP_SYM.
6189 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6190 aliases.
6191 (strtok_r): Likewise.
6192 (__GI___strtok_r): Likewise.
6193 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6194 (PARMS): Do not use macros from bp-asm.h.
6195 (S1): Likewise.
6196 (S2): Likewise.
6197 (SIZE): Likewise.
6198 (__mpn_sub_n): Do not use BP_SYM.
6199 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6200 "bp-asm.h".
6201 (PARMS): Do not use macros from bp-asm.h.
6202 (S1): Likewise.
6203 (SIZE): Likewise.
6204 (__mpn_submul_1): Do not use BP_SYM.
6205 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6206 <bp-sym.h>.
6207 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6208 and <bp-asm.h>.
6209 (PARMS): Do not use macros from bp-asm.h.
6210 (FLAGS): Likewise.
6211 (PTID): Likewise.
6212 (TLS): Likewise.
6213 (CTID): Likewise.
6214 (__clone): Do not use BP_SYM.
6215 (clone): Do not use BP_SYM in weak_alias.
6216 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6217 and <bp-asm.h>.
6218 (PARMS): Do not use macros from bp-asm.h.
6219 (LEN): Likewise.
6220 (__mmap64): Do not use BP_SYM.
6221 (mmap64): Do not use BP_SYM in weak_alias.
6222 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6223 <bp-sym.h> and <bp-asm.h>.
6224 (PARMS): Do not use macros from bp-asm.h.
6225 (__posix_fadvise64_l64): Do not use BP_SYM.
6226 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6227 (PARMS): Do not use macros from bp-asm.h.
6228 (NSOPS): Likewise.
6229 (semtimedop): Do not use BP_SYM.
6230 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6231 and <bp-asm.h>.
6232
582a3cff
AM
62332013-02-21 Allan McRae <allan@archlinux.org>
6234
6235 * manual/message.texi (Charset conversion in gettext):
6236 Move @end statement to beginning of line.
6237
bab8a695
SP
62382013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6239
80945231
SP
6240 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6241 static.
6242 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6243 Likewise.
6244
bab8a695
SP
6245 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6246 (denorm): Likewise.
6247 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6248 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6249
e21d7aa7
AK
62502013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6251
6252 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6253 tail-call to the resolved function if pltexit isn't needed.
6254
4c7a4263
SP
62552013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6256
6257 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6258 or Y being zero as being unlikely.
6259 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6260 Likewise.
6261
41f49342
CD
62622013-02-20 Carlos O'Donell <carlos@redhat.com>
6263
6264 * manual/nss.texi (System Databases and Name Service Switch):
6265 Remove frobnicate @pxref.
6266
50022a93
TS
62672013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6268
6269 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6270 __attribute__ ((unused)) to __attribute__ ((__unused__)).
6271
08cbd996
PM
62722013-02-20 Petr Machata <pmachata@redhat.com>
6273
6274 * elf/elf.h (R_ARM_TARGET1): New macro.
6275 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6276 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6277 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6278 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6279 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6280 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6281 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6282 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6283 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6284 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6285 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6286 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6287 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6288 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6289 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6290 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6291 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6292 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6293 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6294 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6295 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6296 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6297 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6298 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6299 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6300 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6301 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6302 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6303 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6304 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6305 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6306 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6307 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6308 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6309 (R_ARM_THM_GOT_BREL12): Likewise.
6310 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6311 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6312 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6313 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6314 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6315 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6316 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6317 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6318 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6319
c7b275d6
TS
63202013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6321
6322 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6323 __attribute_used__ to __attribute__ ((unused)).
6324
20cd7fb3
SP
63252013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6326
6327 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6328 powerpc mpa.c.
6329 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6330 comment formatting.
6331 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6332
92945b52
JM
63332013-02-19 Joseph Myers <joseph@codesourcery.com>
6334
6335 [BZ #13550]
6336 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6337 Remove macro.
6338 (ENTER): Remove both macro definitions.
6339 (LEAVE): Likewise.
6340 (CHECK_BOUNDS_LOW): Likewise.
6341 (CHECK_BOUNDS_HIGH): Likewise.
6342 (CHECK_BOUNDS_BOTH): Likewise.
6343 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6344 (RETURN_BOUNDED_POINTER): Likewise.
6345 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6346 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6347 (POP_ERRNO_LOCATION_RETURN): Likewise.
6348 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6349 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6350 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6351 macros.
6352 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6353 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6354 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6355 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6356 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6357 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6358 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6359 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6360 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6361 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6362 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6363 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6364 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6365 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6366 removed macros.
6367 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6368 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6369 macros.
6370 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6371 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6372 * sysdeps/i386/i586/memset.S (memset): Likewise.
6373 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6374 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6375 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6376 macros.
6377 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6378 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6379 Change uses of L(2) to L(out).
6380 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6381 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6382 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6383 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6384 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6385 removed macros.
6386 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6387 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6388 macros.
6389 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6390 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6391 (RETURN): Do not use macro LEAVE.
6392 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6393 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6394 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6395 * sysdeps/i386/i686/memset.S (memset): Likewise.
6396 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6397 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6398 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6399 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6400 Likewise.
6401 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6402 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6403 L(1_2) and L(1_3) into L(1).
6404 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6405 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6406 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6407 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6408 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6409 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6410 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6411 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6412 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6413 macros.
6414 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6415 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6416 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6417 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6418 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6419 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6420 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6421 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6422 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6423 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6424 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6425 * sysdeps/i386/strspn.S (strspn): Likewise.
6426 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6427 conditional code.
6428 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6429 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6430 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6431 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6432 L(1_3) into L(1_1).
6433 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6434 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6435 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6436 macros.
6437 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6438
2389741a
JJ
64392013-02-19 Jakub Jelinek <jakub@redhat.com>
6440
6441 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6442 macro.
6443
2016b3cd
SP
64442013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6445
e4f22324
SP
6446 * math/atest-exp.c (exp_mpn): Remove ROUND.
6447 * math/atest-exp2.c (exp_mpn): Likewise.
6448 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6449
2016b3cd
SP
6450 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6451 * stdlib/tst-tls-atexit-lib.c: Likewise.
6452 * stdlib/tst-tls-atexit.c: Likewise.
6453
4be9b544
MF
64542013-02-18 Mike Frysinger <vapier@gentoo.org>
6455
6456 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6457 and __attribute_alloc_size__.
6458
2f62b9ee
MF
64592013-02-18 Mike Frysinger <vapier@gentoo.org>
6460
6461 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6462 __attribute_alloc_size__.
6463 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6464 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6465
6ff444c4
MF
64662013-02-18 Mike Frysinger <vapier@gentoo.org>
6467
6468 * include/programs/xmalloc.h: New file.
6469 * catgets/gencat.c: Include it.
6470 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6471 * elf/pldd.c: Likewise.
6472 * iconv/iconv_charmap.c: Likewise.
6473 * iconv/iconvconfig.c: Likewise.
6474 * iconv/strtab.c: Likewise.
6475 * locale/programs/locale.c: Likewise.
6476 * locale/programs/localedef.h: Likewise.
6477 * locale/programs/simple-hash.c: Likewise.
6478 * nscd/nscd.h: Likewise.
6479 * nss/makedb.c: Likewise.
6480 * sysdeps/generic/ldconfig.h: Likewise.
6481
be179c8a
SP
64822013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6483
ba384f6e
SP
6484 * Versions.def: Add GLIBC_2.18.
6485 * include/link.h (struct link_map): New member l_tls_dtor_count.
6486 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6487 (__call_tls_dtors): Likewise.
6488 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6489 __cxa_thread_atexit_impl.
6490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6491 Likewise.
6492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6493 Likewise.
6494 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6495 Likewise.
6496 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6497 Likewise.
6498 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6500 Likewise.
6501 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6502 Likewise.
6503 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6505 Likewise.
6506 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6507 (tests): Add test case tst-tls-atexit.
6508 (modules-names): Add shared library for tst-tls-atexit.
6509 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
6510 (GLIBC_PRIVATE): Add __call_tls_dtors.
6511 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6512 for libstdc++.
6513 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6514 * stdlib/tst-tls-atexit.c: New test case.
6515 * stdlib/tst-tls-atexit-lib.c: New test case.
6516
ffaa74cf 6517 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 6518
be179c8a
SP
6519 * elf/Versions (ld): Add _dl_find_dso_for_object.
6520 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6521 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6522 (dl_open_worker): Use _dl_find_dso_for_object.
6523 * elf/dl-sym.c (do_sym): Likewise.
6524 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6525
f78b5caa
AK
65262013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6527
6528 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6529 Syntactic changes only.
6530 (_dl_runtime_profile): Do a tail-call to the resolved function.
6531
29691210
JM
65322013-02-17 Joseph Myers <joseph@codesourcery.com>
6533
6534 [BZ #13550]
6535 * sysdeps/x86_64/bp-asm.h: Remove file.
6536 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6537 <bp-sym.h> and <bp-asm.h>.
6538 (__clone): Do not use BP_SYM.
6539 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6540 <bp-sym.h> and <bp-asm.h>.
6541 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6542 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6543 "bp-asm.h".
6544 (_setjmp): Do not use BP_SYM.
6545 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6546 "bp-asm.h".
6547 (setjmp): Do not use BP_SYM.
6548 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6549 libc_hidden_def.
6550 (mempcpy): Do not use BP_SYM in weak_alias.
6551 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6552 "bp-asm.h".
6553 (strchr): Do not use BP_SYM.
6554 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6555 "bp-asm.h".
6556 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6557 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6558 (_start): Do not use BP_SYM.
6559 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6560 "bp-asm.h".
6561 (strcat): Do not use BP_SYM.
6562 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6563 "bp-asm.h".
6564 (STRCMP): Do not use BP_SYM.
6565 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6566 "bp-asm.h".
6567 (STRCPY): Do not use BP_SYM.
6568 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6569 "bp-asm.h".
6570 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6571 "bp-asm.h".
6572 (FUNCTION): Do not use BP_SYM.
6573 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6574 weak_alias.
6575 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6576
f238fd19
AJ
65772013-02-17 Andreas Jaeger <aj@suse.de>
6578
6579 * time/Versions: Sort entries.
6580 * string/Versions: Likewise.
6581 * resolv/Versions: Likewise.
6582 * posix/Versions: Likewise.
6583 * iconv/Versions: Likewise.
6584 * elf/Versions: Likewise.
6585 * wcsmbs/Versions: Likewise.
6586
bd07f23c 65872013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 6588
22af19f9
SP
6589 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6590 loop termination condition.
6591
4709fe76
SP
6592 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6593 variable to calculate EZ.
6594 (__sqr): Likewise.
2d0e0f29
SP
6595
6596 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6597 the lower precision input.
6598
daaa7713
JM
65992013-02-15 Joseph Myers <joseph@codesourcery.com>
6600
6601 [BZ #13550]
6602 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6603 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6604 (run-via-rtld-prefix): Do not handle %-bp tests.
6605 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6606 (all-object-suffixes): Remove .ob.
6607 (bppfx): Remove variable.
6608 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6609 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6610 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6611 [$(build-bounded) = yes] (libtype.ob): Likewise.
6612 * Makerules (elide-routines.ob): Remove variable.
6613 (do-tests-clean): Do not handle *-bp.out.
6614 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6615 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6616 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6617 (tests): Do not include $(tests-bp.out).
6618 (xtests): Do not include $(xtests-bp.out).
6619 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6620 [$(build-bounded) = yes] ($(addprefix
6621 $(objpfx),$(binaries-bounded))): Remove rule.
6622 ($(objpfx)%-bp.out): Remove rule.
6623 * config.make.in (build-bounded): Remove variable.
6624 * crypt/Makefile [$(build-bounded) = yes]
6625 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6626 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6627 append to variable.
6628 [$(build-bounded) = yes] (install-lib): Likewise.
6629 [$(build-bounded) = yes] (generated): Likewise.
6630 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6631 Remove rule.
6632 * intl/Makefile [$(build-bounded) = yes]
6633 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6634 * math/Makefile [$(build-bounded) = yes]
6635 ($(tests:%=$(objpfx)%-bp): Likewise.
6636 * misc/Makefile [$(build-bounded) = yes]
6637 ($(objpfx)tst-tsearch-bp): Likewise.
6638 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6639 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6640 Remove dependency.
6641 * string/Makefile (o-objects.ob): Remove variable.
6642 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6643 (CFLAGS-.ob): Remove variable.
6644 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6645 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6646 both definitions of variable.
6647 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6648 (ASFLAGS-.ob): Remove variable.
6649
e97ed6dd
JM
66502013-02-14 Joseph Myers <joseph@codesourcery.com>
6651
2bdd4ca6
JM
6652 [BZ #13550]
6653 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6654 Remove __BOUNDED_POINTERS__ from condition.
6655 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6656 * string/bits/string2.h [!__NO_STRING_INLINES &&
6657 !__BOUNDED_POINTERS__]: Likewise.
6658 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6659 Likewise.
6660 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6661 Remove conditional code.
6662 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6663 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6664 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6665 condition.
6666
e97ed6dd
JM
6667 [BZ #13550]
6668 * csu/libc-start.c: Do not include <bp-sym.h>.
6669 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6670 * elf/dl-open.c: Do not include <bp-sym.h>.
6671 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6672 * math/fegetenv.c: Do not include <bp-sym.h>.
6673 (fegetenv): Do not use BP_SYM in versioned symbols.
6674 * nptl/sysdeps/pthread/bits/libc-lockP.h
6675 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6676 <bp-sym.h>.
6677 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6678 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6679 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6680 (__pthread_mutex_destroy): Likewise.
6681 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6682 (__pthread_mutex_lock): Likewise.
6683 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6684 (__pthread_mutex_trylock): Likewise.
6685 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6686 (__pthread_mutex_unlock): Likewise.
6687 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6688 (__pthread_mutexattr_init): Likewise.
6689 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6690 (__pthread_mutexattr_destroy): Likewise.
6691 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6692 (__pthread_mutexattr_settype): Likewise.
6693 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6694 (__pthread_rwlock_init): Likewise.
6695 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6696 (__pthread_rwlock_destroy): Likewise.
6697 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6698 (__pthread_rwlock_rdlock): Likewise.
6699 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6700 (__pthread_rwlock_tryrdlock): Likewise.
6701 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6702 (__pthread_rwlock_wrlock): Likewise.
6703 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6704 (__pthread_rwlock_trywrlock): Likewise.
6705 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6706 (__pthread_rwlock_unlock): Likewise.
6707 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6708 (__pthread_key_create): Likewise.
6709 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6710 (__pthread_setspecific): Likewise.
6711 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6712 (__pthread_getspecific): Likewise.
6713 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6714 Likewise.
6715 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6716 (_pthread_cleanup_push_defer): Likewise.
6717 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6718 (_pthread_cleanup_pop_restore): Likewise.
6719 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6720 (pthread_setcancelstate): Likewise.
6721 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6722 <bp-sym.h>.
6723 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6724 (memchr): Do not use BP_SYM in weak_alias.
6725 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6726 (fegetenv): Do not use BP_SYM in versioned symbols.
6727 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6728 (fesetenv): Do not use BP_SYM in versioned symbols.
6729 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6730 (feupdateenv): Do not use BP_SYM in versioned symbols.
6731 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6732 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6733 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6734 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6735 (open64): Do not use BP_SYM in weak_alias.
6736 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6737 (fegetenv): Do not use BP_SYM in versioned symbols.
6738 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6739 (fesetenv): Do not use BP_SYM in versioned symbols.
6740 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6741 (feupdateenv): Do not use BP_SYM in versioned symbols.
6742 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6743 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6744 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6745 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6746 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6747 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6748 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6749 <bp-sym.h>.
6750 (__libc_start_main): Do not use BP_SYM.
6751
d6752ccd
SP
67522013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6753
cb57ce60
SP
6754 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6755 redundant return line.
6756 (norm): Likewise.
6757 (denorm): Likewise.
6758 (dbl_mp): Likewise.
6759 (sub_magnitudes): Likewise.
6760 (__add): Likewise.
6761 (__sub): Likewise.
6762 (__mul): Likewise.
6763 (__inv): Likewise.
6764 (__dvd): Likewise.
6765 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6766 (norm): Likewise.
6767 (denorm): Likewise.
6768 (dbl_mp): Likewise.
6769 (sub_magnitudes): Likewise.
6770 (__add): Likewise.
6771 (__sub): Likewise.
6772 (__mul): Likewise.
6773 (__inv): Likewise.
6774 (__dvd): Likewise.
6775
f414520d
SP
6776 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6777 instead of __mul.
6778 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6779 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6780 (cc32): Likewise.
6781
d6752ccd
SP
6782 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6783 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6784 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6785 of __mul for squares.
6786 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6787 function
6788 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6789 Likewise.
6790 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6791 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6792
70d9946a
JM
67932013-02-13 Joseph Myers <joseph@codesourcery.com>
6794
6795 [BZ #13550]
6796 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6797 code.
6798 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6799 prototype or function definition. Rename ubp_* variables and
6800 parameters. Remove argv definitions conditional on
6801 [__BOUNDED_POINTERS__].
6802 * debug/backtrace.c (__backtrace): Do not use __unbounded.
6803 * elf/dl-runtime.c (_dl_fixup): Likewise.
6804 * include/set-hooks.h (RUN_HOOK): Likewise.
6805 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6806 definition.
6807 * string/strcpy.c (strcpy): Do not use __unbounded.
6808 * sysdeps/generic/frame.h (struct layout): Likewise.
6809 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6810 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6811 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6812 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6813 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6814 (__backtrace): Likewise.
6815 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6816 use __ptrvalue.
6817 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6818 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6819 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6820 Likewise.
6821 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6822 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6823 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6824 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6825 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6826 Do not use __unbounded.
6827 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6828 Rename __unboundedrlimits parameter to rlimits in prototype.
6829 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6830 Do not use __unbounded.
6831 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6832 not use __ptrvalue.
6833 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6834 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6835 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6836 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6837 __ptrvalue or __unbounded.
6838 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6839 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6840 use __unbounded.
6841 (__new_msgctl): Do not use __ptrvalue.
6842 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6843 __unbounded.
6844 (__libc_msgrcv): Do not use __ptrvalue.
6845 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6846 startup_info): Do not use __unbounded.
6847 (__libc_start_main): Likewise. Rename ubp_* variables and
6848 parameters. Remove argv definitions conditional on
6849 [__BOUNDED_POINTERS__].
6850 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6851 __ptrvalue.
6852 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6853 use __unbounded.
6854 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6855 or __ptrvalue.
6856 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6857 use __unbounded.
6858 (__new_shmctl): Do not use __ptrvalue.
6859 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6860 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6861 Likewise.
6862 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6863 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6864 (__libc_sigaction): Likewise.
6865 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6866 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6867 Likewise.
6868 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6869
cc7834d6
OB
68702013-02-13 Ondřej Bílka <neleai@seznam.cz>
6871
ffb1ec7b 6872 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
6873
6874 * string/mempcpy.c: Implement by calling memcpy.
6875
bdf02814
SP
68762013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6877
c2af38aa
SP
6878 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6879
4e92d59e
SP
6880 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6881 evaluation.
6882
909279a5
SP
6883 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6884 values in the mantissa.
6885
bdf02814
SP
6886 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6887 minimize writes to Z.
6888 (sub_magnitudes): Simplify code a bit.
6889
cd525923
RM
68902013-02-12 Roland McGrath <roland@hack.frob.com>
6891
6892 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6893 from the message. The linker prefixes all warnings with that already.
6894
7e2f0d2d
AS
68952013-02-12 Andreas Schwab <schwab@suse.de>
6896
a445af0b
AS
6897 [BZ #15078]
6898 * posix/regexec.c (extend_buffers): Add parameter min_len.
6899 (check_matching): Pass minimum needed length.
6900 (clean_state_log_if_needed): Likewise.
6901 (get_subexp): Likewise.
6902 * posix/Makefile (tests): Add bug-regex34.
6903 (bug-regex34-ENV): Define.
6904 * posix/bug-regex34.c: New file.
6905
7e2f0d2d
AS
6906 [BZ #11561]
6907 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6908 elements compare against the byte sequence of it, not its name.
6909 * posix/Makefile (tests): Add bug-regex35.
6910 (bug-regex35-ENV): Define.
6911 * posix/bug-regex35.c: New file.
6912
a175b684
TV
69132013-02-11 Tom de Vries <tom@codesourcery.com>
6914
6915 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
6916 comment.
6917 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6918 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6919 (CHECK_EOL): Add undef.
6920
310998fe 69212013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
6922
6923 * bits/stdlib-bsearch.h: New file.
6924 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 6925 * stdlib/stdlib.h: Likewise.
41eda41d 6926
8ded91fb
RM
69272013-02-11 Roland McGrath <roland@hack.frob.com>
6928
6929 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6930 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6931 declaration.
6932 * manual/search.texi (Array Search Function): Add missing const in
6933 lfind prototype.
6934 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6935 declaration to use rlim_t.
6936 (Basic Scheduling Functions): Remove erroneous const from
6937 sched_getparam prototype. Remove erroneous * from
6938 sched_get_priority_max and sched_get_priority_min prototypes.
6939 (Resource Usage): Fix summary @comment on vtimes to refer to
6940 sys/vtimes.h rather than vtimes.h.
6941 Add missing *s in vtimes prototype.
6942 (Limits on Resources): Fix ulimit prototype to return long int.
6943 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6944 prototypes to use long int rather than double.
6945 (BSD Random): Fix initstate and setstate to use char *, not void *.
6946 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6947 prototype to make second argument 'struct aiocb64 *const[]'.
6948 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6949 (Status of AIO Operations): Remove erroneous const in aio_return and
6950 aio_return64 prototypes.
6951 (Synchronizing I/O): Fix sync prototype to return void.
6952 * manual/startup.texi (Suboptions): Remove an erroneous const in
6953 getsubopt prototype.
6954 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6955 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6956 use size_t rather than int.
6957 (Scanning All Users): Likewise for getpwent_r.
6958 (Setting Groups): Add missing const to setgroups prototype.
6959 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6960 * manual/socket.texi (Host Names): Fix gethostbyaddr and
6961 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6962 'const void *' rather than 'const char *'.
6963 (Host Address Functions): Likewise for inet_ntop.
6964 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6965 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6966 ssize_t for return value.
6967 (Sending Data): Likewise for send, sendto, sendmsg.
6968 (Socket Option Functions): Add a missing const in setsockopt prototype.
6969 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6970 use wchar_t for the argument.
6971 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6972 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6973 take no arguments.
6974 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6975 double/float/long double for second argument.
6976 Fix return types of significand, significandf, significandl.
6977 * manual/filesys.texi (Setting Permissions): Use mode_t for second
6978 argument in fchmod prototype.
6979 (File Owner): Use uid_t and gid_t in fchown prototype.
6980 (File Times): Add const to utimes, futimes, and lutimes prototypes.
6981 (Making Special Files): Use mode_t and dev_t in mknod prototype.
6982 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6983 use 'const struct dirent **' as argument types to CMP function pointer
6984 argument.
6985 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6986 (File Times): Fix summary magic @comment for struct utimbuf and utime
6987 to refer to utime.h, not time.h.
6988 * manual/string.texi (Argz Functions): Add missing const in
6989 argz_extract and argz_next prototypes.
6990 (Finding Tokens in a String): Likewise for basename.
6991 (String/Array Comparison): Fix typo in wcscasecmp prototype.
6992 (Copying and Concatenation): Fix typo in wmemmove prototype.
6993 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6994 (Signal Stack): Remove erroneous const in sigstack prototype.
6995 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6996 prototype.
6997 (Simple Calendar Time): Likewise for stime.
6998 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6999 prototype.
7000 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7001 say sys/sysctl.h instead.
7002 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7003 and vsyslog prototypes.
7004
fe77fe6d
TV
70052013-02-11 Tom de Vries <tom@codesourcery.com>
7006
7007 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7008 Remove.
7009
3a09b620
RM
70102013-02-11 Roland McGrath <roland@hack.frob.com>
7011
7012 * misc/sys/mman.h: Fix typo in mremap comment.
7013
550a0b89
RM
70142013-02-08 Roland McGrath <roland@hack.frob.com>
7015
7016 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7017 the '\0' terminator.
7018
a2da1673
JM
70192013-02-08 Joseph Myers <joseph@codesourcery.com>
7020
7021 [BZ #13550]
7022 * debug/segfault.c: Don't include <bp-checks.h>.
7023 * sysdeps/generic/bp-checks.h: Remove file.
7024 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7025 (__GETDENTS): Don't use CHECK_N.
7026 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7027 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7028 (__getgroups): Don't use CHECK_N.
7029 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7030 (setgroups): Don't use CHECK_N.
7031 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7032 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7033 (__libc_msgrcv): Don't use CHECK_N.
7034 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7035 (__libc_msgsnd): Don't use CHECK_N.
7036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7037 <bp-checks.h>.
7038 (__libc_pread): Don't use CHECK_N.
7039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7040 include <bp-checks.h>.
7041 (__libc_pread64): Don't use CHECK_N.
7042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7043 include <bp-checks.h>.
7044 (__libc_pwrite): Don't use CHECK_N.
7045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7046 include <bp-checks.h>.
7047 (__libc_pwrite64): Don't use CHECK_N.
7048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7049 <bp-checks.h>.
7050 (__libc_pread): Don't use CHECK_N.
7051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7052 include <bp-checks.h>.
7053 (__libc_pread64): Don't use CHECK_N.
7054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7055 include <bp-checks.h>.
7056 (__libc_pwrite): Don't use CHECK_N.
7057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7058 include <bp-checks.h>.
7059 (__libc_pwrite64): Don't use CHECK_N.
7060 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7061 (do_pread): Don't use CHECK_N.
7062 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7063 (do_pread64): Don't use CHECK_N.
7064 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7065 (do_pwrite): Don't use CHECK_N.
7066 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7067 (do_pwrite64): Don't use CHECK_N.
7068 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7069 (__libc_readv): Don't use CHECK_N.
7070 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7071 (semop): Don't use CHECK_N.
7072 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7073 <bp-checks.h>.
7074 (semtimedop): Don't use CHECK_N.
7075 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7076 (__libc_pread): Don't use CHECK_N.
7077 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7078 <bp-checks.h>.
7079 (__libc_pread64): Don't use CHECK_N.
7080 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7081 <bp-checks.h>.
7082 (__libc_pwrite): Don't use CHECK_N.
7083 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7084 <bp-checks.h>.
7085 (__libc_pwrite64): Don't use CHECK_N.
7086 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7087 <bp-checks.h>.
7088 (__libc_msgrcv): Don't use CHECK_N.
7089 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7090 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7091 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7092 (__libc_writev): Don't use CHECK_N.
7093
b84660a8
RM
70942013-02-08 Roland McGrath <roland@hack.frob.com>
7095
7f3e75f8
RM
7096 * string/strcpy.c: Removed unused variable.
7097
b84660a8
RM
7098 * Makeconfig (+sysdep-includes): Define with := rather than =.
7099 Use an existing include/ subdir of each sysdeps dir before it.
7100
471514d3
CD
71012013-02-08 Carlos O'Donell <carlos@redhat.com>
7102
7103 * nscd/connection.c (register_traced_file): Comment function.
7104 [HAVE_INOTIFY] (union __inev): Define.
7105 [HAVE_INOTIFY] (inotify_check_files): New function.
7106 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7107 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7108 clear_db_cache.
7109 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7110
b2d3c3be
CD
71112013-02-08 Carlos O'Donell <carlos@redhat.com>
7112
7113 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7114 loaded if not already and that a failure is permanent.
7115
b39949d2
CD
71162013-02-08 Carlos O'Donell <carlos@redhat.com>
7117
ddacd1db 7118 [BZ #15006]
b39949d2
CD
7119 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7120 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7121
b2c9eff4
JM
71222013-02-08 Joseph Myers <joseph@codesourcery.com>
7123
f3aae3f3
JM
7124 [BZ #13550]
7125 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7126 (CHECK_1_NULL_OK): Likewise.
7127 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7128 (__fxstat): Do not use CHECK_1.
7129 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7130 <bp-checks.h>.
7131 (___fxstat64): Do not use CHECK_1.
7132 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7133 <bp-checks.h>.
7134 (__fxstatat): Do not use CHECK_1.
7135 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7136 <bp-checks.h>.
7137 (__fxstatat64): Do not use CHECK_1.
7138 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7139 <bp-checks.h>.
7140 (__fxstat): Do not use CHECK_1.
7141 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7142 <bp-checks.h>.
7143 (__fxstatat): Do not use CHECK_1.
7144 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7145 <bp-checks.h>.
7146 (__getresgid): Do not use CHECK_1.
7147 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7148 <bp-checks.h>.
7149 (__getresuid): Do not use CHECK_1.
7150 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7151 <bp-checks.h>.
7152 (__lxstat): Do not use CHECK_1.
7153 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7154 <bp-checks.h>.
7155 (__old_msgctl): Do not use CHECK_1.
7156 (__new_msgctl): Likewise.
7157 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7158 <bp-checks.h>.
7159 (__new_setrlimit): Do not use CHECK_1.
7160 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7161 <bp-checks.h>.
7162 (__old_shmctl): Do not use CHECK_1.
7163 (__new_shmctl): Likewise.
7164 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7165 <bp-checks.h>.
7166 (__xstat): Do not use CHECK_1.
7167 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7168 (__lxstat): Do not use CHECK_1.
7169 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7170 <bp-checks.h>.
7171 (___lxstat64): Do not use CHECK_1.
7172 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7173 (__old_msgctl): Do not use CHECK_1.
7174 (__new_msgctl): Likewise.
7175 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7176 <bp-checks.h>.
7177 (__gettimeofday): Do not use CHECK_1.
7178 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7179 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7180 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7181 <bp-checks.h>.
7182 (__gettimeofday): Do not use CHECK_1.
7183 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7184 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7185 (__new_shmctl): Do not use CHECK_1.
7186 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7187 <bp-checks.h>.
7188 (do_sigtimedwait): Do not use CHECK_1.
7189 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7190 <bp-checks.h>.
7191 (do_sigwaitinfo): Do not use CHECK_1.
7192 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7193 <bp-checks.h>.
7194 (msgctl): Do not use CHECK_1.
7195 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7196 <bp-checks.h>.
7197 (shmctl): Do not use CHECK_1.
7198 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7199 (ustat): Do not use CHECK_1.
7200 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7201 <bp-checks.h>.
7202 (__fxstat): Do not use CHECK_1.
7203 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7204 <bp-checks.h>.
7205 (__fxstatat): Do not use CHECK_1.
7206 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7207 <bp-checks.h>.
7208 (__lxstat): Do not use CHECK_1.
7209 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7210 <bp-checks.h>.
7211 (__xstat): Do not use CHECK_1.
7212 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7213 (__xstat): Do not use CHECK_1.
7214 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7215 (___xstat64): Do not use CHECK_1.
7216
b2c9eff4
JM
7217 [BZ #13550]
7218 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7219 definitions.
7220 (CHECK_BOUNDS_HIGH): Likewise.
7221 * string/strcpy.c: Do not include <bp-checks.h>.
7222 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7223
f1d70dad
RM
72242013-02-07 Roland McGrath <roland@hack.frob.com>
7225
7226 * nscd/nscd-client.h (__nscd_drop_map_ref):
7227 Add __attribute__ ((unused)).
7228 * nis/nss-nisplus.h (niserr2nss): Likewise.
7229
7230 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7231 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7232
7233 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7234 Remove inline keyword.
7235 * include/rounding-mode.h (round_away): Likewise.
7236 * libio/wfileops.c (adjust_wide_data): Likewise.
7237 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7238 (__m128i_strloadu_tolower): Likewise.
7239 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7240 (__m128i_strloadu_tolower): Likewise.
7241 * time/mktime.c (ydhms_diff): Likewise.
7242 * locale/elem-hash.h (elem_hash): Likewise.
7243 * locale/setlocale.c (setdata): Likewise.
7244 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7245 (re_string_wchar_at): Likewise.
7246 (bitset_not, bitset_merge, bitset_mask): Likewise.
7247 [!(__GNUC__ > 3)] (inline): Remove macro.
7248 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7249 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7250 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7251 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7252 * string/memcmp.c (memcmp_bytes): Likewise.
7253 * locale/programs/locarchive.c (compute_hashval): Likewise.
7254 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7255 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7256 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7257 * nss/getent.c (print_rpc, print_protocols): Likewise.
7258 (print_passwd, print_group, print_aliases): Likewise.
7259 * nis/nss-nisplus.h (niserr2nss): Likewise.
7260 * nscd/connections.c (restart_p): Likewise.
7261 Change return type to bool.
7262
eab55bfb
RM
72632013-02-05 Roland McGrath <roland@hack.frob.com>
7264
7bd642f5
RM
7265 * Makeconfig (all-Depend-files): Add existing
7266 $(sorted-subdirs:=/Depend) files.
7267 (all-subdirs): Remove nss.
7268 * sysdeps/unix/inet/Subdirs: Add it here instead.
7269 * hesiod/Depend: New file.
7270
573c29b2
RM
7271 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7272 instead of calling alloca.
7273
b2e25af0
RM
7274 * io/lseek.c (__lseek): Rename to __libc_lseek.
7275 Define __lseek as an alias.
7276
eab55bfb
RM
7277 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7278
9a0d1941
CD
72792013-02-04 Carlos O'Donell <carlos@redhat.com>
7280
7281 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7282 else clause and remove check for non-standard endianness.
7283
b83bbec4
DM
72842013-02-04 David S. Miller <davem@davemloft.net>
7285
7286 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7287
6277fdab
JM
72882013-02-04 Joseph Myers <joseph@codesourcery.com>
7289
7290 [BZ #13550]
7291 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7292 (__ubp_memchr): Remove prototype.
7293 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7294 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7295 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7296 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7297 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7298 Remove alias.
7299 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7300 (__ubp_memchr): Likewise.
7301 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7302 (__ubp_memchr): Likewise.
7303 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7304 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7305 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7306 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7307 CHECK_STRING.
7308 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7309 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7310 (__getcwd): Do not use CHECK_STRING.
7311 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7312 <bp-checks.h>.
7313 (__real_chown): Do not use CHECK_STRING.
7314 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7315 <bp-checks.h>.
7316 (fchownat): Do not use CHECK_STRING.
7317 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7318 CHECK_STRING.
7319 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7320 <bp-checks.h>.
7321 (__lchown): Do not use CHECK_STRING.
7322 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7323 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7324 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7325 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7327 include <bp-checks.h>.
7328 (truncate64): Do not use CHECK_STRING.
7329 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7330 <bp-checks.h>.
7331 (__real_chown): Do not use CHECK_STRING.
7332 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7333 <bp-checks.h>.
7334 (__lchown): Do not use CHECK_STRING.
7335 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7336 <bp-checks.h>.
7337 (__chown): Do not use CHECK_STRING.
7338 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7339 <bp-checks.h>.
7340 (truncate64): Do not use CHECK_STRING.
7341 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7342 Likewise.
7343 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7344 (__xmknod): Do not use CHECK_STRING.
7345 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7346 <bp-checks.h>.
7347 (__xmknodat): Do not use CHECK_STRING.
7348 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7349 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7350
903ae060
AS
73512013-02-04 Andreas Schwab <schwab@suse.de>
7352
7353 [BZ #14142]
7354 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7355 * include/netdb.h: Likewise for h_errno.
7356 * elf/tst-stackguard1.c: Include <tls.h>.
7357
542f9466
JK
73582013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7359
7360 * elf/link.h (struct link_map): Extend the l_addr comment.
7361 * include/link.h (struct link_map): Likewise.
7362
e782a927
JM
73632013-02-01 Joseph Myers <joseph@codesourcery.com>
7364
7365 [BZ #13550]
7366 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7367 (BOUNDED_1): Remove macro.
7368 * debug/backtrace.c: Don't include <bp-checks.h>.
7369 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7370 (__backtrace): Likewise.
7371 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7372 <bp-checks.h>.
7373 (__backtrace): Don't use BOUNDED_1.
7374 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7375 <bp-checks.h>.
7376 (__backtrace): Don't use BOUNDED_1.
7377 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7378 (__backtrace): Don't use BOUNDED_1.
7379 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7380 (shmat): Don't use BOUNDED_N.
7381
8cf28c5e
JM
73822013-01-31 Joseph Myers <joseph@codesourcery.com>
7383
3a7ac8a0
JM
7384 [BZ #13550]
7385 * sysdeps/generic/bp-start.h: Remove file.
7386 * csu/libc-start.c: Don't include <bp-start.h>.
7387 (LIBC_START_MAIN): Set up __environ directly instead of using
7388 INIT_ARGV_and_ENVIRON.
7389 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7390 <bp-start.h>.
7391
f3499f95
JM
7392 [BZ #13550]
7393 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7394 definitions.
7395 (CHECK_FCNTL): Likewise.
7396 (CHECK_N_PAGES): Likewise.
7397
32a45bea
JM
7398 [BZ #13550]
7399 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7400 definitions.
7401 (CHECK_SIGSET_NULL_OK): Likewise.
7402 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7403 <bp-checks.h>.
7404 (sigpending): Don't use CHECK_SIGSET.
7405 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7406 <bp-checks.h>.
7407 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7408 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7409 <bp-checks.h>.
7410 (do_sigsuspend): Don't use CHECK_SIGSET.
7411 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7412 use CHECK_SIGSET.
7413 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7414 (do_sigwait): Don't use CHECK_SIGSET.
7415 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7416 use CHECK_SIGSET.
7417 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7418 include <bp-checks.h>.
7419 (sigpending): Don't use CHECK_SIGSET.
7420 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7421 include <bp-checks.h>.
7422 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7423 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7424 <bp-checks.h>.
7425 (sigpending): Don't use CHECK_SIGSET.
7426 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7427 <bp-checks.h>.
7428 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7429
2e8a5c8c
JM
7430 [BZ #13550]
7431 * sysdeps/generic/bp-semctl.h: Remove file.
7432 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7433 <bp-checks.h> and <bp-semctl.h>.
7434 (__old_semctl): Don't use CHECK_SEMCTL.
7435 (__new_semctl): Likewise.
7436 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7437 and <bp-semctl.h>.
7438 (__old_semctl): Don't use CHECK_SEMCTL.
7439 (__new_semctl): Likewise.
7440 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7441 <bp-checks.h> and <bp-semctl.h>.
7442 (__old_semctl): Don't use CHECK_SEMCTL.
7443 (__new_semctl): Likewise.
7444 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7445 <bp-checks.h> and <bp-semctl.h>.
7446 (semctl): Don't use CHECK_SEMCTL.
7447
c2d54929
JM
7448 [BZ #13550]
7449 * Makerules (elide-bp-thunks): Remove variable.
7450 (elide-routines.oS): Don't use $(elide-bp-thunks).
7451 (elide-routines.os): Likewise.
7452 (elide-routines.o): Likewise.
7453 (elide-routines.op): Likewise.
7454 (elide-routines.og): Likewise.
7455 (objects): Don't use $(bp-thunks).
7456 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7457 include.
7458 (common-generated): Do not add s-proto-bp.d.
7459 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7460 (int): Likewise.
7461 (typ): Likewise.
7462 Do not generate makefile rules for bounded-pointer thunks.
7463 * sysdeps/generic/bp-thunks.h: Remove file.
7464 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7465 * sysdeps/unix/s-proto-bp.S: Likewise.
7466
8cf28c5e
JM
7467 [BZ #15062]
7468 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7469 parts of result separately when argument is not close to line from
7470 -i to i and one part of argument is small.
7471 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7472 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7473 * math/libm-test.inc (cacos_test): Add more tests.
7474 (casin_test): Likewise.
7475 (casinh_test): Likewise.
7476 * sysdeps/i386/fpu/libm-test-ulps: Update.
7477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7478
c4e33b8d
DM
74792013-01-31 David S. Miller <davem@davemloft.net>
7480
7481 * po/de.po: Update from translation team.
7482
3b60b421
MK
74832013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7484
7485 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7486
bb931195
TS
74872013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7488
b5a5da23
TS
7489 * configure.in (_AC_PROG_CC_C89): New definition.
7490 * configure: Regenerate.
7491
bb931195
TS
7492 * configure.in (AC_PROG_CPP): New definition.
7493 * configure: Regenerate.
7494
8c53a12c
JM
74952013-01-23 Joseph Myers <joseph@codesourcery.com>
7496
7497 * debug/tst-backtrace.h: New file.
7498 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7499 (ret): Remove variable.
7500 (x): Likewise.
7501 (FAIL): Remove macro.
7502 (NO_INLINE): Likewise.
7503 (fn1): Use match function instead of strstr.
7504 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7505 (ret): Remove variable.
7506 (x): Likewise.
7507 (FAIL): Remove macro.
7508 (NO_INLINE): Likewise.
7509 (fn): Use match function instead of strstr.
7510 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7511 (ret): Remove variable.
7512 (x): Likewise.
7513 (FAIL): Remove macro.
7514 (NO_INLINE): Likewise.
7515 (handle_signal): Use match function instead of strstr.
7516 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7517 (ret): Remove variable.
7518 (x): Likewise.
7519 (FAIL): Remove macro.
7520 (NO_INLINE): Likewise.
7521 (handle_signal): Use match function instead of strstr.
7522
4858fa2a
RM
75232013-01-23 Roland McGrath <roland@hack.frob.com>
7524
7525 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7526
bae8e7f5
DM
75272013-01-23 David S. Miller <davem@davemloft.net>
7528
7529 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7530 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7531 argument of CAS if possible.
7532 * sysdeps/sparc/sparc64/bits/atomic.h
7533 (__arch_compare_and_exchange_val_32_acq): Likewise.
7534 (__arch_compare_and_exchange_val_64_acq): Likewise.
7535
9cbbc4ae
PT
75362013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7537
7538 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7539 * sysdeps/posix/ulimit.c: ... this.
92a601b8 7540 Include <limits.h>.
67b3f58c 7541 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 7542
5655a0b5
AC
75432013-01-23 Adam Conrad <adconrad@0c3.net>
7544
7545 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7546 (LDFLAGS-tst-array5): Likewise.
7547
052aff95
JM
75482013-01-23 Joseph Myers <joseph@codesourcery.com>
7549
7550 [BZ #15036]
7551 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7552 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7553 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7554 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7555
7c1e01aa
DM
75562013-01-21 David S. Miller <davem@davemloft.net>
7557
7558 * sysdeps/sparc/backtrace.c: New file.
7559 * sysdeps/sparc/sparc32/backtrace.h: New file.
7560 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7561 * sysdeps/sparc/sparc64/backtrace.h: New file.
7562 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7563 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7564 -funwind-tables.
7565
ab087e0a
AS
75662013-01-21 Andreas Schwab <schwab@suse.de>
7567
7568 [BZ #15020]
7569 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7570 closed its stdout.
7571
ed689c2f
AS
75722013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7573
7574 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7575 "mpa2.h".
7576 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7577
31d470ac
JM
75782013-01-18 Joseph Myers <joseph@codesourcery.com>
7579 Mark Mitchell <mark@codesourcery.com>
7580 Tom de Vries <tom@codesourcery.com>
7581 Paul Pluzhnikov <ppluzhnikov@google.com>
7582
7583 * debug/tst-backtrace2.c: New file.
7584 * debug/tst-backtrace3.c: Likewise.
7585 * debug/tst-backtrace4.c: Likewise.
7586 * debug/tst-backtrace5.c: Likewise.
7587 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7588 (CFLAGS-tst-backtrace3.c): Likewise.
7589 (CFLAGS-tst-backtrace4.c): Likewise.
7590 (CFLAGS-tst-backtrace5.c): Likewise.
7591 (LDFLAGS-tst-backtrace2): Likewise.
7592 (LDFLAGS-tst-backtrace3): Likewise.
7593 (LDFLAGS-tst-backtrace4): Likewise.
7594 (LDFLAGS-tst-backtrace5): Likewise.
7595 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7596 tst-backtrace4 and tst-backtrace5.
7597
90567f30 75982013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
7599 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7600
7601 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7602 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7603 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7604 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7606 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7607 "+r" and remove output regs list as redundant. Add explicit inline
7608 asm to specify register of return val to work around compiler codegen
7609 bug. Remove (int) cast on return value. Add return type parameter to
7610 use in macro so that this macro does not truncate return value for
7611 64-bit values.
7612 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7613 pass to INTERNAL_VSYSCALL_NCS.
7614 (INLINE_VSYSCALL): Add 'long int' as return type to
7615 INTERNAL_VSYSCALL_NCS macro invocation.
7616 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7617 INTERNAL_VSYSCALL_NCS macro invocation.
7618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7619
d3b9ea61
SP
76202013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7621
0b57daeb
SP
7622 [BZ #14496]
7623 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7624 Fix application of SIMD FP exception mask.
7625
caa99d06
SP
7626 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7627 mp_no from a power of two.
7628 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7629 __mpexp_twomm1. Use __pow_mp.
7630
d3b9ea61
SP
7631 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7632 multiplication.
7633
1dbaee3c
DM
76342013-01-17 David S. Miller <davem@davemloft.net>
7635
7636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7637
728d7b43
JM
76382013-01-17 Joseph Myers <joseph@codesourcery.com>
7639
7640 [BZ #15023]
7641 * include/complex.h: Condition contents on [!_COMPLEX_H].
7642 (__kernel_casinhf): New prototype.
7643 (__kernel_casinh): Likewise.
7644 (__kernel_casinhl): Likewise.
7645 * math/Makefile (libm_calls): Add k_casinh.
7646 * math/k_casinh.c: New file.
7647 * math/k_casinhf.c: Likewise.
7648 * math/k_casinhl.c: Likewise.
7649 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7650 finite nonzero arguments.
7651 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7652 finite nonzero arguments.
7653 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7654 finite nonzero arguments.
7655 * math/s_casinh.c: Do not include <float.h>.
7656 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7657 * math/s_casinhf.c: Do not include <float.h>.
7658 (__casinhf): Move code for finite nonzero arguments to
7659 k_casinhf.c.
7660 * math/s_casinhl.c: Do not include <float.h>.
7661 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7662 redefine.
7663 (__casinhl): Move code for finite nonzero arguments to
7664 k_casinhl.c.
7665 * math/libm-test.inc (cacos_test): Add more tests.
7666 * sysdeps/i386/fpu/libm-test-ulps: Update.
7667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7668
2a26ef3a
PT
76692013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7670
7671 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7672 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7673 [!HAVE_MREMAP]: Remove [defined linux] case.
7674 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7675
a897655d
SP
76762013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7677
7678 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7679
881ebe89 76802013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
7681
7682 * elf/elf.h (R_386_SIZE32): New relocation.
7683 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7684 R_386_SIZE32.
7685 (elf_machine_rela): Likewise.
7686 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7687 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7688
59981e9b
JM
76892013-01-17 Joseph Myers <joseph@codesourcery.com>
7690
7691 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7692 (FP_FAST_FMA): Do not define.
7693 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7694 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7695 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7696 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7697 !_SOFT_FLOAT]: Likewise.
7698 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7699 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7700 value.
7701 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7702 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7703 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7704 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7705 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7706 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7707 file.
7708
cfa8054f
AS
77092013-01-16 Andreas Schwab <schwab@suse.de>
7710
7711 [BZ #14327]
7712 * include/stdlib.h (__mktemp): Add declaration.
7713 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7714 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7715
dd930cc5
SP
77162013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7717
881ebe89
SP
7718 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7719 definitions.
7720 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7721 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7722 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7723 definitions here.
7724 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7725 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7726 definitions.
7727 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7728 and ONE.
7729 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7730 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7731 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7732 definitions.
7733 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7734 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7735 definitions.
7736 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 7737
dd930cc5
SP
7738 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7739
c19a9f89
DM
77402013-01-15 David S. Miller <davem@davemloft.net>
7741
1aa61767
DM
7742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7743 trunc{,f} to libm-sysdep_routes.
7744 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7746 file.
7747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7749 file.
7750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7751 file.
7752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7754 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7755 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7756 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7757 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7758 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7759 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7760
c42d5e98
DM
7761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7762 nearbyint{,f} to libm-sysdep_routes.
7763 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7765 New file.
7766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7767 file.
7768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7769 New file.
7770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7771 file.
7772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7774 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7775 file.
7776 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7777 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7778 file.
7779 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7780 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7781 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7782
c19a9f89
DM
7783 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7784 libc_feholdexcept and libc_fesetenv.
7785
357679d2
MF
77862013-01-15 Mike Frysinger <vapier@gentoo.org>
7787
7788 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7789
65a82e3d
DM
77902013-01-14 David S. Miller <davem@davemloft.net>
7791
8b954ab9
DM
7792 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7793 (SPARC_ASM_VIS2_IFUNC): Likewise.
7794 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7796 use of 'siam' instruction.
7797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7798 Likewise.
7799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7800 Likewise.
7801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7802 Likewise.
7803 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7804 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7805 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7806 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7808 file.
7809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7810 file.
7811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7812 file.
7813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7814 file.
7815 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7816 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7817 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7818 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7820 new VIS2 routines.
7821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7824 Likewise.
7825 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7826 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7827 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7828 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7830 routines to libm-sysdep_routines.
7831 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7832
65a82e3d
DM
7833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7834 fdim/fdimf to libm-sysdep_routines.
7835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7836 file.
7837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7839 file.
7840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7843 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7844 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7845 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7846 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7847
e34ab705
SP
78482013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7849
2a91b573
SP
7850 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7851 to optimize copies.
7852
1066a534
SP
7853 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7854 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7855 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7856
e34ab705
SP
7857 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7858 local variable MPTWO.
7859 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7860 Likewise.
7861
aba5e596
MF
78622013-01-13 Mike Frysinger <vapier@gentoo.org>
7863
7864 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7865 GLOB_NOESCAPE.
7866
e557e9e5
MF
78672013-01-13 Mike Frysinger <vapier@gentoo.org>
7868
7869 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7870
0428cec9
MF
78712013-01-13 Mike Frysinger <vapier@gentoo.org>
7872
7873 * manual/pattern.texi (glob_t): Document gl_flags.
7874 (glob64_t): Likewise.
7875
8794a964
DM
78762013-01-11 David S. Miller <davem@davemloft.net>
7877
66438c3f
RM
7878 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7879 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7880 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
7881 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7882 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7883 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7884 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7885 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7886 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7887 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7888 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7889 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7890 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7891
4ae4244d
DM
7892 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7893 sparc V9 rather than using V8 code.
7894 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7895 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7896
8794a964
DM
7897 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7898 Move to...
7899 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7900 Here.
7901
6270516e
RM
79022013-01-11 Roland McGrath <roland@hack.frob.com>
7903
7904 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7905 not in the main loop.
7906 * configure: Regenerated.
7907
6a57d931
JM
79082013-01-11 Joseph Myers <joseph@codesourcery.com>
7909
7910 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7911 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7912 to just #else.
7913 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7914 [!__GLIBC_HAVE_LONG_LONG] case.
7915 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7916 condition to just #else.
7917 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7918 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7919 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7920 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7921 unconditional.
7922 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7923 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7924 #elif condition to just #else.
7925 * sysdeps/unix/sysv/linux/sys/sysmacros.h
7926 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7927 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7928 #elif condition to just #else.
7929
0e8529e9
SE
79302013-01-11 Steve Ellcey <sellcey@mips.com>
7931
7932 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7933 (EF_MIPS_ARCH_64): Fix value.
7934 (EF_MIPS_ARCH_32R2): New.
7935 (EF_MIPS_ARCH_64R2): New.
7936
740b3dbe
L
79372013-01-11 H.J. Lu <hongjiu.lu@intel.com>
7938
7939 * Makeconfig (+link-pie-before-libc): New.
7940 (+link-pie-after-libc): Likewise.
7941 (+link-pie-tests): Likewise.
7942 (+link-pie): Rewritten.
7943 (link-before-libc): Remove $(config-LDFLAGS).
7944 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7945 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7946 (config-LDFLAGS): Renamed to ...
7947 (rtld-LDFLAGS): This.
7948 (rtld-tests-LDFLAGS): New macro.
7949 (link-libc-rpath-link): Likewise.
7950 (link-libc-tests-rpath-link): Likewise.
7951 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7952 (link-libc): Prepand $(link-libc-rpath-link).
7953 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7954 (test-program-prefix): New macro.
7955 (test-via-rtld-prefix): Likewise.
7956 (test-program-cmd): Likewise.
7957 (host-test-program-cmd): Likewise.
7958 * Makefile ($(common-objpfx)testrun.sh): Replace
7959 $(run-program-prefix) with $(test-program-prefix).
7960 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7961 $(rtld-LDFLAGS).
7962 ($(common-objpfx)shlib.lds): Likewise.
7963 (build-module-helper): Likewise.
7964 ($(common-objpfx)format.lds): Likewise.
7965 * Rules (binaries-pie-tests): New.
7966 (binaries-pie-notests): Likewise.
7967 (binaries-pie): Rewritten.
7968 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7969 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7970 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7971 (make-test-out): Replace $(host-built-program-cmd) with
7972 $(host-test-program-cmd).
7973 * config.make.in (build-hardcoded-path-in-tests): New variable.
7974 * configure.in (--enable-hardcoded-path-in-tests): New configure
7975 option.
7976 (hardcoded_path_in_tests): New AC_SUBST.
7977 * configure: Regenerated.
7978 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7979 $(built-program-cmd) with $(test-program-cmd).
7980 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7981 (test_program_cmd): This.
7982 * elf/Makefile ($(objpfx)order.out): Run test with
7983 $(test-program-prefix).
7984 ($(objpfx)order2.out): Likewise.
7985 ($(objpfx)tst-initorder.out): Likewise.
7986 ($(objpfx)tst-initorder2.out): Likewise.
7987 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7988 $(test-program-cmd).
7989 ($(objpfx)tst-array1-static.out): Likewise.
7990 ($(objpfx)tst-array2.out): Likewise.
7991 ($(objpfx)tst-array3.out): Likewise.
7992 ($(objpfx)tst-array4.out): Likewise.
7993 ($(objpfx)tst-array5.out): Likewise.
7994 ($(objpfx)tst-array5-static.out): Likewise.
7995 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7996 $(test-program-cmd).
7997 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7998 $(run-program-prefix) with $(test-program-prefix).
7999 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8000 (test_program_prefix): This.
8001 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8002 $(run-program-prefix) with $(test-program-prefix).
8003 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8004 (test_program_prefix): This.
8005 * iconvdata/tst-tables.sh: Likewise.
8006 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8007 $(run-program-prefix) with $(test-program-prefix).
8008 ($(objpfx)tst-translit.out): Likewise.
8009 ($(objpfx)tst-gettext2.out): Likewise.
8010 ($(objpfx)tst-gettext4.out): Likewise.
8011 ($(objpfx)tst-gettext6.out): Likewise.
8012 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8013 (test_program_prefix): This.
8014 * intl/tst-gettext2.sh: Likewise.
8015 * intl/tst-gettext4.sh Likewise.
8016 * intl/tst-gettext6.sh: Likewise.
8017 * intl/tst-translit.sh: Likewise.
8018 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8019 with $(test-program-cmd).
8020 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8021 $(run-program-prefix) with $(test-program-prefix).
8022 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8023 (test_program_prefix): This.
8024 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8025 $(run-program-prefix) with $(test-program-prefix).
8026 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8027 (test_program_prefix): This.
8028 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8029 * posix/Makefile ($(objpfx)globtest.out): Replace
8030 $(run-via-rtld-prefix) and $(test-wrapper) with
8031 $(test-program-prefix) and $(test-via-rtld-prefix).
8032 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8033 $(test-program-prefix).
8034 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8035 $(host-test-program-cmd).
8036 (tst-spawn-ARGS): Likewise.
8037 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8038 $(test-program-prefix).
8039 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8040 (test_via_rtld_prefix): This.
8041 (test_wrapper): Renamed to ...
8042 (test_program_prefix): This.
8043 (run_program_prefix): Replaced by test_program_prefix.
8044 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8045 (test_program_prefix): This.
8046 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8047 with $(host-test-program-cmd).
8048 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8049 $(run-program-prefix) with $(test-program-prefix).
8050 ($(objpfx)tst-printf.out): Likewise.
8051 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8052 $(test-program-cmd).
8053 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8054 (test_program_prefix): This.
8055 * stdio-common/tst-unbputc.sh: Likewise.
8056 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8057 $(run-program-prefix) with $(test-program-prefix).
8058 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8059 (test_program_prefix): This.
8060 * string/Makefile ($(objpfx)tst-svc.out): Replace
8061 $(built-program-cmd) with $(test-program-cmd).
8062
c6fe55cf
AJ
80632013-01-11 Andreas Jaeger <aj@suse.de>
8064
8065 [BZ #15003]
8066 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8067 value. Sync with Linux 3.7.
8068
9e6919c8
DM
80692013-01-10 David S. Miller <davem@davemloft.net>
8070
8071 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8072 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8073 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8074
1c9f1a02
RM
80752013-01-10 Roland McGrath <roland@hack.frob.com>
8076
8077 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8078 never set.
8079 * configure: Regenerated.
8080
b9de2dde
DM
80812013-01-10 David S. Miller <davem@davemloft.net>
8082
8083 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8084 sparc V9 rather than using V8 code.
8085 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8086 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8087
e7f68ef4
RM
80882013-01-10 Roland McGrath <roland@hack.frob.com>
8089
8090 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8091 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8092 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8093 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8094 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8095 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8096 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8097 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8098 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8099 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8100 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8101 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8102 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8103 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8104 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8105 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8106 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8107 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8108 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8109 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8110 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8111 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8112 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8113 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8114 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8115 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8116 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8117
5a47cc9c
DM
81182013-01-10 David S. Miller <davem@davemloft.net>
8119
8120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8121
4cf8f209
L
81222013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8123
8124 * posix/Makefile (tests-static): New variable.
8125 (tests): Add $(tests-static).
8126 (tst-exec-static-ARGS): New variable.
8127 (tst-spawn-static-ARGS): Likewise.
8128 * posix/tst-exec-static.c: New file.
8129 * posix/tst-spawn-static.c: Likewise.
8130 * posix/tst-exec.c: Support run directly.
8131 * posix/tst-spawn.c: Likewise.
8132
fed0faa1
JM
81332013-01-10 Joseph Myers <joseph@codesourcery.com>
8134
828beb13
JM
8135 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8136 long.
8137 * math/bits/mathcalls.h (llrint): Likewise.
8138 (llround): Likewise.
8139 * stdlib/stdlib.h (struct drand48_data): Likewise.
8140 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8141 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8142 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8143 Likewise.
8144 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8145 Likewise.
8146 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8147 (elf_greg_t): Likewise.
8148 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8149 (__jmp_buf): Likewise.
8150 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8151 definitions.
8152 (llrint): Likewise, for all definitions.
8153 (llrintl): Likewise.
8154
fed0faa1
JM
8155 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8156 Remove [__GNUC__] condition.
8157 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8158 condition to just [__USE_ISOC99].
8159 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8160
1a20cb20
L
81612013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8162
8163 [BZ #14200]
8164 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8165 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8166 defined.
8167 (_POSIX_V6_ILP32_OFF32): Likewise.
8168 (_XBS5_ILP32_OFF32): Likewise.
8169 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8170 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8171
751b85f7
SP
81722013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8173
7490eb81
SP
8174 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8175
751b85f7
SP
8176 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8177 doubles __mpexp_twomm1. Adjust usage.
8178 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8179 Remove.
8180
988197f0
AS
81812013-01-10 Andreas Schwab <schwab@suse.de>
8182
8183 [BZ #14964]
8184 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8185 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8186
e83d7298
DM
81872013-01-09 David S. Miller <davem@davemloft.net>
8188
034ed64b 8189 [BZ #15003]
e83d7298
DM
8190 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8191 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8192 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8193 TCP_FASTOPEN): Define.
8194 (tcp_repair_opt): New structure.
8195 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8196 enum values.
8197 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8198 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8199 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8200 (tcp_cookie_transactions): New structure.
8201
d5e0b9bd
AB
82022013-01-09 Anton Blanchard <anton@samba.org>
8203
8204 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8205 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8206 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8207 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8208
0c07e3ea
JM
82092013-01-09 Joseph Myers <joseph@codesourcery.com>
8210
8211 * include/features.h (__USE_ANSI): Remove.
8212
232f7002
RM
82132013-01-09 Roland McGrath <roland@hack.frob.com>
8214
ad98e30c
RM
8215 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8216
232f7002
RM
8217 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8218
950c99ca
SP
82192013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8220
b5792741
SP
8221 * sysdeps/s390/fpu/libm-test-ulps: Update.
8222
47cf2278
SP
8223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8224
950c99ca
SP
8225 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8226 (__acr): Likewise.
8227 (__cpy): Likewise.
8228 (norm): Likewise.
8229 (denorm): Likewise.
8230 (__mp_dbl): Likewise.
8231 (__dbl_mp): Likewise.
8232 (add_magnitudes): Likewise.
8233 (sub_magnitudes): Likewise.
8234 (__add): Likewise.
8235 (__sub): Likewise.
8236 (__mul): Likewise.
8237 (__inv): Likewise.
8238 (__dvd): Likewise.
8239 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8240 (__acr): Likewise.
8241 (__cpy): Likewise.
8242 (norm): Likewise.
8243 (denorm): Likewise.
8244 (__mp_dbl): Likewise.
8245 (__dbl_mp): Likewise.
8246 (add_magnitudes): Likewise.
8247 (sub_magnitudes): Likewise.
8248 (__add): Likewise.
8249 (__sub): Likewise.
8250 (__mul): Likewise.
8251 (__inv): Likewise.
8252 (__dvd): Likewise.
8253 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8254 (__acr): Likewise.
8255 (__cpy): Likewise.
8256 (norm): Likewise.
8257 (denorm): Likewise.
8258 (__mp_dbl): Likewise.
8259 (__dbl_mp): Likewise.
8260 (add_magnitudes): Likewise.
8261 (sub_magnitudes): Likewise.
8262 (__add): Likewise.
8263 (__sub): Likewise.
8264 (__mul): Likewise.
8265 (__inv): Likewise.
8266 (__dvd): Likewise.
8267
eede9df9
JM
82682013-01-08 Joseph Myers <joseph@codesourcery.com>
8269
8270 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8271 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8272 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8273 2 && __USE_EXTERN_INLINES]: Likewise.
8274
c40ea3d9
AJ
82752013-01-08 Andreas Jaeger <aj@suse.de>
8276
8277 [BZ# 14985]
8278 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8279 Remove.
8280 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8281 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8282
2ccdea26
AB
82832013-01-07 Anton Blanchard <anton@samba.org>
8284
8285 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8286 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8287 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8288 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8289 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8290 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8291 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8292 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8293 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8294 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8295 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8296 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8297 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8298 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8299 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8300 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8301 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8302 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8303 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8304 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8305 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8306 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8307 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8308 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8309 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8310 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8311 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8312 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8313 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8314 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8315 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8316 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8317 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8318 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8319 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8320 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8321 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8322 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8323 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8324 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8325 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8326 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8327 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8328
a9708fed
JM
83292013-01-07 Joseph Myers <joseph@codesourcery.com>
8330
375607b9
JM
8331 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8332 (__MALLOC_PMT): Likewise.
8333 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8334 [__GNUC__], only on [_LIBC].
8335 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8336 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8337 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8338 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8339 forward declaration.
8340 (realloc_hook_ini): Likewise.
8341 (memalign_hook_ini): Likewise.
8342 (__libc_memalign): Do not use __MALLOC_PMT in variable
8343 declaration.
8344 (__libc_valloc): Likewise.
8345 (__libc_pvalloc): Likewise.
8346 (__libc_calloc): Likewise.
8347 (__posix_memalign): Likewise.
8348
a9708fed
JM
8349 [BZ #14996]
8350 * math/s_casinh.c: Include <float.h>.
8351 (__casinh): Do not do computation with squaring and square root
8352 for large arguments.
8353 * math/s_casinhf.c: Include <float.h>.
8354 (__casinhf): Do not do computation with squaring and square root
8355 for large arguments.
8356 * math/s_casinhl.c: Include <float.h>.
8357 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8358 (__casinhl): Do not do computation with squaring and square root
8359 for large arguments.
8360 * math/libm-test.inc (casin_test): Add more tests.
8361 (casinh_test): Likewise.
8362 * sysdeps/i386/fpu/libm-test-ulps: Update.
8363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8364
afec409a
L
83652013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8366
8367 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8368 (__x86_64_raw_data_cache_size): Likewise.
8369 (__x86_64_data_cache_size_half): Likewise.
8370 (__x86_64_raw_data_cache_size_half): Likewise.
8371 (__x86_64_shared_cache_size): Likewise.
8372 (__x86_64_raw_shared_cache_size): Likewise.
8373 (__x86_64_shared_cache_size_half): Likewise.
8374 (__x86_64_raw_shared_cache_size_half): Likewise.
8375 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8376 to ...
8377 (__x86_data_cache_size): This.
8378 (__x86_64_raw_data_cache_size): Renamed to ...
8379 (__x86_raw_data_cache_size): This.
8380 (__x86_64_data_cache_size_half): Renamed to ...
8381 (__x86_data_cache_size_half): This.
8382 (__x86_64_raw_data_cache_size_half): Renamed to ...
8383 (__x86_raw_data_cache_size_half): This.
8384 (__x86_64_shared_cache_size): Renamed to ...
8385 (__x86_shared_cache_size): This.
8386 (__x86_64_raw_shared_cache_size): Renamed to ...
8387 (__x86_raw_shared_cache_size): This.
8388 (__x86_64_shared_cache_size_half): Renamed to ...
8389 (__x86_shared_cache_size_half): This.
8390 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8391 (__x86_raw_shared_cache_size_half): This.
8392 * sysdeps/x86_64/memcpy.S: Updated.
8393 * sysdeps/x86_64/memset.S: Likewise.
8394 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8395 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8396 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8397
0b3986d0
DM
83982013-01-04 David S. Miller <davem@davemloft.net>
8399
8400 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8401
e47686e9
AS
84022013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8403
d643bac1
AS
8404 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8405 1 to avoid redefinition warning.
8406 (__USE_GNU): Don't define.
8407 (init_signaling_nan): Protoize.
8408
e47686e9
AS
8409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8410
b18decba
SP
84112013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8412
fffb407f
SP
8413 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8414 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8415 (__cpymn): Likewise.
8416 (norm): Remove commented code.
8417 (denorm): Likewise.
8418 (__mp_dbl): Likewise.
8419 (__inv): Likewise.
8420 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8421 (__cpymn): Likewise.
8422 (norm): Remove commented code.
8423 (denorm): Likewise.
8424 (__mp_dbl): Likewise.
8425 (__inv): Likewise.
8426
b18decba
SP
8427 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8428 mp_no value for 1.0 and 2.0.
8429 (norm): Use RADIXI instead of radixi.d.
8430 (denorm): Likewise.
8431 (__mul): Use 0.0 instead of zero.d.
8432 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8433 mp_no value for 1.0 and 2.0.
8434 (norm): Use RADIXI instead of radixi.d.
8435 (denorm): Likewise.
8436 (__mul): Use 0.0 instead of zero.d.
8437
cdc1c96f
JM
84382013-01-04 Joseph Myers <joseph@codesourcery.com>
8439
8440 [BZ #14994]
8441 * math/s_casinh.c (__casinh): Reduce finite argument to first
8442 quadrant then set signs of results at the end.
8443 * math/s_casinhf.c (__casinhf): Likewise.
8444 * math/s_casinhl.c (__casinhl): Likewise.
8445 * math/libm-test.inc (casin_test): Add more tests.
8446 (casinh_test): Likewise.
8447 * sysdeps/i386/fpu/libm-test-ulps: Update.
8448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8449
302913e1
SP
84502013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8451
6420d207
SP
8452 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8453
a9e48ab4
SP
8454 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8455
b7837264
SP
8456 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8457 declarations.
8458 (denorm): Likewise.
8459 (__mp_dbl): Likewise.
8460 (__inv): Likewise.
8461
f8af25d2
SP
8462 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8463 and adjust the header comment.
8464
302913e1
SP
8465 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8466 variable name from declaration.
8467
5d7dd1ca
L
84682013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8469
8470 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8471 Initialize COMMON_CPUID_INDEX_7 element.
8472 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8473 (CPUID_RTM): Likewise.
8474 (HAS_RTM): Likewise.
8475 (COMMON_CPUID_INDEX_7): New enum.
8476
2f5f40f4
AS
84772013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8478
8479 [BZ #14981]
8480 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8481 size is zero, record memory as freed.
8482
4056f4a0
AJ
84832013-01-03 Andreas Jaeger <aj@suse.de>
8484
8485 * po/ia.po: Add new Interlingua translation.
8486
ab15736f 84872012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
8488
8489 * locale/programs/localedef.c: Fix description of '--posix' flag.
8490
568035b7
JM
84912013-01-02 Joseph Myers <joseph@codesourcery.com>
8492
e6898b8d
JM
8493 * NEWS: Update dates in second copyright notice.
8494 * README: Update copyright dates in example.
8495 * manual/libc.texinfo: Update copyright dates.
8496 * scripts/test-installation.pl: Update copyright date in --version
8497 output.
8498
0e2f9562
JM
8499 * hurd/ctty-input.c: Fix copyright notice formatting.
8500 * hurd/ctty-output.c: Likewise.
8501 * hurd/dtable.c: Likewise.
8502 * hurd/hurd-raise.c: Likewise.
8503 * hurd/hurdprio.c: Likewise.
8504 * hurd/msgportdemux.c: Likewise.
8505 * misc/sys/file.h: Likewise.
8506 * misc/sys/ioctl.h: Likewise.
8507 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8508 * sysdeps/mach/hurd/chdir.c: Likewise.
8509 * sysdeps/mach/hurd/fchdir.c: Likewise.
8510 * sysdeps/mach/hurd/rename.c: Likewise.
8511 * sysdeps/mach/hurd/rmdir.c: Likewise.
8512 * sysdeps/mach/hurd/seekdir.c: Likewise.
8513 * sysdeps/mach/hurd/setsid.c: Likewise.
8514 * sysdeps/posix/wait3.c: Likewise.
8515
568035b7
JM
8516 * All files with FSF copyright notices: Update copyright dates
8517 using scripts/update-copyrights.
8518 * intl/plural.c: Regenerated.
8519 * locale/programs/charmap-kw.h: Likewise.
8520 * locale/programs/locfile-kw.h: Likewise.
8521
da08f647
SP
85222013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8523
0f5477af
SP
8524 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8525 four values.
8526
44e0d4c2
SP
8527 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8528 calculation loop and add branch prediction.
8529
4d55b4e5
SP
8530 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8531 check access beyond bounds of m1np.
8532
da08f647
SP
8533 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8534 MPTWO.
8535 (__inv): Remove local variable MPTWO to use the global
8536 constant.
8537 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8538 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8539 variable MPTWO.
8540 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8541 MP3HALFS static const.
8542
8e051029
DM
85432013-01-01 David S. Miller <davem@davemloft.net>
8544
8545 * po/ca.po: Update from translation team.
8546
f4cf5f2d
JM
85472013-01-01 Joseph Myers <joseph@codesourcery.com>
8548
8549 * scripts/update-copyrights: New file.
8550 * Makeconfig: Reformat copyright notice.
8551 * ctype/ctype.h: Likewise.
8552 * debug/swprintf_chk.c: Likewise.
8553 * elf/dl-cache.c: Likewise.
8554 * elf/dl-debug.c: Likewise.
8555 * elf/dl-object.c: Likewise.
8556 * grp/initgroups.c: Likewise.
8557 * hurd/Makefile: Likewise.
8558 * hurd/hurd/signal.h: Likewise.
8559 * hurd/hurdfault.c: Likewise.
8560 * hurd/hurdioctl.c: Likewise.
8561 * hurd/hurdlookup.c: Likewise.
8562 * hurd/intr-msg.c: Likewise.
8563 * iconv/gconv_open.c: Likewise.
8564 * libio/swprintf.c: Likewise.
8565 * locale/lc-ctype.c: Likewise.
8566 * locale/nl_langinfo.c: Likewise.
8567 * mach/Machrules: Likewise.
8568 * mach/Makefile: Likewise.
8569 * malloc/obstack.h: Likewise.
8570 * manual/Makefile: Likewise.
8571 * manual/tsort.awk: Likewise.
8572 * misc/bits/stab.def: Likewise.
8573 * nis/nis_print_group_entry.c: Likewise.
8574 * nis/nis_table.c: Likewise.
8575 * nis/nss_compat/compat-pwd.c: Likewise.
8576 * nis/nss_compat/compat-spwd.c: Likewise.
8577 * po/Makefile: Likewise.
8578 * posix/fnmatch.c: Likewise.
8579 * posix/regex.h: Likewise.
8580 * resolv/Makefile: Likewise.
8581 * resolv/nss_dns/dns-network.c: Likewise.
8582 * resolv/res_hconf.c: Likewise.
8583 * scripts/gen-sorted.awk: Likewise.
8584 * soft-fp/soft-fp.h: Likewise.
8585 * stdio-common/printf.h: Likewise.
8586 * stdlib/monetary.h: Likewise.
8587 * stdlib/random.c: Likewise.
8588 * stdlib/random_r.c: Likewise.
8589 * sysdeps/generic/Makefile: Likewise.
8590 * sysdeps/gnu/Makefile: Likewise.
8591 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8592 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8593 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8594 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8595 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8596 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8597 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8598 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8599 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8600 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8601 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8602 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8603 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8604 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8605 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8606 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8607 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8608 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8609 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8610 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8611 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8612 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8613 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8614 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8615 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8616 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8617 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8618 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8619 * sysdeps/mach/hurd/errnos.awk: Likewise.
8620 * sysdeps/mach/hurd/fork.c: Likewise.
8621 * sysdeps/mach/hurd/getcwd.c: Likewise.
8622 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8623 * sysdeps/mach/hurd/mmap.c: Likewise.
8624 * sysdeps/mach/hurd/utimes.c: Likewise.
8625 * sysdeps/mach/hurd/xmknod.c: Likewise.
8626 * sysdeps/posix/profil.c: Likewise.
8627 * sysdeps/posix/readdir_r.c: Likewise.
8628 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8629 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8630 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8631 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8632 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8633 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8634 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8635 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8636 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8637 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8638 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8639 * sysdeps/pthread/lio_listio.c: Likewise.
8640 * sysdeps/sparc/dl-procinfo.h: Likewise.
8641 * sysdeps/unix/i386/sysdep.S: Likewise.
8642 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8643 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8644 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8645 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8647 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8648 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8649 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8650 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8651 * sysdeps/wordsize-32/divdi3.c: Likewise.
8652 * time/sys/time.h: Likewise.
8653 * wcsmbs/Makefile: Likewise.
8654
0549fbba
DM
86552013-01-01 David S. Miller <davem@davemloft.net>
8656
a141f1a7
DM
8657 * po/fr.po: Update from translation team.
8658
0549fbba
DM
8659 * catgets/gencat.c: Update copyright year.
8660 * csu/version.c: Likewise.
8661 * debug/catchsegv.sh: Likewise.
8662 * debug/pcprofiledump.c: Likewise.
8663 * debug/xtrace.sh: Likewise.
8664 * elf/ldconfig.c: Likewise.
8665 * elf/ldd.bash.in: Likewise.
8666 * elf/pldd.c: Likewise.
8667 * elf/sotruss.ksh: Likewise.
8668 * elf/sprof.c: Likewise.
8669 * iconv/iconv_prog.c: Likewise.
8670 * iconv/iconvconfig.c: Likewise.
8671 * locale/programs/locale.c: Likewise.
8672 * locale/programs/localedef.c: Likewise.
8673 * login/programs/pt_chown.c: Likewise.
8674 * malloc/memusage.sh: Likewise.
8675 * malloc/memusagestat.c: Likewise.
8676 * malloc/mtrace.pl: Likewise.
8677 * nscd/nscd.c: Likewise.
8678 * nss/getent.c: Likewise.
8679 * nss/makedb.c: Likewise.
8680 * posix/getconf.c: Likewise.
8681
18ea052c
SP
86822012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8683
8684 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8685 numbers.
8686
9c89fca6
MF
86872012-12-30 Mike Frysinger <vapier@gentoo.org>
8688
8689 * math/bits/mathcalls.h (modf): Use __nonnull.
8690
085ec079
SP
86912012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8692
8693 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8694 (split): Use macro CN instead of the bare value.
8695 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8696 could be used.
8697 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8698 instead of the bare value.
8699 (power1): Likewise.
8700
6d9f97e1
SP
87012012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8702
d63f73be
SP
8703 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8704 __ATAN_TWOM.
8705 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8706
6d9f97e1
SP
8707 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8708 their values.
8709 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8710 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8711 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8712 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8713
4c4febf5
AJ
87142012-12-28 Andreas Jaeger <aj@suse.de>
8715
af5843ef
AJ
8716 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8717 values are from Linux 3.7.
8718
4c4febf5
AJ
8719 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8720 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8721
99136f82
SP
87222012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8723
2f216c3c 8724 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
8725 TRUE case.
8726
99136f82
SP
8727 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8728 (norm): Likewise.
8729 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8730 variables with preprocessor constants.
8731 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8732 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8733 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8734
7fffbdff
BH
87352012-12-27 Bruno Haible <bruno@clisp.org>
8736
8737 [BZ #14317]
8738 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8739 only if needed.
8740
b76eb5f0
SP
87412012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8742
31a7fe5c
SP
8743 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8744 and use variable directly.
8745 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8746
b76eb5f0
SP
8747 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8748 MPONE.
8749 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8750 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8751 variable MPONE.
8752 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8753 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8754 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8755 include directive. Remove local variable MPONE.
8756 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8757 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8758 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8759
2c8bfe7d
DM
87602012-12-25 David S. Miller <davem@davemloft.net>
8761
8762 * version.h (RELEASE): Set to "development".
8763 (VERSION): Set to "2.17.90".
8764 * NEWS: Add 2.18 section.
8765
147d03b0
DM
87662012-12-21 David S. Miller <davem@davemloft.net>
8767
8768 * po/hr.po: Update from translation team.
8769
a8ebb2b9
AK
87702012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8771
8772 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8773
95b4f1b6
SE
87742012-12-19 Steve Ellcey <sellcey@mips.com>
8775
b2d94007 8776 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 8777
cedb2a90
MS
87782012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8779
8780 * manual/contrib.texi (Contributors): Spelling correction.
8781
bbf527d6
DM
87822012-12-15 David S. Miller <davem@davemloft.net>
8783
8784 * po/ru.po: Update from translation team.
8785
bc38c906
DM
87862012-12-13 David S. Miller <davem@davemloft.net>
8787
85429b1a
DM
8788 * NEWS: Mention IFUNC testsuite enhancements.
8789
d283e353
DM
8790 * po/pl.po: Update from translation team.
8791 * po/bg.po: Likewise.
8792
bc38c906
DM
8793 * manual/contrib.texi (Contributors): Update entries for Hongjiu
8794 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
8795
a181b0d7
DM
87962012-12-11 David S. Miller <davem@davemloft.net>
8797
4641d57e
DM
8798 * po/sv.po: Update from translation team.
8799
f7bc6495
DM
8800 * po/vi.po: Update from translation team.
8801
6fc9048f
DM
8802 * po/cs.po: Update from translation team.
8803
a181b0d7
DM
8804 * po/de.po: Update from translation team.
8805 * po/eo.po: Likewise.
8806 * po/nl.po: Likewise.
8807
f70bfe80
SP
88082012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8809
3c8b4190
SP
8810 [BZ #14246]
8811 * manual/argp.texi (Argp Helper Functions): Move node to follow
8812 Argp Parsing State.
8813
f70bfe80
SP
8814 [BZ #14872]
8815 * manual/conf.texi (Limits on File System Capacity): Mention if
8816 terminating null is included in the max size.
8817
188f0adf
AJ
88182012-12-10 Andreas Jaeger <aj@suse.de>
8819
8820 * po/cs.po: Update from translation team.
8821
56e7d3ad
SP
88222012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8823
8824 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8825 void pointer and cast to uintptr_t.
8826 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8827 path.
8828 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8829 * sysdeps/s390/s390-64/memset.S: Likewise.
8830
76f2d2ea 88312012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
8832
8833 [BZ #14833]
8834 * menual/message.texi (Message Translation): Fix typos.
8835 (Helper programs for gettext): Likewise.
8836
67cbf9a2
AS
88372012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8838
8839 [BZ #14898]
8840 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8841 Change to -1.
8842
682d0e9a
DM
88432012-12-07 David S. Miller <davem@davemloft.net>
8844
8845 * po/libc.pot: Update.
8846
573cd484
RH
88472012-12-07 Richard Henderson <rth@redhat.com>
8848
7e9da188 8849 [BZ #10114]
573cd484
RH
8850 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8851 normal/normal case to before the switch.
8852 (_FP_DIV): Likewise.
8853
e933a943
MF
88542012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8855 Mike Frysinger <vapier@gentoo.org>
8856
8857 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8858 check for __NR_fadvise64_64.
8859
82123268
CM
88602012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8861
8862 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8863 0, not just to plain "0" as a statement.
8864 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8865 with cw.
8866
d9814526
JM
88672012-12-06 Joseph Myers <joseph@codesourcery.com>
8868
8869 * NEWS: Use sourceware.org in Bugzilla URL.
8870
7728c574
SP
88712012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8872
f16946dd
SP
8873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8874 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8875
5704bbcb
SP
8876 * stdio-common/tst-put-error.c (do_test): Add newline to the
8877 padded test to ensure flush.
8878
17aa0516
JL
88792012-12-05 Jeff Law <law@redhat.com>
8880
8881 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8882
363313b5
JM
88832012-12-05 Joseph Myers <joseph@codesourcery.com>
8884
effbd42a
JM
8885 * README: Don't refer to ports add-on as distributed separately.
8886 Mention AArch64 in list of systems supported in the ports add-on.
8887
87600365
JM
8888 * LICENSES: Add more non-FSF copyright and license notices.
8889
a0d7066a
JM
8890 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8891 ((unused)).
8892
66ca5a5b
JM
8893 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8894
363313b5
JM
8895 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8896 10000 as width of padded output.
8897
b37984ad
JM
88982012-12-04 Joseph Myers <joseph@codesourcery.com>
8899
9003570a
JM
8900 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8901
b37984ad
JM
8902 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8903 variable LX with __attribute__ ((unused)).
8904 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8905 Likewise.
8906 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8907 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8908 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8909 with __attribute__ ((unused)).
8910
c8df52ec
DM
89112012-12-04 David S. Miller <davem@abraco.davemloft.net>
8912
8913 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8914
b3b099af
JM
89152012-12-04 Joseph Myers <joseph@codesourcery.com>
8916
c33aa6e3
JM
8917 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8918 (CFLAGS-nldbl-acos.c): New variable.
8919 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8920 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8921 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8922 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8923 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8924 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8925 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8926 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8927 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8928 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8929 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8930 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8931 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8932 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8933 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8934 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8935 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8936 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8937 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8938 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8939 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8940 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8941 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8942 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8943 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8944 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8945 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8946 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8947 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8948 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8949 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8950 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8951 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8952 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8953 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8954 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8955 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8956 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8957 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8958 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8959 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8960 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8961 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8962 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8963 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8964 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8965 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8966 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8967 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8968 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8969 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8970 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8971 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8972 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8973 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8974 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8975 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8976 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8977 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8978 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8979 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8980 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8981 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8982 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8983 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8984 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8985 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8986 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8987 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8988 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8989 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8990 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8991 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8992 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8993 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8994 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8995 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8996 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8997 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8998 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8999 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9000 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9001 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9002 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9003 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9004 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9005 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9006 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9007 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9008 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9009 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9010 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9011 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9012 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9013 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9014 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9015 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9016
20f0018d
JM
9017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9018 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9019
b3b099af
JM
9020 [BZ #14914]
9021 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9022 whole low double instead of just low 47 bits when splitting values
9023 into two parts.
9024
029264d1
AM
90252012-12-03 Allan McRae <allan@archlinux.org>
9026
9027 * manual/stdio.texi (Predefined Printf Handlers): Remove
9028 @hsep and @vsep usage.
9029
c9d6789e
MF
90302012-12-03 Mike Frysinger <vapier@gentoo.org>
9031
9032 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9033 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9034
4b7634a5
JL
90352012-12-03 Jeff Law <law@redhat.com>
9036
9037 * time/sys/time.h (settimeofday): Do not mark TV argument
9038 as __nonnull.
9039
eb6cbd24
MF
90402012-12-01 Mike Frysinger <vapier@gentoo.org>
9041
9042 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9043 when currently writing and seek to current position when not.
9044 * libio/Makefile (tests): Remove bug-fclose1.
9045 * libio/bug-fclose1.c: Delete.
9046
f638872a
JM
90472012-12-01 Joseph Myers <joseph@codesourcery.com>
9048
9049 * manual/arith.texi (feenableexcept): Fix typo.
9050 (fedisableexcept): Likewise.
9051
48085d14
RM
90522012-11-30 Roland McGrath <roland@hack.frob.com>
9053
9054 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9055 second, differently-typed declaration, rather than a cast.
9056
1a538b9f
SP
90572012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9058
9059 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9060 * include/rpc/svc.h: ... here.
9061
d07f2ff1 90622012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
9063
9064 [BZ #13013]
9065 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9066 depending n and resplen2 to catch cases where answer
9067 equals answerp2.
9068
c93ec1f0
CD
90692012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9070
9071 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9072 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9073
37db69de
MF
90742012-11-29 Mike Frysinger <vapier@gentoo.org>
9075
9076 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9077
e10c4e4f
RM
90782012-11-29 Roland McGrath <roland@hack.frob.com>
9079
9080 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9081
2af1b328
JL
90822012-11-28 Jeff Law <law@redhat.com>
9083
9084 [BZ #13761]
9085 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9086 dataset_temporary. Track alloca usage into alloca_used.
9087 If dataset is large allocate and release it via malloc/free.
9088
111db5b1
FW
90892012-06-04 Florian Weimer <fweimer@redhat.com>
9090
f06cc227 9091 [BZ #14197]
111db5b1
FW
9092 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9093
dd694abd
DM
90942012-11-28 David S. Miller <davem@davemloft.net>
9095
9096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9097
9984dd01
JM
90982012-11-28 Joseph Myers <joseph@codesourcery.com>
9099
9100 [BZ #14803]
9101 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9102 of pi/2 rounded to nearest to 64 bits.
9103 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9104 nearest to 64 bits.
9105 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9106 bits.
9107
14bc93a9
JL
91082012-11-28 Jeff Law <law@redhat.com>
9109 Martin Osvald <mosvald@redhat.com>
9110
9111 [BZ #14889]
9112 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9113 * sunrpc/svc.c: Include time.h.
9114 (__svc_accept_failed): New function.
9115 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9116 any reason other than EINTR, call __svc_accept_failed.
9117 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9118 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9119
e3c6aa3a
AS
91202012-11-28 Andreas Schwab <schwab@suse.de>
9121
9122 * scripts/abilist.awk: Also handle indirect functions in .opd
9123 section.
9124
1bead169
JM
91252012-11-28 Joseph Myers <joseph@codesourcery.com>
9126
9127 [BZ #13881]
9128 * sysdeps/x86/fpu/powl_helper.c: New file.
9129 * sysdeps/x86/fpu/Makefile: Likewise.
9130 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9131 (p3): New object.
9132 (__ieee754_powl): Use __powl_helper for finite arguments except
9133 integer exponents below 8.
9134 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9135 (p3): New object.
9136 (__ieee754_powl): Use __powl_helper for finite arguments except
9137 integer exponents below 8.
9138 * math/libm-test.inc (pow_test): Add more tests and enable some
9139 previously disabled tests.
9140 * sysdeps/i386/fpu/libm-test-ulps: Update.
9141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9142
0817d63d
SP
91432012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9144 Carlos O'Donell <carlos_odonell@mentor.com>
9145
9146 * nss/makedb.c (is_prime): Assert that input is odd and greater
9147 than 4. Note that fact in a comment too.
9148 (next_prime): Add 4 to input.
9149
de2fd463
SP
91502012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9151
9152 [BZ #11741]
9153 * libio/Makefile (tests): Add test case tst-fwrite-error.
9154 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9155 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9156 * libio/tst-fwrite-error.c: New test case.
9157
c515fb51
L
91582012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9159
9160 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9161 before casting to void *.
9162 * include/libc-internal.h (__pointer_type): New macro.
9163 (__integer_if_pointer_type_sub): Likewise.
9164 (__integer_if_pointer_type): Likewise.
9165 (cast_to_integer): Likewise.
9166 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9167 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9168 before casting to atomic64_t.
9169 (atomic_exchange_acq): Likewise.
9170 (__arch_exchange_and_add_body): Likewise.
9171 (__arch_add_body): Likewise.
9172 (atomic_add_negative): Likewise.
9173 (atomic_add_zero): Likewise.
9174
4cf77aa9
JM
91752012-11-26 Joseph Myers <joseph@codesourcery.com>
9176
9177 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9178 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9179 (add_fdes): Likewise.
9180 (linear_search_fdes): Likewise.
9181 (binary_search_unencoded_fdes): Likewise.
9182
d260b3b4
AS
91832012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9184
9185 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9186
67060746
AC
91872012-11-24 Adam Conrad <adconrad@0c3.net>
9188
9189 * configure.in: Autodetect C++ header directories.
9190 * configure: Regenerated.
9191
800938a1
MF
91922012-11-23 Mike Frysinger <vapier@gentoo.org>
9193
9194 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9195
4e6e34e6
AS
91962012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9197
9198 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9199
7c7feb47
JM
92002012-11-22 Joseph Myers <joseph@codesourcery.com>
9201
7184dcdf
JM
9202 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9203 LDBL_MANT_DIG == 106]: Disable some tests.
9204 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9205 Likewise.
9206 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9207 Likewise.
9208
0a42601f
JM
9209 [BZ #14871]
9210 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9211 input for small inputs. Return +/- pi/2 for large inputs.
9212 * math/libm-test.inc (atan_test): Add more tests.
9213
79c9b9fe
JM
9214 * sysdeps/generic/unwind-dw2-fde-glibc.c
9215 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9216 __attribute__ ((unused)).
9217
c60d3bf2
JM
9218 [BZ #14645]
9219 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9220 x * y if x and y are nonzero and z is zero.
9221
ef1e0867
JM
9222 [BZ #14811]
9223 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9224 nonzero exponents with absolute value below 0x1p-117 to +/-
9225 0x1p-117.
9226
1468ded3
JM
9227 [BZ #14869]
9228 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9229 up arguments below 2**-450, not just those below 2**-500.
9230 * math/libm-test.inc (hypot_test): Add another test.
9231
8e27e3cc
JM
9232 [BZ #14868]
9233 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9234 Return a+b for ratio over 2**120, not 2**60.
9235 * math/libm-test.inc (hypot_test): Add another test.
9236
c9c0279b
JM
9237 * math/libm-test.inc (clog_test): Use
9238 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9239 (clog10_test): Likewise.
9240
7c7feb47
JM
9241 [BZ #6778]
9242 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9243
fff1530e
AS
92442012-11-22 Andreas Schwab <schwab@suse.de>
9245
9246 * sysdeps/i386/fpu/libm-test-ulps: Update.
9247
94558d30
PT
92482012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9249
9250 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9251 printf output with newline.
9252
7e1be741
L
92532012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9254
6bfea974
L
9255 [BZ #14865]
9256 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9257 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9258 -z nodlopen, -z initfirst and -z execstack support.
9259 * configure: Regenerated.
9260
7e1be741
L
9261 * elf/elf.h (DF_1_NODIRECT): New macro.
9262 (DF_1_IGNMULDEF): Likewise.
9263 (DF_1_NOKSYMS): Likewise.
9264 (DF_1_NOHDR): Likewise.
9265 (DF_1_EDITED): Likewise.
9266 (DF_1_NORELOC): Likewise.
9267 (DF_1_SYMINTPOSE): Likewise.
9268 (DF_1_GLOBAUDIT): Likewise.
9269 (DF_1_SINGLETON): Likewise.
9270 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9271 DT_1_SUPPORTED_MASK bits.
9272 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9273
105ce2ce
CD
92742012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
9275
9276 * sysdeps/unix/make-syscalls.sh: Document prefixes.
9277
123be9de
TS
92782012-11-20 Thomas Schwinge <thomas@codesourcery.com>
9279
d072f3f7
TS
9280 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9281 macro.
9282
123be9de
TS
9283 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9284 (sendmmsg): Move declarations...
9285 * socket/sys/socket.h: ... here.
9286 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9287 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9288 include it from...
9289 * socket/recvmmsg.c: ... this new file.
9290 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9291 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9292 definition of __sendmmsg hidden.
9293 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9294 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9295 Move ENOSYS stub into and include it from...
9296 * socket/sendmmsg.c: ... this new file.
9297 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9298 (sysdep_routines): Move recvmmsg and sendmmsg...
9299 * socket/Makefile (routines): ... here.
9300 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9301 (GLIBC_PRIVATE): Add __sendmmsg.
9302 * include/sys/socket.h (__sendmmsg): Add declarations.
9303 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9304 sendmmsg.
9305
cf9a5d18
JM
93062012-11-20 Joseph Myers <joseph@codesourcery.com>
9307
9308 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9309 variable I1 with __attribute__ ((unused)).
9310 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9311
ecd4caf9
JM
93122012-11-19 Joseph Myers <joseph@codesourcery.com>
9313
be14d48f
JM
9314 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9315 DUMMY variables with __attribute__ ((unused)).
9316
ecd4caf9
JM
9317 * bits/byteswap.h: Include <bits/types.h>.
9318 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9319
986cab95
PT
93202012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9321
9322 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9323 string_t. Do not manually set errno.
9324 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9325 length with __strnlen. Make sure to both set errno and return it on
9326 failure.
9327
6d33cc9d
DM
93282012-11-19 David S. Miller <davem@davemloft.net>
9329
9330 With help from Joseph Myers.
9331 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9332 very large arguments properly.
9333 * math/libm-test.inc (atan_test): New tests.
9334 (atan2_test): New tests.
9335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9336 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9337
ee663277
JM
93382012-11-19 Joseph Myers <joseph@codesourcery.com>
9339
877f2d8e
JM
9340 [BZ #14856]
9341 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9342 Define to 3.
9343
116fc08a
JM
9344 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9345 [POSIX] (EADDRNOTAVAIL): Likewise.
9346 [POSIX] (EAFNOSUPPORT): Likewise.
9347 [POSIX] (EALREADY): Likewise.
9348 [POSIX] (ECONNABORTED): Likewise.
9349 [POSIX] (ECONNREFUSED): Likewise.
9350 [POSIX] (ECONNRESET): Likewise.
9351 [POSIX] (EDESTADDRREQ): Likewise.
9352 [POSIX] (EDQUOT): Likewise.
9353 [POSIX] (EHOSTUNREACH): Likewise.
9354 [POSIX] (EIDRM): Likewise.
9355 [POSIX] (EISCONN): Likewise.
9356 [POSIX] (ELOOP): Likewise.
9357 [POSIX] (EMULTIHOP): Likewise.
9358 [POSIX] (ENETDOWN): Likewise.
9359 [POSIX] (ENETUNREACH): Likewise.
9360 [POSIX] (ENOBUFS): Likewise.
9361 [POSIX] (ENODATA): Likewise.
9362 [POSIX] (ENOLINK): Likewise.
9363 [POSIX] (ENOMSG): Likewise.
9364 [POSIX] (ENOPROTOOPT): Likewise.
9365 [POSIX] (ENOSR): Likewise.
9366 [POSIX] (ENOSTR): Likewise.
9367 [POSIX] (ENOTCONN): Likewise.
9368 [POSIX] (ENOTSOCK): Likewise.
9369 [POSIX] (EOPNOTSUPP): Likewise.
9370 [POSIX] (EOVERFLOW): Likewise.
9371 [POSIX] (EPROTO): Likewise.
9372 [POSIX] (EPROTONOSUPPORT): Likewise.
9373 [POSIX] (EPROTOTYPE): Likewise.
9374 [POSIX] (ESTALE): Likewise.
9375 [POSIX] (ETIME): Likewise.
9376 [POSIX] (ETXTBSY): Likewise.
9377 [POSIX] (EWOULDBLOCK): Likewise.
9378 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9379 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9380 [POSIX] (SEEK_CUR): Likewise.
9381 [POSIX] (SEEK_END): Likewise.
9382 [POSIX || UNIX98] (mode_t): Do not require.
9383 [POSIX] (off_t): Likewise.
9384 [POSIX] (pid_t): Likewise.
9385 [POSIX] (sys/stat.h): Do not allow header.
9386 [POSIX] (unistd.h): Likewise.
9387 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9388 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9389 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9390 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9391 require.
9392 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9393 sigevent): Specify elements.
9394 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9395 entry.
9396 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9397 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9398
a483863f
JM
9399 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9400 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9401 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9402 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9403 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9404 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9405 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9406 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9407 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9408 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9409 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9410 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9411 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9412 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9413 Likewise.
9414 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9415 Likewise.
9416 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9417 Likewise.
9418 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9419 Likewise.
9420 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9421 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9422 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9423 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9424 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9425 Specify lower bound on value.
9426 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9427 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9428 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9429 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9430 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9431 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9432 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9433 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9434 value.
9435 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9436 as optional.
9437 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9438 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9439 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9440 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9441 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9442 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9443 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9444 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9445 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9446 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9447 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9448 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9449 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9450 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9451 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9452 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9453 entry.
9454 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9455 optional.
9456 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9457 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9458 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9459 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9460 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9461 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9462 Likewise.
9463 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9464 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9465 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9466 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9467 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9468 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9469 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9470 as optional.
9471 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9472 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9473 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9474 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9475 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9476 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9477 specify as optional.
9478 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9479 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9480 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9481 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9482 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9483 [XPG3] (NL_LANGMAX): Likewise.
9484 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9485 [POSIX || XPG3] (NL_NMAX): Likewise.
9486 [POSIX || XPG3] (NL_SETMAX): Likewise.
9487 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9488 [XPG3] (NZERO): Likewise.
9489 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9490 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9491 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9492 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9493 (REG_ERANGE): Expect.
9494 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9495 optional-constant.
9496 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9497 Use (void) in prototype.
9498 [POSIX] (*_t): Allow.
9499 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9500 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9501 (WRDE_BADVAL): Expect.
9502
5ba924e3
JM
9503 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9504 expect.
9505 [XPG3 || XPG4] (O_RSYNC): Likewise.
9506 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9507 Likewise.
9508 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9509 [XPG3 || XPG4] (sigqueue): Likewise.
9510 [XPG3 || XPG4] (sigtimedwait): Likewise.
9511 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9512 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9513 [XPG3 || XPG4] (vsnprintf): Likewise.
9514 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9515 Likewise.
9516 [XPG3 || XPG4] (blksize_t): Likewise.
9517 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9518 Likewise.
9519 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9520 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9521 [XPG3 || XPG4] (struct itimerspec): Likewise.
9522 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9523 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9524 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9525 [XPG3 || XPG4] (clockid_t): Likewise.
9526 [XPG3 || XPG4] (timer_t): Likewise.
9527 [XPG3 || XPG4] (clock_getres): Likewise.
9528 [XPG3 || XPG4] (clock_gettime): Likewise.
9529 [XPG3 || XPG4] (clock_settime): Likewise.
9530 [XPG3 || XPG4] (nanosleep): Likewise.
9531 [XPG3 || XPG4] (timer_create): Likewise.
9532 [XPG3 || XPG4] (timer_delete): Likewise.
9533 [XPG3 || XPG4] (timer_gettime): Likewise.
9534 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9535 [XPG3 || XPG4] (timer_settime): Likewise.
9536 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9537 [XPG3 || XPG4] (getlogin_r): Likewise.
9538 [XPG3 || XPG4] (pread): Likewise.
9539 [XPG3 || XPG4] (pthread_atfork): Likewise.
9540 [XPG3 || XPG4] (pwrite): Likewise.
9541
ee663277
JM
9542 [BZ #14835]
9543 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9544 <bits/siginfo.h>.
9545
942caa16
PT
95462012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9547
e19af380
PT
9548 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9549 finalizing MALLSTREAM.
9550
942caa16
PT
9551 * sysdeps/mach/hurd/syncfs.c: New file.
9552
cfde9b46
SP
95532012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9554
9555 [BZ #14719]
9556 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9557 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9558 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9559 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9560 (_nss_dns_gethostbyname4_r): Likewise.
9561 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9562 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9563
f6da27e5
PH
95642012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9565
9566 [BZ #13763]
9567 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9568
6665d4a2
SM
95692012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9570
1f51ee92
SM
9571 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9572 * elf/cache.c (print_entry): Print ",AArch64" for
9573 FLAG_AARCH64_LIB64
9574
6665d4a2
SM
9575 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9576 * elf/cache.c (print_entry): Print ",hard-float" for
9577 FLAG_ARM_LIBHF.
9578
05b227bd
DM
95792012-11-18 David S. Miller <davem@davemloft.net>
9580
9581 With help from Joseph Myers.
9582 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9583 cutoff to 2**-13.
9584 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9585 cutoff to 2**-25.
9586 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9587 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9588 small.
9589 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9590 * math/libm-test.inc (y0_test): New tests.
9591 (y1_test): New tests.
9592 * sysdeps/i386/fpu/libm-test-ulps: Update.
9593 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9595
786b0b67
AS
95962012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9597
9598 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9599 64-bit targets.
9600 * configure: Regenerated.
9601
8e18b86d
DM
96022012-11-17 David S. Miller <davem@davemloft.net>
9603
9604 [BZ #14811]
9605 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9606 nonzero exponents with absolute value below 0x1p-128 to +/-
9607 0x1p-128.
9608
531f1ae0
JM
96092012-11-17 Joseph Myers <joseph@codesourcery.com>
9610
12df29e2
JM
9611 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9612
150dc1a0
JM
9613 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9614
531f1ae0
JM
9615 * posix/getconf-speclist.c: New file.
9616 * posix/posix-envs.def: Likewise.
9617 * posix/confstr.c (START_ENV_GROUP): New macro.
9618 (END_ENV_GROUP): Likewise.
9619 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9620 (KNOWN_PRESENT_ENV_STRING): Likewise.
9621 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9622 (UNKNOWN_ENVIRONMENT): Likewise.
9623 (confstr): Include posix-envs.def instead of handling
9624 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9625 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9626 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9627 (END_ENV_GROUP): Likewise.
9628 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9629 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9630 (UNKNOWN_ENVIRONMENT): Likewise.
9631 (__sysconf): Include posix-envs.def instead of handling associated
9632 cases directly here.
9633 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9634 preprocessing getconf-speclist.c rather than running getconf or
9635 generating empty file.
9636
a93f9cbc
PT
96372012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9638
9639 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9640
d64d9f87
AL
96412012-11-16 Andrej Lajovic <natrij@gmail.com>
9642
9643 [BZ #14672]
9644 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9645
447885eb
DM
96462012-11-16 David S. Miller <davem@davemloft.net>
9647
9648 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9649 smaller than LDBL_EPSILON/2.0L, just return xm1.
9650
bcbf9830
L
96512012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9652
9653 * elf/tst-array1.c (init): Set constructor priority to 1000.
9654 (fini): Set destructor priority to 1000.
9655 * elf/tst-array2dep.c: Likewise.
9656
2b766585
SP
96572012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9658
9659 [BZ #11741]
9660 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9661 (_IO_new_file_xsputn): Also return EOF if none of the input
9662 data was written when overflow failed.
9663 * libio/iopadn.c (_IO_padn): Likewise.
9664 * libio/iowpadn.c (_IO_wpadn): Likewise.
9665 * stdio-common/tst-put-error.c: Add copyright notice.
9666 (do_test): Add case for printing padded string.
9667 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9668 _IO_padn returned error.
9669 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9670 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9671 return EOF.
9672
b1848fde
SP
96732012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9674
9675 * libio/libioP.h: Add comment note that the references to C++
9676 bits are now obsolete.
9677
2fd89785
MS
96782012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9679
9680 * math/libm-test.inc (check_complex): Use asprintf.
9681
e3ea5409
JM
96822012-11-14 Joseph Myers <joseph@codesourcery.com>
9683
9684 * debug/pcprofiledump.c (print_version): Update copyright year.
9685 * malloc/memusagestat.c (print_version): Likewise.
9686
2e64d265
L
96872012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9688
9689 [BZ #14831]
9690 * elf/Makefile (tests): Add tst-audit8.
9691 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9692 ($(objpfx)tst-audit8.out): New target.
9693 (tst-audit8-ENV): New variable.
9694 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9695 audit if l_reloc_result is NULL.
9696 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9697 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9698 * elf/tst-audit8.c: New file.
9699
c485e4d2
MS
97002012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9701
9702 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9703 * misc/Makefile (CFLAGS-select.c): Define.
9704 * posix/Makefile (CFLAGS-pause.c): Define.
9705
3a0d900a
DM
97062012-11-13 David S. Miller <davem@davemloft.net>
9707
9708 * crypt/Makefile: Move test targets after toplevel Rules
9709 inclusion. Grab any necessary sysdep routines when linking.
9710 * crypt/md5.c (md5_process_block): Remove define, we will always
9711 name it __md5_process_block.
9712 (md5_finish_ctx): Update md5_process_block call.
9713 (md5_stream): Likewise.
9714 (md5_process_bytes): Likewise.
9715 (md5_process_block): Rename to __md5_process_block and move to ...
9716 * crypt/md5-block.c: ... here.
9717 * crypt/sha256.c (sha256_process_block): Move to ...
9718 * crypt/sha256-block.c: ... here.
9719 * crypt/sha512.c (sha512_process_block): Move to ...
9720 * crypt/sha512-block.c: ... here.
9721 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9722 path.
9723 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9724 * sysdeps/sparc/sparc64/multiarch/Makefile
9725 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9726 crypt subdir.
9727 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9728 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9729 multiarch changes.
9730 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9731 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9732 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9733 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9734 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9735 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9736 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9737 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9738 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9739 file.
9740 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9741 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9742 file.
9743 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9744
8ca89318
JM
97452012-11-13 Joseph Myers <joseph@codesourcery.com>
9746
e27d476a
JM
9747 * timezone/tzselect.ksh: Update from tzcode git revision
9748 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9749 * timezone/zdump.c: Likewise.
9750 * timezone/zic.c: Likewise.
9751 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9752 in TZVERSION setting, not $(PKGVERSION).
9753 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9754 REPORT_BUGS_TO settings.
9755
8ca89318
JM
9756 [BZ #14838]
9757 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9758 macro.
9759
47594329
MS
97602012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9761
9762 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9763 detection to immediately after _FP_ROUND().
9764 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9765 bits are 0.
9766
640ac3f1
DM
97672012-11-11 David S. Miller <davem@davemloft.net>
9768
9769 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9770 inttypes.h
9771 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9772 __close rather than their public counterparts.
9773
3d2577bb
JM
97742012-11-10 Joseph Myers <joseph@codesourcery.com>
9775
9776 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9777 file.
9778 [UNIX98] (sem_timedwait): Do not expect.
9779 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9780 [XPG4 || UNIX98] (sockatmark): Do not expect.
9781 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9782 (clock_getcpuclockid): Do not expect.
9783 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9784 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9785 Do not expect.
9786 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9787 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9788 [UNIX98] (vwscanf): Likewise.
9789 [UNIX98] (vswscanf): Likewise.
9790
fb1ae1ee
JM
97912012-11-09 Joseph Myers <joseph@codesourcery.com>
9792
9ec6f8bd
JM
9793 * timezone/version.h: Remove file.
9794 * timezone/README: Do not refer to version.h.
9795 * timezone/Makefile ($(objpfx)zic.o): New dependency on
9796 $(objpfx)version.h.
9797 ($(objpfx)zdump.o): Likewise.
c3f81911 9798 ($(objpfx)version.h): New target.
9ec6f8bd 9799
0aa8f8a1
JM
9800 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9801 2012i.
9802 * timezone/README: Don't mention modification to tzselect.ksh.
9803 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9804 work on unmodified tzselect.ksh. Substitute version numbers in
9805 tzselect.ksh.
9806
4e87147f
JM
9807 * Makefile (format-me): Remove.
9808 (INSTALL): Adjust indentation. Use commands directly instead of
9809 using $(format-me).
9810
8b748aed
JM
9811 * aclocal.m4 (ACX_PKGVERSION): New macro.
9812 (ACX_BUGURL): Likewise.
9813 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9814 (PKGVERSION): New AC_DEFINE_UNQUOTED.
9815 (REPORT_BUGS_TO): Likewise.
9816 * configure: Regenerated.
9817 * config.h.in (PKGVERSION): New macro.
9818 (REPORT_BUGS_TO): Likewise.
9819 * config.make.in (PKGVERSION): New variable.
9820 (PKGVERSION_TEXI): Likewise.
9821 (REPORT_BUGS_TO): Likewise.
9822 (REPORT_BUGS_TEXI): Likewise.
9823 * Makefile (format-me): Use -I$(common-objpfx)manual.
9824 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9825 ($(common-objpfx)manual/%): New target.
9826 (manual/%): Remove target.
9827 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9828 (print_version): Use PKGVERSION.
9829 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9830 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9831 and REPORT_BUGS_TO.
9832 ($(objpfx)xtrace): Likewise.
9833 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9834 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9835 (print_version): Use PKGVERSION.
9836 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9837 (do_version): Use PKGVERSION.
9838 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9839 REPORT_BUGS_TO.
9840 (common-ldd-rewrite): Likewise.
9841 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9842 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9843 (print_version): Use PKGVERSION.
9844 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9845 * elf/pldd.c (argp_program_bug_address): Remove variable.
9846 (more_help): New function.
9847 (argp): Use more_help.
9848 (print_version): Use PKGVERSION.
9849 * elf/sln.c (main): Use PKGVERSION.
9850 (usage): Use REPORT_BUGS_TO.
9851 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9852 (top level): Use PKGVERSION.
9853 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9854 (print_version): Use PKGVERSION.
9855 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9856 (print_version): Use PKGVERSION.
9857 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9858 (print_version): Use PKGVERSION.
9859 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9860 (print_version): Use PKGVERSION.
9861 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9862 (print_version): Use PKGVERSION.
9863 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9864 (print_version): Use PKGVERSION.
9865 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9866 and BUGURL.
9867 ($(objpfx)memusage): Likewise.
9868 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9869 (do_version): Use PKGVERSION.
9870 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9871 (print_version): Use PKGVERSION.
9872 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9873 ($PKGVERSION): New variable.
9874 ($REPORT_BUGS_TO): Likewise.
9875 (usage): Use $REPORT_BUGS_TO.
9876 (top level): Use $PKGVERSION.
9877 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9878 ($(objpfx)pkgvers.texi): New rule.
9879 ($(objpfx)stamp-pkgvers): Likewise.
9880 * manual/install.texi: Include pkgvers.texi.
9881 (--with-pkgversion): Document new configure option.
9882 (--with-bugurl): Likewise.
9883 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9884 than necessarily for this particular distribution. Use
9885 REPORT_BUGS_TO for where to report bugs.
9886 * INSTALL: Regenerated.
9887 * manual/libc.texinfo: Include pkgvers.texi.
9888 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9889 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9890 (print_version): Use PKGVERSION.
9891 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9892 (print_version): Use PKGVERSION.
9893 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9894 (print_version): Use PKGVERSION.
9895 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9896 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9897 macro.
9898 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9899 (print_version): Use PKGVERSION.
9900 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9901 (print_version): Use PKGVERSION.
9902 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9903 and PKGVERSION.
9904
92e4b6a9
JM
9905 * timezone/checktab.awk: Update from tzcode 2012i.
9906 * timezone/ialloc.c: Likewise.
9907 * timezone/private.h: Likewise.
9908 * timezone/scheck.c: Likewise.
9909 * timezone/tzfile.h: Likewise.
9910 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9911 (TZVERSION): Hardcode tzcode version number.
9912 * timezone/zdump.c: Update from tzcode 2012i.
9913 * timezone/zic.c: Likewise.
9914 * timezone/version.h: New file.
9915 * timezone/README: Describe version.h. Update upstream location.
9916
9bde902c
JM
9917 [BZ #14824]
9918 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9919 (mktemp): Enable declaration.
9920 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9921 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9922 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9923 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9924 Likewise.
9925 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9926 Likewise.
9927 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9928 Likewise.
9929 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9930 Likewise.
9931 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9932 Likewise.
9933 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9934 Likewise.
9935
fb1ae1ee
JM
9936 [BZ #14821]
9937 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9938 offset in buffer as u_int32_t not u_long. Consistently use memcpy
9939 for copies of such integer values.
9940 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9941 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9942
2c1adbcb
AJ
99432012-11-09 Andreas Jaeger <aj@suse.de>
9944
9945 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9946 definitions and declarations that are provided by
9947 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9948
d0f8457e
AK
99492012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9950
3a235abb 9951 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
9952 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9953 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9954 definition.
9955
57241e26
MS
99562012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9957
9958 * elf/elf.h: Update comment before AArch64 relocations.
9959
60e8270d
DM
99602012-11-07 David S. Miller <davem@davemloft.net>
9961
9962 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9963 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9964 (__start_context): Declare.
9965 (__makecontext_ret): Delete.
9966 (__makecontext): Hook up __start_context instead of
9967 __makecontext_ret.
9968 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9969 (sysdep_routines): Add __start_context when in stdlib.
9970
0fbb0fbc
JM
99712012-11-07 Joseph Myers <joseph@codesourcery.com>
9972
9973 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9974 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9975 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
9976 hardcoded "nm".
9977 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
9978 (READELF): New variable. Use it instead of hardcoded "readelf".
9979
eb48db7e
L
99802012-11-07 H.J. Lu <hongjiu.lu@intel.com>
9981
9982 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9983 * sysdeps/x86/Makefile: Here.
9984 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9985 * sysdeps/x86/tst-xmmymm.sh: This.
9986
05bcf62a
JM
99872012-11-07 Joseph Myers <joseph@codesourcery.com>
9988
c4b6cf53
JM
9989 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9990 expectations.
9991 [UNIX98] (pthread_barrier_t): Do not expect.
9992 [UNIX98] (pthread_barrierattr_t): Likewise.
9993 [UNIX98] (pthread_spinlock_t): Likewise.
9994 [UNIX98] (pthread_barrier_destroy): Likewise.
9995 [UNIX98] (pthread_barrier_init): Likewise.
9996 [UNIX98] (pthread_barrier_wait): Likewise.
9997 [UNIX98] (pthread_barrierattr_destroy): Likewise.
9998 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9999 [UNIX98] (pthread_barrierattr_init): Likewise.
10000 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10001 [UNIX98] (pthread_getcpuclockid): Likewise.
10002 [UNIX98] (pthread_mutex_timedlock): Likewise.
10003 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10004 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10005 [UNIX98] (pthread_sigmask): Likewise.
10006 [UNIX98] (pthread_spin_destroy): Likewise.
10007 [UNIX98] (pthread_spin_init): Likewise.
10008 [UNIX98] (pthread_spin_lock): Likewise.
10009 [UNIX98] (pthread_spin_trylock): Likewise.
10010 [UNIX98] (pthread_spin_unlock): Likewise.
10011 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10012 Do not expect.
10013 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10014 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10015 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10016 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10017 [XPG3 || XPG4] (pthread_key_t): Likewise.
10018 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10019 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10020 [XPG3 || XPG4] (pthread_once_t): Likewise.
10021 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10022 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10023 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10024 [XPG3 || XPG4] (pthread_t): Likewise.
10025
cbe6e120
JM
10026 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10027 not expect.
10028 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10029
1b126443
JM
10030 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10031 Change function return type to int.
10032
b961a573
JM
10033 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10034 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10035 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10036 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10037 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10038 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10039 [!POSIX] (posix_madvise): Likewise.
10040 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10041 && !UNIX98].
10042 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10043 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10044 (mode_t): Likewise.
10045 (posix_mem_offset): Likewise.
10046 (posix_typed_mem_get_info): Likewise.
10047 (posix_typed_mem_open): Likewise.
10048
9e188909
JM
10049 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10050 Change condition to [XOPEN2K8].
10051
05bcf62a
JM
10052 * conform/conformtest.pl: Preprocess allow-header data with -x c
10053 instead of from stdin.
10054 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10055 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10056 [C99-based standards] (cerfc): Likewise.
10057 [C99-based standards] (cexp2): Likewise.
10058 [C99-based standards] (cexpm1): Likewise.
10059 [C99-based standards] (clog10): Likewise.
10060 [C99-based standards] (clog1p): Likewise.
10061 [C99-based standards] (clog2): Likewise.
10062 [C99-based standards] (clgamma): Likewise.
10063 [C99-based standards] (ctgamma): Likewise.
10064 [C99-based standards] (cerff): Likewise.
10065 [C99-based standards] (cerfcf): Likewise.
10066 [C99-based standards] (cexp2f): Likewise.
10067 [C99-based standards] (cexpm1f): Likewise.
10068 [C99-based standards] (clog10f): Likewise.
10069 [C99-based standards] (clog1pf): Likewise.
10070 [C99-based standards] (clog2f): Likewise.
10071 [C99-based standards] (clgammaf): Likewise.
10072 [C99-based standards] (ctgammaf): Likewise.
10073 [C99-based standards] (cerfl): Likewise.
10074 [C99-based standards] (cerfcl): Likewise.
10075 [C99-based standards] (cexp2l): Likewise.
10076 [C99-based standards] (cexpm1l): Likewise.
10077 [C99-based standards] (clog10l): Likewise.
10078 [C99-based standards] (clog1pl): Likewise.
10079 [C99-based standards] (clog2l): Likewise.
10080 [C99-based standards] (clgammal): Likewise.
10081 [C99-based standards] (ctgammal): Likewise.
10082 * conform/data/inttypes.h-data [C99-based standards]: Include
10083 stdint.h-data. Remove all expectations for stdint.h contents.
10084 [C99-based standards] (PRI*): Do not allow.
10085 [C99-based standards] (SCN*): Likewise.
10086 [C99-based standards] (*_t): Likewise.
10087 [C99-based-standards] (PRId8): Expect macro.
10088 [C99-based-standards] (PRIi8): Likewise.
10089 [C99-based-standards] (PRIo8): Likewise.
10090 [C99-based-standards] (PRIu8): Likewise.
10091 [C99-based-standards] (PRIx8): Likewise.
10092 [C99-based-standards] (PRIX8): Likewise.
10093 [C99-based-standards] (SCNd8): Likewise.
10094 [C99-based-standards] (SCNi8): Likewise.
10095 [C99-based-standards] (SCNo8): Likewise.
10096 [C99-based-standards] (SCNu8): Likewise.
10097 [C99-based-standards] (SCNx8): Likewise.
10098 [C99-based-standards] (PRIdLEAST8): Likewise.
10099 [C99-based-standards] (PRIiLEAST8): Likewise.
10100 [C99-based-standards] (PRIoLEAST8): Likewise.
10101 [C99-based-standards] (PRIuLEAST8): Likewise.
10102 [C99-based-standards] (PRIxLEAST8): Likewise.
10103 [C99-based-standards] (PRIXLEAST8): Likewise.
10104 [C99-based-standards] (SCNdLEAST8): Likewise.
10105 [C99-based-standards] (SCNiLEAST8): Likewise.
10106 [C99-based-standards] (SCNoLEAST8): Likewise.
10107 [C99-based-standards] (SCNuLEAST8): Likewise.
10108 [C99-based-standards] (SCNxLEAST8): Likewise.
10109 [C99-based-standards] (PRIdFAST8): Likewise.
10110 [C99-based-standards] (PRIiFAST8): Likewise.
10111 [C99-based-standards] (PRIoFAST8): Likewise.
10112 [C99-based-standards] (PRIuFAST8): Likewise.
10113 [C99-based-standards] (PRIxFAST8): Likewise.
10114 [C99-based-standards] (PRIXFAST8): Likewise.
10115 [C99-based-standards] (SCNdFAST8): Likewise.
10116 [C99-based-standards] (SCNiFAST8): Likewise.
10117 [C99-based-standards] (SCNoFAST8): Likewise.
10118 [C99-based-standards] (SCNuFAST8): Likewise.
10119 [C99-based-standards] (SCNxFAST8): Likewise.
10120 [C99-based-standards] (PRId16): Likewise.
10121 [C99-based-standards] (PRIi16): Likewise.
10122 [C99-based-standards] (PRIo16): Likewise.
10123 [C99-based-standards] (PRIu16): Likewise.
10124 [C99-based-standards] (PRIx16): Likewise.
10125 [C99-based-standards] (PRIX16): Likewise.
10126 [C99-based-standards] (SCNd16): Likewise.
10127 [C99-based-standards] (SCNi16): Likewise.
10128 [C99-based-standards] (SCNo16): Likewise.
10129 [C99-based-standards] (SCNu16): Likewise.
10130 [C99-based-standards] (SCNx16): Likewise.
10131 [C99-based-standards] (PRIdLEAST16): Likewise.
10132 [C99-based-standards] (PRIiLEAST16): Likewise.
10133 [C99-based-standards] (PRIoLEAST16): Likewise.
10134 [C99-based-standards] (PRIuLEAST16): Likewise.
10135 [C99-based-standards] (PRIxLEAST16): Likewise.
10136 [C99-based-standards] (PRIXLEAST16): Likewise.
10137 [C99-based-standards] (SCNdLEAST16): Likewise.
10138 [C99-based-standards] (SCNiLEAST16): Likewise.
10139 [C99-based-standards] (SCNoLEAST16): Likewise.
10140 [C99-based-standards] (SCNuLEAST16): Likewise.
10141 [C99-based-standards] (SCNxLEAST16): Likewise.
10142 [C99-based-standards] (PRIdFAST16): Likewise.
10143 [C99-based-standards] (PRIiFAST16): Likewise.
10144 [C99-based-standards] (PRIoFAST16): Likewise.
10145 [C99-based-standards] (PRIuFAST16): Likewise.
10146 [C99-based-standards] (PRIxFAST16): Likewise.
10147 [C99-based-standards] (PRIXFAST16): Likewise.
10148 [C99-based-standards] (SCNdFAST16): Likewise.
10149 [C99-based-standards] (SCNiFAST16): Likewise.
10150 [C99-based-standards] (SCNoFAST16): Likewise.
10151 [C99-based-standards] (SCNuFAST16): Likewise.
10152 [C99-based-standards] (SCNxFAST16): Likewise.
10153 [C99-based-standards] (PRId32): Likewise.
10154 [C99-based-standards] (PRIi32): Likewise.
10155 [C99-based-standards] (PRIo32): Likewise.
10156 [C99-based-standards] (PRIu32): Likewise.
10157 [C99-based-standards] (PRIx32): Likewise.
10158 [C99-based-standards] (PRIX32): Likewise.
10159 [C99-based-standards] (SCNd32): Likewise.
10160 [C99-based-standards] (SCNi32): Likewise.
10161 [C99-based-standards] (SCNo32): Likewise.
10162 [C99-based-standards] (SCNu32): Likewise.
10163 [C99-based-standards] (SCNx32): Likewise.
10164 [C99-based-standards] (PRIdLEAST32): Likewise.
10165 [C99-based-standards] (PRIiLEAST32): Likewise.
10166 [C99-based-standards] (PRIoLEAST32): Likewise.
10167 [C99-based-standards] (PRIuLEAST32): Likewise.
10168 [C99-based-standards] (PRIxLEAST32): Likewise.
10169 [C99-based-standards] (PRIXLEAST32): Likewise.
10170 [C99-based-standards] (SCNdLEAST32): Likewise.
10171 [C99-based-standards] (SCNiLEAST32): Likewise.
10172 [C99-based-standards] (SCNoLEAST32): Likewise.
10173 [C99-based-standards] (SCNuLEAST32): Likewise.
10174 [C99-based-standards] (SCNxLEAST32): Likewise.
10175 [C99-based-standards] (PRIdFAST32): Likewise.
10176 [C99-based-standards] (PRIiFAST32): Likewise.
10177 [C99-based-standards] (PRIoFAST32): Likewise.
10178 [C99-based-standards] (PRIuFAST32): Likewise.
10179 [C99-based-standards] (PRIxFAST32): Likewise.
10180 [C99-based-standards] (PRIXFAST32): Likewise.
10181 [C99-based-standards] (SCNdFAST32): Likewise.
10182 [C99-based-standards] (SCNiFAST32): Likewise.
10183 [C99-based-standards] (SCNoFAST32): Likewise.
10184 [C99-based-standards] (SCNuFAST32): Likewise.
10185 [C99-based-standards] (SCNxFAST32): Likewise.
10186 [C99-based-standards] (PRId64): Likewise.
10187 [C99-based-standards] (PRIi64): Likewise.
10188 [C99-based-standards] (PRIo64): Likewise.
10189 [C99-based-standards] (PRIu64): Likewise.
10190 [C99-based-standards] (PRIx64): Likewise.
10191 [C99-based-standards] (PRIX64): Likewise.
10192 [C99-based-standards] (SCNd64): Likewise.
10193 [C99-based-standards] (SCNi64): Likewise.
10194 [C99-based-standards] (SCNo64): Likewise.
10195 [C99-based-standards] (SCNu64): Likewise.
10196 [C99-based-standards] (SCNx64): Likewise.
10197 [C99-based-standards] (PRIdLEAST64): Likewise.
10198 [C99-based-standards] (PRIiLEAST64): Likewise.
10199 [C99-based-standards] (PRIoLEAST64): Likewise.
10200 [C99-based-standards] (PRIuLEAST64): Likewise.
10201 [C99-based-standards] (PRIxLEAST64): Likewise.
10202 [C99-based-standards] (PRIXLEAST64): Likewise.
10203 [C99-based-standards] (SCNdLEAST64): Likewise.
10204 [C99-based-standards] (SCNiLEAST64): Likewise.
10205 [C99-based-standards] (SCNoLEAST64): Likewise.
10206 [C99-based-standards] (SCNuLEAST64): Likewise.
10207 [C99-based-standards] (SCNxLEAST64): Likewise.
10208 [C99-based-standards] (PRIdFAST64): Likewise.
10209 [C99-based-standards] (PRIiFAST64): Likewise.
10210 [C99-based-standards] (PRIoFAST64): Likewise.
10211 [C99-based-standards] (PRIuFAST64): Likewise.
10212 [C99-based-standards] (PRIxFAST64): Likewise.
10213 [C99-based-standards] (PRIXFAST64): Likewise.
10214 [C99-based-standards] (SCNdFAST64): Likewise.
10215 [C99-based-standards] (SCNiFAST64): Likewise.
10216 [C99-based-standards] (SCNoFAST64): Likewise.
10217 [C99-based-standards] (SCNuFAST64): Likewise.
10218 [C99-based-standards] (SCNxFAST64): Likewise.
10219 [C99-based-standards] (PRIdMAX): Likewise.
10220 [C99-based-standards] (PRIiMAX): Likewise.
10221 [C99-based-standards] (PRIoMAX): Likewise.
10222 [C99-based-standards] (PRIuMAX): Likewise.
10223 [C99-based-standards] (PRIxMAX): Likewise.
10224 [C99-based-standards] (PRIXMAX): Likewise.
10225 [C99-based-standards] (SCNdMAX): Likewise.
10226 [C99-based-standards] (SCNiMAX): Likewise.
10227 [C99-based-standards] (SCNoMAX): Likewise.
10228 [C99-based-standards] (SCNuMAX): Likewise.
10229 [C99-based-standards] (SCNxMAX): Likewise.
10230 [C99-based-standards] (PRIdPTR): Likewise.
10231 [C99-based-standards] (PRIiPTR): Likewise.
10232 [C99-based-standards] (PRIoPTR): Likewise.
10233 [C99-based-standards] (PRIuPTR): Likewise.
10234 [C99-based-standards] (PRIxPTR): Likewise.
10235 [C99-based-standards] (PRIXPTR): Likewise.
10236 [C99-based-standards] (SCNdPTR): Likewise.
10237 [C99-based-standards] (SCNiPTR): Likewise.
10238 [C99-based-standards] (SCNoPTR): Likewise.
10239 [C99-based-standards] (SCNuPTR): Likewise.
10240 [C99-based-standards] (SCNxPTR): Likewise.
10241 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10242 allow.
10243 * conform/data/stdint.h-data: Update comments to clarify
10244 requirements.
10245 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10246 type.
10247 [C99-based standards] (INT8_MAX): Likewise.
10248 [C99-based standards] (INT16_MIN): Likewise.
10249 [C99-based standards] (INT16_MAX): Likewise.
10250 [C99-based standards] (INT32_MIN): Likewise.
10251 [C99-based standards] (INT32_MAX): Likewise.
10252 [C99-based standards] (INT64_MIN): Likewise.
10253 [C99-based standards] (INT64_MAX): Likewise.
10254 [C99-based standards] (UINT8_MAX): Likewise.
10255 [C99-based standards] (UINT16_MAX): Likewise.
10256 [C99-based standards] (UINT32_MAX): Likewise.
10257 [C99-based standards] (UINT64_MAX): Likewise.
10258 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10259 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10260 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10261 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10262 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10263 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10264 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10265 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10266 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10267 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10268 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10269 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10270 [C99-based standards] (INT_FAST8_MIN): Likewise.
10271 [C99-based standards] (INT_FAST8_MAX): Likewise.
10272 [C99-based standards] (INT_FAST16_MIN): Likewise.
10273 [C99-based standards] (INT_FAST16_MAX): Likewise.
10274 [C99-based standards] (INT_FAST32_MIN): Likewise.
10275 [C99-based standards] (INT_FAST32_MAX): Likewise.
10276 [C99-based standards] (INT_FAST64_MIN): Likewise.
10277 [C99-based standards] (INT_FAST64_MAX): Likewise.
10278 [C99-based standards] (UINT_FAST8_MAX): Likewise.
10279 [C99-based standards] (UINT_FAST16_MAX): Likewise.
10280 [C99-based standards] (UINT_FAST32_MAX): Likewise.
10281 [C99-based standards] (UINT_FAST64_MAX): Likewise.
10282 [C99-based standards] (INTPTR_MIN): Likewise.
10283 [C99-based standards] (INTPTR_MAX): Likewise.
10284 [C99-based standards] (UINTPTR_MAX): Likewise.
10285 [C99-based standards] (INTMAX_MIN): Likewise.
10286 [C99-based standards] (INTMAX_MAX): Likewise.
10287 [C99-based standards] (UINTMAX_MAX): Likewise.
10288 [C99-based standards] (PTRDIFF_MIN): Likewise.
10289 [C99-based standards] (PTRDIFF_MAX): Likewise.
10290 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10291 [C99-based standards] (SIZE_MAX): Likewise.
10292 [C99-based standards] (WCHAR_MAX): Likewise.
10293 [C99-based standards] (WINT_MAX): Likewise.
10294 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10295 constraint on value.
10296 [C99-based standards] (WCHAR_MIN): Likewise.
10297 [C99-based standards] (WINT_MIN): Likewise.
10298 [C99-based standards] (*_t): Allow.
10299 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10300 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10301 Include math.h-data and complex.h-data. Remove all expectations
10302 of math.h and complex.h contents.
10303 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10304 at end of line.
10305 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10306 (struct tm): Expect tag.
10307 [C99-based-standards] (wcstof): Expect function.
10308 [C99-based-standards] (wcstold): Likewise.
10309 [C99-based-standards] (wcstoll): Likewise.
10310 [C99-based-standards] (wcstoull): Likewise.
10311 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10312 macro-int-constant. Specify type.
10313 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10314 constraint on value.
10315 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10316 Specify type.
10317 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10318 Specify value.
10319 [ISO C standards]: Do not allow headers.
10320 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10321 wcs[abcdefghijklmnopqrstuvwxyz]*.
10322 [ISO C standards] (*_t): Do not allow.
10323 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10324 Expect function.
10325 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10326 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10327 Specify type.
10328 [ISO C standards]: Do not allow headers.
10329 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10330 is[abcdefghijklmnopqrstuvwxyz]*.
10331 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10332 to[abcdefghijklmnopqrstuvwxyz]*.
10333 [ISO C standards] (*_t): Do not allow.
10334 * conform/data/stdalign.h-data: New file.
10335 * conform/data/stdbool.h-data: Likewise.
10336 * conform/data/stdnoreturn.h-data: Likewise.
10337
7514feb8
RM
103382012-11-07 Roland McGrath <roland@hack.frob.com>
10339
10340 [BZ #14815]
10341 * manual/filesys.texi (Directory Entries): Typo fix.
10342 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10343
19b2ecfc
MS
103442012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10345
10346 * elf/elf.h (EM_AARCH64): New macro.
10347 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10348 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10349 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10350 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10351 (R_AARCH64_TLSDESC): Likewise.
10352 (NT_ARM_TLS): Likewise.
10353 (NT_ARM_HW_BREAK): Likewise.
10354 (NT_ARM_HW_WATCH): Likewise.
10355
60e235ee
JM
103562012-11-07 Joseph Myers <joseph@codesourcery.com>
10357
10358 [BZ #14811]
10359 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10360 (__ieee754_powl): Saturate nonzero exponents with absolute value
10361 below 0x1p-79 to +/- 0x1p-79.
10362 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10363 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10364 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10365 nonzero exponents with absolute value below 0x1p-32 to +/-
10366 0x1p-32.
10367 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10368 (__ieee754_powl): Saturate nonzero exponents with absolute value
10369 below 0x1p-79 to +/- 0x1p-79.
10370 * math/libm-test.inc (pow_test): Add more tests.
10371
0ab234b7
AK
103722012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10373
10374 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10375 _dl_s390_cap_flags with kernel. Increase string length.
10376 (_dl_s390_platforms): Add z196 and zEC12.
10377
45832f74
JM
103782012-11-07 Joseph Myers <joseph@codesourcery.com>
10379
10380 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10381 Change XOPEN21K to XOPEN2K.
10382
19218757
MK
103832012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10384
10385 * string/memmove.c: Use memcpy when possible.
10386
c5f45721
AJ
103872012-11-06 Andreas Jaeger <aj@suse.de>
10388
10389 * po/eo.po: Update from translation team.
10390
82477c28
JM
103912012-11-06 Joseph Myers <joseph@codesourcery.com>
10392
10393 [BZ #14793]
10394 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10395 exponent and small x and y exponents, scale x or y up. Increase
10396 by 2 the exponent used in scaling up.
10397 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10398 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10399 * math/libm-test.inc (fma_test): Add more tests.
10400 (fma_test_towardzero): Likewise.
10401 (fma_test_downward): Likewise.
10402 (fma_test_upward): Likewise.
10403
99252c8c
JM
104042012-11-05 Joseph Myers <joseph@codesourcery.com>
10405
acfa885f
JM
10406 [BZ #14805]
10407 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10408 fenv_t *.
10409
99252c8c
JM
10410 [BZ #14801]
10411 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10412 namespace for names of struct fields.
10413 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10414 fenv_t fields.
10415 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10416 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10417
d6d98dea
ST
104182012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10419
10420 [BZ #3665]
10421 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10422
e10bb107
TS
104232012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10424
10425 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10426 PTR_DEMANGLE.
10427
10428 [BZ #5246]
10429 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10430 PTR_DEMANGLE.
10431
a0c2940d
JM
104322012-11-04 Joseph Myers <joseph@codesourcery.com>
10433
10434 [BZ #14797]
10435 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10436 definitely overflow as x * y not x * y + z.
10437 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10438 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10439 * math/libm-test.inc (fma_test): Add more tests.
10440 (fma_test_towardzero): Likewise.
10441 (fma_test_downward): Likewise.
10442 (fma_test_upward): Likewise.
10443
b830319d
TS
104442012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10445
10446 [BZ #157]
10447
10448 * include/stub-tag.h: Remove file.
10449 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10450 '#include' of it.
10451 * manual/maint.texi (Porting): Don't reference it.
10452 * Makerules ($(objpfx)stubs): Likewise.
10453 * dirent/closedir.c: Don't include <stub-tag.h>.
10454 * dirent/dirfd.c: Likewise.
10455 * dirent/fdopendir.c: Likewise.
10456 * dirent/getdents.c: Likewise.
10457 * dirent/getdents64.c: Likewise.
10458 * dirent/opendir.c: Likewise.
10459 * dirent/readdir.c: Likewise.
10460 * dirent/readdir64.c: Likewise.
10461 * dirent/readdir64_r.c: Likewise.
10462 * dirent/readdir_r.c: Likewise.
10463 * dirent/rewinddir.c: Likewise.
10464 * dirent/seekdir.c: Likewise.
10465 * dirent/telldir.c: Likewise.
10466 * gmon/profil.c: Likewise.
10467 * grp/setgroups.c: Likewise.
10468 * inet/if_index.c: Likewise.
10469 * io/access.c: Likewise.
10470 * io/chdir.c: Likewise.
10471 * io/chmod.c: Likewise.
10472 * io/chown.c: Likewise.
10473 * io/close.c: Likewise.
10474 * io/dup.c: Likewise.
10475 * io/dup2.c: Likewise.
10476 * io/dup3.c: Likewise.
10477 * io/euidaccess.c: Likewise.
10478 * io/faccessat.c: Likewise.
10479 * io/fchdir.c: Likewise.
10480 * io/fchmod.c: Likewise.
10481 * io/fchmodat.c: Likewise.
10482 * io/fchown.c: Likewise.
10483 * io/fchownat.c: Likewise.
10484 * io/fcntl.c: Likewise.
10485 * io/flock.c: Likewise.
10486 * io/fstatfs.c: Likewise.
10487 * io/fstatfs64.c: Likewise.
10488 * io/fstatvfs.c: Likewise.
10489 * io/fstatvfs64.c: Likewise.
10490 * io/futimens.c: Likewise.
10491 * io/fxstat.c: Likewise.
10492 * io/fxstat64.c: Likewise.
10493 * io/fxstatat.c: Likewise.
10494 * io/fxstatat64.c: Likewise.
10495 * io/getcwd.c: Likewise.
10496 * io/isatty.c: Likewise.
10497 * io/lchmod.c: Likewise.
10498 * io/lchown.c: Likewise.
10499 * io/link.c: Likewise.
10500 * io/linkat.c: Likewise.
10501 * io/lseek.c: Likewise.
10502 * io/lseek64.c: Likewise.
10503 * io/lxstat64.c: Likewise.
10504 * io/mkdir.c: Likewise.
10505 * io/mkdirat.c: Likewise.
10506 * io/mkfifo.c: Likewise.
10507 * io/mkfifoat.c: Likewise.
10508 * io/open.c: Likewise.
10509 * io/open64.c: Likewise.
10510 * io/openat.c: Likewise.
10511 * io/openat64.c: Likewise.
10512 * io/pipe.c: Likewise.
10513 * io/pipe2.c: Likewise.
10514 * io/poll.c: Likewise.
10515 * io/posix_fadvise.c: Likewise.
10516 * io/posix_fadvise64.c: Likewise.
10517 * io/posix_fallocate.c: Likewise.
10518 * io/posix_fallocate64.c: Likewise.
10519 * io/read.c: Likewise.
10520 * io/readlink.c: Likewise.
10521 * io/readlinkat.c: Likewise.
10522 * io/rmdir.c: Likewise.
10523 * io/sendfile.c: Likewise.
10524 * io/sendfile64.c: Likewise.
10525 * io/statfs.c: Likewise.
10526 * io/statfs64.c: Likewise.
10527 * io/statvfs.c: Likewise.
10528 * io/statvfs64.c: Likewise.
10529 * io/symlink.c: Likewise.
10530 * io/symlinkat.c: Likewise.
10531 * io/ttyname.c: Likewise.
10532 * io/ttyname_r.c: Likewise.
10533 * io/umask.c: Likewise.
10534 * io/unlink.c: Likewise.
10535 * io/unlinkat.c: Likewise.
10536 * io/utime.c: Likewise.
10537 * io/utimensat.c: Likewise.
10538 * io/write.c: Likewise.
10539 * io/xmknod.c: Likewise.
10540 * io/xmknodat.c: Likewise.
10541 * io/xstat.c: Likewise.
10542 * io/xstat64.c: Likewise.
10543 * login/getpt.c: Likewise.
10544 * login/grantpt.c: Likewise.
10545 * login/unlockpt.c: Likewise.
10546 * math/e_acoshl.c: Likewise.
10547 * math/e_acosl.c: Likewise.
10548 * math/e_asinl.c: Likewise.
10549 * math/e_atan2l.c: Likewise.
10550 * math/e_atanhl.c: Likewise.
10551 * math/e_coshl.c: Likewise.
10552 * math/e_expl.c: Likewise.
10553 * math/e_fmodl.c: Likewise.
10554 * math/e_gammal_r.c: Likewise.
10555 * math/e_hypotl.c: Likewise.
10556 * math/e_j0l.c: Likewise.
10557 * math/e_j1l.c: Likewise.
10558 * math/e_jnl.c: Likewise.
10559 * math/e_lgammal_r.c: Likewise.
10560 * math/e_log10l.c: Likewise.
10561 * math/e_log2l.c: Likewise.
10562 * math/e_logl.c: Likewise.
10563 * math/e_powl.c: Likewise.
10564 * math/e_rem_pio2l.c: Likewise.
10565 * math/e_sinhl.c: Likewise.
10566 * math/e_sqrtl.c: Likewise.
10567 * math/fclrexcpt.c: Likewise.
10568 * math/fedisblxcpt.c: Likewise.
10569 * math/feenablxcpt.c: Likewise.
10570 * math/fegetenv.c: Likewise.
10571 * math/fegetexcept.c: Likewise.
10572 * math/fegetround.c: Likewise.
10573 * math/feholdexcpt.c: Likewise.
10574 * math/fesetenv.c: Likewise.
10575 * math/fesetround.c: Likewise.
10576 * math/feupdateenv.c: Likewise.
10577 * math/fgetexcptflg.c: Likewise.
10578 * math/fraiseexcpt.c: Likewise.
10579 * math/fsetexcptflg.c: Likewise.
10580 * math/ftestexcept.c: Likewise.
10581 * math/k_cosl.c: Likewise.
10582 * math/k_rem_pio2l.c: Likewise.
10583 * math/k_sinl.c: Likewise.
10584 * math/k_tanl.c: Likewise.
10585 * math/s_asinhl.c: Likewise.
10586 * math/s_atanl.c: Likewise.
10587 * math/s_cbrtl.c: Likewise.
10588 * math/s_erfl.c: Likewise.
10589 * math/s_expm1l.c: Likewise.
10590 * math/s_log1pl.c: Likewise.
10591 * math/s_tanhl.c: Likewise.
10592 * misc/acct.c: Likewise.
10593 * misc/brk.c: Likewise.
10594 * misc/chflags.c: Likewise.
10595 * misc/chroot.c: Likewise.
10596 * misc/fchflags.c: Likewise.
10597 * misc/fgetxattr.c: Likewise.
10598 * misc/flistxattr.c: Likewise.
10599 * misc/fremovexattr.c: Likewise.
10600 * misc/fsetxattr.c: Likewise.
10601 * misc/fsync.c: Likewise.
10602 * misc/ftruncate.c: Likewise.
10603 * misc/futimes.c: Likewise.
10604 * misc/futimesat.c: Likewise.
10605 * misc/getdomain.c: Likewise.
10606 * misc/getdtsz.c: Likewise.
10607 * misc/gethostid.c: Likewise.
10608 * misc/gethostname.c: Likewise.
10609 * misc/getloadavg.c: Likewise.
10610 * misc/getpagesize.c: Likewise.
10611 * misc/getsysstats.c: Likewise.
10612 * misc/getxattr.c: Likewise.
10613 * misc/gtty.c: Likewise.
10614 * misc/ioctl.c: Likewise.
10615 * misc/lgetxattr.c: Likewise.
10616 * misc/listxattr.c: Likewise.
10617 * misc/llistxattr.c: Likewise.
10618 * misc/lremovexattr.c: Likewise.
10619 * misc/lsetxattr.c: Likewise.
10620 * misc/lutimes.c: Likewise.
10621 * misc/madvise.c: Likewise.
10622 * misc/mincore.c: Likewise.
10623 * misc/mlock.c: Likewise.
10624 * misc/mlockall.c: Likewise.
10625 * misc/mmap.c: Likewise.
10626 * misc/mprotect.c: Likewise.
10627 * misc/msync.c: Likewise.
10628 * misc/munlock.c: Likewise.
10629 * misc/munlockall.c: Likewise.
10630 * misc/munmap.c: Likewise.
10631 * misc/preadv.c: Likewise.
10632 * misc/preadv64.c: Likewise.
10633 * misc/ptrace.c: Likewise.
10634 * misc/pwritev.c: Likewise.
10635 * misc/pwritev64.c: Likewise.
10636 * misc/readv.c: Likewise.
10637 * misc/reboot.c: Likewise.
10638 * misc/remap_file_pages.c: Likewise.
10639 * misc/removexattr.c: Likewise.
10640 * misc/revoke.c: Likewise.
10641 * misc/select.c: Likewise.
10642 * misc/setdomain.c: Likewise.
10643 * misc/setegid.c: Likewise.
10644 * misc/seteuid.c: Likewise.
10645 * misc/sethostid.c: Likewise.
10646 * misc/sethostname.c: Likewise.
10647 * misc/setregid.c: Likewise.
10648 * misc/setreuid.c: Likewise.
10649 * misc/setxattr.c: Likewise.
10650 * misc/sstk.c: Likewise.
10651 * misc/stty.c: Likewise.
10652 * misc/swapoff.c: Likewise.
10653 * misc/swapon.c: Likewise.
10654 * misc/sync.c: Likewise.
10655 * misc/syncfs.c: Likewise.
10656 * misc/syscall.c: Likewise.
10657 * misc/truncate.c: Likewise.
10658 * misc/ualarm.c: Likewise.
10659 * misc/usleep.c: Likewise.
10660 * misc/ustat.c: Likewise.
10661 * misc/utimes.c: Likewise.
10662 * misc/vhangup.c: Likewise.
10663 * misc/writev.c: Likewise.
10664 * posix/_exit.c: Likewise.
10665 * posix/alarm.c: Likewise.
10666 * posix/execve.c: Likewise.
10667 * posix/fexecve.c: Likewise.
10668 * posix/fork.c: Likewise.
10669 * posix/fpathconf.c: Likewise.
10670 * posix/getaddrinfo.c: Likewise.
10671 * posix/getegid.c: Likewise.
10672 * posix/geteuid.c: Likewise.
10673 * posix/getgid.c: Likewise.
10674 * posix/getgroups.c: Likewise.
10675 * posix/getlogin.c: Likewise.
10676 * posix/getlogin_r.c: Likewise.
10677 * posix/getpgid.c: Likewise.
10678 * posix/getpid.c: Likewise.
10679 * posix/getppid.c: Likewise.
10680 * posix/getresgid.c: Likewise.
10681 * posix/getresuid.c: Likewise.
10682 * posix/getsid.c: Likewise.
10683 * posix/getuid.c: Likewise.
10684 * posix/glob64.c: Likewise.
10685 * posix/nanosleep.c: Likewise.
10686 * posix/pathconf.c: Likewise.
10687 * posix/pause.c: Likewise.
10688 * posix/posix_madvise.c: Likewise.
10689 * posix/pread.c: Likewise.
10690 * posix/pread64.c: Likewise.
10691 * posix/pwrite.c: Likewise.
10692 * posix/pwrite64.c: Likewise.
10693 * posix/sched_getaffinity.c: Likewise.
10694 * posix/sched_getp.c: Likewise.
10695 * posix/sched_gets.c: Likewise.
10696 * posix/sched_primax.c: Likewise.
10697 * posix/sched_primin.c: Likewise.
10698 * posix/sched_rr_gi.c: Likewise.
10699 * posix/sched_setaffinity.c: Likewise.
10700 * posix/sched_setp.c: Likewise.
10701 * posix/sched_sets.c: Likewise.
10702 * posix/sched_yield.c: Likewise.
10703 * posix/setgid.c: Likewise.
10704 * posix/setlogin.c: Likewise.
10705 * posix/setpgid.c: Likewise.
10706 * posix/setresgid.c: Likewise.
10707 * posix/setresuid.c: Likewise.
10708 * posix/setsid.c: Likewise.
10709 * posix/setuid.c: Likewise.
10710 * posix/sleep.c: Likewise.
10711 * posix/spawni.c: Likewise.
10712 * posix/sysconf.c: Likewise.
10713 * posix/times.c: Likewise.
10714 * posix/wait.c: Likewise.
10715 * posix/wait3.c: Likewise.
10716 * posix/wait4.c: Likewise.
10717 * posix/waitpid.c: Likewise.
10718 * resolv/gai_sigqueue.c: Likewise.
10719 * resource/getpriority.c: Likewise.
10720 * resource/getrlimit.c: Likewise.
10721 * resource/getrusage.c: Likewise.
10722 * resource/nice.c: Likewise.
10723 * resource/setpriority.c: Likewise.
10724 * resource/setrlimit.c: Likewise.
10725 * resource/ulimit.c: Likewise.
10726 * rt/aio_cancel.c: Likewise.
10727 * rt/aio_fsync.c: Likewise.
10728 * rt/aio_read.c: Likewise.
10729 * rt/aio_sigqueue.c: Likewise.
10730 * rt/aio_suspend.c: Likewise.
10731 * rt/aio_write.c: Likewise.
10732 * rt/clock_getres.c: Likewise.
10733 * rt/clock_gettime.c: Likewise.
10734 * rt/clock_nanosleep.c: Likewise.
10735 * rt/clock_settime.c: Likewise.
10736 * rt/lio_listio.c: Likewise.
10737 * rt/mq_close.c: Likewise.
10738 * rt/mq_getattr.c: Likewise.
10739 * rt/mq_notify.c: Likewise.
10740 * rt/mq_open.c: Likewise.
10741 * rt/mq_receive.c: Likewise.
10742 * rt/mq_send.c: Likewise.
10743 * rt/mq_setattr.c: Likewise.
10744 * rt/mq_timedreceive.c: Likewise.
10745 * rt/mq_timedsend.c: Likewise.
10746 * rt/mq_unlink.c: Likewise.
10747 * rt/shm_open.c: Likewise.
10748 * rt/shm_unlink.c: Likewise.
10749 * rt/timer_create.c: Likewise.
10750 * rt/timer_delete.c: Likewise.
10751 * rt/timer_getoverr.c: Likewise.
10752 * rt/timer_gettime.c: Likewise.
10753 * rt/timer_settime.c: Likewise.
10754 * setjmp/__longjmp.c: Likewise.
10755 * setjmp/setjmp.c: Likewise.
10756 * signal/kill.c: Likewise.
10757 * signal/killpg.c: Likewise.
10758 * signal/raise.c: Likewise.
10759 * signal/sigaction.c: Likewise.
10760 * signal/sigaltstack.c: Likewise.
10761 * signal/sigblock.c: Likewise.
10762 * signal/sigignore.c: Likewise.
10763 * signal/sigintr.c: Likewise.
10764 * signal/signal.c: Likewise.
10765 * signal/sigpause.c: Likewise.
10766 * signal/sigpending.c: Likewise.
10767 * signal/sigqueue.c: Likewise.
10768 * signal/sigreturn.c: Likewise.
10769 * signal/sigset.c: Likewise.
10770 * signal/sigsetmask.c: Likewise.
10771 * signal/sigstack.c: Likewise.
10772 * signal/sigsuspend.c: Likewise.
10773 * signal/sigtimedwait.c: Likewise.
10774 * signal/sigvec.c: Likewise.
10775 * signal/sigwait.c: Likewise.
10776 * signal/sigwaitinfo.c: Likewise.
10777 * signal/sysv_signal.c: Likewise.
10778 * socket/accept.c: Likewise.
10779 * socket/accept4.c: Likewise.
10780 * socket/bind.c: Likewise.
10781 * socket/connect.c: Likewise.
10782 * socket/getpeername.c: Likewise.
10783 * socket/getsockname.c: Likewise.
10784 * socket/getsockopt.c: Likewise.
10785 * socket/isfdtype.c: Likewise.
10786 * socket/listen.c: Likewise.
10787 * socket/recv.c: Likewise.
10788 * socket/recvfrom.c: Likewise.
10789 * socket/recvmsg.c: Likewise.
10790 * socket/send.c: Likewise.
10791 * socket/sendmsg.c: Likewise.
10792 * socket/sendto.c: Likewise.
10793 * socket/setsockopt.c: Likewise.
10794 * socket/shutdown.c: Likewise.
10795 * socket/sockatmark.c: Likewise.
10796 * socket/socket.c: Likewise.
10797 * socket/socketpair.c: Likewise.
10798 * stdio-common/ctermid.c: Likewise.
10799 * stdio-common/cuserid.c: Likewise.
10800 * stdio-common/remove.c: Likewise.
10801 * stdio-common/rename.c: Likewise.
10802 * stdio-common/renameat.c: Likewise.
10803 * stdio-common/tempname.c: Likewise.
10804 * stdlib/getcontext.c: Likewise.
10805 * stdlib/makecontext.c: Likewise.
10806 * stdlib/setcontext.c: Likewise.
10807 * stdlib/swapcontext.c: Likewise.
10808 * stdlib/system.c: Likewise.
10809 * streams/fattach.c: Likewise.
10810 * streams/fdetach.c: Likewise.
10811 * streams/getmsg.c: Likewise.
10812 * streams/getpmsg.c: Likewise.
10813 * streams/putmsg.c: Likewise.
10814 * streams/putpmsg.c: Likewise.
10815 * sysdeps/unix/bsd/getpt.c: Likewise.
10816 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10817 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10818 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10820 Likewise.
10821 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10822 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10823 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10824 * sysvipc/msgctl.c: Likewise.
10825 * sysvipc/msgget.c: Likewise.
10826 * sysvipc/msgrcv.c: Likewise.
10827 * sysvipc/msgsnd.c: Likewise.
10828 * sysvipc/semctl.c: Likewise.
10829 * sysvipc/semget.c: Likewise.
10830 * sysvipc/semop.c: Likewise.
10831 * sysvipc/semtimedop.c: Likewise.
10832 * sysvipc/shmat.c: Likewise.
10833 * sysvipc/shmctl.c: Likewise.
10834 * sysvipc/shmdt.c: Likewise.
10835 * sysvipc/shmget.c: Likewise.
10836 * termios/tcdrain.c: Likewise.
10837 * termios/tcflow.c: Likewise.
10838 * termios/tcflush.c: Likewise.
10839 * termios/tcgetattr.c: Likewise.
10840 * termios/tcgetpgrp.c: Likewise.
10841 * termios/tcsendbrk.c: Likewise.
10842 * termios/tcsetattr.c: Likewise.
10843 * termios/tcsetpgrp.c: Likewise.
10844 * time/adjtime.c: Likewise.
10845 * time/clock.c: Likewise.
10846 * time/getitimer.c: Likewise.
10847 * time/gettimeofday.c: Likewise.
10848 * time/setitimer.c: Likewise.
10849 * time/settimeofday.c: Likewise.
10850 * time/stime.c: Likewise.
10851 * time/time.c: Likewise.
10852
108532012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 10854
a20492cf
PT
10855 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10856 /usr/old/bin.
10857
72e182e3
PT
10858 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10859 instead of spaces.
10860 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10861
fbeafede
JM
108622012-11-03 Joseph Myers <joseph@codesourcery.com>
10863
5b5b04d6
JM
10864 [BZ #14796]
10865 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10866 FE_TONEAREST before applying Dekker multiplication and Knuth
10867 addition. Clear inexact exceptions and check for exact zero
10868 results afterwards.
10869 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10870 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10871 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10872 * math/libm-test.inc (fma_test): Add more tests.
10873 (fma_test_towardzero): Likewise.
10874 (fma_test_downward): Likewise.
10875 (fma_test_upward): Likewise.
10876 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10877 function.
10878 (libc_fesetround): New macro.
10879 (libc_fesetroundf): Likewise.
10880 (libc_fesetroundl): Likewise.
10881 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10882 function.
10883 (libc_fesetround_387): Likewise.
10884 (libc_fesetroundf): New macro.
10885 (libc_fesetround): Likewise.
10886 (libc_fesetroundl): Likewise.
10887 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10888 function.
10889 (libc_fesetroundf): New macro.
10890 (libc_fesetround): Likewise.
10891 (libc_fesetroundl): Likewise.
10892 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10893 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10894 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10895 libm_hidden_ver.
10896 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10897 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10898 libm_hidden_def.
10899 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10900 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10901 libm_hidden_ver.
10902 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10903 libm_hidden_def.
10904
fbeafede
JM
10905 [BZ #3439]
10906 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10907 integer constant usable in #if and use that to give value to enum
10908 constant.
10909 (FE_DIVBYZERO): Likewise.
10910 (FE_UNDERFLOW): Likewise.
10911 (FE_OVERFLOW): Likewise.
10912 (FE_INVALID): Likewise.
10913 (FE_INVALID_SNAN): Likewise.
10914 (FE_INVALID_ISI): Likewise.
10915 (FE_INVALID_IDI): Likewise.
10916 (FE_INVALID_ZDZ): Likewise.
10917 (FE_INVALID_IMZ): Likewise.
10918 (FE_INVALID_COMPARE): Likewise.
10919 (FE_INVALID_SOFTWARE): Likewise.
10920 (FE_INVALID_SQRT): Likewise.
10921 (FE_INVALID_INTEGER_CONVERSION): Likewise.
10922 (FE_TONEAREST): Likewise.
10923 (FE_TOWARDZERO): Likewise.
10924 (FE_UPWARD): Likewise.
10925 (FE_DOWNWARD): Likewise.
10926 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10927 (FE_DIVBYZERO): Likewise.
10928 (FE_OVERFLOW): Likewise.
10929 (FE_UNDERFLOW): Likewise.
10930 (FE_INEXACT): Likewise.
10931 (FE_TONEAREST): Likewise.
10932 (FE_DOWNWARD): Likewise.
10933 (FE_UPWARD): Likewise.
10934 (FE_TOWARDZERO): Likewise.
10935 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10936 (FE_UNDERFLOW): Likewise.
10937 (FE_OVERFLOW): Likewise.
10938 (FE_DIVBYZERO): Likewise.
10939 (FE_INVALID): Likewise.
10940 (FE_TONEAREST): Likewise.
10941 (FE_TOWARDZERO): Likewise.
10942 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10943 (FE_OVERFLOW): Likewise.
10944 (FE_UNDERFLOW): Likewise.
10945 (FE_DIVBYZERO): Likewise.
10946 (FE_INEXACT): Likewise.
10947 (FE_TONEAREST): Likewise.
10948 (FE_TOWARDZERO): Likewise.
10949 (FE_UPWARD): Likewise.
10950 (FE_DOWNWARD): Likewise.
10951 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10952 (FE_DIVBYZERO): Likewise.
10953 (FE_OVERFLOW): Likewise.
10954 (FE_UNDERFLOW): Likewise.
10955 (FE_INEXACT): Likewise.
10956 (FE_TONEAREST): Likewise.
10957 (FE_DOWNWARD): Likewise.
10958 (FE_UPWARD): Likewise.
10959 (FE_TOWARDZERO): Likewise.
10960
105ca950
CM
109612012-11-02 Chris Metcalf <cmetcalf@tilera.com>
10962
10963 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10964
a542b389
AS
109652012-11-03 Andreas Schwab <schwab@linux-m68k.org>
10966
10967 * scripts/cross-test-ssh.sh (command): Use newlines to separate
10968 commands. Quote $PWD.
10969 (blacklist_exports): Don't use remove_newlines. Replace "declare
10970 -x" by "export".
10971 (remove_newlines): Remove.
10972
f62c8abc
L
109732012-11-02 H.J. Lu <hongjiu.lu@intel.com>
10974
10975 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10976 * stdlib/stdlib.h (atof): Moved to ...
10977 * include/bits/stdlib-float.h: Here. New file.
10978 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10979 * stdlib/bits/stdlib-float.h: New file.
10980 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10981 -mno-sse -mno-mmx.
10982 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10983 <xmmintrin.h>.
10984
0155d5b2
JM
109852012-11-02 Joseph Myers <joseph@codesourcery.com>
10986
a68d0680
JM
10987 * conform/conformtest.pl (@headers): Add fenv.h.
10988 * conform/data/fenv.h-data: New file.
10989 * include/fenv.h [_ISOMAC]: Disable all contents of file except
10990 include of <math/fenv.h>.
10991
caf7f573
JM
10992 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10993 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10994 && !UNIX98]. Enables tests for XOPEN2K8.
10995 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10996 POSIX2008]: Likewise.
10997
6c073ad6
JM
10998 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10999 (struct rusage): Do not expect type or its members.
11000
0155d5b2
JM
11001 [BZ #3439]
11002 * math/math.h (FP_NAN): Define macro to integer constant usable in
11003 #if and use that to give value to enum constant.
11004 (FP_INFINITE): Likewise.
11005 (FP_ZERO): Likewise.
11006 (FP_SUBNORMAL): Likewise.
11007 (FP_NORMAL): Likewise.
11008
b5dcacb4
AS
110092012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11010
11011 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11012 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11013 arguments.
11014
f7934be8
RM
110152012-11-02 Roland McGrath <roland@hack.frob.com>
11016
11017 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11018 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11019 autoconf-time if not.
11020 * configure.in: Remove AC_PREREQ.
11021
d7d08bde
TMQMF
110222012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11023
11024 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11025 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11026 of the internal implementation.
11027
dcdae19a
JM
110282012-11-02 Joseph Myers <joseph@codesourcery.com>
11029
11030 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11031 except include of <misc/sys/syslog.h>.
11032
d6cffd3e
AS
110332012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11034
11035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11036 function returns with a NULL context exit with zero.
11037
b3563932
TMQMF
110382012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11039
11040 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11041
b288a93d
L
110422012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11043
11044 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11045 (run_program_cmd): This.
11046 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11047 (tst_langinfo): New variable. Use it.
11048
a2421a68
SAS
110492012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11050
11051 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11052 floating point opcodes.
11053
6f796e1b
TS
110542012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11055
7402596b
TS
11056 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11057 variable.
11058
d0d4f868
TS
11059 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11060
6f796e1b
TS
11061 * sysdeps/mach/hurd/powerpc: Remove directory.
11062 * sysdeps/mach/powerpc: Likewise.
11063
4da224a2
AS
110642012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11065
11066 * scripts/check-local-headers.sh: Ignore c++ headers.
11067
341dd673
TS
110682012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11069
11070 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11071 __libc_cleanup_region_start argument.
11072
473611b2
JM
110732012-11-01 Joseph Myers <joseph@codesourcery.com>
11074
11075 [BZ #14784]
11076 [BZ #14785]
11077 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11078 x * y using scaling, not as x * y + z.
11079 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11080 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11081 * math/libm-test.inc (fma_test): Add more tests.
11082 (fma_test_towardzero): Likewise.
11083 (fma_test_downward): Likewise.
11084 (fma_test_upward): Likewise.
11085
4078da3d
TS
110862012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11087
11088 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11089
903252aa
JM
110902012-10-31 Joseph Myers <joseph@codesourcery.com>
11091
11092 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11093 New variable.
11094
cbc818d0
TS
110952012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11096
11097 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11098
5a03cb1e
AS
110992012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11100
11101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11102 Fix sort order.
11103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11104 Likewise.
11105
90aff2ff
TMQMF
111062012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11107
11108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11109 Fix the order of the list for glibc 2.17.
11110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11111 Likewise.
11112
1818fcb7
AS
111132012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11114
11115 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11116
ef82f4da
JM
111172012-10-31 Joseph Myers <joseph@codesourcery.com>
11118
16a0e2ec
JM
11119 [BZ #14610]
11120 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11121 for low part of x being zero before using __atanl (y).
11122 * math/libm-test.inc (atan2_test): Add another test.
11123
0eb69512
JM
11124 * manual/install.texi (Configuring and compiling): Document
11125 general use of test-wrapper and test-wrapper-env.
11126 * INSTALL: Regenerated.
11127
ef82f4da
JM
11128 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11129 (__fma): Do not extract and scale down low bits on after-rounding
11130 systems when result rounded to normal precision would have normal
11131 exponent.
11132 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11133 (__fmal): Do not extract and scale down low bits on after-rounding
11134 systems when result rounded to normal precision would have normal
11135 exponent.
11136 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11137 (__fmal): Do not extract and scale down low bits on after-rounding
11138 systems when result rounded to normal precision would have normal
11139 exponent.
11140 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11141 macro.
11142 (fma_test): Add more tests.
11143 (fma_test_towardzero): Likewise.
11144 (fma_test_downward): Likewise.
11145 (fma_test_upward): Likewise.
11146
954ef0d9
L
111472012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11148
11149 * sysdeps/i386/tininess.h: Renamed to ...
11150 * sysdeps/x86/tininess.h: This.
11151 * sysdeps/x86_64/tininess.h: Removed.
11152
df61ffb2
JM
111532012-10-30 Joseph Myers <joseph@codesourcery.com>
11154
11155 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11156 input. Use $(build-program-cmd).
11157 ($(objpfx)tst-array1-static.out): Likewise.
11158 ($(objpfx)tst-array2.out): Likewise.
11159 ($(objpfx)tst-array3.out): Likewise.
11160 ($(objpfx)tst-array4.out): Likewise.
11161 ($(objpfx)tst-array5.out): Likewise.
11162 ($(objpfx)tst-array5-static.out): Likewise.
11163
01767843
CM
111642012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11165
47cc1490
CM
11166 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11167 if defined.
11168
01767843
CM
11169 * nss/nsswitch.h (nss_interface_function): Provide new
11170 macro for use with NSS functions.
11171 * grp/initgroups.c: Use new macro.
11172 * nss/getXXbyYY.c: Likewise.
11173 * nss/getXXbyYY_r.c: Likewise.
11174 * nss/getXXent.c: Likewise.
11175 * nss/getXXent_r.c: Likewise.
11176 * sysdeps/posix/getaddrinfo.c: Likewise.
11177
8321aa97
AJ
111782012-10-30 Andreas Jaeger <aj@suse.de>
11179
11180 * po/ru.po: Update Russion translation from translation project.
11181
2a27fd6d
JM
111822012-10-30 Joseph Myers <joseph@codesourcery.com>
11183
8627a232
JM
11184 [BZ #14152]
11185 [BZ #14783]
11186 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11187 result and shift together with sticky bit instead of replicating
11188 round-to-nearest rounding.
11189 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11190 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11191 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11192 missing underflow exceptions.
11193 (fma_test_towardzero): Add more tests.
11194 (fma_test_downward): Likewise.
11195 (fma_test_upward): Likewise.
11196
2a27fd6d
JM
11197 [BZ #14047]
11198 * sysdeps/generic/tininess.h: New file.
11199 * sysdeps/i386/tininess.h: Likewise.
11200 * sysdeps/sh/tininess.h: Likewise.
11201 * sysdeps/x86_64/tininess.h: Likewise.
11202 * stdlib/tst-strtod-underflow.c: Likewise.
11203 * stdlib/tst-tininess.c: Likewise.
11204 * stdlib/strtod_l.c: Include <tininess.h>.
11205 (round_and_return): Do not set errno for exact underflow cases.
11206 Force an underflow exception when setting errno for underflow.
11207 Determine underflow based on rounding to normal precision if
11208 TININESS_AFTER_ROUNDING.
11209 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11210 ERANGE for exact underflow cases.
11211 * stdlib/Makefile (tests): Add tst-tininess and
11212 tst-strtod-underflow.
11213 ($(objpfx)tst-tininess): Use $(link-libm).
11214 ($(objpfx)tst-strtod-underflow): Likewise.
11215
e7170363
AJ
112162012-10-30 Andreas Jaeger <aj@suse.de>
11217
e5088dc6
AJ
11218 [BZ#14767]
11219 * elf/Makefile (tests): Remove conditional for have-initfini-array
11220 since this is now always required and the variable does not exist
11221 anymore.
11222 (tests-static): Likewise.
11223 (modules-names): Likewise.
11224
e7170363 11225 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
11226
11227 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11228 merged with constructor/destructor.
11229 (init_array): Likewise.
11230 * elf/tst-array2dep.c (fini_array): Likewise.
11231 (init_array): Likewise.
11232
60457d8a
MF
112332012-10-29 Mike Frysinger <vapier@gentoo.org>
11234
11235 * manual/message.texi: Delete @cartouche tags.
11236
8bece752
PT
112372012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11238
94ce799f
PT
11239 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11240 EOPNOTSUPP.
11241 * sysdeps/mach/hurd/fsync.c: Likewise.
11242
8bece752
PT
11243 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11244 [_POSIX_REALTIME_SIGNALS]: Change condition to
11245 [_POSIX_REALTIME_SIGNALS > 0].
11246
86ebe6b1
AJ
112472012-10-27 Andreas Jaeger <aj@suse.de>
11248
11249 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11250 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11251 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11252 [__WORDSIZE != 64]: Likewise.
11253
54399c08
L
112542012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11255
11256 * iconvdata/tst-table.sh: Remove ${SHELL}.
11257 * iconvdata/tst-tables.sh: Likewise.
11258
e2211bed
DM
112592012-10-25 David S. Miller <davem@davemloft.net>
11260
11261 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11262 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11263 of strtoull.
11264
f303f97c
DM
11265 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11266 ifunc-impl-list.c
11267 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11268 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11269 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11270 file.
11271
1e9d84cd
RM
112722012-10-25 Roland McGrath <roland@hack.frob.com>
11273
11274 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11275 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11276 __getdirentries.
11277
df381762
JM
112782012-10-25 Joseph Myers <joseph@codesourcery.com>
11279 Jim Blandy <jimb@codesourcery.com>
11280
11281 * scripts/cross-test-ssh.sh: New file.
11282 * manual/install.texi (Configuring and compiling): Document use of
11283 cross-test-ssh.sh.
11284 * INSTALL: Regenerated.
11285
bff64913
PT
112862012-10-25 Pino Toscano <toscano.pino@tiscali.it>
11287
11288 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11289 EOPNOTSUPP.
11290
25fe8932
JM
112912012-10-25 Joseph Myers <joseph@codesourcery.com>
11292
11293 * Makeconfig (run-program-prefix): Fix comment.
11294
cc1290d0
JM
112952012-10-24 Joseph Myers <joseph@codesourcery.com>
11296 Jim Blandy <jimb@codesourcery.com>
11297
11298 * Makeconfig (test-wrapper): New variable,
11299 (test-wrapper-env): Likewise.
11300 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11301 (run-built-tests): Define to yes.
11302 (run-program-prefix): Use $(test-wrapper).
11303 (built-program-cmd): Likewise.
11304 * Rules (make-test-out): Use $(test-wrapper-env) and
11305 $(host-built-program-cmd).
11306 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11307 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11308 tst-pathopt.sh.
11309 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11310 $(test-wrapper-env) to tst-rtld-load-self.sh.
11311 ($(objpfx)order2.out): Use $(test-wrapper).
11312 ($(objpfx)tst-initorder.out): Likewise.
11313 ($(objpfx)tst-initorder2.out): Likewise.
11314 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11315 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11316 (test_wrapper_env): New variable. Use it to run ld.so.
11317 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11318 Use it to run ld.so.
11319 (test_wrapper_env): Likewise.
11320 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11321 $(test-wrapper) to run-iconv-test.sh.
11322 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11323 (ICONV): Use $test_wrapper.
11324 * posix/Makefile ($(objpfx)globtest.out): Pass
11325 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11326 globtest.sh, not $(run-program-prefix).
11327 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11328 (test_wrapper): Likewise.
11329 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11330 set together with run_via_rtld_prefix.
11331 (run_program_prefix): Define in terms of test_wrapper and
11332 run_via_rtld_prefix.
11333
6e6249d0
RM
113342012-10-24 Roland McGrath <roland@hack.frob.com>
11335
11336 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11337 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11338 Targets removed.
11339
11340 [BZ #14743]
11341 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11342 Declare __clock_getres, __clock_gettime, __clock_settime,
11343 __clock_nanosleep, and __clock_getcpuclockid.
11344 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11345 Remove librt_hidden_def (clock_gettime).
11346 * sysdeps/unix/clock_gettime.c: Likewise.
11347 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11348 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11349 * rt/clock_getres.c: Define __clock_getres as an alias.
11350 * sysdeps/posix/clock_getres.c: Likewise.
11351 * rt/clock_settime.c: Define __clock_settime as an alias.
11352 * sysdeps/unix/clock_settime.c: Likewise.
11353 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11354 * sysdeps/unix/clock_nanosleep.c: Likewise.
11355 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11356 * rt/clock-compat.c: New file.
11357 * rt/Makefile (librt-routines): Add clock-compat and move
11358 $(clock-routines) to ...
11359 (routines): ... here, new variable.
11360 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11361 Don't add get_clockfreq here.
11362 * rt/Versions (libc: GLIBC_2.17): New version set.
11363 Add clock_* symbols here.
11364 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11365 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11366 (GLIBC_2.17): Add clock_* symbols.
11367 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11369 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11371 Likewise.
11372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11373 Likewise.
11374 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11375 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11378 * NEWS: Mention the move.
11379
11380 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11381 Use __open, __read, __close rather than their public counterparts.
11382 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11383 (__get_clockfreq_via_cpuinfo): Likewise.
11384 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11385 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11386
11387 * config.h.in (HAVE_IFUNC): New #undef.
11388 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11389 was successful.
11390 * configure: Regenerated.
11391
0cae3f4b
MF
113922012-10-24 Mike Frysinger <vapier@gentoo.org>
11393
11394 * configure.in: Move READELF check to start of file.
11395 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11396 libc_cv_asm_gnu_indirect_function in the process.
11397 * configure: Regenerated.
11398
8175a253
MF
113992012-10-24 Mike Frysinger <vapier@gentoo.org>
11400
11401 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11402 send the output to /dev/null.
11403 (libc_cv_cc_with_libunwind): Likewise.
11404 (libc_cv_as_noexecstack): Likewise.
11405 * configure: Regenerate.
11406
0708a7d1
JM
114072012-10-24 Joseph Myers <joseph@codesourcery.com>
11408
10b40d85
JM
11409 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11410
0708a7d1
JM
11411 * posix/globtest.sh (TMPDIR): Do not set.
11412 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11413 (testout): Likewise.
11414
9fddec1a
AJ
114152012-10-24 Andreas Jaeger <aj@suse.de>
11416
3a8db22f
AJ
11417 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11418 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11419 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11420 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11421 posix_fadvise64, posix_fallocate64.
11422
9fddec1a
AJ
11423 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11424 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11425 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11426 Likewise.
11427 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11428 Likewise.
11429 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11430
11431 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11432 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11433 <bits/fcntl-linux.h>.
11434 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11435
11436 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11437 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11438 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11439 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11440 [__WORDSIZE != 64]: Likewise.
11441
ebfd1bbd
JM
114422012-10-23 Joseph Myers <joseph@codesourcery.com>
11443
03ac099f
JM
11444 * Makeconfig (run-built-tests): New variable.
11445 * Rules [$(cross-compiling) = yes]: Change condition to
11446 [$(run-built-tests) = no].
11447 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11448 to [$(run-built-tests) = yes].
11449 * elf/Makefile [$(cross-compiling) = no]: Likewise
11450 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11451 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11452 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11453 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11454 * io/Makefile [$(cross-compiling) = no]: Likewise.
11455 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11456 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11457 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11458 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11459 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11460 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11461 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11462 * string/Makefile [$(cross-compiling) = no]: Likewise.
11463
ebfd1bbd
JM
11464 * posix/Makefile ($(objpfx)globtest.out): Pass
11465 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11466 $(rtld-installed-name).
11467 * posix/globtest.sh (elf_objpfx): Remove variable.
11468 (rtld_installed_name): Likewise.
11469 (library_path): Likewise.
11470 (run_program_prefix): New variable. Use for running globtest
11471 binary.
11472
166bca24
JB
114732012-10-23 Jim Blandy <jimb@codesourcery.com>
11474 Joseph Myers <joseph@codesourcery.com>
11475
11476 * Makeconfig (host-built-program-cmd): New variable.
11477 * elf/Makefile (tst-stackguard1-ARGS): Use
11478 $(host-built-program-cmd).
11479 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11480 (tst-spawn-ARGS): Likewise.
11481 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11482
88866099
JM
114832012-10-23 Joseph Myers <joseph@codesourcery.com>
11484 Jim Blandy <jimb@codesourcery.com>
11485
11486 * Makeconfig (run-via-rtld-prefix): New variable.
11487 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11488 (built-program-cmd): Likewise.
11489
b4b4c296
AJ
114902012-10-22 Andreas Jaeger <aj@suse.de>
11491
11492 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11493 __O_RSYNC if it exists, otherwise to O_SYNC.
11494
6fb54a22
JB
114952012-10-22 Jim Blandy <jimb@codesourcery.com>
11496 Joseph Myers <joseph@codesourcery.com>
11497
11498 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11499 /dev/null.
11500 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11501 from /dev/null
11502 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11503 /dev/null.
11504
481b90b9
AJ
115052012-10-22 Andreas Jaeger <aj@suse.de>
11506
2a0e2669
AJ
11507 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11508 Define always.
11509 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11510
76e38f9a
AJ
11511 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11512 bits/fcntl-linux.h.
11513
7cd37b43
AJ
11514 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11515 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11516
481b90b9
AJ
11517 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11518 to __O_LARGEFILE.
11519 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11520 to __O_LARGEFILE.
11521
aba75984
JB
115222012-10-21 Jim Blandy <jimb@codesourcery.com>
11523 Joseph Myers <joseph@codesourcery.com>
11524
11525 * config.make.in (NM): New variable.
11526
88d4247f
AJ
115272012-10-21 Andreas Jaeger <aj@suse.de>
11528
11529 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11530 definitions and declarations that are provided by
11531 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11532
f2eed205
L
115332012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11534
11535 [BZ #14683]
11536 * elf/Makefile (tests-static): Add tst-leaks1-static.
11537 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11538 ($(objpfx)tst-leaks1-static): New rule.
11539 ($(objpfx)tst-leaks1-static-mem): Likewise.
11540 (tst-leaks1-static-ENV): New macro.
11541 * elf/dl-open.c (dl_open_worker): Check the main application
11542 only if SHARED is defined.
11543 * elf/tst-leaks1-static.c: New file.
11544
335e6931
AJ
115452012-10-20 Andreas Jaeger <aj@suse.de>
11546
11547 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11548 generic values for Linux.
11549 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11550 and declarations that are provided by <bits/fcntl-linux.h> and
11551 include <bits/fcntl-linux.h>.
11552 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11553 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11554
ac5c94d3
RM
115552012-10-20 Roland McGrath <roland@hack.frob.com>
11556
11557 * io/fcntl.h: Move include of <bits/types.h> to the top and
11558 include it unconditionally.
11559
de54b33a
L
115602012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11561
228cfb01
L
11562 * wcsmbs/Makefile (tests-ifunc): New variable.
11563 (tests): Add $(tests-ifunc).
11564 * wcsmbs/test-wcschr-ifunc.c: New file.
11565 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11566 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11567 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11568 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11569 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11570
69f07e5f
L
11571 * string/Makefile (tests-ifunc): New variable.
11572 (tests): Add $(tests-ifunc).
11573 * string/test-memccpy.c (TEST_NAME): New macro.
11574 * string/test-memchr.c (TEST_NAME): Likewise.
11575 * string/test-memcmp.c (TEST_NAME): Likewise.
11576 * string/test-memcpy.c (TEST_NAME): Likewise.
11577 * string/test-memmem.c (TEST_NAME): Likewise.
11578 * string/test-memmove.c (TEST_NAME): Likewise.
11579 * string/test-memset.c (TEST_NAME): Likewise.
11580 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11581 * string/test-stpcpy.c (TEST_NAME): Likewise.
11582 * string/test-stpncpy.c (TEST_NAME): Likewise.
11583 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11584 * string/test-strcasestr.c (TEST_NAME): Likewise.
11585 * string/test-strcat.c (TEST_NAME): Likewise.
11586 * string/test-strchr.c (TEST_NAME): Likewise.
11587 * string/test-strcmp.c(TEST_NAME): Likewise.
11588 * string/test-strcpy.c (TEST_NAME): Likewise.
11589 * string/test-strcspn.c (TEST_NAME): Likewise.
11590 * string/test-strlen.c (TEST_NAME): Likewise.
11591 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11592 * string/test-strncmp.c (TEST_NAME): Likewise.
11593 * string/test-strncpy.c (TEST_NAME): Likewise.
11594 * string/test-strnlen.c (TEST_NAME): Likewise.
11595 * string/test-strpbrk.c (TEST_NAME): Likewise.
11596 * string/test-strrchr.c (TEST_NAME): Likewise.
11597 * string/test-strspn.c (TEST_NAME): Likewise.
11598 * string/test-strstr.c (TEST_NAME): Likewise.
11599 * string/test-bcopy-ifunc.c: New file.
11600 * string/test-bzero-ifunc.c: Likewise.
11601 * string/test-memccpy-ifunc.c: Likewise.
11602 * string/test-memchr-ifunc.c: Likewise.
11603 * string/test-memcmp-ifunc.c: Likewise.
11604 * string/test-memcpy-ifunc.c: Likewise.
11605 * string/test-memmem-ifunc.c: Likewise.
11606 * string/test-memmove-ifunc.c: Likewise.
11607 * string/test-mempcpy-ifunc.c: Likewise.
11608 * string/test-memset-ifunc.c: Likewise.
11609 * string/test-rawmemchr-ifunc.c: Likewise.
11610 * string/test-stpcpy-ifunc.c: Likewise.
11611 * string/test-stpncpy-ifunc.c: Likewise.
11612 * string/test-strcasecmp-ifunc.c: Likewise.
11613 * string/test-strcasestr-ifunc.c: Likewise.
11614 * string/test-strcat-ifunc.c: Likewise.
11615 * string/test-strchr-ifunc.c: Likewise.
11616 * string/test-strchrnul-ifunc.c: Likewise.
11617 * string/test-strcmp-ifunc.c: Likewise.
11618 * string/test-strcpy-ifunc.c: Likewise.
11619 * string/test-strcspn-ifunc.c: Likewise.
11620 * string/test-strlen-ifunc.c: Likewise.
11621 * string/test-strncasecmp-ifunc.c: Likewise.
11622 * string/test-strncat-ifunc.c: Likewise.
11623 * string/test-strncmp-ifunc.c: Likewise.
11624 * string/test-strncpy-ifunc.c: Likewise.
11625 * string/test-strnlen-ifunc.c: Likewise.
11626 * string/test-strpbrk-ifunc.c: Likewise.
11627 * string/test-strrchr-ifunc.c: Likewise.
11628 * string/test-strspn-ifunc.c: Likewise.
11629 * string/test-strstr-ifunc.c: Likewise.
11630
de54b33a
L
11631 * debug/Makefile (tests-ifunc): New variable.
11632 (tests): Add $(tests-ifunc).
11633 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11634 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11635 * debug/test-stpcpy_chk-ifunc.c: New file.
11636 * debug/test-strcpy_chk-ifunc.c: Likewise.
11637
88481c16
SP
116382012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11639
11640 [BZ #13601]
11641 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11642 header is not read in.
11643
135948bd
JM
116442012-10-19 Joseph Myers <joseph@codesourcery.com>
11645
89f1c388
JM
11646 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11647 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11648 directly. Pass built executable to script as
11649 $(built-program-cmd).
11650 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11651 $testprogram without using LD_LIBRARY_PATH and $ldso.
11652
e40a0d21
JM
11653 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11654 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11655 $(rtld-installed-name).
11656 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11657 (rtld_installed_name): Likewise.
11658 (library_path): Likewise.
11659 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11660 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11661 $(run-program-prefix) to tst-tables.sh.
11662 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11663 it to run tst-table-from and tst-table-to.
11664 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11665 Pass it to tst-table.sh.
11666 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11667 $(run-program-prefix) to tst-gettext.sh.
11668 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11669 tst-translit.sh.
11670 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11671 tst-gettext2.sh.
11672 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11673 to run tst-gettext.
11674 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11675 to run tst-gettext2.
11676 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11677 to run tst-translit.
11678 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11679 $(run-program-prefix) to tst-mtrace.sh.
11680 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11681 to run tst-mtrace.
11682 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11683 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11684 $(rtld-installed-name).
11685 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11686 (rtld_installed_name): Likewise.
11687 (run_program_prefix): New variable. Use it to run wordexp-test.
11688
728e272a
JM
11689 * Makeconfig (ARCH): Remove all definitions.
11690 (machine): Likewise.
11691 [ARCH]: Remove conditional code.
11692 [!objdir]: Give error.
11693 [!objdir] (objpfx): Remove.
11694 [!objdir] (common-objpfx): Likewise.
11695 [!objdir] (common-objdir): Likewise.
11696 * configure.in (config_makefile): Remove. Hardcode Makefile in
11697 AC_CONFIG_FILES call.
11698 * configure: Regenerated.
11699
d528cdcf
JM
11700 [BZ #13888]
11701 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11702 or TMPDIR.
11703 (testout): Likewise.
11704
135948bd
JM
11705 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11706 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11707 $(rtld-installed-name).
11708 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11709 (rtld_installed_name): Likwise.
11710 (runit): Remove function.
11711 (run_getconf): New variable, Use it for running getconf binary.
11712
38c78296
L
117132012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11714
11715 [BZ #14716]
11716 * string/test-memmem.c (check_result): New function.
11717 (do_one_test): Use it.
11718 (check1): New function.
11719 (test_main): Use it.
11720
d077f65f
MT
117212012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11722
11723 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11724
ced52c71
JM
117252012-10-18 Joseph Myers <joseph@codesourcery.com>
11726
11727 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11728 (_G_LSEEK64): Likewise.
11729 (_G_MMAP64): Likewise.
11730 (_G_FSTAT64): Likewise.
11731 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11732 (_G_LSEEK64): Likewise.
11733 (_G_MMAP64): Likewise.
11734 (_G_FSTAT64): Likewise.
11735 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11736 unconditional. Call __mmap64 directly.
11737 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11738 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11739 __lseek64 directly.
11740 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11741 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11742 __mmap64 directly.
11743 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11744 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11745 __lseek64 directly.
11746 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11747 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11748 __lseek64 directly.
11749 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11750 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11751 __lseek64 directly.
11752 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11753 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11754 __fxstat64 directly.
11755 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11756 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11757 unconditional.
11758 (freopen64) [!_G_OPEN64]: Remove conditional code.
11759 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11760 unconditional.
11761 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11762 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11763 unconditional.
11764 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11765 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11766 unconditional.
11767 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11768 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11769 unconditional.
11770 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11771 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11772 unconditional.
11773 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11774 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11775 unconditional.
11776 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11777 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11778 unconditional.
11779 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11780
b741de23
SP
117812012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11782
11783 [BZ #12140]
11784 * manual/memory.texi (Malloc Tunable Parameters): Add note
11785 about free list pointers overwriting some perturb bytes.
11786 Wording suggested by Roland McGrath.
11787
f9b9d9c9
JM
117882012-10-17 Joseph Myers <joseph@codesourcery.com>
11789
11790 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11791 (lgamma_test): Likewise.
11792 (tgamma_test): Likewise.
11793
172a631a
FW
117942012-10-16 Florian Weimer <fweimer@redhat.com>
11795
11796 [BZ #14700]
11797 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11798 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11799
e9f37252
MK
118002012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
11801
11802 * NEWS: Mention BZ #14716.
11803 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11804 when removing AVAILABLE1_USES_J macro.
11805
d394eb74
L
118062012-10-12 H.J. Lu <hongjiu.lu@intel.com>
11807
11808 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11809 (__bswap_64): __uint64_t for unsigned 64-bit int.
11810
ca38dc17
AS
118112012-10-12 Andreas Schwab <schwab@linux-m68k.org>
11812
11813 * include/string.h (memmem): Declare libc hidden alias.
11814 * string/memmem.c (memmem): Define libc hidden alias.
11815 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11816 __read, __close instead of open, read, close.
11817
9a387d1f
L
118182012-10-11 H.J. Lu <hongjiu.lu@intel.com>
11819
ac49ecaf
L
11820 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11821 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11822 global and hidden.
11823 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11824 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11825 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11826 Likewise.
11827 (__rawmemchr_sse2): Likewise.
11828 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11829 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11830 (__strchr_sse2): Likewise.
11831 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11832 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11833 (__strcasecmp_sse2): Likewise.
11834 (__strncasecmp_sse2): Likewise.
11835 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11836 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11837 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11838 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11839 (__strrchr_sse2): Likewise.
11840 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11841 ifunc-impl-list.c.
11842 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11843 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11844 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11845 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11846 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11847 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11848 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11849 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11850 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11851 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11852 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11853 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11854 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11855 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11856 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11857 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11858 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11859 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11860 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11861 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11862 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11863 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11864 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11865 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11866 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11867 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11868 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11869 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11870 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11871 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11872
b090e8ea
L
11873 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11874 global and hidden.
11875 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11876 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11877 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11878 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11879 Likewise.
11880 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11881 Likewise.
11882 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11883 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11884 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11885 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11886 ifunc-impl-list.c.
11887 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11888 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11889 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11890 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11891 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11892 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11893 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11894 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11895 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11896 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11897 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11898 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11899 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11900 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11901 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11902 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11903 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11904 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11905 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11906 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11907 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11908 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11909 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11910 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11911 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11912 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11913 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11914 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11915 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11916 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11917 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11918 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11919 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11920 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11921 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11922 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11923 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11924 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11925 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11926 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11927 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11928
11dd4af6
L
11929 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11930 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11931 * include/ifunc-impl-list.h: New file.
11932 * misc/ifunc-impl-list.c: Likewise.
11933 * misc/Makefile (routines): Add ifunc-impl-list.
11934 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11935 * string/test-string.h: Include <ifunc-impl-list.h>.
11936 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11937 impl_array): New variables.
11938 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11939 are defined.
11940 (test_init): Call __libc_ifunc_impl_list to initialize
11941 func_list if TEST_IFUNC and TEST_NAME are defined.
11942
9a387d1f
L
11943 * string/Makefile (strop-tests): Add bcopy and bzero.
11944 * string/test-bcopy.c: New file.
11945 * string/test-bzero.c: Likewise.
11946 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11947 defined.
11948 * string/test-memset.c: Support bzero test if TEST_BZERO is
11949 defined.
11950 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11951 __libc_memmove.
11952 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11953 __libc_memset.
11954 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11955 of memset.
11956
472371b9
JM
119572012-10-10 Joseph Myers <joseph@codesourcery.com>
11958
1e4a9536
JM
11959 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11960 * configure: Regenerated.
11961
d173d12e
JM
11962 * Makeconfig (+link-static-before-libc): Don't include
11963 $(link-static-libc).
11964
472371b9
JM
11965 * libio/libio.h (_IO_pos_t): Remove.
11966
89a3ad0b
AO
119672012-10-10 Alexandre Oliva <aoliva@redhat.com>
11968
11969 * NEWS: Add note about FIPS mode. Wording suggested by Roland
11970 McGrath.
11971
e7451425
AO
119722012-10-10 Alexandre Oliva <aoliva@redhat.com>
11973
11974 * crypt/crypt-entry.c: Include fips-private.h.
11975 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11976 * crypt/md5c-test.c (main): Tolerate disabled MD5.
11977 * sysdeps/unix/sysv/linux/fips-private.h: New file.
11978 * sysdeps/generic/fips-private.h: New file, dummy fallback.
11979
4ba74a35
AO
119802012-10-10 Alexandre Oliva <aoliva@redhat.com>
11981
11982 * crypt/crypt-private.h: Include stdbool.h.
11983 (_ufc_setup_salt_r): Return bool.
11984 * crypt/crypt-entry.c: Include errno.h.
11985 (__crypt_r): Return NULL with EINVAL for bad salt.
11986 * crypt/crypt_util.c (bad_for_salt): New.
11987 (_ufc_setup_salt_r): Check that salt is long enough and within
11988 the specified alphabet.
11989 * crypt/badsalttest.c: New file.
11990 * crypt/Makefile (tests): Add it.
11991 ($(objpfx)badsalttest): New.
11992
f96f1242
MK
119932012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
11994
11995 * NEWS: Add entry for BZ #14602.
11996
0e8e0c1c
JM
119972012-10-09 Joseph Myers <joseph@codesourcery.com>
11998
11999 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12000 type-generic.
12001 * math/libm-test.inc: Update comment listing what functions and
12002 macros are tested.
12003 (isgreater_test): New function.
12004 (isgreaterequal_test): Likewise.
12005 (isless_test): Likewise.
12006 (islessequal_test): Likewise.
12007 (islessgreater_test): Likewise.
12008 (isunordered_test): Likewise.
12009 (main): Call the new functions.
12010
273edc5e
RM
120112012-10-09 Roland McGrath <roland@hack.frob.com>
12012
b8493de0
RM
12013 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12014 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12015 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12016 * sysdeps/i386/configure: Regenerated.
12017 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12018 * sysdeps/mach/configure: Regenerated.
12019 * sysdeps/mach/hurd/configure: Regenerated.
12020 * sysdeps/powerpc/configure: Regenerated.
12021 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12022 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12023 * sysdeps/s390/s390-32/configure: Regenerated.
12024 * sysdeps/s390/s390-64/configure: Regenerated.
12025 * sysdeps/sh/configure: Regenerated.
12026 * sysdeps/sparc/configure: Regenerated.
12027 * sysdeps/unix/sysv/linux/configure: Regenerated.
12028 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12029 * sysdeps/x86_64/configure: Regenerated.
12030
273edc5e
RM
12031 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12032 defined. Don't check if MAP is NULL.
12033
c8450f70
JM
120342012-10-09 Joseph Myers <joseph@codesourcery.com>
12035
12036 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12037 (_G_stat64): Likewise.
12038 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12039 (_G_stat64): Likewise.
12040 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12041 instead of struct _G_stat64.
12042 * libio/fileops.c (mmap_remap_check): Likewise.
12043 (decide_maybe_mmap): Likewise.
12044 (_IO_new_file_seekoff): Likewise.
12045 (_IO_file_stat): Likewise.
12046 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12047 _G_off64_t.
12048 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12049 instead of struct _G_stat64.
12050 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12051
57e605ba
MK
120522012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12053
12054 [BZ #14602]
12055 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12056 Replace with ...
12057 (CHECK_EOL): New macro.
12058 (two_way_short_needle): Check beginning of haystack for EOL. Use
12059 CHECK_EOL.
12060 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12061 Replace with CHECK_EOL.
12062 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12063 Replace with CHECK_EOL.
12064
ef1bb361
JM
120652012-10-08 Joseph Myers <joseph@codesourcery.com>
12066
12067 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12068 type-generic.
12069 * math/libm-test.inc: Update comment listing what functions and
12070 macros are tested.
12071 (finite_test): New function.
12072 (isinf_test): Likewise.
12073 (isnan_test): Likewise.
12074 (fpclassify_test): Test subnormal input.
12075 (isfinite_test): Likewise.
12076 (isnormal_test): Likewise.
12077 (main): Call the new functions.
12078
55f11534
JN
120792012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12080
12081 [BZ #14660]
12082 * Makerules (%.dynsym): Force C locale when running
12083 $(OBJDUMP) --dynamic-syms.
12084
1ab29350
AS
120852012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12086
12087 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12088 <stdint.h>.
12089
f1ecb7ef
DM
120902012-10-06 David S. Miller <davem@davemloft.net>
12091
12092 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12093 upper 32-bits of the length value in %o2 since we use branch-on-register
12094 tests which consider the entire 64-bit register.
12095
5d41d91a
L
120962012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12097
12098 * string/test-strstr.c (check2): Add a test for page boundary.
12099
3baddb72
DM
121002012-10-05 David S. Miller <davem@davemloft.net>
12101
12102 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12103 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12104 file.
12105 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12106 sysdep_routines.
12107 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12108 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12109 and bzero when HWCAP_SPARC_CRYPTO is present.
12110
9cee5585
L
121112012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12112
d7e0dab9
L
12113 [BZ #14602]
12114 * string/test-strstr.c (check2): New function.
12115 (test_main): Call check2.
12116
03759f47
L
12117 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12118 and bug-strchr1.
12119 * string/bug-strcasestr1.c (do_test): Moved to ...
12120 * string/test-strcasestr.c (check1): Here. New function.
12121 (do_one_test): Break out result checking code into ...
12122 (check_result): This. New function.
12123 (do_one_test): Call check_result.
12124 (test_main): Call check1.
12125 * string/bug-strchr1.c (do_test): Moved to ...
12126 * string/test-strchr.c (check1): Here. New function.
12127 (do_one_test): Break out result checking code into ...
12128 (check_result): This. New function.
12129 (do_one_test): Call check_result.
12130 (test_main): Call check1.
12131 * string/bug-strstr1.c (main): Moved to ...
046f153e 12132 * string/test-strstr.c (check1): Here. New function.
03759f47
L
12133 (do_one_test): Break out result checking code into ...
12134 (check_result): This. New function.
12135 (do_one_test): Call check_result.
12136 (test_main): Call check1.
12137 * string/bug-strcasestr1.c: Removed.
12138 * string/bug-strchr1.c: Likewise.
12139 * string/bug-strstr1.c: Likewise.
12140
53cea63e
L
12141 * elf/Makefile (dl-routines): Add hwcaps.
12142 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12143 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12144 (_dl_important_hwcaps): Moved to ...
12145 * elf/dl-hwcaps.c: Here. New file.
12146 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12147
9cee5585 12148 [BZ #14557]
bb859b06
L
12149 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12150 if IS_IN_rtld isn't defined.
12151
9cee5585
L
12152 * elf/dl-support.c (_dl_sysinfo_map): New.
12153 Include "get-dynamic-info.h" and "setup-vdso.h".
12154 (_dl_non_dynamic_init): Call setup_vdso.
12155 * elf/dynamic-link.h: Don't include <assert.h>.
12156 (elf_get_dynamic_info): Moved to ...
12157 * elf/get-dynamic-info.h: Here. New file.
12158 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12159 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12160 * elf/setup-vdso.h: Here. New file.
12161 * elf/rtld.c: Include "setup-vdso.h".
12162 (dl_main): Call setup_vdso.
12163
23c31b76
JM
121642012-10-05 Joseph Myers <joseph@codesourcery.com>
12165
28234b07
JM
12166 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12167 creal in comment listing functions tested. List finite, isinf,
12168 isnan, isless, islessequal, isgreater, isgreaterequal,
12169 islessgreater, isunordered, lgamma_r and pow10 as functions and
12170 macros not tested. Mention which functions not tested are aliases
12171 for other functions. Fix typo. Note that signs of NaNs are not
12172 tested.
12173
23c31b76
JM
12174 * scripts/config.guess: Update from config.git.
12175 * scripts/config.sub: Likewise.
12176
9043e228
RM
121772012-10-04 Roland McGrath <roland@hack.frob.com>
12178
12179 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12180 * misc/madvise.c (madvise): Renamed to __madvise.
12181 Make madvise a weak alias.
12182 * include/sys/mman.h: Declare __madvise.
12183 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12184 * sysdeps/unix/syscalls.list
12185 (madvise): Make __madvise the strong name, and madvise a weak alias.
12186 * sysdeps/unix/sysv/linux/syscalls.list
12187 (madvise, mmap): Remove redundant entries.
12188 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12189 * malloc/malloc.c (mtrim): Likewise.
12190 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12191
f57f8055
RM
121922012-10-03 Roland McGrath <roland@hack.frob.com>
12193
12194 * sysdeps/mach/hurd/dl-cache.c: File removed.
12195 * config.h.in (USE_LDCONFIG): New #undef.
12196 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12197 * configure: Regenerated.
12198 * elf/Makefile (dl-routines): Add dl-cache only under
12199 [$(use-ldconfig) = yes].
12200 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12201 cache on [USE_LDCONFIG].
12202 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12203 [USE_LDCONFIG].
12204 * elf/rtld.c (dl_main): Likewise.
12205
5bb0c10a
PT
122062012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12207
12208 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12209 _SC_LEVEL4_CACHE_LINESIZE.
12210
010188c6
RM
122112012-10-03 Roland McGrath <roland@hack.frob.com>
12212
12213 * sysdeps/unix/bsd/confstr.h: File removed.
12214
b6c5ec07
AO
122152012-10-02 Alexandre Oliva <aoliva@redhat.com>
12216
12217 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12218 sys/sdt-config.h.
12219
408223d4
RM
122202012-10-02 Roland McGrath <roland@hack.frob.com>
12221
12222 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12223 Make 'mapoff' field ElfW(Off) rather than off_t.
12224
bb9510dc
DL
122252012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12226
fc997c6e
DL
12227 * nscd/Makefile: Remove nscd-cflags and all its users.
12228 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12229 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12230
bb9510dc
DL
12231 [BZ #10631]
12232 * malloc.c (malloc_printerr): Clarify error message.
12233
05699367
L
122342012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12235
12236 [BZ #14648]
12237 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12238 Set bit_FMA_Usable if FMA is supported.
12239 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12240 macro.
12241 (bit_FMA4_Usable): Updated.
12242 (index_FMA_Usable): New macro.
12243 (CPUID_FMA): Likewise
12244 (HAS_FMA): Defined with bit_FMA_Usable.
12245
51367701
RM
122462012-10-01 Roland McGrath <roland@hack.frob.com>
12247
12248 * bits/types.h (__swblk_t): Type removed.
12249 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12250 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12251 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12252 (__SWBLK_T_TYPE): Likewise.
12253 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12254 (__SWBLK_T_TYPE): Likewise.
12255 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12256 (__SWBLK_T_TYPE): Likewise.
12257 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12258 (__SWBLK_T_TYPE): Likewise.
12259
4d57bf63 122602012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 12261 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
12262
12263 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12264 (xdr_mapname): Use YPMAXMAP as maxsize.
12265 (xdr_peername): Use YPMAXPEER as maxsize.
12266 (xdr_keydat): Use YPAXRECORD as maxsize.
12267 (xdr_valdat): Use YPMAXRECORD as maxsize.
12268
93c65d43
RM
122692012-10-01 Roland McGrath <roland@hack.frob.com>
12270
497a03d6
RM
12271 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12272
93c65d43
RM
12273 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12274 * csu/init-first.c: ... here.
12275 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12276 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12277 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12278 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12279 * sysdeps/i386/init-first.c: File removed.
12280 * sysdeps/sh/init-first.c: File removed.
12281
bec749fd
JM
122822012-10-01 Joseph Myers <joseph@codesourcery.com>
12283
12284 [BZ #14645]
12285 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12286 if x * y might underflow to zero and z is zero.
12287 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12288 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12289 * math/libm-test.inc (min_subnorm_value): New variable.
12290 (fma_test): Add more tests.
12291 (fma_test_towardzero): Likewise.
12292 (fma_test_downward): Likewise
12293 (fma_test_upward): Likewise.
12294 (initialize): Set min_subnorm_value.
12295
8ec5b013
JM
122962012-09-29 Joseph Myers <joseph@codesourcery.com>
12297
12298 [BZ #14638]
12299 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12300 0 + 0.
12301 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12302 mode for addition resulting in exact zero.
12303 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12304 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12305 exact 0 + 0.
12306 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12307 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12308 * math/libm-test.inc (fma_test): Add more tests.
12309 (fma_test_towardzero): New function.
12310 (fma_test_downward): Likewise.
12311 (fma_test_upward): Likewise.
12312 (main): Call the new functions.
12313
b1fa802e
DM
123142012-09-28 David S. Miller <davem@davemloft.net>
12315
12316 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12317
d3b9fd9e
RM
123182012-09-28 Roland McGrath <roland@hack.frob.com>
12319
ea4d37b3
RM
12320 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12321 instead of SIGALRM.
12322
ac51c949
RM
12323 * sysdeps/gnu/_G_config.h: Moved to ...
12324 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12325 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12326 * sysdeps/generic/_G_config.h: ... here.
12327
28c195f7
RM
12328 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12329
848917f9
RM
12330 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12331
6bacf05b
RM
12332 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12333 Conditionalize target on [libnss_test1.so-version].
12334
91363dbb
RM
12335 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12336
cc87f7d8
RM
12337 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12338 (elfobjdir): Move out of conditionals.
12339
b1c608fe
RM
12340 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12341 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12342 (__nss_lookup_function): Conditionalize label remove_from_tree on
12343 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 12344
1d9a6d96
DM
123452012-09-28 David S. Miller <davem@davemloft.net>
12346
12347 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12348 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12349 file.
12350 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12351 sysdep_routines.
12352 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12353 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12354 when HWCAP_SPARC_CRYPTO is present.
12355
72581615
PT
123562012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12357
12358 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12359
715a900c
JL
123602012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12361
12362 [BZ #6530]
12363 * stdio-common/vfprintf.c (process_string_arg): Revert
12364 2000-07-22 change.
12365
123662011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12367
12368 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12369 for testcase.
12370 * stdio-common/tst-sprintf.c: Include <locale.h>
12371 (main): Test sprintf's handling of incomplete multibyte
12372 characters.
12373
9bac1d86
L
123742012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12375
12376 * elf/dl-runtime.c (VERSYMIDX): Removed.
12377 * elf/dl-version.c (VERSYMIDX): Likewise.
12378 * elf/do-rel.h (VERSYMIDX): Likewise.
12379 (VALIDX): Likewise.
12380 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12381 * elf/rtld.c (VALIDX): Likewise.
12382 (ADDRIDX): Likewise.
9bac1d86
L
12383 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12384 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12385 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
12386 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12387 (VALIDX): Likewise.
12388 (ADDRIDX): Likewise.
9bac1d86 12389
b31606c0
PT
123902012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12391
12392 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12393
11541177
JL
123942012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12395
12396 [BZ #11438]
12397 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12398 to global scope.
12399 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12400 addresses are in the same scope as 192.0.2/24.
12401 * posix/gai.conf: Document new scope table defaults.
12402
adb26fae
SP
124032012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12404
12405 [BZ #5298]
12406 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12407 for ftell. Compute offsets from write pointers instead.
12408 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12409
4573c6b0
SP
124102012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12411
12412 [BZ #14543]
12413 * libio/Makefile (tests): New test case tst-fseek.
12414 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12415 combination works in wide mode.
12416 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12417 state when the external buffer state changes.
12418
aa9bbfe6
DM
124192012-09-27 David S. Miller <davem@davemloft.net>
12420
12421 [BZ #14376]
12422 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12423 pass reloc->r_addend in as the 'high' argument to
12424 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12425
784421e7
DM
12426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12427
c39bc8b8
PT
124282012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12429
12430 * rt/tst-aio2.c: Include <pthread.h>.
12431 * rt/tst-aio3.c: Likewise.
12432
1ccc2399
SE
124332012-09-27 Steve Ellcey <sellcey@mips.com>
12434
12435 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12436
31ed4153
L
124372012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12438
25f5f885
L
12439 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12440 contents on [SHARED].
31ed4153 12441
b7bfe116
MP
124422012-09-26 Marek Polacek <polacek@redhat.com>
12443
12444 [BZ #14530]
12445 [BZ #13741]
12446 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12447 for C++ and GCC <4.3 as well as for non GCC compilers.
12448
43c4edba
MT
124492012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12450
12451 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12452
6a1bf82f
RM
124532012-09-25 Roland McGrath <roland@hack.frob.com>
12454
12455 * Makefile.in (all, install): Declare with .PHONY.
12456 Reported by Michael Hope <michael.hope@linaro.org>.
12457
8ad11b9a
TMQMF
124582012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12459
12460 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12461 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12462 system header.
12463 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12464 Likewise.
12465 (sydep_routines): Add the new and the internal functions.
12466 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12467 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12469 (GLIBC_2.17): Add the new function.
12470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12471 (GLIBC_2.17): Likewise.
12472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12473 (GLIBC_2.17): Likewise.
12474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12475 (GLIBC_2.17): Likewise.
12476 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12477
7e2fca8d
AM
124782012-09-25 Alan Modra <amodra@gmail.com>
12479
12480 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12481 Add release barrier before setting once_control to say
12482 initialisation is done. Add hints on lwarx. Use macro in
12483 place of isync.
12484 (clear_once_control): Add release barrier.
12485
b87c4b24
JM
124862012-09-25 Joseph Myers <joseph@codesourcery.com>
12487
d032e0d2
JM
12488 [BZ #13629]
12489 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12490 specially.
12491 * math/s_clog10.c (__clog10): Likewise.
12492 * math/s_clog10f.c (__clog10f): Likewise.
12493 * math/s_clog10l.c (__clog10l): Likewise.
12494 * math/s_clogf.c (__clogf): Likewise.
12495 * math/s_clogl.c (__clogl): Likewise.
12496 * math/Makefile (libm-calls): Add x2y2m1.
12497 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12498 (__x2y2m1): Likewise.
12499 (__x2y2m1l): Likewise.
12500 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12501 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12502 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12503 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12504 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12505 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12506 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12507 * sysdeps/i386/fpu/libm-test-ulps: Update.
12508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12509
b87c4b24
JM
12510 [BZ #14621]
12511 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12512 int as type of variable DEPTH.
12513 (glob): Use size_t instead of int as type of variables NEWCOUNT
12514 and OLD_PATHC.
12515
6d3bf199
LD
125162012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12517
22bf5c17
LD
12518 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12519 Add s_sincosf-sse2.
12520 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12521 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12522 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12523 macros for using routine as __sincosf_ia32.
12524 Use macro for function declaration and weak_alias.
12525 * sysdeps/i386/fpu/libm-test-ulps: Update.
12526
12527 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12528 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12529
12530 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
12531 subnormal argument.
12532 * math/s_cexpf.c (__cexpf): Likewise.
12533 * math/s_csinf.c (__csinf): Likewise.
12534 * math/s_csinhf.c (__csinhf): Likewise.
12535 * math/s_ctanf.c (__ctanf): Likewise.
12536 * math/s_ctanhf.c (__ctanhf): Likewise.
12537 * math/s_ccosh.c (__ccoshf): Likewise.
12538 * math/s_cexp.c (__cexpl): Likewise.
12539 * math/s_csin.c (__csin): Likewise.
12540 * math/s_csinh.c (__csinh): Likewise.
12541 * math/s_ctan.c (__ctan): Likewise.
12542 * math/s_ctanh.c (ctanh): Likewise.
12543 * math/s_ccoshl.c (__ccoshl): Likewise.
12544 * math/s_cexpl.c (__cexpl): Likewise.
12545 * math/s_csinl.c (__csinl): Likewise.
12546 * math/s_csinhl.c (__csinhl): Likewise.
12547 * math/s_ctanl.c (__ctanl): Likewise.
12548 * math/s_ctanhl.c (__ctanhl): Likewise.
12549
203e5603
JM
125502012-09-25 Joseph Myers <joseph@codesourcery.com>
12551
12552 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12553 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12554 (_IO_off_t): Define to __off_t, not _G_off_t.
12555 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12556 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12557 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12558 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12559 type of __dummy and __dummy2 fields.
12560 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12561 (_G_ssize_t): Likewise.
12562 (_G_off_t): Likewise.
12563 (_G_pid_t): Likewise.
12564 (_G_uid_t): Likewise.
12565 (_G_wchar_t): Likewise.
12566 (_G_wint_t): Likewise.
12567 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12568 (_G_ssize_t): Likewise.
12569 (_G_off_t): Likewise.
12570 (_G_pid_t): Likewise.
12571 (_G_uid_t): Likewise.
12572 (_G_wchar_t): Likewise.
12573 (_G_wint_t): Likewise.
12574 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12575 (_G_ssize_t): Likewise.
12576 (_G_off_t): Likewise.
12577 (_G_pid_t): Likewise.
12578 (_G_uid_t): Likewise.
12579 (_G_wchar_t): Likewise.
12580 (_G_wint_t): Likewise.
12581
9fab36eb
SP
125822012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12583
12584 * malloc/arena.c: Include malloc-sysdep.h.
12585 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12586 is sufficient to shrink the heap or an unmap is needed.
12587 * sysdeps/generic/malloc-sysdep.h: New file. Define
12588 new function check_may_shrink_heap.
12589 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12590 new function check_may_shrink_heap.
12591
2b4f00d1
SP
125922012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12593
12594 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12595 comments.
12596
9a9028b1
DL
125972012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12598
57c69bef
DL
12599 * catgets/test-gencat.sh: Add "set -e".
12600 * elf/tst-pathopt.sh: Likewise.
12601 * grp/tst_fgetgrent.sh: Likewise.
12602 * iconvdata/run-iconv-test.sh: Likewise.
12603 * intl/tst-gettext.sh: Likewise.
12604 * intl/tst-gettext2.sh: Likewise.
12605 * intl/tst-gettext4.sh: Likewise.
12606 * intl/tst-gettext6.sh: Likewise.
12607 * intl/tst-translit.sh: Likewise.
12608 * io/ftwtest-sh: Likewise.
12609 * libio/test-freopen.sh: Likewise.
12610 * malloc/tst-mtrace.sh: Likewise.
12611 * posix/globtest.sh: Likewise.
12612 * posix/tst-getconf.sh: Likewise.
12613 * posix/wordexp-tst.sh: Likewise.
12614 * stdio-common/tst-printf.sh: Likewise.
12615 * stdio-common/tst-unbputc.sh: Likewise.
12616 * stdlib/tst-fmtmsg.sh: Likewise.
12617 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12618 * catgets/Makefile: Do not specify -e option when running
12619 testsuite shell scripts.
12620 * elf/Makefile: Likewise.
12621 * grp/Makefile: Likewise.
12622 * iconvdata/Makefile: Likewise.
12623 * intl/Makefile: Likewise.
12624 * io/Makefile: Likewise.
12625 * libio/Makefile: Likewise.
12626 * malloc/Makefile: Likewise.
12627 * posix/Makefile: Likewise.
12628 * stdio-common/Makefile: Likewise.
12629 * stdlib/Makefile: Likewise.
12630 * sysdeps/x86_64/Makefile: Likewise.
12631
9a9028b1
DL
12632 * io/ftwtest-sh: Add copyright header.
12633 * posix/globtest.sh: Likewise.
12634 * posix/tst-getconf.sh: Likewise.
12635 * posix/wordexp-tst.sh: Likewise.
12636 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12637
ced6f16e
L
126382012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12639
94b32c39
L
12640 [BZ #13679]
12641 * Makeconfig (+link): Defined as $(+link-static) if
12642 $(build-shared) isn't yes.
12643 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12644 isn't yes.
12645 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12646
189e935b
L
12647 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12648
ced6f16e
L
12649 [BZ #14562]
12650 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12651 new chunk size with MALLOC_ALIGN_MASK.
12652
a9f8e53a
JM
126532012-09-24 Joseph Myers <joseph@codesourcery.com>
12654
12655 [BZ #5044]
12656 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12657 <rounding-mode.h>.
12658 (__printf_fphex): Determine rounding using get_rounding_mode and
12659 round_away.
12660 * stdio-common/tst-printf-round.c (struct hex_test): New
12661 structure.
12662 (hex_tests): New variable.
12663 (test_hex_in_one_mode): New function.
12664 (do_test): Also run tests for hex float output.
12665
43153109
JM
126662012-09-21 Joseph Myers <joseph@codesourcery.com>
12667
12668 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12669 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12670 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12671 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12672 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12673 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12674 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12675 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12676
8a26625d
JM
126772012-09-20 Joseph Myers <joseph@codesourcery.com>
12678
12679 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12680 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12681 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12682 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12683
f3fd569c
DL
126842012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12685
12686 [BZ #14579]
12687 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12688 mode only.
12689 * elf/tst-rtld-load-self.sh: New test.
12690 * elf/Makefile: Run it.
12691
63bbedd4
JM
126922012-09-18 Joseph Myers <joseph@codesourcery.com>
12693
12694 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12695 (tst-writev-ENV): Remove.
12696 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12697
626f8b6a
CM
126982012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12699
12700 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12701
b7aaa4d6
JM
127022012-09-17 Joseph Myers <joseph@codesourcery.com>
12703
12704 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12705 unconditional.
12706 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12707 Likewise.
12708 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12709 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12710 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12711 Likewise.
12712
65513990
L
127132012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12714
12715 [BZ #14587]
12716 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12717 * config.make.in (have-cpp-asm-debuginfo): Removed.
12718 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12719 * configure: Regenerated.
12720
784761be
JM
127212012-09-14 Joseph Myers <joseph@codesourcery.com>
12722
12723 [BZ #5044]
12724 * stdio-common/printf_fp.c: Include <stdbool.h> and
12725 <rounding-mode.h>.
12726 (___printf_fp): Determine rounding using get_rounding_mode and
12727 round_away.
12728 * stdio-common/tst-printf-round.c: New file.
12729 * stdio-common/Makefile (tests): Add tst-printf-round.
12730 (link-libm): New variable.
12731 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12732
9503345f
L
127332012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12734
12735 [BZ #14576]
12736 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12737 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12738 Likewise.
12739 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12740 Likewise.
12741
ad35fc00
JM
127422012-09-13 Joseph Myers <joseph@codesourcery.com>
12743
12744 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12745 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12746 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12747 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12748
6c9b0f68
JM
127492012-09-12 Joseph Myers <joseph@codesourcery.com>
12750
12751 [BZ #14518]
12752 * include/rounding-mode.h: New file.
12753 * sysdeps/generic/get-rounding-mode.h: Likewise.
12754 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12755 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12756 (MAX_VALUE): New macro.
12757 (MIN_VALUE): Likewise.
12758 (overflow_value): New function.
12759 (underflow_value): Likewise.
12760 (round_and_return): Use overflow_value and underflow_value to
12761 determine return values in overflow and underflow cases. Use
12762 round_away to determine rounding depending on rounding mode.
12763 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12764 determine return values in overflow and underflow cases.
12765 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12766 (struct test_results): New structure.
12767 (struct test): Use struct test_results to store expected results
12768 for all rounding modes.
12769 (TEST): Include expected results for all rounding modes.
12770 (test_in_one_mode): New function.
12771 (do_test): Use test_in_one_mode to compute and check results.
12772 Check results for all rounding modes.
12773 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12774 $(link-libm).
12775
19fcedd5
AM
127762012-12-09 Allan McRae <allan@archlinux.org>
12777
1e9d84cd 12778 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 12779
8bbfd2f1
JM
127802012-09-11 Joseph Myers <joseph@codesourcery.com>
12781
12782 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12783 (_G_int32_t): Likewise.
12784 (_G_uint16_t): Likewise.
12785 (_G_uint32_t): Likewise.
12786 (_G_HAVE_BOOL): Likewise.
12787 (_G_HAVE_ATEXIT): Likewise.
12788 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12789 (_G_HAVE_IO_FILE_OPEN): Likewise.
12790 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12791 (_G_int32_t): Likewise.
12792 (_G_uint16_t): Likewise.
12793 (_G_uint32_t): Likewise.
12794 (_G_HAVE_BOOL): Likewise.
12795 (_G_HAVE_ATEXIT): Likewise.
12796 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12797 (_G_HAVE_IO_FILE_OPEN): Likewise.
12798 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12799 (_G_int32_t): Likewise.
12800 (_G_uint16_t): Likewise.
12801 (_G_uint32_t): Likewise.
12802 (_G_HAVE_BOOL): Likewise.
12803 (_G_HAVE_ATEXIT): Likewise.
12804 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12805 (_G_HAVE_IO_FILE_OPEN): Likewise.
12806
b1dc5912
L
128072012-09-11 H.J. Lu <hongjiu.lu@intel.com>
12808
12809 * csu/libc-tls.c: Update copyright years.
12810
0e886ef9
JM
128112012-09-10 Joseph Myers <joseph@codesourcery.com>
12812
28361c5e
JM
12813 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12814 [!_G_USING_THUNKS]: Remove conditional code.
12815 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12816 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12817
0e886ef9
JM
12818 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12819 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12820 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12821 (_G_VTABLE_LABEL_PREFIX): Likewise.
12822 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12823 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12824 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12825 (_G_VTABLE_LABEL_PREFIX): Likewise.
12826 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12827 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12828 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12829 (_G_VTABLE_LABEL_PREFIX): Likewise.
12830 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12831
bcba7aa2
L
128322012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12833
12834 * libio/Makefile: Include ../Makeconfig before tests.
12835 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12836 only if $(build-shared) is yes.
12837
06585ee8
L
12838 * iconv/gconv_db.c: Update copyright years.
12839
80ccd52c
LD
128402012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12841
12842 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12843 unwind info if defined PIC. Fix special cases description.
12844 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12845
12846 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12847 DP_HI_MASK entry.
12848 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12849
691bc9c1
L
128502012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12851
3d9b46b3
L
12852 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12853
de2139a9
L
12854 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12855 is NULL.
12856
5ca78dd0
L
12857 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12858 (LDLIBS-tst-chk4): This.
12859 (LDFLAGS-tst-chk5): Renamed to ...
12860 (LDLIBS-tst-chk5): This.
12861 (LDFLAGS-tst-chk6): Renamed to ...
12862 (LDLIBS-tst-chk6): This.
12863 (LDFLAGS-tst-lfschk4): Renamed to ...
12864 (LDLIBS-tst-lfschk4): This.
12865 (LDFLAGS-tst-lfschk5): Renamed to ...
12866 (LDLIBS-tst-lfschk5): This.
12867 (LDFLAGS-tst-lfschk6): Renamed to ...
12868 (LDLIBS-tst-lfschk6): This.
12869
691bc9c1
L
12870 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12871 on $(common-objpfx)soversions.mk.
12872
65cafb1c
JM
128732012-09-07 Joseph Myers <joseph@codesourcery.com>
12874
12875 [BZ #10014]
12876 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12877 example host name.
12878
c78ab094
SP
128792012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12880
12881 * malloc/arena.c (arena_get_retry): New function that gets
12882 another arena for the caller to try its request on.
12883 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12884 current arena cannot fulfill the request.
12885 (__libc_memalign): Likewise.
12886 (__libc_memalign): Likewise.
12887 (__libc_pvalloc): Likewise.
12888 (__libc_calloc): Likewise.
12889
01f49f59
JT
128902012-09-05 John Tobey <john.tobey@gmail.com>
12891
12892 [BZ #13542]
12893 * manual/arith.texi (Operations on Complex): Fix description
12894 of carg branch cut.
12895
4c23fed5
JM
128962012-09-06 Joseph Myers <joseph@codesourcery.com>
12897
1d3c8572
JM
12898 [BZ #10014]
12899 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12900 host name.
12901
4c23fed5
JM
12902 [BZ #10038]
12903 * manual/memory.texi (Memory): Make order of menu items match
12904 order of sections.
12905
04570aaa
L
129062012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12907
12908 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12909 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12910 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12911
b80af2f4
L
129122012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12913
12914 * csu/libc-tls.c (static_dtv): Renamed to ...
12915 (_dl_static_dtv): This. Make it global.
12916 (_dl_initial_dtv): Removed.
12917 (__libc_setup_tls): Updated.
12918 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12919 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12920 DL_INITIAL_DTV.
12921
2abe9f15
PM
129222012-09-06 Petr Machata <pmachata@redhat.com>
12923
12924 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12925 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12926 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12927 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12928
0948c3af
L
129292012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12930
12931 [BZ #14545]
12932 * csu/libc-tls.c (_dl_initial_dtv): New variable.
12933 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12934 freeing dtv[-1].
12935
a5055ad1
L
129362012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12937
12938 [BZ #14544]
12939 * Makeconfig (link-static-before-libc): Replace $(+prector)
12940 with $(+prectorT).
12941 (link-static-after-libc): Replace $(+postctor) with
12942 $(+postctorT).
12943 (link-bounded): Replace $(+prector)/$(+postctor) with
12944 $(+prectorT)/$(+postctorT).
12945 (+prectorT): New macro.
12946 (+postctorT): Likewise.
12947
ed8c2ecd
JM
129482012-09-06 Joseph Myers <joseph@codesourcery.com>
12949
12950 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12951 (round_str): Handle values above the maximum for IBM long double
12952 as inexact.
12953 * stdlib/tst-strtod-round.c (tests): Regenerated.
12954
14c996c8
AK
129552012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12956
12957 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12958 assembler flag.
12959 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12960 zarch_nohighgprs around the zarch optimized routines.
12961 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12962 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12963 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12964 for zarch.
12965
430d6ce6
DM
129662012-09-05 David S. Miller <davem@davemloft.net>
12967
12968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12969
ff04dda4
DM
12970 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12971 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12972 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12973 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12974 entries.
12975
24d4e01b
AO
129762012-09-05 Alexandre Oliva <aoliva@redhat.com>
12977
12978 * malloc/arena.c: Fold copyright years.
12979 * malloc/mcheck.c, malloc/memusage.c: Likewise.
12980
61d58174
AO
129812012-09-05 Alexandre Oliva <aoliva@redhat.com>
12982
12983 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12984
20196a5e
AO
129852012-09-05 Alexandre Oliva <aoliva@redhat.com>
12986
12987 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
12988
5c447383
AO
129892012-09-05 Alexandre Oliva <aoliva@redhat.com>
12990
12991 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12992 change internal state upon failure.
12993
fad64255
AO
129942012-09-05 Alexandre Oliva <aoliva@redhat.com>
12995
12996 * malloc/mcheck.c (mcheck_check_all): Fix typo.
12997 * malloc/memusage.c (mmap): Likewise.
12998 (mmap64, mremap): Likewise. Adjust name in comment.
12999
1ffb8c90
SP
130002012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13001
13002 * libio/fileops.c: Fix typos in comments.
13003 * libio/oldfileops.c: Likewise.
13004 * libio/wfileops.c: Likewise.
13005
6ef9cc37
SP
130062012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13007
13008 [BZ #1349]
13009 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13010 (tst-malloc-usable-ENV): Set environment for test case.
13011 * malloc/hooks.c (malloc_check_get_size): New function to get
13012 requested size.
13013 * malloc/malloc.c (musable): Use malloc_check_get_size.
13014 * malloc/tst-malloc-usable.c: New test case.
13015
4d038ae3
AS
130162012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13017
13018 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13019
c4e85184
AM
130202012-09-05 Allan McRae <allan@archlinux.org>
13021
b9dafc56 13022 [BZ #13966]
c4e85184
AM
13023 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13024 determine header location.
13025 * configure: Regenerated.
13026
e1343020
AS
130272012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13028
13029 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13030 float format.
13031 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
13032 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13033 format.
e1343020
AS
13034 (test): Regenerate.
13035
0a9f1987
DM
130362012-09-04 David S. Miller <davem@davemloft.net>
13037
13038 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13039 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13040 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13041
29237804
FW
130422012-09-04 Florian Weimer <fweimer@redhat.com>
13043
13044 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13045 failures.
13046
edb3cb88
FW
13047 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13048
60160d83
JM
130492012-09-04 Joseph Myers <joseph@codesourcery.com>
13050
13051 [BZ #9914]
13052 * libio/iogetdelim.c: Include <limits.h>.
13053 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13054 + len + 1 would overflow.
13055
bcd6c8dc
AJ
130562012-09-03 Andreas Jaeger <aj@suse.de>
13057
13058 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13059 * sysdeps/i386/fpu/libm-test-ulps: Update.
13060
4ffffbd2
LD
130612012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13062
13063 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13064 Add s_sinf-sse2, s_conf-sse2.
13065
13066 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13067 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13068 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13069 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13070
13071 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13072 for using routine as __sinf_ia32.
13073 Use macro for function declaration and weak_alias.
13074 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13075 for using routine as __cosf_ia32.
13076 Use macro for function declaration and weak_alias.
13077
13078 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13079 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13080
13081 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13082 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13083 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13084
13085 * math/libm-test.inc (cos_test): Add more test cases.
13086 (sin_test): Likewise.
13087 (sincos_test): Likewise.
13088
511fa286
AK
130892012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13090
13091 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13092 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13093 hidden.
13094 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13095
5f30cfec
L
130962012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13097
13098 [BZ #14538]
13099 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13100 first element of the GOT.
13101 (elf_machine_load_address): Return the difference between
13102 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13103
0786794f
AM
131042012-09-01 Allan McRae <allan@archlinux.org>
13105
5f30cfec
L
13106 [BZ #13412]
13107 * configure.in (AWK): Require gawk version 3.0 or later.
13108 * configure: Regenerated.
0786794f 13109
26889eac
JM
131102012-09-01 Joseph Myers <joseph@codesourcery.com>
13111
13112 * sysdeps/unix/sysv/linux/kernel-features.h
13113 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13114 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13115 [__NR_clock_getres]: Make code unconditional.
13116 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13117 (clock_getcpuclockid): Remove code left unreachable by removal of
13118 conditionals.
13119 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13120 code unconditional.
13121 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13122 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13123 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13124 Make code unconditional.
13125 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13126 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13127 * sysdeps/unix/sysv/linux/clock_settime.c
13128 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13129 conditional code.
13130 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13131 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13132
d22e28b0
L
131332012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13134
13135 [BZ #14476]
13136 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13137 scripts/test-installation.pl.
13138
13139 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13140 and $ld_so_version if it is set.
13141
050af9c4
SP
131422012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13143
13144 [BZ #14516]
13145 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13146 failure if reading from procfs failed.
13147 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13148
ad845c0b
JM
131492012-08-27 Joseph Myers <joseph@codesourcery.com>
13150
13151 * sysdeps/unix/sysv/linux/kernel-features.h
13152 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13153 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13154 Remove conditional code.
13155 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13156 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13157 Remove conditional code.
13158 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13159 * sysdeps/unix/sysv/linux/i386/fxstat.c
13160 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13161 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13162 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13163 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13164 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13165 * sysdeps/unix/sysv/linux/i386/lxstat.c
13166 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13167 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13168 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13169 Remove conditional code.
13170 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13171 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13172 Remove conditional code.
13173 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13174 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13175 <kernel-features.h>.
13176 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13177 Remove.
13178 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13179 Remove conditional code.
13180 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13181 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13182 Remove conditional.
13183
5dbf56af
MF
131842012-08-27 Mike Frysinger <vapier@gentoo.org>
13185
13186 [BZ #5400]
13187 * NEWS: Add fixed bug number.
13188
d6e70f43
JM
131892012-08-27 Joseph Myers <joseph@codesourcery.com>
13190
7efb4737
JM
13191 [BZ #14519]
13192 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13193 underflowing exponent in case of negative sign.
13194 * stdlib/tst-strtod-round-data: Add more tests.
13195 * stdlib/tst-strtod-round.c (tests): Regenerated.
13196
af92131a
JM
13197 [BZ #3479]
13198 * stdlib/strtod_l.c (NDIG): Remove.
13199 (HEXNDIG): Likewise.
13200 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13201 smallest representable value.
13202 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13203 lie within an exact representation of 1/2 ulp of the result.
13204 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13205 unconditionally.
13206 (TENS_P9_IDX): Define unconditionally.
13207 (TENS_P9_SIZE): Likewise.
13208 (TENS_P10_IDX): Likewise.
13209 (TENS_P10_SIZE): Likewise.
13210 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13211 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13212 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13213 entries for 10^2^13 and 10^2^14.
13214 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13215 (TENS_P13_IDX): Define.
13216 (TENS_P13_SIZE): Likewise.
13217 (TENS_P14_IDX): Likewise.
13218 (TENS_P14_SIZE): Likewise.
13219 (_fpioconst_pow10): Change array size to
13220 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13221 unconditional.
13222 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13223 1024]: Add entries for 10^2^13 and 10^2^14.
13224 [LAST_POW10 > _LAST_POW10]: Remove #error.
13225 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13226 (_fpioconst_pow10): Change array size to
13227 FPIOCONST_POW10_ARRAY_SIZE.
13228 * stdlib/gen-fpioconst.c: New file.
13229 * stdlib/gen-tst-strtod-round.c: Likewise.
13230 * stdlib/tst-strtod-round-data: Likewise.
13231 * stdlib/tst-strtod-round.c: Likewise.
13232 * stdlib/Makefile (tests): Add tst-strtod-round.
13233
d6e70f43
JM
13234 [BZ #14459]
13235 * stdlib/strtod_l.c: Include <stdint.h>.
13236 (NDEBUG): Do not define.
13237 (round_and_return): Change EXPONENT parameter to type intmax_t.
13238 Rearrange calculations to avoid internal overflow possibilities.
13239 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13240 Rearrange calculations to avoid internal overflow possibilities.
13241 Assert that number fits inside MPNSIZE limbs.
13242 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13243 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13244 calculations and add assertions to avoid internal overflow
13245 possibilities. Add casts to avoid signed/unsigned operations.
13246 * stdlib/tst-strtod-overflow.c: New file.
13247 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13248
1f529f7d
MP
132492012-08-25 Marek Polacek <polacek@redhat.com>
13250
13251 * time/time.h: Fix some typos in comments.
13252
59a629f1
RM
132532012-08-23 Roland McGrath <roland@hack.frob.com>
13254
13255 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13256 * posix/tst-rfc3484-2.c: Likewise.
13257 * posix/tst-rfc3484-3.c: Likewise.
13258
d3bafbc9
SM
132592012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13260
13261 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13262 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13263
4efcc022
JM
132642012-08-23 Joseph Myers <joseph@codesourcery.com>
13265
13266 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13267 #include of fxstatat64.c.
13268
3cc3ef96
RM
132692012-08-22 Roland McGrath <roland@hack.frob.com>
13270
f04e2132
RM
13271 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13272 * shadow/getspent_r.c: Likewise.
13273 * shadow/getspnam.c: Likewise.
13274 * shadow/getspnam_r.c: Likewise.
13275 * gshadow/getsgent.c: Likewise.
13276 * gshadow/getsgent_r.c: Likewise.
13277 * gshadow/getsgnam.c: Likewise.
13278 * gshadow/getsgnam_r.c: Likewise.
13279 * inet/getnetbyad.c: Likewise.
13280 * inet/getnetbyad_r.c: Likewise.
13281 * inet/getnetbynm.c: Likewise.
13282 * inet/getnetbynm_r.c: Likewise.
13283 * inet/getnetent.c: Likewise.
13284 * inet/getnetent_r.c: Likewise.
13285 * inet/getproto.c: Likewise.
13286 * inet/getproto_r.c: Likewise.
13287 * inet/getprtent.c: Likewise.
13288 * inet/getprtent_r.c: Likewise.
13289 * inet/getprtname.c: Likewise.
13290 * inet/getprtname_r.c: Likewise.
13291 * inet/getrpcbyname.c: Likewise.
13292 * inet/getrpcbyname_r.c: Likewise.
13293 * inet/getrpcbynumber.c: Likewise.
13294 * inet/getrpcbynumber_r.c: Likewise.
13295 * inet/getrpcent.c: Likewise.
13296 * inet/getrpcent_r.c: Likewise.
13297 * inet/getaliasent.c: Likewise.
13298 * inet/getaliasent_r.c: Likewise.
13299 * inet/getaliasname.c: Likewise.
13300 * inet/getaliasname_r.c: Likewise.
13301 * nscd/getgrgid_r.c: Likewise.
13302 * nscd/getgrnam_r.c: Likewise.
13303 * nscd/gethstbyad_r.c: Likewise.
13304 * nscd/gethstbynm3_r.c: Likewise.
13305 * nscd/getpwnam_r.c: Likewise.
13306 * nscd/getpwuid_r.c: Likewise.
13307 * nscd/getsrvbynm_r.c: Likewise.
13308 * nscd/getsrvbypt_r.c: Likewise.
13309 * nscd/gai.c: Likewise.
13310
c53d909c
RM
13311 * configure.in (build_nscd): New substituted variable, set
13312 by --disable-build-nscd and defaults to $use_nscd.
13313 * configure: Regenerated.
13314 * config.make.in (build-nscd): New substituted variable.
13315 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13316 Change conditional to require [$(build-nscd) = yes] as well.
13317 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13318
3cc3ef96
RM
13319 [BZ# 13696]
13320 * configure.in (use_nscd): New substituted variable, set by
13321 --disable-nscd. If enabled, define USE_NSCD.
13322 * configure: Regenerated.
13323 * config.h.in: Add USE_NSCD.
13324 * config.make.in (use-nscd): New substituted variable.
13325 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13326 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13327 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13328 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13329 (CFLAGS-getgrnam_r.c): Likewise.
13330 (CFLAGS-initgroups.c): Likewise.
13331 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13332 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13333 Variables removed.
13334 * inet/getnetgrent_r.c
13335 (nscd_setnetgrent): New function, broken out of ...
13336 (setnetgrent): ... here. Call it.
13337 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13338 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13339 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13340 * nscd/Makefile (routines, aux): Move definitions after include of
13341 Makeconfig. Conditionalize on [$(use-nscd) != no].
13342 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13343 Conditionalize on [USE_NSCD].
13344 (is_nscd, nscd_init_cb): Likewise.
13345 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13346 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13347 * nss/nss_db/db-init.c: Likewise.
13348 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13349 [USE_NSCD].
13350 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13351 (make_request): Use it.
13352 (cache_valid_p): New function.
13353 (__check_pf): Use it.
13354 * NEWS: Add item for --disable-nscd.
13355
07e51550
DL
133562012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13357
13358 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13359 to support sed >= 4.2.1-20-ga9bf076.
13360 * configure: Regenerated.
13361
35a5b08b
RM
133622012-08-22 Roland McGrath <roland@hack.frob.com>
13363
13364 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13365 Conditionalize whole body on [IREL].
13366
8479f23a
JL
133672012-08-22 Jeff Law <law@redhat.com>
13368
13369 [BZ #14505]
13370 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13371 if the family is PF_UNSPEC.
13372
48da0b21
MF
133732012-08-22 Mike Frysinger <vapier@gentoo.org>
13374
13375 * Makerules (lib-version): Rename from V.
13376 (install-lib-nosubdir): Change V to lib-version.
13377
15d0da8c
WS
133782012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13379
13380 [BZ #14252]
13381 * powerpc32/power6/wcschr.c: New file.
13382 * powerpc32/power6/wcscpy.c: New file.
13383 * powerpc32/power6/wcsrchr.c: New file.
13384 * powerpc64/power6/wcschr.c: New file.
13385 * powerpc64/power6/wcscpy.c: New file.
13386 * powerpc64/power6/wcsrchr.c: New file.
13387
bcca0895
MK
133882012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13389
13390 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13391 (two_way_short_needle): Use it.
5a4aaa33
RM
13392 * string/strstr.c (AVAILABLE1_USES_J): Define.
13393 * string/strcasestr.c: Likewise.
99677e57
MK
13394
13395 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13396 array references.
13397 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13398
400726de
MK
13399 [BZ #11607]
13400 * NEWS: Add an entry.
13401 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13402 define their defaults.
13403 (two_way_short_needle): Detect end-of-string on-the-fly.
13404 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13405 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13406 * string/bug-strcasestr1.c: New test.
13407 * string/Makefile: Run it.
13408
20a71f2c
MK
134092012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13410
13411 [BZ #11607]
13412 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13413 the first character.
13414
21ad0558
RM
134152012-08-21 Roland McGrath <roland@hack.frob.com>
13416
13417 * csu/elf-init.c (__libc_csu_irel): Function removed.
13418 * csu/libc-start.c (apply_irel): New function.
13419 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13420
0e1d9911
JM
134212012-08-21 Joseph Myers <joseph@codesourcery.com>
13422
13423 * sysdeps/unix/sysv/linux/kernel-features.h
13424 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13425 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13426 <kernel-features.h>.
13427 [__NR_fadvise64_64]: Make code unconditional.
13428 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13429 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13430 !__NR_fadvise64_64)]: Likewise.
13431 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13432 !__NR_fadvise64_64))]: Likewise.
13433 [__NR_fadvise64]: Make code unconditional.
13434 [!__NR_fadvise64]: Remove conditional code.
13435 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13436 <kernel-features.h>.
13437 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13438 unconditional.
13439 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13440 conditional code.
13441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13442 not include <kernel-features.h>.
13443 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13444 unconditional.
13445 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13446 conditional code.
13447 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13448 include <kernel-features.h>.
13449 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13450 unconditional.
13451 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13452 conditional code.
13453
14a50c9d
WS
134542012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13455
13456 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13457 slight instruction rearrangements per scrollpipe analysis.
13458 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13459
c0f4faf0
RM
134602012-08-20 Roland McGrath <roland@hack.frob.com>
13461
696da859
RM
13462 * manual/syslog.texi (syslog; vsyslog, closelog):
13463 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13464 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13465
c0f4faf0
RM
13466 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13467 DSOCAPS to match condition on defining it.
13468
348363b2
JM
134692012-08-20 Joseph Myers <joseph@codesourcery.com>
13470
a35cbf28
JM
13471 * sysdeps/unix/sysv/linux/kernel-features.h
13472 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13474 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13475 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13477 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13478 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13480 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13481 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13482
445f7ecd
JM
13483 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13484 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13485
348363b2
JM
13486 * sysdeps/unix/sysv/linux/kernel-features.h
13487 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13488 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13489 unconditional.
13490 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13491 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13492 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13493 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13494 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13495 Make code unconditional.
13496 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13497 (__mmap64) [!__NR_mmap2]: Likewise.
13498 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13499 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13500 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13501 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13502 [__NR_mmap2]: Make code unconditional.
13503 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13504 (__mmap64) [!__NR_mmap2]: Likewise.
13505
bc5bc0e5
AK
135062012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13507
13508 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13509
88d506de
AJ
135102012-08-18 Andreas Jaeger <aj@suse.de>
13511
13512 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13513
493387d2
MF
135142012-08-18 Mike Frysinger <vapier@gentoo.org>
13515
13516 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13517 * include/unistd.h (__have_sock_cloexec): Likewise.
13518 (__have_pipe2): Likewise.
13519 (__have_dup3): Likewise.
13520
a277af22
MF
135212012-08-18 Mike Frysinger <vapier@gentoo.org>
13522
13523 [BZ #9685]
13524 * include/unistd.h (__have_pipe2): Change define into an extern int.
13525 (__have_dup3): Likewise.
13526 * socket/have_sock_cloexec.c: Include fcntl.h.
13527 (__have_pipe2): New variable.
13528 (__have_dup3): Likewise.
13529
fdab8fd3
MF
135302012-08-17 Mike Frysinger <vapier@gentoo.org>
13531
13532 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13533
31035e80
MP
135342012-08-17 Marek Polacek <polacek@redhat.com>
13535
13536 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13537 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13538
3bd9e993
RM
135392012-08-17 Roland McGrath <roland@hack.frob.com>
13540
c91c505f
RM
13541 * configure.in: Add AC_SUBST for sysheaders.
13542 * configure: Regenerated.
13543 * config.make.in (sysheaders): New substituted variable.
13544
7c6f9d53
RM
13545 * sysdeps/unix/mkfifo.c: Moved ...
13546 * sysdeps/posix/mkfifo.c: ... here.
13547 * sysdeps/unix/mkfifoat.c: Moved ...
13548 * sysdeps/posix/mkfifoat.c: ... here.
13549
13550 * sysdeps/unix/utime.c: Moved ...
13551 * sysdeps/posix/utime.c: ... here.
13552
13553 * sysdeps/unix/time.c: Moved ...
13554 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
13555 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13556 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
13557
13558 * sysdeps/unix/nice.c: Moved ...
13559 * sysdeps/posix/nice.c: ... here.
13560
13561 * sysdeps/unix/alarm.c: Moved ...
13562 * sysdeps/posix/alarm.c: ... here.
13563
3bd9e993
RM
13564 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13565
d1f09384
JL
135662012-08-17 Jeff Law <law@redhat.com>
13567
13568 * intl/Makefile (codeset_mo): New variable.
13569 ($(codeset_mo)): New target.
13570 (tst-codeset.out): Depend on that. Remove explicit rule.
13571 (tst-gettext3.out, tst-gettext5.out): Likewise.
13572 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13573 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13574 * intl/tst-codeset.sh: Remove.
13575 * intl/tst-gettext3.sh: Likewise.
13576 * intl/tst-gettext5.sh: Likewise.
13577
2ae1ae5c
RM
135782012-08-17 Roland McGrath <roland@hack.frob.com>
13579
c31fdb83
RM
13580 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13581 * sysdeps/unix/syscalls.list: ... here.
13582
a0844057
RM
13583 * sysdeps/posix/getaddrinfo.c
13584 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13585 (gaiconf_init, gaiconf_reload): Use them.
13586 [!_STATBUF_ST_NSEC]
13587 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13588 Define using time_t rather than struct timespec.
13589
750c1f2a
RM
13590 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13591 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13592 Macros removed.
13593 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13594 [!NO_THREADS].
13595 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13596 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13597 Likewise.
13598
2ae1ae5c
RM
13599 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13600 __libc_cleanup_push argument.
13601
e66a42f5
RM
13602 * bits/param.h: New file.
13603 * misc/sys/param.h: New file.
13604 * include/sys/param.h: New file.
13605 * misc/Makefile (headers): Add bits/param.h.
13606 * sysdeps/generic/sys/param.h: File removed.
13607 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13608 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13609 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 13610 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 13611
b7c08a66
RM
13612 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13613 last change.
13614
b2e1c562
RM
13615 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13616 [_IO_MTSAFE_IO].
13617 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13618 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13619 New macros.
13620
c75ccd4c
RM
13621 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13622 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13623 rather than -D_IO_MTSAFE_IO conditionally.
13624 * stdio-common/Makefile (CPPFLAGS): Likewise.
13625 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13626 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13627 Use $(libio-mtsafe).
13628 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13629 of -D_IO_MTSAFE_IO.
13630 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13631 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13632 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13633 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13634 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13635 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13636 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13637 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13638 (CFLAGS-fread_u_chk.c): Likewise.
13639 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13640 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13641 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13642 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13643 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13644 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13645 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13646 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13647 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13648
13649 * libio/Makefile: Test [$(libc-reentrant) = yes]
13650 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13651
13652 * Makeconfig
13653 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13654 * sysdeps/pthread/configure: File removed.
13655 * sysdeps/pthread/Makeconfig: New file.
13656 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13657 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13658
d9195db8
GB
136592012-08-16 Gary Benson <gbenson@redhat.com>
13660
13661 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13662 unmapping the first object in a namespace.
13663
86466cd9
RM
136642012-08-16 Roland McGrath <roland@hack.frob.com>
13665
13666 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13667 (__internal_setnetgrent): ... this. Add internal_function to
13668 definition. Add libc_hidden_def.
13669 (setnetgrent): Update caller.
13670 (internal_endnetgrent): Renamed to ...
13671 (__internal_endnetgrent): ... this. Add internal_function to
13672 definition. Add libc_hidden_def.
13673 (endnetgrent): Update caller.
13674 (internal_getnetgrent_r): Renamed to ...
13675 (__internal_getnetgrent_r): ... this. Add internal_function to
13676 definition. Add libc_hidden_def.
13677 (__getnetgrent_r): Update caller.
13678 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13679
c3c8283c
JM
136802012-08-16 Joseph Myers <joseph@codesourcery.com>
13681
13682 * stdlib/longlong.h: Update from GCC.
13683
db1ee0a8
RM
136842012-08-16 Roland McGrath <roland@hack.frob.com>
13685
13686 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13687 on _QL, which is set by umul_ppmm but never used.
13688 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13689 variables, which are set by GMP macros but never used.
13690 * stdio-common/_itowa.c (_itowa): Likewise.
13691 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13692 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13693
30f69637
CD
136942012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13695
13696 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13697 struct La_sh_regs is not constant.
13698 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13699 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13700 and struct La_sparc64_regs are not constant.
13701
93a78ac4
JM
137022012-08-16 Joseph Myers <joseph@codesourcery.com>
13703
13704 * sysdeps/unix/sysv/linux/kernel-features.h
13705 (__ASSUME_POSIX_TIMERS): Remove.
13706 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13707 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13708 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13709 Make code unconditional.
13710 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13711 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13712 Make code unconditional.
13713 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13714 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13715 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13716 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13717 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13718 Make code unconditional.
13719 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13720 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13721 (__libc_missing_posix_timers): Remove.
13722
dd924cd7
RM
137232012-08-15 Roland McGrath <roland@hack.frob.com>
13724
4b4f2771
RM
13725 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13726 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13727
601c888b
RM
13728 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13729
176790a7
RM
13730 * elf/dl-sym.c: Include <stdlib.h>.
13731
329bc018
RM
13732 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13733 constants, which avoids warnings in 32-bit builds.
13734
e04e272d
RM
13735 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13736 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13737
952bf94a
RM
13738 * misc/lseek.c: File moved to ...
13739 * io/lseek.c: ... here.
13740
7c99b50a
RM
13741 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13742
dd924cd7
RM
13743 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13744 shifting LEN more than 31 bits at once.
13745
b3f479a8
LD
137462012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13747
13748 [BZ #14195]
8c4ae0d4
RM
13749 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13750 segmentation fault for a case of two empty input strings.
b3f479a8
LD
13751 * string/test-strncasecmp.c (check1): Renamed to...
13752 (bz12205): ...this.
13753 (bz14195): Add new testcase for two empty input strings and N > 0.
13754 (test_main): Call new testcase, adapt for renamed function.
13755
9c55864e
AJ
137562012-08-15 Andreas Jaeger <aj@suse.de>
13757
13758 [BZ #14090]
13759 * crypt/md5test2.c: New test, based on test supplied by Serge
13760 Belyshev <belyshev@depni.sinp.msu.ru>.
13761 * crypt/Makefile (xtests): Add md5test-giant..
13762 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13763
02dcb6c5
PE
137642012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13765
13766 [BZ #14090]
13767 * crypt/md5.c (md5_process_block): Don't assume the buffer
13768 length is less than 2**32.
13769 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13770 length is less than 2**64.
13771
a3f95dcc
RM
137722012-08-15 Roland McGrath <roland@hack.frob.com>
13773
be75d758
RM
13774 * string/str-two-way.h: Include <sys/param.h>.
13775 (MAX): Macro removed.
13776
7312ca90
RM
13777 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13778 Move #define and #undef of memmove to just before and after
13779 including <string.h>.
13780
9a0a5486
RM
13781 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13782 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13783 and after including <string.h>. Move declarations of
13784 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13785 to before #include "string/memmove.c".
13786
67cc348d
RM
13787 * include/dirent.h: Declare __getdirentries.
13788
a3f95dcc
RM
13789 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13790 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13791
ca98e171
MF
137922012-08-14 Mike Frysinger <vapier@gentoo.org>
13793
13794 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13795 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13796 * sysdeps/i386/configure: Regenerated.
13797 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13798 STABS_CURRENT_FILE, and STABS_FUN.
13799 (END): Remove call to STABS_FUN_END.
13800 (STABS_CURRENT_FILE1): Delete.
13801 (STABS_CURRENT_FILE): Likewise.
13802 (STABS_FUN): Likewise.
13803 (STABS_FUN_END): Likewise.
13804 (STABS_FUN2): Likewise.
13805 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13806 * sysdeps/x86_64/configure: Regenerated.
13807
5908bf46
RM
138082012-08-14 Roland McGrath <roland@hack.frob.com>
13809
13810 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 13811 * elf/dl-lookup.c: Likewise.
5908bf46 13812
f2c05b9e
JM
138132012-08-14 Joseph Myers <joseph@codesourcery.com>
13814
13815 * sysdeps/unix/sysv/linux/kernel-features.h
13816 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13817 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13818 unconditionally.
13819 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13820 unconditionally.
13821 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13822 condition on __ASSUME_CLONE_THREAD_FLAGS.
13823
e11f5155
AJ
138242012-08-14 Andreas Jaeger <aj@suse.de>
13825
13826 * sysdeps/i386/fpu/libm-test-ulps: Update.
13827
51a9ba86
MK
138282012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13829
2fdd4f78
AJ
13830 * include/atomic.h (atomic_exchange_and_add): Split into ...
13831 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13832 New atomic macros.
51a9ba86 13833
ba6cba9e
MT
138342012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13835
13836 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13837
42443a47
JL
138382012-08-13 Jeff Law <law@redhat.com>
13839
13840 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13841 null byte in the output string.
13842
121dce05
JM
138432012-08-10 Joseph Myers <joseph@codesourcery.com>
13844
13845 * sysdeps/unix/sysv/linux/kernel-features.h
13846 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13847 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13848 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13849 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13850 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13851 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13852 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13853
bf51f568
JL
138542012-08-09 Jeff Law <law@redhat.com>
13855
13856 [BZ #13939]
13857 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13858 When avoid_arena is set, don't retry in the that arena. Pick the
13859 next one, whatever it might be.
13860 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13861 (arena_lock): Pass in new parameter to arena_get2.
13862 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13863 arena_get2.
13864 (__libc_malloc): Unify retrying after main arena failure with
13865 __libc_memalign version.
13866 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13867
f85fa270
L
138682012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13869
13870 [BZ #14166]
13871 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13872 to __redirect_strstr.
13873 (__strstr_sse42): Use typeof __redirect_strstr.
13874 (__strstr_ia32): Likewise.
13875 (__libc_strstr): New prototype.
13876 (strstr): Renamed to ...
13877 (__libc_strstr): This.
13878 (strstr): New strong alias of __libc_strstr.
13879 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13880 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13881 __redirect_time.
13882 Include <time.h>.
13883 (__libc_time): New prototype.
13884 (time_ifunc): Replace time with __libc_time.
13885 (time): New strong alias and hidden definition of __libc_time.
13886 (__GI_time): Remove strong alias.
13887 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13888 Include <stddef.h>.
13889 (memmove): Redefined to __redirect_memmove.
13890 (__memmove_sse2): Use typeof __redirect_memmove.
13891 (__memmove_ssse3): Likewise.
13892 (__memmove_ssse3_back): Likewise.
13893 (__libc_memmove): New prototype.
13894 (memmove): Renamed to ...
13895 (__libc_memmove): This.
13896 (memmove): New strong alias of __libc_memmove.
13897
33b4a91e
MS
138982012-08-08 Mark Salter <msalter@redhat.com>
13899
13900 * elf/elf.h
13901 (R_MN10300_TLS_GD): Define.
13902 (R_MN10300_TLS_LD): Likewise.
13903 (R_MN10300_TLS_LDO): Likewise.
13904 (R_MN10300_TLS_GOTIE): Likewise.
13905 (R_MN10300_TLS_IE): Likewise.
13906 (R_MN10300_TLS_LE): Likewise.
13907 (R_MN10300_TLS_DTPMOD): Likewise.
13908 (R_MN10300_TLS_DTPOFF): Likewise.
13909 (R_MN10300_TLS_TPOFF): Likewise.
13910 (R_MN10300_SYM_DIFF): Likewise.
13911 (R_MN10300_ALIGN): Likewise.
13912 (R_MN10300_NUM): Update.
13913
b36137f1
JM
139142012-08-08 Joseph Myers <joseph@codesourcery.com>
13915
13916 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13917 Remove.
13918
cdd915fd
RM
139192012-08-08 Roland McGrath <roland@hack.frob.com>
13920
a2433aac
RM
13921 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13922
cdd915fd
RM
13923 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13924 sysdeps/unix -> sysdeps/posix move.
13925 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13926
bf9b740a
AM
139272012-08-07 Allan McRae <allan@archlinux.org>
13928
13929 [BZ #14303]
13930 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13931 (SUNOS_CPP): Likewise.
13932 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13933 not found.
13934 (open_input): Call CPP using execvp.
13935
93df14ee
JM
139362012-08-07 Joseph Myers <joseph@codesourcery.com>
13937
13938 * sysdeps/unix/sysv/linux/kernel-features.h
13939 (__ASSUME_PROT_GROWSUPDOWN): Remove.
13940 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13941 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13942 (__ASSUME_WAITID_SYSCALL): Likewise.
13943 * sysdeps/unix/sysv/linux/dl-execstack.c
13944 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13945 code unconditional.
13946 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13947 conditional code.
13948 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13949 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13950 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13951 code.
13952 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13953 unconditional.
13954 [__ASSUME_WAITID_SYSCALL]: Likewise.
13955 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13956
d34689de
RM
139572012-08-07 Roland McGrath <roland@hack.frob.com>
13958
a281decc
RM
13959 * sysdeps/unix/closedir.c: Renamed to ...
13960 * sysdeps/posix/closedir.c: ... here.
13961 * sysdeps/unix/dirfd.c: Renamed to ...
13962 * sysdeps/posix/dirfd.c: ... here.
13963 * sysdeps/unix/dirstream.h: Renamed to ...
13964 * sysdeps/posix/dirstream.h: ... here.
13965 * sysdeps/unix/fdopendir.c: Renamed to ...
13966 * sysdeps/posix/fdopendir.c: ... here.
13967 * sysdeps/unix/opendir.c: Renamed to ...
13968 * sysdeps/posix/opendir.c: ... here.
13969 * sysdeps/unix/readdir.c: Renamed to ...
13970 * sysdeps/posix/readdir.c: ... here.
13971 * sysdeps/unix/readdir_r.c: Renamed to ...
13972 * sysdeps/posix/readdir_r.c: ... here.
13973 * sysdeps/unix/rewinddir.c: Renamed to ...
13974 * sysdeps/posix/rewinddir.c: ... here.
13975 * sysdeps/unix/seekdir.c: Renamed to ...
13976 * sysdeps/posix/seekdir.c: ... here.
13977 * sysdeps/unix/telldir.c: Renamed to ...
13978 * sysdeps/posix/telldir.c: ... here.
13979 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13980 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13981 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13982 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13983
22895b47
RM
13984 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13985 * bits/fcntl.h: ... here.
13986
707a53b6
RM
13987 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13988 not 0.
13989 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13990 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13991 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13992 (struct flock): Move l_start, l_len to the beginning.
13993 Use __pid_t for l_pid.
13994 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13995 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13996 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13997 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13998 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13999 [__USE_LARGEFILE64] (struct flock64): New type.
14000 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14001
f0bd3e25
RM
14002 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14003 * bits/dirent.h: ... here.
14004
d34689de
RM
14005 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14006 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14007
6dad2c06
JM
140082012-08-07 Joseph Myers <joseph@codesourcery.com>
14009
14010 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14011 Change from 2.6.0 to 2.6.16.
14012 * sysdeps/unix/sysv/linux/configure: Regenerated.
14013 * sysdeps/unix/sysv/linux/kernel-features.h
14014 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14015 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14016 version.
14017 (__ASSUME_UTIMES): Likewise.
14018 (__ASSUME_CLONE_STOPPED): Remove.
14019 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14020 architectures, not kernel version.
14021 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14022 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14023 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14024 (__ASSUME_WAITID_SYSCALL): Likewise.
14025 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14026 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14027 * README: State 2.6.16 as minimum Linux kernel version. Do not
14028 refer to older versions.
14029
03af9520
RM
140302012-08-06 Roland McGrath <roland@hack.frob.com>
14031
8e49df1d
RM
14032 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14033 Define alphasort64 as an alias.
14034 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14035 Define versionsort64 as an alias.
14036 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14037 Define scandir64 as an alias.
14038 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14039 Define scandirat64 as an alias.
14040 * dirent/alphasort64.c (alphasort64):
14041 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14042 * dirent/versionsort64.c: Likewise.
14043 * dirent/scandir64.c: Likewise.
14044 * dirent/scandirat64.c: Likewise.
14045 * sysdeps/wordsize-64/alphasort.c: File removed.
14046 * sysdeps/wordsize-64/alphasort64.c: File removed.
14047 * sysdeps/wordsize-64/scandir.c: File removed.
14048 * sysdeps/wordsize-64/scandir64.c: File removed.
14049 * sysdeps/wordsize-64/scandirat.c: File removed.
14050 * sysdeps/wordsize-64/scandirat64.c: File removed.
14051 * sysdeps/wordsize-64/versionsort.c: File removed.
14052 * sysdeps/wordsize-64/versionsort64.c: File removed.
14053 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14054 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14055 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14056 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14057 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14058 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14059 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14060 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14061
14062 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14063 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14064 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14065 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14066 [defined __arch64__ || defined __sparcv9]
14067 (__INO_T_MATCHES_INO64_T): New macro.
14068 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14069 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14070 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14071 * sysdeps/unix/sysv/linux/bits/dirent.h
14072 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14073 (_DIRENT_MATCHES_DIRENT64): New macro.
14074
03af9520
RM
14075 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14076 Define lockf64 as an alias.
14077 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14078 Define fseeko64 as an alias.
14079 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14080 Define ftello64 as an alias.
14081 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14082 Define _IO_fgetpos64 and fgetpos64 as aliases.
14083 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14084 Define _IO_fsetpos64 and fsetpos64 as aliases.
14085 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14086 Conditionalize body on this.
14087 * libio/fseeko64.c: Likewise.
14088 * libio/ftello64.c: Likewise.
14089 * libio/iofgetpos64.c: Likewise.
14090 * libio/iofsetpos64.c: Likewise.
14091 * sysdeps/wordsize-64/lockf.c: File removed.
14092 * sysdeps/wordsize-64/lockf64.c: File removed.
14093 * sysdeps/wordsize-64/fseeko.c: File removed.
14094 * sysdeps/wordsize-64/fseeko64.c: File removed.
14095 * sysdeps/wordsize-64/ftello.c: File removed.
14096 * sysdeps/wordsize-64/ftello64.c: File removed.
14097 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14098 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14099 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14100 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14101 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14102 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14103 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14104 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14105 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14106 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14107 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14108 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14109 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14110 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14111
14112 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14113 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14114 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14115 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14116 [defined __arch64__ || defined __sparcv9]
14117 (__OFF_T_MATCHES_OFF64_T): New macro.
14118 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14119 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14120 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14121 (__OFF_T_MATCHES_OFF64_T): New macro.
14122
c5757acd
L
141232012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14124
14125 * stdlib/secure-getenv.c (__secure_getenv): Replace
14126 GLIBC_2_16 with GLIBC_2_17.
14127
3a31811e
L
141282012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14129
14130 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14131 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14132
faa2bccb
DM
141332012-08-03 David S. Miller <davem@davemloft.net>
14134
14135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14136
85fe1997
JM
141372012-08-03 Joseph Myers <joseph@codesourcery.com>
14138
14139 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14140 Remove.
14141 (__ASSUME_CORRECT_SI_PID): Likewise.
14142 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14143 (__ASSUME_TMPFS_NAME): Likewise.
14144 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14145 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14146 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14147 (HAVE_AUX_SECURE): Make definition unconditional.
14148 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14149 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14150
4f75b7a0
RM
141512012-08-03 Roland McGrath <roland@hack.frob.com>
14152
14153 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14154 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14155 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14156 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14157 __eloop_threshold instead of SYMLOOP_MAX.
14158
14159 * sysdeps/generic/eloop-threshold.h: New file.
14160 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14161 of MAXSYMLINKS.
14162 * elf/chroot_canon.c (chroot_canon): Likewise.
14163
7aab07e4
JM
141642012-08-03 Joseph Myers <joseph@codesourcery.com>
14165
14166 [BZ #13717]
14167 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14168 Change to 2.6.0 everywhere.
14169 * sysdeps/unix/sysv/linux/configure: Regenerated.
14170 * sysdeps/unix/sysv/linux/kernel-features.h
14171 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14172 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14173 kernel versions.
14174 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14175 (__ASSUME_FUTEX_REQUEUE): Remove.
14176 (__ASSUME_STATFS64): Define unconditionally.
14177 (__ASSUME_AT_SECURE): Likewise.
14178 (__ASSUME_CORRECT_SI_PID): Likewise.
14179 (__ASSUME_TGKILL): Define without depending on kernel version for
14180 i386.
14181 (__ASSUME_UTIMES): Likewise.
14182 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14183 kernel version.
14184 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14185 (__ASSUME_TMPFS_NAME): Likewise.
14186 * README: Update reference to Linux kernel versions.
14187
b67e9372
MP
141882012-08-02 Marek Polacek <polacek@redhat.com>
14189
1f529f7d 14190 [BZ# 14150]
b67e9372
MP
14191 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14192 libc_cv_asm_type_prefix with %.
14193 * configure: Regenerated.
d2441631
RM
14194 * include/libc-symbols.h: Remove comment about
14195 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
14196 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14197 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14198 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14199 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14200 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14201 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14202 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14203 * elf/tst-unique2mod1.c: Likewise.
14204 * elf/tst-unique1mod2.c: Likewise.
14205 * elf/tst-unique1mod1.c: Likewise.
14206 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14207 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14208 Replace ASM_TYPE_DIRECTIVE with .type.
14209 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14210 * sysdeps/i386/sysdep.h: Likewise.
14211 * sysdeps/x86_64/sysdep.h: Likewise.
14212 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
14213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14214 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 14215 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
14216 * sysdeps/powerpc/powerpc32/sysdep.h:
14217 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
14218 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14219 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14220 * sysdeps/i386/fpu/e_powf.S: Likewise.
14221 * sysdeps/i386/fpu/e_expl.S: Likewise.
14222 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14223 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14224 * sysdeps/i386/fpu/e_pow.S: Likewise.
14225 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14226 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14227 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14228 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14229 * sysdeps/i386/fpu/e_log2.S: Likewise.
14230 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14231 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14232 * sysdeps/i386/fpu/e_powl.S: Likewise.
14233 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14234 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14235 * sysdeps/i386/fpu/e_logl.S: Likewise.
14236 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14237 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14238 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14239 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14240 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14241 * sysdeps/i386/fpu/e_log.S: Likewise.
14242 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14243 * sysdeps/i386/fpu/e_logf.S: Likewise.
14244 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14245 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14246 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14247 * sysdeps/i386/fpu/e_log10.S: Likewise.
14248 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14249 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14250 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14251 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14252 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14253 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14254 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14255 * sysdeps/i386/i686/strtok.S: Likewise.
14256 * sysdeps/i386/i386-mcount.S: Likewise.
14257 * sysdeps/i386/strtok.S: Likewise.
14258 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14259 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14260 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14261 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14262 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14263 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14264 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14265 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14266 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14267 * sysdeps/x86_64/_mcount.S: Likewise.
14268 * sysdeps/x86_64/strtok.S: Likewise.
14269 * sysdeps/sh/_mcount.S: Likewise.
14270
2747bf9a
RM
142712012-08-01 Roland McGrath <roland@hack.frob.com>
14272
14273 * libio/iofopen.c: Include <fcntl.h>.
14274 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14275 (_IO_fopen64, fopen64): Define as aliases.
14276 * libio/iofopen64.c: Include <fcntl.h>.
14277 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14278 Conditionalize body on this.
14279 * sysdeps/wordsize-64/iofopen.c: File removed.
14280 * sysdeps/wordsize-64/iofopen64.c: File removed.
14281
3fb791b8
MP
142822012-08-01 Marek Polacek <polacek@redhat.com>
14283
14284 * libc/Makeconfig: Use elf in place of binfmt-subdir.
14285 Use dlfcn directly instead of a variable.
14286 (binfmt-subdir): Do not define.
14287 (dlfcn): Likewise.
14288
a9f1039f
JM
142892012-08-01 Joseph Myers <joseph@codesourcery.com>
14290
23bddc06
JM
14291 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14292 Remove all definitions.
14293 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14294 <kernel-features.h>.
14295 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14296 (miss_F_GETOWN_EX): Remove all definitions.
14297 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14298 macro definition.
14299 [!__ASSUME_FCNTL64]: Remove conditional code.
14300 [__ASSUME_FCNTL64]: Make code unconditional.
14301 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14302 <kernel-features.h>.
14303 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14304 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14305 (lockf64) [__NR_fcntl64]: Make code unconditional.
14306 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14307
a9f1039f
JM
14308 * sysdeps/unix/sysv/linux/kernel-features.h
14309 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14310 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14311 Make code unconditional.
14312 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14313 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14315 [__NR_vfork]: Make code unconditional.
14316 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14317 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14319 [__NR_vfork]: Make code unconditional.
14320 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14321 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14322
09c0ee5f
RM
143232012-08-01 Roland McGrath <roland@hack.frob.com>
14324
48aec5b9
RM
14325 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14326 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14327
cd97c966
RM
14328 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14329 Define mkstemp64 as an alias.
3f55550c
RM
14330 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14331 Define mkstemps64 as an alias.
cd97c966
RM
14332 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14333 Define mkostemp64 as an alias.
b8625cfc
RM
14334 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14335 Define mkostemps64 as an alias.
cd97c966
RM
14336 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14337 Conditionalize body on this.
14338 * misc/mkostemp64.c: Likewise.
b8625cfc 14339 * misc/mkostemps64.c: Likewise.
3f55550c 14340 * misc/mkstemps64.c: Likewise.
cd97c966
RM
14341 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14342 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14343 * sysdeps/wordsize-64/mkostemp.c: File removed.
14344 * sysdeps/wordsize-64/mkstemp.c: File removed.
14345 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14346 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14347 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14348 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14349
09c0ee5f
RM
14350 [BZ #14138]
14351 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14352 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14353 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14354 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14355
14356 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14357 compat_symbol macros from <shlib-compat.h> rather than the underlying
14358 default_symbol_version and symbol_version macros, so that DEFAULT
14359 lines in shlib-versions are respected.
14360 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14361
7e66ee51
FW
143622012-08-01 Florian Weimer <fweimer@redhat.com>
14363
14364 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14365 Declare with warn_unused_result.
14366 (setgid, setregid, setegid, setresgid): Likewise.
14367 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14368 Likewise.
14369 * WUR-REPORT: Remove set*id functions.
14370
d2a54255
PT
143712012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14372
14373 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14374
7ecdb005
RM
143752012-07-31 Roland McGrath <roland@hack.frob.com>
14376
b4180a5e 14377 [BZ #10191]
789bd351
RM
14378 * include/sys/socket.h (__libc_accept, __libc_accept4):
14379 Add attribute_hidden.
14380 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14381
40ce302d
RM
14382 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14383 use of PTR_MANGLE.
14384 * inet/getnetgrent_r.c (setup): Likewise.
14385
7ecdb005
RM
14386 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14387
e2eabb2c
DM
143882012-07-31 David S. Miller <davem@davemloft.net>
14389
14390 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14391
d0419dbf
JM
143922012-07-31 Joseph Myers <joseph@codesourcery.com>
14393
14394 [BZ #13629]
14395 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14396 value between 1.0 and 2.0 and smaller part has absolute value less
14397 than 1.0.
14398 * math/s_clog10.c (__clog10): Likewise.
14399 * math/s_clog10f.c (__clog10f): Likewise.
14400 * math/s_clog10l.c (__clog10l): Likewise.
14401 * math/s_clogf.c (__clogf): Likewise.
14402 * math/s_clogl.c (__clogl): Likewise.
14403 * math/libm-test.inc (clog_test): Add more tests.
14404 (clog10_test): Likewise.
14405 * sysdeps/i386/fpu/libm-test-ulps: Update.
14406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14407
2bc13872
FW
144082012-07-31 Florian Weimer <fweimer@redhat.com>
14409
14410 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14411 Exit with zero in case no suitable GID is found, and write a
14412 message to standard error.
14413
bea9b193
RM
144142012-07-30 Roland McGrath <roland@hack.frob.com>
14415
14416 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14417 rather than to 1.
14418 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14419 (MAXPATHLEN): Removed.
14420 (NOGROUP, NODEV): New macros.
14421 (setbit, clrbit, isset, isclr): New macros.
14422 (howmany, roundup, powerof2): New macros.
14423 (DEV_BSIZE): New macro.
14424
14425 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14426 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14427
14428 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14429 definition on [!__NO_LONG_DOUBLE_MATH].
14430
14431 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14432 PTR_MANGLE and PTR_DEMANGLE.
14433
14434 * socket/accept4.c (accept4): Rename to __libc_accept4.
14435 Define accept4 as a weak alias.
14436
14437 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14438 on [_DIRENT_HAVE_D_TYPE].
14439 * io/ftw.c (ftw_dir): Likewise.
14440
14441 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14442
14443 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14444
14445 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14446 Use the BSD numbers rather than the arbitrary ones we had.
14447 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14448 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14449 (SIGXCPU, SIGXFSZ): New macros.
14450 (_NSIG): Now 32.
14451
14452 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14453 initializer on [_LIBC_REENTRANT].
14454
14455 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14456 definitions inside [_POSIX_MAPPED_FILES].
14457
14458 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14459
14460 * dirent/opendir.c: Include <fcntl.h>.
14461
14462 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14463 (__libc_getspecific): Likewise.
14464 (__libc_key_create): Likewise.
14465
14466 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14467 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14468 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14469 (tmpfile64): Define as alias.
14470 * sysdeps/wordsize-64/tmpfile.c: File removed.
14471 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14472 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14473 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14474
14475 * stdio-common/vfscanf.c: Include <stdbool.h>.
14476 * nss/makedb.c: Likewise.
14477 * stdio-common/_i18n_number.h: Likewise.
14478 * argp/argp-help.c: Likewise.
14479 * posix/wordexp.c: Likewise.
14480 * sysdeps/posix/spawni.c: Likewise.
14481 * nss/nss_files/files-initgroups.c: Likewise.
14482 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14483 * nss/nss_files/files-initgroups.c: Likewise.
14484 * nss/nss_db/db-netgrp.c: Likewise.
14485 * nss/nss_db/db-initgroups.c: Likewise.
14486 * io/fchmodat.c: Include <sys/stat.h>.
14487
14488 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14489 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14490
14491 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14492 [HAVE_MMAP].
14493
14494 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14495 Add multiple inclusion protection.
14496
e5abc686
DM
144972012-07-27 David S. Miller <davem@davemloft.net>
14498
14499 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14500
815e6fa3
GB
145012012-07-27 Gary Benson <gbenson@redhat.com>
14502
14503 [BZ #14298]
14504 * elf/rtld.c: Include <stap-probe.h>.
14505 (dl_main): Added static probes "init_start" and "init_complete".
14506 * elf/dl-load.c: Include <stap-probe.h>.
14507 (lose): Take new parameter "nsid".
14508 Added static probe "map_failed".
14509 (_dl_map_object_from_fd): Pass namespace id to lose.
14510 Added static probe "map_start".
14511 (open_verify): Pass namespace id to lose.
14512 * elf/dl-open.c: Include <stap-probe.h>.
14513 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14514 and "reloc_complete".
14515 * elf/dl-close.c: Include <stap-probe.h>.
14516 (_dl_close_worker): Added static probes "unmap_start" and
14517 "unmap_complete".
14518 * elf/rtld-debugger-interface.txt: New file documenting the above.
14519
9f98c16c
RM
145202012-07-26 Roland McGrath <roland@hack.frob.com>
14521
14522 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14523 rather than a string variable.
14524 * sunrpc/rpc_main.c (h_output): Likewise.
14525 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14526
f3c22df3
PT
145272012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14528
14529 * inet/check_native.c: New file.
14530
3129cfc6
JM
145312012-07-26 Joseph Myers <joseph@codesourcery.com>
14532
da865e95
JM
14533 [BZ #13629]
14534 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14535 if larger part has absolute value 1.0.
14536 * math/s_clog10.c (__clog10): Likewise.
14537 * math/s_clog10f.c (__clog10f): Likewise.
14538 * math/s_clog10l.c (__clog10l): Likewise.
14539 * math/s_clogf.c (__clogf): Likewise.
14540 * math/s_clogl.c (__clogl): Likewise.
14541 * math/libm-test.inc (clog_test): Add more tests.
14542 (clog10_test): Likewise.
14543 * sysdeps/i386/fpu/libm-test-ulps: Update.
14544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14545
3129cfc6
JM
14546 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14547 (pltexit): Likewise.
14548 (La_regs): Likewise.
14549 (La_retval): Likewise.
14550 (int_retval): Likewise.
14551 Update #error for removed macros to refer only to definitions in
14552 tst-audit.h.
14553 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14554 macro.
14555 (pltexit): Likewise.
14556 (La_regs): Likewise.
14557 (La_retval): Likewise.
14558 (int_retval): Likewise.
14559 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14560 macro.
14561 (pltexit): Likewise.
14562 (La_regs): Likewise.
14563 (La_retval): Likewise.
14564 (int_retval): Likewise.
14565 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14566 macro.
14567 (pltexit): Likewise.
14568 (La_regs): Likewise.
14569 (La_retval): Likewise.
14570 (int_retval): Likewise.
14571 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14572 macro.
14573 (pltexit): Likewise.
14574 (La_regs): Likewise.
14575 (La_retval): Likewise.
14576 (int_retval): Likewise.
14577 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14578 macro.
14579 (pltexit): Likewise.
14580 (La_regs): Likewise.
14581 (La_retval): Likewise.
14582 (int_retval): Likewise.
14583 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14584 macro.
14585 (pltexit): Likewise.
14586 (La_regs): Likewise.
14587 (La_retval): Likewise.
14588 (int_retval): Likewise.
14589 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14590 macro definitions in tst-audit.h.
14591 * sysdeps/i386/tst-audit.h: New file.
14592 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14593 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14594 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14595 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14596 * sysdeps/sh/tst-audit.h: Likewise.
14597 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14598 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14599 * sysdeps/x86_64/tst-audit.h: Likewise.
14600
bfc07087
AJ
146012012-07-26 Andreas Jaeger <aj@suse.de>
14602
b1b2aaf8
AJ
14603 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14604 ptrace.
14605
14606 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14607 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14608 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14609 PTRACE_O_MASK.
14610 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14611 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14612 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14613
bfc07087
AJ
14614 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14615 value.
14616
14617 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14618 _sigsys.
14619 (si_call_addr, si_syscall, si_arch): Define new macro.
14620 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14621 _sigsys.
14622 (si_call_addr, si_syscall, si_arch): Define new marcro.
14623 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14624 _sigsys.
14625 (si_call_addr, si_syscall, si_arch): Define new macro.
14626 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14627 _sigsys.
14628 (si_call_addr, si_syscall, si_arch): Define new macro.
14629
89b4b02f
JM
146302012-07-25 Joseph Myers <joseph@codesourcery.com>
14631
14632 [BZ #13717]
14633 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14634 Change to 2.4.21 where previously 2.4.1.
14635 * sysdeps/unix/sysv/linux/configure: Regenerated.
14636 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14637 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14638 Linux kernel version.
14639 (__ASSUME_STD_AUXV): Remove.
14640 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14641 kernel version.
14642 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14643 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14644 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14645 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14646 (__ASSUME_NETLINK_SUPPORT): Likewise.
14647 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14648 (__no_netlink_support): Remove conditional definition.
14649 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14650 Remove.
14651 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14652 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14653 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14654 (if_nameindex_ioctl): Remove.
14655 (if_nameindex_netlink): Do not handle __no_netlink_support.
14656 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14657 code.
14658 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14659 Remove conditional code.
14660 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14661 code.
14662 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14663 unconditional.
14664 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14665 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14666 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14667 Remove.
14668 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14669 [!__ASSUME_STD_AUXV]: Remove conditional code.
14670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14671 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14672 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14674 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14675 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14676 code.
14677 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14679 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14680 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14681 conditional code.
14682 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14684 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14685 code.
14686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14687 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14688 conditional code.
14689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14690 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14691 code unconditional.
14692 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14693 conditional code.
14694 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14695 unconditional.
14696 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14697 conditional code.
14698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14699 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14700 unconditional.
14701 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14702 conditional code.
14703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14704 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14705 code unconditional.
14706 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14707 conditional code.
14708 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14709 unconditional.
14710 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14711 conditional code.
14712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14713 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14714 code unconditional.
14715 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14716 conditional code.
14717 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14718 unconditional.
14719 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14720 conditional code.
14721
842a39cd
AS
147222012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14723
14724 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14725 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14726 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14727 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14728 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14729 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14730 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14731 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14732 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14733 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14734 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14735 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14736 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14737 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14738 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14739 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14740 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14741 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14742 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14743 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14744 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14745 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14746 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14747
84b3fd84
FW
147482012-07-25 Florian Weimer <fweimer@redhat.com>
14749
14750 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
14751 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14752 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14753 Introduce __libc_secure_getenv.
0c7936d5
FW
14754 * stdlib/Versions (2.17): Add secure_getenv
14755 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14756 * stdlib/secure-getenv.c: Rename __secure_getenv to
14757 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14758 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
14759 * stdlib/tst-secure-getenv.c: New.
14760 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
14761 * manual/startup.texi (Environment Access): Document
14762 secure_getenv.
84b3fd84
FW
14763 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14764 __libc_secure_getenv.
14765 * inet/ruserpass.c (ruserpass): Likewise.
14766 * malloc/mtrace.c (mtrace): Likewise.
14767 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 14768 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
14769 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14770 * sysdeps/posix/tempname.c: Likewise. Evaluate
14771 HAVE_SECURE_GETENV.
14772 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 14773 __secure_getenv to __libc_secure_getenv.
84b3fd84 14774 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
14775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14776 Likewise.
14777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14778 Likewise.
14779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14781 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14782 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14783 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14785 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 14786
56e49b71
JM
147872012-07-25 Joseph Myers <joseph@codesourcery.com>
14788
14789 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14790 (struct La_i86_retval): Likewise.
14791 (struct La_x86_64_regs): Likewise.
14792 (struct La_x86_64_retval): Likewise.
14793 (struct La_x32_regs): Likewise.
14794 (struct La_x32_retval): Likewise.
14795 (struct La_ppc32_regs): Likewise.
14796 (struct La_ppc32_retval): Likewise.
14797 (struct La_ppc64_regs): Likewise.
14798 (struct La_ppc64_retval): Likewise.
14799 (struct La_sh_regs): Likewise.
14800 (struct La_sh_retval): Likewise.
14801 (struct La_s390_32_regs): Likewise.
14802 (struct La_s390_32_retval): Likewise.
14803 (struct La_s390_64_regs): Likewise.
14804 (struct La_s390_64_retval): Likewise.
14805 (struct La_sparc32_regs): Likewise.
14806 (struct La_sparc32_retval): Likewise.
14807 (struct La_sparc64_regs): Likewise.
14808 (struct La_sparc64_retval): Likewise.
14809 (struct audit_ifaces): Remove architecture-specific pltenter and
14810 pltexit members.
14811 * sysdeps/i386/ldsodefs.h: New file.
14812 * sysdeps/powerpc/ldsodefs.h: Likewise.
14813 * sysdeps/s390/ldsodefs.h: Likewise.
14814 * sysdeps/sh/ldsodefs.h: Likewise.
14815 * sysdeps/sparc/ldsodefs.h: Likewise.
14816 * sysdeps/x86_64/ldsodefs.h: Likewise.
14817
354691b7
MP
148182012-07-25 Marek Polacek <polacek@redhat.com>
14819
14820 [BZ #6808]
14821 * math/libm-test.inc (yn_test): Add another test.
14822 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14823 to ERANGE when the result is +-Inf.
14824 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14825 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14826 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14827 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14828
bf9e2071
JM
148292012-07-24 Joseph Myers <joseph@codesourcery.com>
14830
14831 * conform/data/time.h-data (NULL): Use macro-constant. Require
14832 equal to 0.
14833 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14834 clock_t.
14835 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14836
57633811
TS
148372012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14838
14839 * configure.in <sysdeps resolving>: Correct printing
14840 Implies_before.
14841 * configure: Regenerate.
14842
c23c33b0
TS
148432012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14844
14845 * math/w_ilogb.c: Include <limits.h>.
14846 * math/w_ilogbl.c: Likewise.
14847
b5982523
JM
148482012-07-20 Joseph Myers <joseph@codesourcery.com>
14849
14850 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14851 va_copy. Document allowing for unavailable va_copy only as
14852 pre-C99 compatibility.
14853 * manual/string.texi (Copying and Concatenation): Use va_copy
14854 instead of __va_copy in concat example.
14855
ac4ea442
PT
148562012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14857
14858 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14859 (__sendto): Use create_address_port. Initialize APORT and deallocate
14860 it if not null.
14861
f98eafbd
PT
14862 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14863 with O_NOLINK passed to __file_name_lookup.
14864
898c7aab
PT
14865 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14866 with O_NOLINK passed to __file_name_lookup.
14867
0ced335a
PT
14868 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14869 negative N or less than NGIDS.
14870
b3404dbd
PT
14871 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14872 type to string_t. Set ERANGE as errno and return it if NAME is not big
14873 enough. Use memcpy instead of strncpy.
14874
0f48659e
JM
148752012-07-20 Joseph Myers <joseph@codesourcery.com>
14876
14877 * elf/Makefile (check-data): Remove.
14878 (localplt.data): New vpath directive.
14879 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14880 instead of $(check-data).
14881 * scripts/data/localplt-generic.data: Move to ...
14882 * sysdeps/generic/localplt.data: ... here.
14883 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14884 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14885 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14887 ... here.
14888 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14890 ... here.
14891 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14893 ... here.
14894 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14896 ... here.
14897 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14898 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14899 ... here.
14900 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14901 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14902 ... here.
14903
d37cbdaa
AZ
149042012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14905
14906 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14907 PPC32 and PPC64 files.
14908 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14909 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14910
46f85fc2
AK
149112012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14912
14913 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14914 __makecontext_ret to ...
14915 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14916 ... here and call exit if uc_link is NULL. New file.
14917 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14918 __makecontext_ret.S.
14919 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14920 __makecontext_ret to ...
14921 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14922 ... here and call exit if uc_link is NULL. New file.
14923 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14924 __makecontext_ret.S.
14925
08f43f9b
AK
149262012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14927
14928 * elf/elf.h (R_390_IRELATIVE): New definition.
14929 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14930 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
14931 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14932 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14933 (elf_machine_lazy_rel): Likewise.
14934 * sysdeps/s390/dl-irel.h: New file.
14935 * sysdeps/s390/s390-64/memcpy.S: New asm code.
14936 * sysdeps/s390/s390-64/memset.S: New asm code.
14937 * sysdeps/s390/s390-64/memcmp.S: New asm code.
14938 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14939 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14940 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14941 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14942 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14943 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14944 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14945 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14946 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14947 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14948 * sysdeps/s390/s390-32/memcpy.S: New asm code.
14949 * sysdeps/s390/s390-32/memset.S: New asm code.
14950 * sysdeps/s390/s390-32/memcmp.S: New asm code.
14951
3b05db33
MP
149522012-07-17 Marek Polacek <polacek@redhat.com>
14953
14954 [BZ #14349]
14955 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14956 * sysdeps/s390/s390-64/configure.in: Likewise.
14957 * sysdeps/sparc/configure.in: Likewise.
14958 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14959 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14960 * sysdeps/i386/configure.in: Likewise.
14961 * sysdeps/x86_64/configure.in: Likewise.
14962 * sysdeps/sh/configure.in: Likewise.
14963 * sysdeps/s390/s390-32/configure: Regenerated.
14964 * sysdeps/s390/s390-64/configure: Likewise.
14965 * sysdeps/x86_64/configure: Likewise.
14966 * sysdeps/sh/configure: Likewise.
14967 * sysdeps/powerpc/powerpc64/configure: Likewise.
14968 * sysdeps/powerpc/powerpc32/configure: Likewise.
14969 * sysdeps/sparc/configure: Likwise.
14970 * sysdeps/i386/configure: Likewise.
14971
a66877c6
MP
14972 * elf/dl-open.c: Comment fixes.
14973
cfc82fd8
JM
149742012-07-17 Joseph Myers <joseph@codesourcery.com>
14975
bd29910a
JM
14976 * Makefile [CXX] (check-data): Remove.
14977 [CXX] (c++-types.data): New vpath directive.
14978 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14979 vpath. Do not allow for C++ type data being missing.
14980 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14981 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14982 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14983 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14984 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14985 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14986 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14988 ... here.
14989 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14991 ... here.
14992 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14994 ... here.
14995 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14997 ... here.
14998 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15000 ... here.
15001 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15002 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15003 ... here.
15004 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15005 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15006 ... here.
15007 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15009
cfc82fd8
JM
15010 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15011 definitions to architecture-specific files.
15012 (TLS_IE): Likewise.
15013 (TLS_LD): Likewise.
15014 (TLS_GD): Likewise.
15015 * sysdeps/i386/tls-macros.h: New file.
15016 * sysdeps/powerpc/tls-macros.h: Likewise.
15017 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15018 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15019 * sysdeps/sh/tls-macros.h: Likewise.
15020 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15021 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15022 * sysdeps/x86_64/tls-macros.h: Likewise.
15023
f7db3170
TS
150242012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15025
07cbfc23
TS
15026 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15027 zero value for regular exit case.
15028
f7db3170
TS
15029 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15030 (__start_context): Preserve zero value for regular exit case.
15031
dc97c227
TS
150322012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15033 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15034
15035 * manual/setjmp.texi (setcontext): Clarify normal process
15036 termination when uc_link is the null pointer.
15037 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15038 exit call.
15039
d0cd7d02
AS
150402012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15041
15042 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15043 preprocessor. Test for each exception mask separately.
15044
dd318934
AJ
150452012-07-16 Andreas Jaeger <aj@suse.de>
15046
15047 * po/ru.po: Update from translation team.
15048
8048311a
JM
150492012-07-15 Joseph Myers <joseph@codesourcery.com>
15050
15051 * conform/data/string.h-data (NULL): Use macro-constant. Require
15052 equal to 0.
15053 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15054 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15055 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15056 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15057 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15058
b637d46e
AJ
150592012-07-13 Andreas Jaeger <aj@suse.de>
15060
15061 * po/fr.po: Update from translation team.
15062
541428fe
MP
150632012-07-12 Marek Polacek <polacek@redhat.com>
15064
15065 [BZ #14173]
15066 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15067 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15068 loop condition.
15069
ec332e94
JM
150702012-07-12 Joseph Myers <joseph@codesourcery.com>
15071
15072 [BZ #13717]
15073 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15074 Change to 2.4.1 where previously 2.4.0.
15075 * sysdeps/unix/sysv/linux/configure: Regenerated.
15076 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15077 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15078 version.
15079 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15080 (__ASSUME_AT_CLKTCK): Remove.
15081 (__ASSUME_AT_PAGESIZE): Likewise.
15082 (__ASSUME_AT_XID): Likewise.
15083 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15084 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15085 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15086 unconditionally.
15087 (HAVE_AUX_PAGESIZE): Likewise.
15088 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15089 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15090 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15091
7b6e99be
JB
150922012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15093
15094 [BZ #14307]
15095 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15096 the temporary buffer used to invoke __gethostbyname2_r,
15097 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15098 host_data / struct gaih_addrtuple.
15099 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15100 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15101 header file nss/nsswitch.h.
15102 * nss/nsswitch.h (global scope): Add definition of implementation
15103 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15104 resolv/nss_dns/dns-host.c).
15105
608404eb
AJ
151062012-07-11 Andreas Jaeger <aj@suse.de>
15107
15108 * po/fr.po: Update from translation team.
15109
71220aca
AJ
15110 * po/sv.po: Update from translation team
15111 * po/fr.po: Another update from translation team.
15112
28cfe843
AZ
151132012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15114
15115 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15116 for subnormals or multiply small sinh result by itself.
15117 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15119
6b90f981
DM
151202012-07-11 David S. Miller <davem@davemloft.net>
15121
15122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15123
c6825772
AS
151242012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15125
15126 [BZ #14347]
15127 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15128 (INTERNAL_MARK): Shift it here.
15129
7b8e0d49
MP
151302012-07-10 Marek Polacek <polacek@redhat.com>
15131
15132 [BZ #14151]
15133 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15134 libc_cv_asm_global_directive with .globl.
15135 * configure: Regenerated.
15136 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15137 with .globl.
15138 * sysdeps/i386/configure: Regenerated.
15139 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15140 with .globl.
15141 * sysdeps/x86_64/configure: Regenerated.
15142 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15143 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15144 * elf/tst-unique2mod2.c: Likewise.
15145 * elf/tst-unique2mod1.c: Likewise.
15146 * elf/tst-unique1mod2.c: Likewise.
15147 * elf/tst-unique1mod1.c: Likewise.
15148 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15149 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15150 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15151 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15152 * sysdeps/mach/sysdep.h: Likewise.
15153 * sysdeps/i386/sysdep.h: Likewise.
15154 * sysdeps/i386/i386-mcount.S: Likewise.
15155 * sysdeps/x86_64/_mcount.S: Likewise.
15156 * sysdeps/x86_64/sysdep.h: Likewise.
15157 * sysdeps/sh/_mcount.S: Likewise.
15158 * sysdeps/sh/sysdep.h: Likewise.
15159 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15160 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15161 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15162 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15163 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15164 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15165 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15166 * locale/localeinfo.h: Likewise.
15167 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15168 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15169
6c55cda3
RM
151702012-07-09 Roland McGrath <roland@hack.frob.com>
15171
15172 [BZ #14336]
15173 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15174 system".
15175 * manual/message.texi (The Uniforum approach): Likewise.
15176 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15177 (glibc iconv Implementation): Likewise.
15178
638a572e
JM
151792012-07-09 Joseph Myers <joseph@codesourcery.com>
15180
15181 [BZ #14337]
15182 * math/s_clog.c (__clog): Avoid scaling a value down where that
15183 could result in underflow.
15184 * math/s_clog10.c (__clog10): Likewise.
15185 * math/s_clog10f.c (__clog10f): Likewise.
15186 * math/s_clog10l.c (__clog10l): Likewise.
15187 * math/s_clogf.c (__clogf): Likewise.
15188 * math/s_clogl.c (__clogl): Likewise.
15189 * math/libm-test.inc (clog_test): Add more tests.
15190 (clog10_test): Likewise.
15191 * sysdeps/i386/fpu/libm-test-ulps: Update.
15192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15193
261f4859
AS
151942012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15195
0abaf3e4
AS
15196 [BZ #14283]
15197 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15198 by 7 not 8 to examine high bit of fractional part.
15199
261f4859
AS
15200 [BZ #14042]
15201 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15202 for call to __mcount_internal.
15203 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15204 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15205 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15206
f17ac40d
JM
152072012-07-06 Joseph Myers <joseph@codesourcery.com>
15208
9ad63c23
JM
15209 [BZ #14154]
15210 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15211 approximation for values within 0x1p-13f of an odd multiple of
15212 pi/4.
15213 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15214 exception. Add more tests.
15215 * sysdeps/i386/fpu/libm-test-ulps: Update.
15216
f17ac40d
JM
15217 [BZ #6778]
15218 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15219 inputs and return -1 for them. Do not check for +Inf in case not
15220 reachable for +Inf.
15221 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15222 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15223 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15224 and return -1 for them. Do not check for +Inf in case not
15225 reachable for +Inf.
15226 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15227 define.
15228 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15229 and return -1 for them. Do not check for +Inf in case not
15230 reachable for +Inf.
15231 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15232 spurious underflow.
15233 * sysdeps/i386/fpu/libm-test-ulps: Update.
15234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15235
fb21f89b
MF
152362012-07-06 Mike Frysinger <vapier@gentoo.org>
15237
15238 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15239
cdfe2c5e
JM
152402012-07-05 Joseph Myers <joseph@codesourcery.com>
15241
15242 [BZ #14157]
15243 [BZ #14331]
15244 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15245 could result in spurious underflow. Scale down values above
15246 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15247 * math/s_csqrtf.c (__csqrtf): Likewise.
15248 * math/s_csqrtl.c (__csqrtl): Likewise.
15249 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15250 spurious underflow.
15251 * sysdeps/i386/fpu/libm-test-ulps: Update.
15252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15253
70d35b67
AS
152542012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15255
704bc459
AS
15256 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15257 xopen-msg.sed.
15258 * catgets/xopen-msg.awk: New file.
15259 * catgets/xopen-msg.sed: Removed.
15260
70d35b67
AS
15261 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15262 po2text.sed.
15263 * intl/po2test.awk: New file.
15264 * intl/po2test.sed: Removed.
15265
ca61cf32
JM
152662012-07-04 Joseph Myers <joseph@codesourcery.com>
15267
15268 [BZ #14328]
15269 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15270 or multiply small sinh result by itself.
15271 * math/s_ctanf.c (__ctanf): Likewise.
15272 * math/s_ctanh.c (__ctanh): Likewise.
15273 * math/s_ctanhf.c (__ctanhf): Likewise.
15274 * math/s_ctanhl.c (__ctanhl): Likewise.
15275 * math/s_ctanl.c (__ctanl): Likewise.
15276 * math/libm-test.inc (ctan_test_tonearest): New function.
15277 (ctan_test_towardzero): Likewise.
15278 (ctan_test_downward): Likewise.
15279 (ctan_test_upward): Likewise.
15280 (ctanh_test_tonearest): Likewise.
15281 (ctanh_test_towardzero): Likewise.
15282 (ctanh_test_downward): Likewise.
15283 (ctanh_test_upward): Likewise.
15284 (main): Call these new functions.
15285 * sysdeps/i386/fpu/libm-test-ulps: Update.
15286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15287
ca48a46a
MF
152882012-07-03 Mike Frysinger <vapier@gentoo.org>
15289
15290 * .gitignore: Delete /ports entry.
15291
9d63d37d
AJ
152922012-07-03 Andreas Jaeger <aj@suse.de>
15293
15294 * po/bg.po: Update from translation team.
15295 * po/cs.po: Likewise.
15296 * po/de.po: Likewise.
15297 * po/hr.po: Likewise.
15298 * po/nl.pl: Likewise.
15299 * po/pl.po: Likewise.
15300 * po/vi.po: Likewise.
15301
370ca3d2
JM
153022012-07-03 Joseph Myers <joseph@codesourcery.com>
15303
95f5a9a8
JM
15304 * Makeconfig [!+link] (+link-before-libc): New variable.
15305 [!+link] (+link-after-libc): Likewise.
15306 [!+link] (+link-tests): Likewise.
15307 [!+link] (+link): Define in terms of $(+link-before-libc) and
15308 $(+link-after-libc).
15309 [!+link-static] (+link-static-before-libc): New variable.
15310 [!+link-static] (+link-static-after-libc): Likewise.
15311 [!+link-static] (+link-static-tests): Likewise.
15312 [!+link-static] (+link-static): Define in terms of
15313 $(+link-static-before-libc) and $(+link-static-after-libc).
15314 [build-shared] (link-libc-before-gnulib): New variable.
15315 [build-shared] (link-libc-tests): Likewise.
15316 [build-shared] (link-libc): Define in terms of
15317 $(link-libc-before-gnulib).
15318 [!build-shared] (link-libc-tests): New variable.
15319 (link-libc-static-tests): New variable.
15320 [!gnulib] (gnulib-arch): New variable.
15321 [!gnulib] (gnulib-tests): Likewise.
15322 [!gnulib] (static-gnulib-arch): Likewise.
15323 [!gnulib] (static-gnulib-tests): Likewise.
15324 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15325 Define with "=" instead of ":=".
15326 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15327 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15328 * Rules (binaries-all-notests): New variable.
15329 (binaries-all-tests): Likewise.
15330 (binaries-static-notests): Likewise.
15331 (binaries-static-tests): Likewise.
15332 (binaries-all): Define using $(binaries-all-notests) and
15333 $(binaries-all-tests).
15334 (binaries-static): Define using $(binaries-static-notests) and
15335 $(binaries-static-tests).
15336 (binaries-shared-tests): New variable.
15337 (binaries-shared-notests): Likewise.
15338 (binaries-shared): Remove variable.
15339 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15340 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15341 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15342 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15343 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15344 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15345 * elf/Makefile (sln-modules): New variable.
15346 (extra-objs): Add $(sln-modules:=.o).
15347 (ldconfig-modules): Add static-stubs.
15348 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15349 * elf/static-stubs.c: New file.
15350
7a845b2c
JM
15351 [BZ #14283]
15352 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15353 by 7 not 8 to examine high bit of fractional part. Use volatile
15354 variables when splitting into final array of floats if
15355 __FLT_EVAL_METHOD__ != 0.
15356 * math/libm-test.inc (cos_test): Add another test.
15357 (sin_test): Likewise.
15358 * sysdeps/i386/fpu/libm-test-ulps: Update.
15359
e2283f38
JM
15360 [BZ #14273]
15361 * math/libm-test.inc (cosh_test): Add more tests.
15362
370ca3d2
JM
15363 * version.h (RELEASE): Set to "development".
15364 (VERSION): Set to "2.16.90".
15365
ee9247c3
CD
153662012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15367
15368 * NEWS: Update copyright. Remove last-updated date.
15369 Mention math library bug fixes and timezone data changes.
15370 * README: Mention GNU/Hurd, x32, and HPPA support status.
15371
4648c381
TS
153722012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15373
15374 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15375
aac78a43
AJ
153762012-06-27 Andreas Jaeger <aj@suse.de>
15377
15378 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15379
ed3dbfad
AJ
153802012-06-25 Andreas Jaeger <aj@suse.de>
15381
15382 * sysdeps/s390/fpu/libm-test-ulps: Update.
15383
4d0ee855
AS
153842012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15385 Thomas Schwinge <thomas@codesourcery.com>
15386
15387 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15388 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15389 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15390 fanotify_mark.
15391
af1bce34
TS
153922012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15393
a9fa33ba
TS
15394 * sysdeps/mach/start.c: Remove file.
15395 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15396 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15397 * sysdeps/sh/init-first.c: Likewise.
15398
58f902b8
TS
15399 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15400 registers for frame unwinding purposes, add CFI directives.
15401 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15402 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15403 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15404 Likewise.
15405
1518f58b
TS
15406 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15407 __fortify_fail returning.
15408 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15409
db9b5059
TS
15410 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15411 sysdeps/sh/____longjmp_chk.S.
15412 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15413 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15414 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15415 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15416
967705fe
TS
15417 * sysdeps/sh/abort-instr.h: New file.
15418 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15419 process in case exit returns.
15420
a9def8c4
TS
15421 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15422 initialize the GOT register before use.
15423
2a649725
TS
15424 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15425 calculation of ARGC > 4.
15426
af1bce34
TS
15427 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15428 meaningful names to some local labels.
15429
d230f50a
KK
154302012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15431 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15432
15433 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15434 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15435 (__arch_compare_and_exchange_val_16_acq): Likewise.
15436 (__arch_compare_and_exchange_val_32_acq): Likewise.
15437 (atomic_exchange_and_add): Fix gUSA sequence.
15438 (atomic_add): Likewise.
15439 (atomic_add_negative): Likewise.
15440 (atomic_add_zero): Likewise.
15441 (atomic_bit_test_set): Likewise.
15442
0479b305
AS
154432012-06-22 Andreas Schwab <schwab@redhat.com>
15444
15445 [BZ #13579]
15446 * include/link.h (struct link_map): Add l_free_initfini.
15447 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15448 l_initfini.
15449 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15450 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15451 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15452 set.
15453
0e3933b9
CD
154542012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15455
15456 * configure.in: Use AC_LANG_SOURCE.
15457 * configure: Regenerate.
15458
4248b1b1
RM
154592012-06-22 Roland McGrath <roland@hack.frob.com>
15460
15461 * configure.in (libc_cv_localstatedir): New substituted variable.
15462 * configure: Regenerated.
15463 * config.make.in (localstatedir): New variable, substituted from
15464 libc_cv_localstatedir.
15465 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15466 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15467 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15468 * sysdeps/gnu/configure: Regenerated.
15469
006dd861
JL
154702012-06-21 Jeff Law <law@redhat.com>
15471
15472 [BZ #14277]
15473 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15474 free. Simplify list management for _LIBC case.
15475
79662d42
JM
154762012-06-21 Joseph Myers <joseph@codesourcery.com>
15477
b7abb4bf
JM
15478 [BZ #14273]
15479 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15480 Clear sign bit of 64-bit integer value before comparing against
15481 overflow value.
15482
79662d42
JM
15483 * sysdeps/mach/configure: Regenerated.
15484
1f150908
L
154852012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15486
15487 [BZ #14278]
15488 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15489
28363bbf
JL
154902012-06-21 Jeff Law <law@redhat.com>
15491
15492 [BZ #13882]
15493 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15494 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 15495 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
15496 * elf/dl-open.c (dl_open_worker): Likewise.
15497
09615db4
CD
154982012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15499
15500 * scripts/list-sources.sh: Scan PORTS for translations.
15501 * po/libc.pot: Regenerated.
15502
2174c6dd
AJ
155032012-06-21 Andreas Jaeger <aj@suse.de>
15504
15505 [BZ #12194]
15506 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15507 warning.
15508 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15509 * bits/byteswap-16.h (__bswap_16): Likewise.
15510 * bits/byteswap.h (__bswap_constant_16): Likewise.
15511
3ee947b1
L
155122012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15513
15514 [BZ #14117]
a2f34833
L
15515 * sysdeps/i386/fpu_control.h: Removed.
15516 * sysdeps/x86_64/fpu_control.h: Moved to ...
15517 * sysdeps/x86/fpu_control.h: Here.
15518
3ee947b1
L
15519 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15520 (_FPU_SETCW): Likewise.
15521
ed1825f8
L
155222012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15523
25f1282a
L
15524 [BZ #14117]
15525 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15526 * sysdeps/x86/fpu/bits/mathinline.h: This.
15527 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15528
ed1825f8
L
15529 [BZ #14050]
15530 [BZ #14117]
15531 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15532 functions if __x86_64__ is defined.
15533
36d54b74
CLT
155342012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15535
15536 * string/endian.h: Add !__ASSEMBLER__ condition for including
15537 conversion interfaces.
15538
10285c21
JM
155392012-06-15 Joseph Myers <joseph@codesourcery.com>
15540
15541 [BZ #14241]
15542 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15543 of ABS(x) in calculating zero to negative powers other than odd
15544 integers.
15545 * math/libm-test.inc (pow_test): Add more tests.
15546
06c5abbd
AJ
155472012-06-15 Andreas Jaeger <aj@suse.de>
15548
15549 * manual/contrib.texi (Contributors): Update entry of Liubov
15550 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15551 Machado Filho.
15552
a3aeac40
CH
155532012-06-15 Cyril Hrubis <metan@ucw.cz>
15554
15555 * string/string.h: Add __wur to GNU version of strerror_r.
15556
49bdf4c1
L
155572012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15558
15559 [BZ #14229]
15560 * string/Makefile (tests): Add tst-strtok_r.
15561 * string/tst-strtok_r.c: New file.
15562 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15563 RAX_LP/RDX_LP on SAVE_PTR.
15564
834f9b8d
RM
155652012-06-14 Roland McGrath <roland@hack.frob.com>
15566
15567 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15568
75fa1921
JM
155692012-06-14 Joseph Myers <joseph@codesourcery.com>
15570
15571 * libm_test.inc (csqrt_test): Allow more spurious underflow
15572 exceptions.
15573 (j0_test): Likewise.
15574 (j1_test): Likewise.
15575 (y0_test): Likewise.
15576 (y1_test): Likewise.
15577
771766df
CD
155782012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15579
15580 * po/Makefile (libc.pot): Use UTF-8 charset.
15581
ceb9e56b
PP
155822012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15583
15584 [BZ #14210]
15585 Suppress sign-conversion warning from FD_SET.
15586 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15587 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15588 not unsigned long int.
15589 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15590
ddb28975
L
155912012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15592
15593 [BZ #14050]
15594 [BZ #14117]
15595 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15596 __extern_always_inline instead of __extern_inline.
15597 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15598 (__signbit): Likewise.
15599 (__signbitl): Support C++ namespace.
15600 (lrintf): New inline function.
15601 (lrint): Likewise.
15602 (llrintf): Likewise.
15603 (llrint): Likewise.
15604 (fmaxf): Likewise.
15605 (fmax): Likewise.
15606 (fminf): Likewise.
15607 (fmin): Likewise.
15608 (rint): Likewise.
15609 (rintf): Likewise.
15610 (ceil): Likewise.
15611 (ceilf): Likewise.
15612 (floor): Likewise.
15613 (floorf): Likewise.
15614 (nearbyint): Likewise.
15615 (nearbyintf): Likewise.
15616
d7b4fb26
TS
156172012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15618
15619 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15620 non-default versions.
15621
eb55f5c2
RM
156222012-06-11 Roland McGrath <roland@hack.frob.com>
15623
15624 [BZ #14218]
15625 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15626
366af02c
TS
156272012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15628
99ff6e5c
TS
15629 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15630 (FE_UPWARD, FE_DOWNWARD): Don't define.
15631 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15632 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15633
366af02c
TS
15634 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15635 reading it.
15636 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15637 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15638
793ea851
KK
156392012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15640
15641 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15642 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15643 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15644 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15645
a728a38f
L
156462012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15647
15648 [BZ #14117]
c08010c7
L
15649 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15650 * sysdeps/i386/fpu/Implies: New file.
15651 * sysdeps/x86_64/fpu/Implies: Likewise.
15652 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15653 * sysdeps/x86/fpu/bits/fenv.h: This.
15654
a728a38f
L
15655 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15656 __SSE_MATH__.
15657
6e230d11
SP
156582012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15659
15660 [BZ #14134]
15661 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15662 character 0xffff that matches the last element of the
15663 conversion table.
15664
1b671feb
AZ
156652012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15666
15667 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15668 fmodl commit.
15669
6043738b
AZ
156702012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15671
15672 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15673 values higher than 25.6283.
15674
34ae0b32
AZ
156752012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15676
15677 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15678 subnormal exponent extraction and add some __builtin_expect.
15679 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15680 Fix for subnormal mantissa calculation.
15681
1214ec8f
MF
156822012-06-04 Mike Frysinger <vapier@gentoo.org>
15683
15684 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15685 cpu2 is -1 and errno is not ENOSYS.
15686
f3d1f93c
L
156872012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15688
15689 [BZ #14117]
0e4a3cd7
L
15690 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15691 * sysdeps/x86/bits/string.h: This.
15692 * sysdeps/x86_64/bits/string.h: Removed.
15693
6704c645
L
15694 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15695 if not compiling for x86-64, but compiling for >= i486.
15696
48495318
L
15697 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15698 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15699
14adcbfc
L
15700 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15701 New macro from Linux kernel 3.4.0.
15702 (FP_XSTATE_MAGIC2): Likewise.
15703 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15704 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15705 (struct _fpx_sw_bytes): New struct.
15706 (struct _xsave_hdr): Likewise.
15707 (struct _ymmh_state): Likewise.
15708 (struct _xstate): Likewise.
15709
68e408ab
L
15710 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15711 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15712 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15713 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15714 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15715 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15716
f3d1f93c
L
15717 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15718 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15719 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15720 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15721 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15722 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15723
d9dc34cd
TMQMF
157242012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15725
15726 [BZ #13743]
15727 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15728 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15729 (sysdep_headers): Include sys/platform/ppc.h.
15730 * sysdeps/powerpc/test-gettimebase.c: Test for
15731 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15732 * manual/Makefile (appendices): Include platform.texi.
15733 * manual/contrib.texi (Contributors): Update @node pointers.
15734 * manual/maint.texi (Maintenance): Likewise.
15735 (Platform): New node.
15736 * manual/platform.texi: New file. Document the new features.
15737
4af3879c
SP
157382012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15739 Jakub Jelinek <jakub@redhat.com>
15740
15741 [BZ #14188]
15742 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15743 where __builtin_expect is unavailable.
15744
2fd6ff13
DM
157452012-06-03 David S. Miller <davem@davemloft.net>
15746
15747 * stdlib/longlong.h: Updated from GCC.
15748
173f7220
AS
157492012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15750
15751 [BZ #14042]
15752 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15753 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15754 __mcount_internal.
15755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15756 (GLIBC_2.16): Likewise.
15757
f34a1c6f
L
157582012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15759
15760 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15761
88a4576f
JM
157622012-06-01 Joseph Myers <joseph@codesourcery.com>
15763
ea32bcdd
JM
15764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15765 (default-abi): New variable.
15766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15767 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15768 variable.
15769 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15770 Likewise.
15771 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15772 Likewise.
15773 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15774 Likewise.
15775
88a4576f
JM
15776 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15777 definition. Document in comment.
15778
402fe938
DM
157792012-06-01 David S. Miller <davem@davemloft.net>
15780
15781 * stdlib/longlong.h: Updated from GCC.
15782
3553723f
L
157832012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15784
15785 [BZ #14117]
3bd872c4
L
15786 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15787 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15788 sys/debugreg.h sys/io.h here.
15789 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15790 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15791 sys/io.h.
15792 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15793 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15794 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15795 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15796 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15797 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15798
3553723f
L
15799 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15800 Define only if __x86_64__ is defined.
15801
4842e4fe
JM
158022012-06-01 Joseph Myers <joseph@codesourcery.com>
15803
c5bfe3d5
JM
15804 [BZ #14048]
15805 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15806 Use int64_t for variable i.
15807 * math/libm-test.inc (fmod_test): Add more tests.
15808
4842e4fe
JM
15809 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15810 z computation is not scheduled after fetestexcept.
15811 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15812 Use math_force_eval instead of asm to ensure calculation scheduled
15813 before exception test.
15814 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15815 Ensure a1 + u.d computation is not scheduled after fetestexcept.
15816
efb73488
AJ
158172012-06-01 Aurelien Jarno <aurelien@aurel32.net>
15818
15819 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15820 computation is not scheduled after fetestexcept.
15821
29bcce7c
L
158222012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15823
15824 [BZ #14117]
15825 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15826 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15827
73a68f94
AZ
158282012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15829
15830 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15831 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15832
67b6df78
L
158332012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15834
edf2933a 15835 [BZ #14117]
ebc64a18
L
15836 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15837 <bits/wordsize.h>.
15838 (__WCHAR_MIN): Support __WORDSIZE == 64.
15839 (__WCHAR_MAX): Likewise.
15840
edf2933a
L
15841 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15842 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15843
57c6cf40
L
15844 [BZ #14183]
15845 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15846 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15847
67b6df78 15848 [BZ #14117]
8eb6281e
L
15849 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15850 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15851
aac639f4
L
15852 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15853 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15854
67b6df78
L
15855 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15856 Defined to 1 if __x86_64__ isn't defined.
15857 (_STAT_VER_LINUX_OLD): New.
15858 (st_atime): Remove duplicate.
15859 (st_mtime): Likewise.
15860 (st_ctime): Likewise.
15861
1c2cfe81
DM
158622012-05-31 David S. Miller <davem@davemloft.net>
15863
15864 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15865 entries.
15866
5be8418c
AS
158672012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15868
e7725326
AS
15869 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15870 gen-libm-test.pl.
15871
5be8418c
AS
15872 [BZ #14132]
15873 * elf/dl-reloc.c: Include <_itoa.h>.
15874 (_dl_reloc_bad_type): Remove use of INTUSE.
15875 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15876 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15877 * stdio-common/psiginfo.c (psiginfo): Likewise.
15878 * stdio-common/psignal.c (psignal): Likewise.
15879 * string/strsignal.c (strsignal): Likewise.
15880 * include/signal.h (_sys_siglist): Declare hidden proto.
15881 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15882 INTVARDEF with libc_hidden_data_def.
15883 * stdio-common/itoa-udigits.c: Likewise.
15884 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15885 (_itoa_lower_digits_internal): Remove declaration.
15886 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15887 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15888 (_sys_sigabbrev_internal): Remove aliases.
15889 (_sys_siglist): Define hidden alias.
15890
507352f1
MT
158912012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15892
15893 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15894 bits/sysctl.h.
15895
42bbb1c3
L
158962012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15897
15898 [BZ #14117]
6bd784b6
L
15899 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15900 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15901
8bca20f0
L
15902 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15903 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15904 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15905 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15906 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15907 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15908
f9e890a9
L
15909 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15910 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15911 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15912
471101a1
L
15913 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15914 with __addr.
15915 (insw): Likewise.
15916 (insl): Likewise.
15917 (outsb): Likewise.
15918 (outsw): Likewise.
15919 (outsl): Likewise.
15920
6451c862
L
15921 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15922 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15923 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15924
a254b8c9
L
15925 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15926 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15927 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15928 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15929 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15930 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15931
b8dfdd92
L
15932 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15933 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15934
578cd270
L
15935 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15936 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15937
de662f5f
L
15938 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15939 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15940 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15941
25653439
L
15942 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15943 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15944 to ...
15945 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15946
6bad24a0
L
15947 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15948 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15949 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15950
42bbb1c3
L
15951 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15952 for x86-64.
15953 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15954
2d10d547
JM
159552012-05-31 Joseph Myers <joseph@codesourcery.com>
15956
15957 * math/math.h (M_El): Use two more decimal places.
15958 (M_LOG2El): Likewise.
15959 (M_LOG10El): Likewise.
15960 (M_LN2l): Likewise.
15961 (M_LN10l): Likewise.
15962 (M_PIl): Likewise.
15963 (M_PI_2l): Likewise.
15964 (M_PI_4l): Likewise.
15965 (M_1_PIl): Likewise.
15966 (M_2_PIl): Likewise.
15967 (M_2_SQRTPIl): Likewise.
15968 (M_SQRT2l): Likewise.
15969 (M_SQRT1_2l): Likewise.
15970
f230c29b
DM
159712012-05-31 David S. Miller <davem@davemloft.net>
15972
15973 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15974 values between float registers.
15975 * sysdeps/sparc/sparc64/memset.S: Likewise.
15976 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15977
fed806c3
MF
159782012-05-31 Mike Frysinger <vapier@gentoo.org>
15979
15980 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15981 -D_FORTIFY_SOURCE=1.
15982 (CPPFLAGS-tst-longjmp_chk.c): Define.
15983 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15984 (CPPFLAGS-tst-longjmp_chk2.c): Define.
15985 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15986 CFLAGS-tst-wchar-h.c.
15987
30917259
MP
159882012-05-31 Marek Polacek <polacek@redhat.com>
15989
15990 [BZ #14132]
15991 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15992 __endmntent_internal): Remove declaration.
15993 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15994 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15995 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15996
1c58d5dc
DM
159972012-05-30 David S. Miller <davem@davemloft.net>
15998
15999 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16000 (___Q_simulate_exceptions): Use real FP ops rather than writing
16001 into the %fsr.
16002 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16003 Likewise.
16004
7dc00e0d
L
160052012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16006
16007 [BZ #14117]
0bd53985
L
16008 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16009 * sysdeps/x86/bits/xtitypes.h: This.
16010
3a257e66
L
16011 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16012 * sysdeps/x86/bits/wordsize.h: This.
16013
62f62904
L
16014 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16015 * sysdeps/x86/bits/huge_vall.h: This.
16016
404fe9d9
L
16017 * sysdeps/i386/bits/select.h: Removed.
16018 * sysdeps/x86_64/bits/select.h: Renamed to ...
16019 * sysdeps/x86/bits/select.h: This.
16020
d48d0446
L
16021 * sysdeps/i386/bits/setjmp.h: Removed.
16022 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16023 * sysdeps/x86/bits/setjmp.h: This.
16024
7dc00e0d
L
16025 * sysdeps/i386/bits/mathdef.h: Removed.
16026 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16027 * sysdeps/x86/bits/mathdef.h: This.
16028
03277f8f
AS
160292012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16030
16031 [BZ #14132]
16032 * include/sys/socket.h (__connect_internal)
16033 (__libc_sa_len_internal): Remove declaration.
16034 (__connect, __libc_sa_len): Declare hidden_proto.
16035 (SA_LEN): Remove use of INTUSE.
16036 * socket/connect.c: Add libc_hidden_def.
16037 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16038 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16039 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16040 alias.
16041 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16042 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16043 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16044 of adding _internal alias.
16045
13764867
L
160462012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16047
16048 [BZ #14117]
6bd97696
L
16049 * sysdeps/i386/bits/link.h: Removed.
16050 * sysdeps/i386/bits/linkmap.h: Likewise.
16051 * sysdeps/x86_64/bits/link.h: Renamed to ...
16052 * sysdeps/x86/bits/link.h: This.
16053 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16054 * sysdeps/x86/bits/linkmap.h: This.
16055
f726f0bb
L
16056 * sysdeps/i386/bits/endian.h: Removed.
16057 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16058 * sysdeps/x86/bits/endian.h: This.
16059
13764867
L
16060 * sysdeps/i386/bits/byteswap.h: Removed.
16061 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16062 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16063 * sysdeps/x86/bits/byteswap.h: This.
16064 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16065 * sysdeps/x86/bits/byteswap-16.h: This.
16066 * sysdeps/i386/Implies: Add x86.
16067 * sysdeps/x86_64/Implies: Likewise.
16068
ae251b0b
DM
160692012-05-30 David S. Miller <davem@davemloft.net>
16070
16071 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16072 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16073 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16074 (FP_TRAPPING_EXCEPTIONS): Define.
16075 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16076 (FP_TRAPPING_EXCEPTIONS): Define.
16077 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16078 subnormals only when inexact has been signalled or underflow
16079 exceptions are enabled.
16080 (_FP_PACK_CANONICAL): Likewise.
16081
d5c90867
L
160822012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16083
16084 [BZ #14183]
16085 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16086 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16087
63f1549e
RH
160882012-05-30 Richard Henderson <rth@twiddle.net>
16089
8d8f2279
RH
16090 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16091 with #ifndef NOT_IN_libc.
16092
63f1549e
RH
16093 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16094 marked to avoid plt entry.
16095
0ab0291b
L
160962012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16097
16098 [BZ #14112]
16099 * Makeconfig (default-abi): New macro.
16100 (abi-includes): Likewise.
16101 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16102 $(abi-$(default-abi)-lib-soname) for soname if defined.
16103 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16104 abi-variants.
16105 * Makefile (installed-stubs): Likewise.
16106 * include/stubs-biarch.h: Removed.
16107 * scripts/lib-names.awk: Only handle one library at a time.
16108 * scripts/soversions.awk: Remove WORDSIZE support.
16109 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16110 entries.
16111 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16112 Removed.
16113 (syscall-list-default-condition): Likewise.
16114 (syscall-list-default-condition): Likewise.
16115 (syscall-list-includes): Likewise.
16116 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16117 syscall-list-* with abi-*. Handle undefined abi-variants.
16118 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16119 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16120 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16121 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16122 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16123 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16124 Removed.
16125 (syscall-list-32-options): Likewise.
16126 (syscall-list-32-condition): Likewise.
16127 (syscall-list-64-options): Likewise.
16128 (syscall-list-64-condition): Likewise.
16129 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16130 macro.
16131 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16132 Renamed to ...
16133 (abi-*): This.
16134 (abi-64-ld-soname): New macro.
16135 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16136 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16137 Renamed to ...
16138 (abi-*): This.
16139 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16140 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16141
4da0431d
JM
161422012-05-30 Joseph Myers <joseph@codesourcery.com>
16143
3a85279c
JM
16144 * sysdeps/unix/sysv/linux/kernel-features.h
16145 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16146 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16147 include <kernel-features.h>.
16148 [!__NR_ftruncate64]: Remove conditional code.
16149 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16150 [__NR_ftruncate64]: Make code unconditional.
16151 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16152 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16153 include <kernel-features.h>.
16154 [!__NR_ftruncate64]: Remove conditional code.
16155 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16156 [__NR_ftruncate64]: Make code unconditional.
16157 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16159 include <kernel-features.h>.
16160 [!__NR_ftruncate64]: Remove conditional code.
16161 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16162 [__NR_ftruncate64]: Make code unconditional.
16163 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16165 include <kernel-features.h>.
16166 [!__NR_ftruncate64]: Remove conditional code.
16167 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16168 [__NR_ftruncate64]: Make code unconditional.
16169 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16170
4da0431d
JM
16171 * configure.in (libc_cv_fpie): Weaken to a compile test using
16172 LIBC_TRY_CC_OPTION.
16173 * configure: Regenerated.
16174
11ef492c
AK
161752012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16176
16177 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16179 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16181 Refreshed.
16182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16188 Refreshed.
16189
d66ef399
DM
161902012-05-27 David S. Miller <davem@davemloft.net>
16191
16192 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16193 (___Q_zero): New.
16194 (__Q_simulate_exceptions): Return void. Change to simulate
16195 exceptions by writing into the %fsr.
16196 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16197 (__Qp_handle_exceptions): Likewise.
16198 (numbers): Delete.
16199 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16200 __Qp_handle_exceptions.
16201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16202 __Qp_handle_exceptions.
16203 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16204 as unused and give dummy FP_RND_NEAREST initializer.
16205 (FP_INHIBIT_RESULTS): Define.
16206 (___Q_simulate_exceptions): Update declaration.
16207 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16208 formatting.
16209 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16210 as unused and give dummy FP_RND_NEAREST initializer.
16211 (__Qp_handle_exceptions): Update declaration.
16212 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16213 formatting.
16214
04fb54b5
TS
162152012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16216
16217 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16218 the temporary FPU control word.
16219 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16220 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16221 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16222 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16223 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16224 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16225 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16226 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16227 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16228 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16229 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16230
3f99608f
KK
162312012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16232
16233 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16234 fields.
16235
65a4de4e
CLT
162362012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16237
16238 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16239 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16240 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16241 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16242 Likewise.
16243 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16244 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16245 Likewise.
16246
15749d40
UD
162472012-05-27 Ulrich Drepper <drepper@gmail.com>
16248
16249 * po/h.po: Update from translation team.
16250
25dbcb27
AS
162512012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16252
3d3f8e55
AS
16253 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16254
25dbcb27
AS
16255 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16256 handling of denormals.
16257 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16258 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16259 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16260 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16261 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16262 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16263 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16264 Likewise.
16265
7ad47a80 162662012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
16267
16268 [BZ #14152]
16269 * math/libm-test.inc (fma_test): Don't always expect underflow
16270 exception.
16271
9c6ea9fa
SP
162722012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16273
16274 [BZ #12416]
16275 * elf/tst-execstack.c: Include stackinfo.h.
16276 (do_test): Adjust test case to ensure that pthread_getattr_np
16277 behaviour remains the same after marking stack executable.
16278
a8239222
JM
162792012-05-25 Joseph Myers <joseph@codesourcery.com>
16280
16281 * sysdeps/unix/sysv/linux/kernel-features.h
16282 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16283 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16284 kernel-features.h.
16285 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16286 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16287 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16288 kernel-features.h.
16289 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16290 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16291
918b5606
L
162922012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16293
16294 * configure.in: Define the default includes to being none.
16295 * configure: Regenerated.
16296
3a097cc7
RM
162972012-05-25 Roland McGrath <roland@hack.frob.com>
16298
8422c9a5
RM
16299 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16300 * sysdeps/x86_64/setjmp.S: Likewise.
16301 * sysdeps/i386/bsd-setjmp.S: Likewise.
16302 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16303 * sysdeps/i386/setjmp.S: Likewise.
16304 * sysdeps/i386/__longjmp.S: Likewise.
16305 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16306 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16307
3a097cc7
RM
16308 * include/stap-probe.h: New file.
16309 * configure.in: Handle --enable-systemtap.
16310 * configure: Regenerated.
16311 * config.h.in (USE_STAP_PROBE): New #undef.
16312 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16313 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16314 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16315
21708942
JM
163162012-05-25 Joseph Myers <joseph@codesourcery.com>
16317
16318 [BZ #13717]
16319 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16320 to 2.4.0 where earlier.
16321 * sysdeps/unix/sysv/linux/configure: Regenerated.
16322 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16323 <kernel-features.h>.
16324 [__ASSUME_32BITUIDS]: Make code unconditional.
16325 [!__ASSUME_32BITUIDS]: Remove conditional code.
16326 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16327 <kernel-features.h>.
16328 [__ASSUME_32BITUIDS]: Make code unconditional.
16329 [!__ASSUME_32BITUIDS]: Remove conditional code.
16330 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16331 [__ASSUME_32BITUIDS]: Make code unconditional.
16332 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16333 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16334 <kernel-features.h>.
16335 [__ASSUME_32BITUIDS]: Make code unconditional.
16336 [!__ASSUME_32BITUIDS]: Remove conditional code.
16337 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16338 <kernel-features.h>.
16339 [__ASSUME_32BITUIDS]: Make code unconditional.
16340 [!__ASSUME_32BITUIDS]: Remove conditional code.
16341 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16342 <kernel-features.h>.
16343 [__ASSUME_32BITUIDS]: Make code unconditional.
16344 [!__ASSUME_32BITUIDS]: Remove conditional code.
16345 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16346 <kernel-features.h>.
16347 [__ASSUME_32BITUIDS]: Make code unconditional.
16348 [!__ASSUME_32BITUIDS]: Remove conditional code.
16349 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16350 <kernel-features.h>.
16351 [__ASSUME_32BITUIDS]: Make code unconditional.
16352 [!__ASSUME_32BITUIDS]: Remove conditional code.
16353 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16354 <kernel-features.h>.
16355 [__ASSUME_32BITUIDS]: Make code unconditional.
16356 [!__ASSUME_32BITUIDS]: Remove conditional code.
16357 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16358 <kernel-features.h>.
16359 [__ASSUME_32BITUIDS]: Make code unconditional.
16360 [!__ASSUME_32BITUIDS]: Remove conditional code.
16361 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16362 <kernel-features.h>.
16363 [__ASSUME_32BITUIDS]: Make code unconditional.
16364 [!__ASSUME_32BITUIDS]: Remove conditional code.
16365 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16366 <kernel-features.h>.
16367 [__ASSUME_32BITUIDS]: Make code unconditional.
16368 [!__ASSUME_32BITUIDS]: Remove conditional code.
16369 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16370 <kernel-features.h>.
16371 [__ASSUME_32BITUIDS]: Make code unconditional.
16372 [!__ASSUME_32BITUIDS]: Remove conditional code.
16373 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16374 <kernel-features.h>.
16375 [__NR_setresgid] (__setresgid): Do not declare.
16376 [__ASSUME_32BITUIDS]: Make code unconditional.
16377 [!__ASSUME_32BITUIDS]: Remove conditional code.
16378 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16379 <kernel-features.h>.
16380 [__NR_setresuid] (__setresuid): Do not declare.
16381 [__ASSUME_32BITUIDS]: Make code unconditional.
16382 [!__ASSUME_32BITUIDS]: Remove conditional code.
16383 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16384 <kernel-features.h>.
16385 [__ASSUME_32BITUIDS]: Make code unconditional.
16386 [!__ASSUME_32BITUIDS]: Remove conditional code.
16387 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16388 <kernel-features.h>.
16389 [__ASSUME_32BITUIDS]: Make code unconditional.
16390 [!__ASSUME_32BITUIDS]: Remove conditional code.
16391 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16392 <kernel-features.h>.
16393 [__ASSUME_32BITUIDS]: Make code unconditional.
16394 [!__ASSUME_32BITUIDS]: Remove conditional code.
16395 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16396 <kernel-features.h>.
16397 [__ASSUME_32BITUIDS]: Make code unconditional.
16398 [!__ASSUME_32BITUIDS]: Remove conditional code.
16399 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16400 <kernel-features.h>.
16401 [__ASSUME_32BITUIDS]: Make code unconditional.
16402 [!__ASSUME_32BITUIDS]: Remove conditional code.
16403 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16404 <kernel-features.h>.
16405 [__ASSUME_32BITUIDS]: Make code unconditional.
16406 [!__ASSUME_32BITUIDS]: Remove conditional code.
16407 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16408 <kernel-features.h>.
16409 [__ASSUME_32BITUIDS]: Make code unconditional.
16410 [!__ASSUME_32BITUIDS]: Remove conditional code.
16411 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16412 <kernel-features.h>.
16413 [__ASSUME_32BITUIDS]: Make code unconditional.
16414 [!__ASSUME_32BITUIDS]: Remove conditional code.
16415 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16416 <kernel-features.h>.
16417 [__ASSUME_32BITUIDS]: Make code unconditional.
16418 [!__ASSUME_32BITUIDS]: Remove conditional code.
16419 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16420 <kernel-features.h>.
16421 [__ASSUME_32BITUIDS]: Make code unconditional.
16422 [!__ASSUME_32BITUIDS]: Remove conditional code.
16423 * sysdeps/unix/sysv/linux/kernel-features.h
16424 (__ASSUME_SETRESUID_SYSCALL): Remove.
16425 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16426 (__ASSUME_32BITUIDS): Likewise.
16427 (__ASSUME_LDT_WORKS): Likewise.
16428 (__ASSUME_O_DIRECTORY): Likewise.
16429 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16430 architecture but not kernel version.
16431 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16432 (__ASSUME_MMAP2_SYSCALL): Likewise.
16433 (__ASSUME_STAT64_SYSCALL): Likewise.
16434 (__ASSUME_IPC64): Likewise.
16435 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16436 <kernel-features.h>.
16437 [__ASSUME_32BITUIDS]: Make code unconditional.
16438 [!__ASSUME_32BITUIDS]: Remove conditional code.
16439 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16440 <kernel-features.h>.
16441 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16442 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16443 132096]: Remove conditional code.
16444 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16445 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16446 <kernel-features.h>.
16447 [__ASSUME_32BITUIDS]: Make code unconditional.
16448 [!__ASSUME_32BITUIDS]: Remove conditional code.
16449 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16450 <kernel-features.h>.
16451 [__ASSUME_32BITUIDS]: Make code unconditional.
16452 [!__ASSUME_32BITUIDS]: Remove conditional code.
16453 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16454 <kernel-features.h>.
16455 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16456 unconditional.
16457 (__setresgid): Do not declare.
16458 [__ASSUME_32BITUIDS]: Make code unconditional.
16459 [!__ASSUME_32BITUIDS]: Remove conditional code.
16460 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16461 <kernel-features.h>.
16462 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16463 unconditional.
16464 (__setresuid): Do not declare.
16465 [__ASSUME_32BITUIDS]: Make code unconditional.
16466 [!__ASSUME_32BITUIDS]: Remove conditional code.
16467 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16468 <kernel-features.h>.
16469 [__ASSUME_32BITUIDS]: Make code unconditional.
16470 [!__ASSUME_32BITUIDS]: Remove conditional code.
16471 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16472 <kernel-features.h>.
16473 [__ASSUME_32BITUIDS]: Make code unconditional.
16474 [!__ASSUME_32BITUIDS]: Remove conditional code.
16475
a386f1cc
RH
164762012-05-25 Richard Henderson <rth@twiddle.net>
16477
16478 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16479 dl_hwcap to ifunc resolver.
16480 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16481 elf_ifunc_invoke.
16482 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16483 dl_hwcap to ifunc resolver.
16484 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16485
b6550497
JM
164862012-05-24 Joseph Myers <joseph@codesourcery.com>
16487
16488 [BZ #14153]
16489 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16490 for |x| <= 2**-26, not 2**-57.
16491 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16492 exception.
16493
b0bc23a1
JL
164942012-05-24 Jeff Law <law@redhat.com>
16495
16496 * stdio-common/Makefile (tests): Add bug25.
16497 * stdio-common/bug25.c: New test.
16498
347c92e9
L
164992012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16500
16501 [BZ #13576]
16502 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16503 multiple of MALLOC_ALIGNMENT in size.
16504 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16505
6bcc8b3f
JM
165062012-05-24 Joseph Myers <joseph@codesourcery.com>
16507
16508 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16509 Require >= 256.
16510 (FILENAME_MAX): Use macro-int-constant.
16511 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16512 (_IOFBF): Use macro-int-constant.
16513 (_IOLBF): Likewise.
16514 (_IONBF): Likewise.
16515 (SEEK_CUR): Likewise.
16516 (SEEK_END): Likewise.
16517 (SEEK_SET): Likewise.
16518 (TMP_MAX): Likewise.
16519 (EOF): Use macro-int-constant. Require < 0.
16520 (NULL): Use macro-constant. Require == 0.
16521 (stdin): Require type to be FILE *.
16522 (stdout): Likewise.
16523 (stderr): Likewise.
16524 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16525 macro-int-constant.
16526 (EXIT_SUCCESS): Likewise.
16527 (NULL): Use macro-constant. Require == 0.
16528 (RAND_MAX): Use macro-int-constant.
16529 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16530 [C99-based standards] (strtof): Require function.
16531 [C99-based standards] (strtold): Likewise.
16532 [C99-based standards] (strtoll): Likewise.
16533 [C99-based standards] (strtoull): Likewise.
16534 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16535 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16536 [ISO || ISO99 || ISO11] (math.h): Likewise.
16537 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16538 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16539 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16540
d18ea0c5
AS
165412012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16542
16543 [BZ #14132]
56d25bb8
AS
16544 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16545 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16546 * intl/dgettext.c (DCGETTEXT): Likewise.
16547 * intl/gettext.c (DCGETTEXT): Likewise.
16548 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16549 * posix/regex_internal.h (gettext): Likewise.
16550 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16551 Remove declaration.
16552 * include/argz.h (__argz_count_internal)
16553 (__argz_stringify_internal): Remove declaration.
16554 (__argz_count, __argz_stringify): Declare hidden proto.
16555 * intl/dcgettext.c: Remove use of INTDEF.
16556 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16557 * string/argz-stringify.c: Likewise.
16558 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16559 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16560 Declare hidden proto.
d18ea0c5
AS
16561 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16562 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16563 Declare hidden proto.
16564 * include/stdio.h (__asprintf_internal): Don't declare.
16565 (__asprintf): Don't define as macro. Declare hidden proto.
16566 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16567 (__fsetlocking): Declare hidden proto.
16568 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16569 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16570 hidden proto.
16571 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16572 (_IO_setlinebuf): Remove use of INTUSE.
16573 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16574 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16575 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16576 Remove declaration.
16577 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16578 (_IO_do_flush): Remove use of INTUSE.
16579 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16580 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16581 (_IO_adjust_column, _IO_least_wmarker)
16582 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16583 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16584 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16585 (_IO_default_doallocate, _IO_wdefault_doallocate)
16586 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16587 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16588 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16589 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16590 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16591 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16592 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16593 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16594 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16595 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16596 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16597 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16598 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16599 proto.
16600 (_IO_flush_all_internal, _IO_adjust_column_internal)
16601 (_IO_default_uflow_internal, _IO_default_finish_internal)
16602 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16603 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16604 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16605 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16606 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16607 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16608 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16609 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16610 (_IO_file_close_internal, _IO_file_close_it_internal)
16611 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16612 (_IO_file_init_internal, _IO_file_attach_internal)
16613 (_IO_file_fopen_internal, _IO_file_read_internal)
16614 (_IO_file_sync_internal, _IO_file_seek_internal)
16615 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16616 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16617 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16618 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16619 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16620 (_IO_list_all_internal, _IO_link_in_internal)
16621 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16622 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16623 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16624 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16625 (_IO_do_write_internal, _IO_padn_internal)
16626 (_IO_getline_info_internal, _IO_getline_internal)
16627 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16628 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16629 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16630 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16631 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16632 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16633 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16634 with libc_hidden_ver, remove use of INTUSE.
16635 * libio/genops.c: Likewise.
16636 * libio/freopen.c: Likewise.
16637 * libio/freopen64.c: Likewise.
16638 * libio/iofclose.c: Likewise.
16639 * libio/iofdopen.c: Likewise.
16640 * libio/iofflush.c: Likewise.
16641 * libio/iofflush_u.c: Likewise.
16642 * libio/iofgets.c: Likewise.
16643 * libio/iofgets_u.c: Likewise.
16644 * libio/iofopen.c: Likewise.
16645 * libio/iofopncook.c: Likewise.
16646 * libio/iofread.c: Likewise.
16647 * libio/iofread_u.c: Likewise.
16648 * libio/ioftell.c: Likewise.
16649 * libio/iofwrite.c: Likewise.
16650 * libio/iogetline.c: Likewise.
16651 * libio/iogets.c: Likewise.
16652 * libio/iogetwline.c: Likewise.
16653 * libio/iopadn.c: Likewise.
16654 * libio/iopopen.c: Likewise.
16655 * libio/ioseekoff.c: Likewise.
16656 * libio/ioseekpos.c: Likewise.
16657 * libio/iosetbuffer.c: Likewise.
16658 * libio/iosetvbuf.c: Likewise.
16659 * libio/ioungetc.c: Likewise.
16660 * libio/ioungetwc.c: Likewise.
16661 * libio/iovdprintf.c: Likewise.
16662 * libio/iovsprintf.c: Likewise.
16663 * libio/iovsscanf.c: Likewise.
16664 * libio/memstream.c: Likewise.
16665 * libio/obprintf.c: Likewise.
16666 * libio/oldfileops.c: Likewise.
16667 * libio/oldiofclose.c: Likewise.
16668 * libio/oldiofdopen.c: Likewise.
16669 * libio/oldiofopen.c: Likewise.
16670 * libio/oldiopopen.c: Likewise.
16671 * libio/oldstdfiles.c: Likewise.
16672 * libio/putc.c: Likewise.
16673 * libio/setbuf.c: Likewise.
16674 * libio/setlinebuf.c: Likewise.
16675 * libio/stdfiles.c: Likewise.
16676 * libio/strops.c: Likewise.
16677 * libio/vasprintf.c: Likewise.
16678 * libio/vscanf.c: Likewise.
16679 * libio/vsnprintf.c: Likewise.
16680 * libio/vswprintf.c: Likewise.
16681 * libio/wfiledoalloc.c: Likewise.
16682 * libio/wfileops.c: Likewise.
16683 * libio/wgenops.c: Likewise.
16684 * libio/wmemstream.c: Likewise.
16685 * libio/wstrops.c: Likewise.
16686 * libio/__fpurge.c: Likewise.
16687 * libio/__fsetlocking.c: Likewise.
16688 * assert/assert.c: Likewise.
16689 * debug/fgets_chk.c: Likewise.
16690 * debug/fgets_u_chk.c: Likewise.
16691 * debug/fread_chk.c: Likewise.
16692 * debug/fread_u_chk.c: Likewise.
16693 * debug/gets_chk.c: Likewise.
16694 * debug/obprintf_chk.c: Likewise.
16695 * debug/vasprintf_chk.c: Likewise.
16696 * debug/vdprintf_chk.c: Likewise.
16697 * debug/vsnprintf_chk.c: Likewise.
16698 * debug/vsprintf_chk.c: Likewise.
16699 * malloc/mtrace.c: Likewise.
16700 * misc/error.c: Likewise.
16701 * misc/syslog.c: Likewise.
16702 * stdio-common/asprintf.c: Likewise.
16703 * stdio-common/fxprintf.c: Likewise.
16704 * stdio-common/getw.c: Likewise.
16705 * stdio-common/isoc99_fscanf.c: Likewise.
16706 * stdio-common/isoc99_scanf.c: Likewise.
16707 * stdio-common/isoc99_vfscanf.c: Likewise.
16708 * stdio-common/isoc99_vscanf.c: Likewise.
16709 * stdio-common/isoc99_vsscanf.c: Likewise.
16710 * stdio-common/printf-prs.c: Likewise.
16711 * stdio-common/printf_fp.c: Likewise.
16712 * stdio-common/printf_fphex.c: Likewise.
16713 * stdio-common/printf_size.c: Likewise.
16714 * stdio-common/putw.c: Likewise.
16715 * stdio-common/scanf.c: Likewise.
16716 * stdio-common/sprintf.c: Likewise.
16717 * stdio-common/tmpfile.c: Likewise.
16718 * stdio-common/vfprintf.c: Likewise.
16719 * stdio-common/vfscanf.c: Likewise.
16720 * stdlib/strfmon_l.c: Likewise.
16721 * sunrpc/openchild.c: Likewise.
16722 * sunrpc/xdr_stdio.c: Likewise.
16723 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16724 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16725
d6c33fda
RM
167262012-05-24 Roland McGrath <roland@hack.frob.com>
16727
c1487492
RM
16728 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16729
16730 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16731 in the third column, to generate for the shared library an IFUNC
16732 that uses _dl_vdso_vsym.
16733 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16734 * Makeconfig (object-suffixes-noshared): New variable.
16735
16736 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16737 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16738 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16739 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16740
d6c33fda
RM
16741 [BZ #14132]
16742 * include/sys/time.h (__gettimeofday): Remove macro.
16743 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16744 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16745 Remove INTDEF.
16746 (__gettimeofday): Add libc_hidden_def.
16747 (gettimeofday): Add libc_hidden_weak.
16748 * sysdeps/mach/gettimeofday.c: Likewise.
16749 * sysdeps/posix/gettimeofday.c: Likewise.
16750 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16751 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16752 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16753 (__gettimeofday_internal): Remove strong_alias.
16754 (__gettimeofday): Add libc_hidden_def.
16755 (gettimeofday): Add libc_hidden_weak.
16756 * sysdeps/unix/syscalls.list (gettimeofday):
16757 Remove __gettimeofday_internal alias.
16758
b5a2bbe6
L
167592012-05-24 Daniel Jacobowitz <drow@false.org>
16760 H.J. Lu <hongjiu.lu@intel.com>
16761
16762 [BZ #12495]
16763 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16764 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16765 (largebin_index_32_big): New.
16766 (largebin_index): Use it for 16-byte alignment.
16767 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16768 correction with front_misalign.
16769
cfba4fda
L
167702012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16771
7f907421
L
16772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16773 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16774 Likewise.
16775 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16776 Likewise.
16777 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16778 Likewise.
16779 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16780 Likewise.
16781 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16782 Likewise.
16783 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16784 Likewise.
16785 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16786 Likewise.
16787 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16788 Likewise.
16789 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16790 Likewise.
16791 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16792 Likewise.
16793 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16794 Likewise.
16795 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16796 Likewise.
16797
cfba4fda
L
16798 * scripts/data/c++-types-x32-linux-gnu.data: New file.
16799 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16800
80bad0cc
JM
168012012-05-24 Joseph Myers <joseph@codesourcery.com>
16802
7a25eb06
JM
16803 [BZ #10846]
16804 [BZ #14036]
16805 * math/libm-test.inc (exp_test): Add test from bug 14036.
16806 (pow_test): Add test from bug 10846.
16807
795405f9
JM
16808 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16809 and other flags.
16810 (special_function): Do not include flags in test name.
16811 (parse_args): Likewise.
16812 * sysdeps/i386/fpu/libm-test-ulps: Update.
16813 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16814 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16815 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16817
80bad0cc
JM
16818 * math/gen-libm-test.pl (%beautify): Add entries for underflow
16819 exceptions.
16820 * math/libm-test.inc ("Philosophy"): Update comment about
16821 exception testing.
16822 (UNDERFLOW_EXCEPTION): New macro.
16823 (UNDERFLOW_EXCEPTION_OK): Likewise.
16824 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16825 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16826 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16827 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16828 (INVALID_EXCEPTION_OK): Update value.
16829 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16830 (OVERFLOW_EXCEPTION_OK): Likewise.
16831 (IGNORE_ZERO_INF_SIGN): Likewise.
16832 (test_exceptions): Handle underflow exceptions.
16833 (acos_test): Update for underflow exception expectations.
16834 (cexp_test): Likewise.
16835 (clog_test): Likewise.
16836 (clog10_test): Likewise.
16837 (csqrt_test): Likewise.
16838 (ctan_test): Likewise.
16839 (ctanh_test): Likewise.
16840 (exp_test): Likewise.
16841 (exp10_test): Likewise.
16842 (exp2_test): Likewise.
16843 (expm1_test): Likewise.
16844 (fma_test): Likewise.
16845 (j0_test): Likewise.
16846 (jn_test): Likewise.
16847 (nexttoward_test): Likewise.
16848 (pow_test): Likewise.
16849 (scalbn_test): Likewise.
16850 (scalbln_test): Likewise.
16851 (tan_test): Likewise.
16852 (y1_test): Likewise.
16853 * sysdeps/i386/fpu/libm-test-ulps: Update.
16854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16855
9e0e3d0b
DM
168562012-05-23 David S. Miller <davem@davemloft.net>
16857
16858 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16859 (__libc_sigaction): Remove unused local variables.
16860
ccd0a08f
L
168612012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16862
16863 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16864
62bdf9a6
PE
168652012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16866
f8591f80
PE
16867 mktime: avoid signed integer overflow
16868 * time/mktime.c (__mktime_internal): Do not mishandle the case
16869 where diff == INT_MIN.
16870
94c7d826
PE
16871 mktime: simplify computation of average
16872 * time/mktime.c (ranged_convert): Use new time_t_avg function
16873 instead of rolling our own (probably-slower) code.
16874
ce73d683
PE
16875 mktime: do not assume signed right shift propagates sign bit
16876 * time/mktime.c (isdst_differ): New static function.
16877 (__mktime_internal): No need to normalize tm_isdst now.
16878 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16879 tm_isdst values.
16880
72a22e59
PE
16881 mktime: merge another wrapv change from gnulib
16882 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16883 from some compilers.
16884
68605433
PE
16885 mktime: remove incorrect attempt at unusual arithmetics
16886 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16887 The code didn't really work on such machines anyway.
16888 (TYPE_MINIMUM): Assume two's complement.
16889 (twos_complement_arithmetic): Verify that long_int and time_t
16890 are two's complement (or unsigned, in the latter case).
16891
03cf7fe3
PE
16892 mktime: check signed shifts on long_int and time_t, too
16893 * time/mktime.c (SHR): Check that shifts work as desired
16894 on the types long_int and time_t too, as SHR is used on
16895 such types.
16896
f04dfbc2
PE
16897 mktime: do not assume 'long' is wide enough
16898 * time/mktime.c (verify): Move decl up.
16899 (long_int): New type.
16900 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16901 to remove assumption in the code that 'long' is wide enough to
16902 store year values. This assumption is not true on x32 and on
16903 some non-glibc platforms.
16904
62bdf9a6
PE
16905 mktime: merge wrapv change from gnulib
16906 * time/mktime.c (WRAPV): New macro.
16907 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16908 (guess_time_tm, __mktime_internal): Do not assume that signed
16909 integer overflow wraps around; modern compilers generate code
16910 where this assumption is no longer valid.
16911
5e292e4f
L
169122012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16913
16914 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16915 Replace "jmp L(pseudo_end)" with "ret".
16916 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16917 Likewise.
16918
8caf8c87
AJ
169192012-05-23 Andreas Jaeger <aj@suse.de>
16920
16921 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16922 * sysdeps/unix/sysv/linux/poll.c: Remove file.
16923
1a09dc56
AJ
169242012-05-23 Andreas Jaeger <aj@suse.de>
16925 Maximilian Attems <max@stro.at>
16926
16927 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16928 New macros.
16929
1c87aba0
L
169302012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16931
16932 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16933 code so that pseudo_end is just ret and the stack pointer is
16934 correct also for static library in error case.
16935
40e45bd5
JM
169362012-05-23 Joseph Myers <joseph@codesourcery.com>
16937
c2670533
JM
16938 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16939 move to syscalls.list.
16940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16944
40e45bd5
JM
16945 * manual/install.texi (Running make install): Do not mention Linux
16946 kernel version for which pt_chown is not needed.
16947 (Linux): Do not mention problems with nscd with 2.0 kernels.
16948 * INSTALL: Regenerated.
16949
be08eda5
AJ
169502012-05-23 Andreas Jaeger <aj@suse.de>
16951
16952 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16953 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16954 macro.
16955 * sysdeps/unix/sysv/linux/s390/bits/mman.h
16956 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16957 * sysdeps/unix/sysv/linux/sh/bits/mman.h
16958 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16959 * sysdeps/unix/sysv/linux/i386/bits/mman.h
16960 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16961 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16962 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16963 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16964 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16965 * sysdeps/unix/sysv/linux/bits/in.h
16966 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16967
a6a056bb
RM
169682012-05-22 Roland McGrath <roland@hack.frob.com>
16969
16970 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16971 (PREPARE_VERSION): Just use assert instead, it will be elided
16972 under [NDEBUG] anyway.
16973
c9009328
L
169742012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16975
16976 * sysdeps/unix/sysv/linux/Makefile: Include
16977 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 16978 (sysdep_routines): Remove sysctl.
c9009328
L
16979 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16980 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16981 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16982 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16983 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16984
73338355
AJ
169852012-05-22 Andreas Jaeger <aj@suse.de>
16986
16987 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16988 that pseudo_end is just ret and the stack pointer is correct also
16989 for static library in error case.
16990
d44638b0
PP
169912012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
16992
16993 [BZ #14122]
16994 * nss/nsswitch.c (defconfig_entries): New variable.
16995 (__nss_database_lookup): Don't leak defconfig entries.
16996 (nss_parse_service_list): Don't leak on error paths.
16997 (free_database_entries): New function.
16998 (free_defconfig): New function.
16999 (free_mem): Move common code to free_database_entries.
17000
31a39bd8
L
170012012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17002
da0331a8
L
17003 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17004 Add arch_prctl.
17005 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17006
31a39bd8
L
17007 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17008 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17009 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17010 New macro.
17011 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17012 (INTERNAL_SYSCALL_TYPES): Likewise.
17013 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17014 (LOAD_REGS_TYPES_[1-6]): Likewise.
17015 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17016 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17017
45470df3
AZ
170182012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17019
17020 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17021 copysignl for GLIBC_2_0.
17022 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17023 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17024 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17025 logbl for GLIBC_2_0.
17026 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17027 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17028
98a61bcb
L
170292012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17030
a4f6e481
L
17031 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17032 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17033
f63d5db6
L
17034 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17035 Use "neg %eax".
17036
98a61bcb
L
17037 * time/mktime.c: Update copyright years.
17038
95770f14
PE
170392012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17040
6226efbd
PE
17041 mktime: merge comment-quoting-style change from gnulib
17042 * time/mktime.c: Quote 'like this' in comments.
17043 The GNU coding standards suggest that we no longer quote `like this',
17044 as "`" and "'" are typically rendered asymmetrically nowadays.
17045 The typical gnulib style is to quote 'like this' when quoting
17046 code, and "like this" when quoting English.
17047
b99e4f78
PE
17048 * time/mktime.c (compile-command): Add "-I.".
17049
643e01e6
PE
17050 mktime: merge mktime-internal.h change from gnulib
17051 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17052
2554247d
PE
17053 mktime: merge time_r change from gnulib
17054 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17055
826dd0ab
PE
17056 mktime: merge DEBUG change from gnulib
17057 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17058 case system <time.h> has a #define.
17059
bd83aabe
PE
17060 mktime: merge <sys/types.h> change from gnulib
17061 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17062 since <time.t> is now guaranteed to define time_t.
17063
95770f14
PE
17064 mktime: merge HAVE_CONFIG_H change from gnulib
17065 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17066
5e1a27a9
L
170672012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17068
0e44a77e
L
17069 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17070 Use "neg %eax".
17071
5e1a27a9
L
17072 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17073 __rlim_t cast.
17074 (struct rusage): Use anonymous union to pad each field to
17075 __syscall_slong_t.
17076
46259bec
DM
170772012-05-21 David S. Miller <davem@davemloft.net>
17078
17079 * Makefules (o-iterator): Remove .s cases.
17080 (compile-command.s): Delete.
17081 (COMPILE.s): Delete.
17082 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17083
59f0c22e
JM
170842012-05-21 Joseph Myers <joseph@codesourcery.com>
17085
17086 * configure.in (libc_cv_predef_stack_protector): Only consider
17087 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17088 * configure: Regenerated.
17089
20c07380
L
170902012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17091
bbb3154b
L
17092 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17093 New macro. Use R*LP on int and pointer.
17094 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
17095 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17096 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
17097 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17098
20c07380
L
17099 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17100 [__WORDSIZE_TIME64_COMPAT32] instead of
17101 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17102 (struct utmp): Likewise.
17103 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17104 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17105 Renamed to ...
17106 (__WORDSIZE_TIME64_COMPAT32): This.
17107 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17108 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17109 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17110 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17111 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17112 (__WORDSIZE_TIME64_COMPAT32): New macro.
17113
d8d1017e
AJ
171142012-05-21 Andreas Jaeger <aj@suse.de>
17115
17116 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17117 only if [SHARED]. Add prototype for __wcschr_ia32.
17118
6c7fb145
RM
171192012-05-21 Roland McGrath <roland@hack.frob.com>
17120
17121 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17122 of %rbp unmolested in the jmp_buf while mangling the low bits.
17123 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17124 unmolested high bits of %rbp while demangling the low bits.
17125 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17126
66274218
AJ
171272012-05-21 Andreas Jaeger <aj@suse.de>
17128
07c58f8f
AJ
17129 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17130 * sunrpc/svc_simple.c: Use it for registerrpc.
17131 * sunrpc/xcrypt.c: Use it for passwd2des.
17132
66274218
AJ
17133 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17134
61f65140
L
171352012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17136
17137 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17138 Don't define if [__SYSCALL_WORDSIZE != 32].
17139 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17140 New macro.
17141
5fefb436
AJ
171422012-05-21 Bruno Haible <bruno@clisp.org>
17143 Andreas Jaeger <aj@suse.de>
17144
17145 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17146 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17147 inptr and inend for must_buffer_ch.
17148 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17149 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17150 * stdio-common/Makefile (tests): Remove bug15.
17151 (bug15-ENV): Remove macro.
17152 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17153 anymore.
17154
d8e272ab
AJ
171552012-05-19 Andreas Jaeger <aj@suse.de>
17156 Roland McGrath <roland@hack.frob.com>
17157
17158 * manual/contrib.texi: Completely rewritten. It contains now an
17159 alphabetical list of contributors and their contributions.
17160
4a56a162
RH
171612012-05-21 Richard Henderson <rth@twiddle.net>
17162
17163 * misc/getauxval.c (__getauxval): Use unsigned long int.
17164 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17165 (getauxval): Use unsigned long int.
17166
d024d23c
L
171672012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17168
17169 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17170
cbc00a03
RM
171712012-05-21 Roland McGrath <roland@hack.frob.com>
17172
17173 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17174 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17175 __alignof__ (long double).
17176
478143fa
AZ
171772012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17178
17179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17180
c7683a6d
RH
171812012-05-20 Richard Henderson <rth@twiddle.net>
17182
17183 * misc/getauxval.c: New file.
17184 * misc/sys/auxv.h: New file.
17185 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17186 (routines): Add getauxval.
17187 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17188 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17189 * elf/dl-sysdep.c (_dl_auxv): Remove.
17190 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17191 * elf/dl-support.c (_dl_auxv): New variable.
17192 (_dl_aux_init): Initialize it.
17193 * manual/startup.texi (Auxiliary Vector): New node.
17194 * sysdeps/generic/bits/hwcap.h: New file.
17195 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17196 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17197 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17198 * sysdeps/sparc/sysdep.h: ... here. Include it.
17199 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17200 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
17201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17202 Update.
c7683a6d
RH
17203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17206 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17211
a6f1845d
AZ
172122012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17213
17214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17215
cbcbe830
DM
172162012-05-19 David S. Miller <davem@davemloft.net>
17217
17218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17219
e0b16cc2
JM
172202012-05-19 Joseph Myers <joseph@codesourcery.com>
17221
17222 [BZ #14123]
17223 * math/s_ccosh.c: Include <float.h>
17224 (__ccosh): Avoid internal overflow calculating sinh and cosh
17225 values before multiplying by sin and cos values.
17226 * math/s_ccoshf.c: Likewise.
17227 * math/s_ccoshl.c: Likewise.
17228 * math/s_csin.c: Likewise.
17229 * math/s_csinf.c: Likewise.
17230 * math/s_csinl.c: Likewise.
17231 * math/s_csinh.c: Likewise.
17232 * math/s_csinhf.c: Likewise.
17233 * math/s_csinhl.c: Likewise.
17234 * math/libm-test.inc (ccos_test): Add more tests.
17235 (ccosh_test): Likewise.
17236 (csin_test): Likewise.
17237 (csinh_test): Likewise.
17238 * sysdeps/i386/fpu/libm-test-ulps: Update.
17239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17240
6ad13e08
L
172412012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17242
f66f0ce8
L
17243 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17244 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17245
6ad13e08
L
17246 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17247
b1d072a7
JM
172482012-05-19 Joseph Myers <joseph@codesourcery.com>
17249
17250 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17251 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17252 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17253 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17254 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17255 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17256 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17257 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17258 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17259 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17260 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17261 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17262 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17263 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17264 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17265 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17266 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17267 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17268 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17269 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17270 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17271 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17272 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17273 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17274 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17275 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17276 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17277 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17278 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17279 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17280 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17281
9eae47cb
AJ
172822012-05-18 Andreas Jaeger <aj@suse.de>
17283
17284 * csu/.gitignore: Delete.
17285
bb07f69f
L
172862012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17287
17288 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17289 (timex): Use __syscall_slong_t.
17290
e6bdb741
AJ
172912012-05-18 Andreas Jaeger <aj@suse.de>
17292 Carlos O'Donell <carlos_odonell@mentor.com>
17293
17294 * manual/install.texi (Configuring and compiling): Update
17295 description about files modified in the source directory.
d6c33fda 17296 * INSTALL: Regenerated.
e6bdb741 17297
1b74487e
L
172982012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17299
17300 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17301 value. Use "or" to set return value to -1.
17302 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17303 negate return value.
17304
a88b64b9
TMQMF
173052012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17306
17307 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17308 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17309 failure if the compiler has Graphite support disabled.
17310 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17311 Likewise.
17312 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17313 CFLAGS-memmove.c): Likewise.
17314 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17315 Likewise.
17316
3707636e
L
173172012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17318
610b8622
L
17319 * sysdeps/x86_64/x32/_itoa.h: New file.
17320
7cd195df
L
17321 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17322 getdents system call only if kernel and user dirents have the
17323 same d_ino and d_off.
17324
94b07d20
L
17325 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17326 LLONG_MAX != LONG_MAX.
17327 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17328 (_fitoa_word): Likewise.
17329
18298070
L
17330 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17331 years.
17332 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17333 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17334 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17335
553c7ea4
L
17336 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17337 include <bits/wordsize.h>. Check __x86_64__ instead of
17338 __WORDSIZE.
17339 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17340 if __x86_64__ is defined. Use anonymous union on fpstate.
17341
3707636e
L
17342 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17343 anonymous union.
17344
b53ef01a
AS
173452012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17346
37fb1dc0
AS
17347 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17348 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17349 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17350 Refer to _rtld_local_ro instead of _rtld_global_ro.
17351 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17352 Likewise.
17353 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17354 Likewise.
17355 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17356 Likewise.
17357 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17358 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17359 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17360
b53ef01a
AS
17361 * sysdeps/powerpc/powerpc32/dl-machine.c
17362 (__elf_machine_runtime_setup) [PROF]: Don't reference
17363 _dl_prof_resolve.
17364
7a185db2
AJ
173652012-05-18 Andreas Jaeger <aj@suse.de>
17366
17367 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17368 function only available for GCCs before 3.4 since GCC 3.4
17369 introduced a builtin.
17370 (lrint): Likewise.
17371 (llrintf): Likewise.
17372 (llrint): Likewise.
17373 (fmaxf): Likewise.
17374 (fmax): Likewise.
17375 (fminf): Likewise.
17376 (fmin): Likewise.
17377 (rint): Likewise.
17378 (rintf): Likewise.
17379 (nearbyint): Likewise.
17380 (nearbyintf): Likewise.
17381 (ceil): Likewise.
17382 (ceilf): Likewise.
17383 (floor): Likewise.
17384 (floorf): Likewise.
17385
3e5aef87
L
173862012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17387
428bd707
L
17388 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17389 on both fields and cast pointer to __syscall_ulong_t.
17390
3e5aef87
L
17391 * bits/types.h (__fsword_t): New type.
17392 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17393 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17394 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17395 (__FSWORD_T_TYPE): Likewise.
17396 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17397 (__FSWORD_T_TYPE): Likewise.
17398 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17399 (__FSWORD_T_TYPE): Likewise.
17400 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17401 (__FSWORD_T_TYPE): Likewise.
17402 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17403 __SWORD_TYPE with __fsword_t.
17404 (statfs64): Likewise.
17405
1ba7c3dc
DM
174062012-05-17 David S. Miller <davem@davemloft.net>
17407
17408 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17409
59910343
AJ
174102012-05-17 Andreas Jaeger <aj@suse.de>
17411
17412 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17413 warning.
17414
2e4c1e9e
L
174152012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17416
17417 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17418
de7f5ce7
AJ
174192012-05-17 Andreas Jaeger <aj@suse.de>
17420
17421 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17422 when it is used.
17423
286abc3d
CM
174242012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17425
17426 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17427
477cc68e
L
174282012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17429
17430 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17431 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17432
1a0994f5
CD
174332012-05-17 Andreas Jaeger <aj@suse.de>
17434 Carlos O'Donell <carlos_odonell@mentor.com>
17435
17436 [BZ #14059]
17437 * sysdeps/x86_64/multiarch/init-arch.h
17438 (bit_YMM_Usable): Rename to...
17439 (bit_AVX_Usable): ... this.
17440 (bit_FMA4_Usable): New macro.
17441 (bit_XMM_state): New macro.
17442 (bit_YMM_state): New macro.
17443 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17444 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17445 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17446 (CPUID_OSXSAVE): New macro.
17447 (CPUID_AVX): New macro.
17448 (CPUID_FMA4): New macro.
17449 (index_YMM_Usable): Rename to...
17450 (index_AVX_Usable): ... this.
17451 (HAS_AVX): Use HAS_ARCH_FEATURE.
17452 (HAS_FMA4): Likewise.
17453 (HAS_YMM_USABLE): Remove.
17454 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17455 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17456 are present.
17457 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17458 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17459 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17460 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17461 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17462
0af797de
CM
174632012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17464
17465 * math/libm-test.c: Support platforms without multiple rounding modes.
17466 * math/bug-nextafter.c: Support platforms without FP exceptions.
17467 * math/bug-nexttoward.c: Likewise.
17468 * math/test-fenv.c: Likewise.
17469 * math/test-misc.c: Likewise.
17470 * stdlib/bug-getcontext.c: Likewise.
17471
e39745ff
AJ
174722012-05-17 Andreas Jaeger <aj@suse.de>
17473
17474 * manual/examples/search.c (critter_cmp): Change signature to
17475 avoid warnings.
17476 * manual/string.texi (Collation Functions): Likewise.
17477
48970aba
L
174782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17479
17480 * bits/types.h: Fold copyright years.
17481 * bits/typesizes.h: Likewise.
17482 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17483 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17484 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17485 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17486 * time/time.h: Likewise.
17487
bedee953
PP
174882012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17489
17490 [BZ #208]
17491 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17492 in instead of returning them. Return void.
17493 (__libc_mallinfo): Accumulate over all arenas.
17494 (__malloc_stats): Adjust for change in int_mallinfo interface.
17495
61653dfb
RM
174962012-05-16 Roland McGrath <roland@hack.frob.com>
17497
30b99d79
RM
17498 [BZ #10375]
17499 * configure.in (NM): Add AC_CHECK_TOOL for it.
17500 (libc_extra_cflags): New substituted variable.
17501 Check for -fstack-protector being used implicitly.
17502 * configure: Regenerated.
17503 * config.make.in (config-extra-cflags): New variable,
17504 gets @libc_extra_cflags@.
17505 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17506
61653dfb
RM
17507 [BZ #10375]
17508 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17509 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17510 * configure: Regenerated.
17511 * config.make.in (CPPUNDEFS): New substituted variable.
17512 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17513 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17514 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17515
661768bb
L
175162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17517
17518 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17519 (mq_attr): Use __syscall_slong_t.
17520
d4261567
L
175212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17522
17523 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17524 Check __x86_64__ instead of __WORDSIZE.
17525 (_STAT_VER_LINUX): Likewise.
17526 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17527 __syscall_ulong_t and __syscall_slong_t.
17528 (stat64): Likewise.
17529
cf3ff365
L
175302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17531
17532 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17533
76cf3e4d
L
175342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17535
17536 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17537
a637753a
L
175382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17539
17540 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17541 __syscall_ulong_t.
17542
d5e05119
L
17543 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17544 include <bits/wordsize.h>. Check __x86_64__ instead of
17545 __WORDSIZE.
17546 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17547 defined.
17548 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17549
f62ee380
L
17550 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17551 include <bits/wordsize.h>. Check __x86_64__ instead of
17552 __WORDSIZE.
17553 (user_regs_struct): Use "__extension__ unsigned long long"
17554 instead of "unsigned long" if __x86_64__ is defined.
17555 (user): Likewise. Pad after pointer field if __ILP32__ is
17556 defined.
17557
4e124ced
JM
175582012-05-16 Joseph Myers <joseph@codesourcery.com>
17559
6a3951a0
JM
17560 * configure.in (makeinfo): Require version 4.5 or later. Allow
17561 versions 5 to 9.
17562 * configure: Regenerated.
17563 * manual/install.texi (texinfo): Increase version requirement to
17564 4.5 or later.
17565 * INSTALL: Regenerated.
17566
4e124ced
JM
17567 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17568
953ca31a
L
175692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17570
17571 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17572
617aca05
L
17573 * sysdeps/x86_64/x32/ffs.c: New file.
17574
5762f7ae
L
17575 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17576 __syscall_ulong_t.
17577 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17578 defined. Use __syscall_ulong_t.
17579 (shminfo): Use __syscall_ulong_t.
17580 (shm_info): Likewise.
17581
a26b6856
L
17582 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17583 __syscall_ulong_t.
17584
cb2b9ef7
L
17585 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17586 <bits/wordsize.h>.
17587 (msgqnum_t): Use __syscall_ulong_t.
17588 (msglen_t): Likewise.
17589 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17590 __syscall_ulong_t.
17591
34683bb0
L
17592 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17593 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17594
84a68786
L
17595 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17596
48baa5f1
L
17597 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17598 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17599
180be88b
L
17600 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17601 __syscall_slong_t.
17602
5e90c8ad
L
17603 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17604 include <bits/wordsize.h>. Check __x86_64__ instead of
17605 __WORDSIZE.
17606
23dfb58b
L
17607 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17608 "unsigned long long int" if __x86_64__ is defined.
17609 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17610
ce5d54b0
L
17611 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17612 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17613 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17614
13dc9eac
L
17615 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17616 <stdint.h>.
17617 (GET_PC): Cast to uintptr_t first.
17618 (GET_FRAME): Likewise.
17619 (GET_STACK): Likewise.
17620
a7895d15
L
17621 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17622 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17623 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17624 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17625 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17626 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17627 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17628 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17629 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17630 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17631 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17632 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17633 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17634 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17635 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17636 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17637 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17638 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17639 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17640 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17641 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17642 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17643 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17644 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17645 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17646 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17647 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17648 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17649 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17650
656416c9
AS
176512012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17652
5bd66283
AS
17653 * Makerules (+depfiles): Also collect depfiles from .oS in
17654 $(extra-objs).
17655 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17656 .oS, $(libnldbl-routines)).
17657
656416c9
AS
17658 * Makerules (native-compile-mkdep-flags): Define.
17659 * sunrpc/Makefile (extra-objs): Add $(addprefix
17660 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17661 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17662 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17663 calling $(make-target-directory).
17664
a46f2169
L
176652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17666
17667 * bits/types.h (__snseconds_t): Removed.
17668 * time/time.h (struct timespec): Replace __snseconds_t with
17669 __syscall_slong_t.
17670 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17671 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17672 Likewise.
17673 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17674 (__SNSECONDS_T_TYPE): Likewise.
17675 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17676 (__SNSECONDS_T_TYPE): Likewise.
17677 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17678 (__SNSECONDS_T_TYPE): Likewise.
17679
6af6528b
L
176802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17681
17682 * sysdeps/mach/hurd/bits/typesizes.h
17683 (__SYSCALL_SLONG_TYPE): New macro.
17684 (__SYSCALL_ULONG_TYPE): Likewise.
17685
de986b56
L
176862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17687
17688 * bits/types.h (__syscall_slong_t): New type.
17689 (__syscall_ulong_t): Likewise.
17690
17691 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17692 (__SYSCALL_ULONG_TYPE): Likewise.
17693 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17694 (__SYSCALL_SLONG_TYPE): Likewise.
17695 (__SYSCALL_ULONG_TYPE): Likewise.
17696 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17697 (__SYSCALL_SLONG_TYPE): Likewise.
17698 (__SYSCALL_ULONG_TYPE): Likewise.
17699 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17700 (__SYSCALL_SLONG_TYPE): Likewise.
17701 (__SYSCALL_ULONG_TYPE): Likewise.
17702
85736dc7
L
177032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17704
17705 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17706 Add sigaltstack-offsets.sym.
17707 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17708 <sigaltstack-offsets.h>.
17709 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17710 longjmp_msg pointer.
17711 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17712 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17713 signal stack.
17714 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17715
cc03b296
JM
177162012-05-15 Joseph Myers <joseph@codesourcery.com>
17717
a9538892
JM
17718 * elf/stackguard-macros.h: Remove file.
17719 * sysdeps/generic/stackguard-macros.h: New file.
17720 * sysdeps/i386/stackguard-macros.h: Likewise.
17721 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17722 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17723 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17724 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17725 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17726 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17727 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17728 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17729 <elf/stackguard-macros.h>.
17730
cc03b296
JM
17731 [BZ #14109]
17732 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17733 __aligned__ in attribute.
17734 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17735 (gregset_t): Likewise.
17736
93171016
L
177372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17738
17739 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17740 * sysdeps/x86_64/64/Implies-after: Here. New file.
17741 * sysdeps/x86_64/x32/Implies-after: New file.
17742
d86813a0
L
177432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17744
17745 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17746 and access return value for _dl_profile_fixup. Use R10_LP to
17747 load frame size.
17748
2953ec75
L
177492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17750
17751 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17752
3b550e9e
L
177532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17754
17755 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17756 * sysdeps/x86_64/x32/sysdep.h: New file.
17757
eda41706
L
177582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17759
17760 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17761 * sysdeps/x86_64/setjmp.S: Likewise.
17762
9ea01d93
AZ
177632012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17764
17765 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17766 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17767 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17768 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17769 remove unused global constant.
17770
02a91938
CM
177712012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17772
17773 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17774 include of <not-cancel.h>.
17775
6540185f
RM
177762012-05-15 Roland McGrath <roland@hack.frob.com>
17777
17778 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17779
509072a0
AJ
177802012-05-15 Jeff Law <law@redhat.com>
17781 Andreas Jaeger <aj@suse.de>
17782
17783 [BZ #13594]
17784 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17785 out from...
17786 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17787 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17788 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17789 code changing __hst_map_handle.map.
17790
ba75122d
RM
177912012-05-15 Roland McGrath <roland@hack.frob.com>
17792
17793 * configure.in (sysnames): Look for Implies-before and Implies-after
17794 files.
17795 * configure: Regenerated.
17796
890d8bd8
L
177972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17798
17799 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17800 8-byte data alignment with LP_SIZE alignment.
17801
f6ee6623
L
178022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17803
17804 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17805 into R10_LP.
17806
ea2626f6
L
178072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17808
17809 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17810
085f715e
L
178112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17812
17813 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17814 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17815 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17816 Likewise.
17817 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17818
be8498fc
L
178192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17820
17821 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17822 (stackinfo_sub_sp): Likewise.
17823
70bc83b9
L
178242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17825
17826 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17827 RAX_LP.
17828
9bc0b730
L
178292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17830
17831 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17832 into R*_LP.
17833
6d2850e7
L
178342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17835
17836 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17837 sizes into R*_LP.
17838
3cb84561
L
178392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17840
17841 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17842
54e2ed81
L
178432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17844
17845 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17846 into R11_LP and load __x86_64_shared_cache_size_half into
17847 R8_LP.
17848
8a17f349
L
178492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17850
17851 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17852 R8_LP.
17853
777b1eea
AZ
178542012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17855
17856 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17857 logb for POWER7.
17858 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17859 logbf for POWER7.
17860 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17861 logbl for POWER7.
17862 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17863 powerpc32/power7/fpu/s_logb.c via #include.
17864 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17865 powerpc32/power7/fpu/s_logbf.c via #include.
17866 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17867 powerpc32/power7/fpu/s_logbl.c via #include.
17868
d20d4ac2
JM
178692012-05-15 Joseph Myers <joseph@codesourcery.com>
17870
17871 * README.libm: Remove file.
17872
6cdef1ab
L
178732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17874
17875 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17876 count for x32. Use R*_LP and omit operand-size suffix.
17877
0b254d8f
L
178782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17879
17880 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17881 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17882 * sysdeps/x86_64/x32/shlib-versions: New file.
17883
ceb809dc
RM
178842012-05-14 Roland McGrath <roland@hack.frob.com>
17885
17886 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17887 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17888 Use _dl_fatal_printf instead.
17889
37f1abd4
JM
178902012-05-14 Joseph Myers <joseph@codesourcery.com>
17891
17892 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17893 set if not set by the user. Do not allow for being unset.
17894 * sysdeps/unix/sysv/linux/configure: Regenerated.
17895
11de3a33
L
178962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17897
17898 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17899 the `q' suffix from lea and replace .quad with ASM_ADDR.
17900
e02f153a
L
179012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17902
17903 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17904 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17905 instead of $17.
17906 (PTR_DEMANGLE): Likewise.
17907
520ae0fd
L
179082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17909
17910 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17911 (LP_OP): Likewise.
17912 (ASM_ADDR): Likewise.
17913 (RAX_LP): Likewise.
17914 (RBP_LP): Likewise.
17915 (RBX_LP): Likewise.
17916 (RCX_LP): Likewise.
17917 (RDI_LP): Likewise.
17918 (RSI_LP): Likewise.
17919 (RSP_LP): Likewise.
17920 (R8_LP): Likewise.
17921 (R9_LP): Likewise.
17922 (R10_LP): Likewise.
17923 (R10_LP): Likewise.
17924 (R11_LP): Likewise.
17925 (R12_LP): Likewise.
17926 (R13_LP): Likewise.
17927 (R14_LP): Likewise.
17928 (R15_LP): Likewise.
17929
b985be81
L
179302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17931
17932 * sysdeps/x86_64/x32/dl-machine.h: New file.
17933
6a4888ff
AJ
179342012-05-14 Andreas Jaeger <aj@suse.de>
17935
17936 * manual/Makefile (subdir): Remove export of subdir.
17937 (all): Remove target.
17938 (.PHONY): Remove all from list.
17939 (mkinstalldirs): Remove.
17940 (.PHONY): Remove installdirs from list.
17941 ($(inst_infodir)/libc.info): Use make-target-directory.
17942 (installdirs): Remove.
17943 (subdir_%): Remove.
17944 (glibc-targets): Remove.
17945 (lib): Remove.
17946 (stubs): Remove.
17947 ($(objpfx)stubs ../po/manual.pot): Remove.
17948 ($(objpfx)stamp%): Remove.
17949 (make-target-directory): Remove.
17950 (subdir_install): Remove.
17951 (routines): Remove.
17952 (aux): Remove.
17953 (sources): Remove.
17954 (objects): Remove.
17955 (headers): Remove.
17956
17957 [BZ #13750]
17958 * manual/.gitignore: Remove, it's not needed anymore.
17959 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17960 all files in it.
17961 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17962 directory.
17963 (texis): Renamed to $(objpfx)texis.
17964 (texis-path): New, contains path to generated files.
17965 (chapters.%): Use texis-path for complete path, add extra argument
17966 libc-texinfo.sh.
17967 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17968 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17969 (summary,texi, stamp-summary): Use complete path of
17970 files. Generate files in build dir.
17971 (dir-add.texi): Build in build dir.
17972 (libm-err.texi,stamp-libm-err): Likewise.
17973 (version.texi, stamp-version): Likewise.
17974 (.%c.texi): Likewise.
17975 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17976 (mostlyclean): Remove target.
17977 (realclean): Remove target.
17978 (generated): Add new variable with contents from mostlyclean and
17979 realclean, remove entries duplicated in common-mostlyclean, add
17980 stamp-libm-err and stamp-version.
17981 (generated-dirs): Add libc directory.
17982 ($(inst_infodir)/libc.info): Install files from build dir.
17983
17984 * manual/install.texi (Configuring and compiling): Adjust since
17985 the info files are not part of the tar ball anymore.
17986
7ac77294
AJ
179872012-05-14 Andreas Jaeger <aj@suse.de>
17988
17989 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17990 variable.
17991
ffb7875d
JM
179922012-05-14 Joseph Myers <joseph@codesourcery.com>
17993
17994 [BZ #13717]
17995 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17996 to 2.2.0 where earlier.
17997 * sysdeps/unix/sysv/linux/configure: Regenerated.
17998 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17999 Remove conditional code.
18000 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18001 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18002 Remove conditional code.
18003 [!__NR_lchown]: Likewise.
18004 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18005 [__NR_lchown]: Likewise.
18006 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18007 comment referencing __ASSUME_LCHOWN_SYSCALL.
18008 * sysdeps/unix/sysv/linux/i386/sigaction.c
18009 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18010 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18011 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18012 Remove conditional code.
18013 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18014 (__protocol_available): Remove #if 0 code.
18015 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18016 conditional code.
18017 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18018 * sysdeps/unix/sysv/linux/kernel-features.h
18019 (__ASSUME_GETCWD_SYSCALL): Don't define.
18020 (__ASSUME_REALTIME_SIGNALS): Likewise.
18021 (__ASSUME_PREAD_SYSCALL): Likewise.
18022 (__ASSUME_PWRITE_SYSCALL): Likewise.
18023 (__ASSUME_POLL_SYSCALL): Likewise.
18024 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18025 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18026 non-SPARC.
18027 (__ASSUME_SIOCGIFNAME): Don't define.
18028 (__ASSUME_MSG_NOSIGNAL): Likewise.
18029 (__ASSUME_SENDFILE): Define unconditionally.
18030 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18031 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18032 conditional code.
18033 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18034 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18035 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18036 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18037 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18038 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18039 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18041 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18042 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18044 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18045 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18047 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18048 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18050 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18051 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18053 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18054 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18056 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18057 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18059 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18060 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18062 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18063 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18064 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18065 Remove conditional code.
18066 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18067 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18068 Remove conditional code.
18069 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18070 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18071 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18072 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18073 Remove conditional code.
18074 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18075 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18076 Remove conditional code.
18077 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18078 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18079 Remove conditional code.
18080 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18081 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18082 Remove conditional code.
18083 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18084 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18085 Remove conditional code.
18086 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18087 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18088 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18089 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18090 * sysdeps/unix/sysv/linux/sigaction.c
18091 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18092 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18093 * sysdeps/unix/sysv/linux/sigpending.c
18094 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18095 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18096 * sysdeps/unix/sysv/linux/sigprocmask.c
18097 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18098 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18099 * sysdeps/unix/sysv/linux/sigsuspend.c
18100 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18101 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18102 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18103 (__libc_missing_rt_sigs): Remove.
18104 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18105 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18106 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18107 Remove conditional code.
18108 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18109 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18110 return 1.
18111 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18112 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18113 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18114 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18115
1bfb7291
AJ
181162012-05-14 Andreas Jaeger <aj@suse.de>
18117
caae5a81
AJ
18118 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18119 it's not used in glibc.
18120 (__coshm1): Likewise.
18121 (__acosh1p): Likewise.
18122 (__sgn): Likewise.
18123
1bfb7291
AJ
18124 * manual/string.texi (Copying and Concatenation): Add missing
18125 variable in concat example.
18126 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18127
c044d724
L
181282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18129
144c5467 18130 [BZ #14103]
c044d724
L
18131 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18132 __builtin_clzl with __builtin_clzll.
18133
2523c62b
L
181342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18135
18136 [BZ #14104]
18137 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18138 libc_freeres_ptr.
18139
d7bb4c42
LD
181402012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18141
18142 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18143 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18144 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18145 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18146
9dc4e1fb
MF
181472012-05-14 Mike Frysinger <vapier@gentoo.org>
18148
18149 * NEWS: Update ia64 info.
18150
c7df0112
AS
181512012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18152
18153 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18154 used as bcopy.
18155
dc70356c
TS
181562012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18157
18158 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18159 * sysdeps/unix/syscalls.list (dup3): Likewise.
18160 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18161 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18162
9fb1a21f
L
181632012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18164
18165 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18166 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18167
4822a2a5
L
181682012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18169
18170 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18171 thread pointer.
18172 (TLS_IE): Use mov/add instead of movq/addq to load thread
18173 pointer.
18174 (TLS_GD_PREFIX): New.
18175 (TLS_GD): Use it.
18176
842b81d6
DM
181772012-05-11 David S. Miller <davem@davemloft.net>
18178
18179 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18180 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18181 (_FPU_SETCW): Likewise.
18182
1cf463cd
L
181832012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18184
18185 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18186 is 32-byte aligned.
18187
60cc4a18
AS
181882012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18189
18190 [BZ #11837]
18191 * iconvdata/gb18030.c: Update tables.
18192 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18193 characters specially.
18194 (BODY for TO_LOOP): Add encoding of missing ranges.
18195
febb44a4
TS
181962012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18197
18198 [BZ #13673]
18199 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18200 * sysdeps/mach/hurd/dup3.c: Likewise.
18201 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18202 * sysdeps/powerpc/memmove.c:: Likewise.
18203
0a10fb9e
L
182042012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18205
18206 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18207 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18208
df8a552f
L
182092012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18210
18211 * elf/elf.h (R_X86_64_RELATIVE64): New.
18212 (R_X86_64_NUM): Updated.
18213 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18214 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18215 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18216 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18217 tst-quad1pie tst-quad2pie
18218 (modules-names): Add tst-quadmod1 tst-quadmod2.
18219 ($(objpfx)tst-quad1): New dependency.
18220 ($(objpfx)tst-quad2): Likewise.
18221 ($(objpfx)tst-quad1pie): Likewise.
18222 ($(objpfx)tst-quad2pie): Likewise.
18223 * sysdeps/x86_64/tst-quad1.c: New file.
18224 * sysdeps/x86_64/tst-quad1pie.c: New file.
18225 * sysdeps/x86_64/tst-quad2.c: Likewise.
18226 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18227 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18228 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18229 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18230 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18231
f34d6f84
ST
182322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18233
f42d41d1
ST
18234 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18235 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18236 * streams/stropts.h (t_scalar_t): Define type.
18237
3c3571fc
ST
18238 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18239 (_PATH_PRESERVE): Set to "/var/lib".
18240 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18241
61f06bd3
ST
18242 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18243 instead of int.
18244
918d4d71
ST
18245 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18246 if __dir_mkfile succeeded.
18247
f34d6f84
ST
18248 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18249 checking for _hurd_dtablesize. Unlock it right after having
18250 finished _hurd_dtable allocation.
18251
10589b4a
TS
182522012-05-10 Thomas Schwinge <thomas@schwinge.name>
18253
674cdbc7
TS
18254 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18255 * sysdeps/mach/hurd/configure: Regenerated.
18256 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18257 special-casing to...
18258 * sysdeps/gnu/configure.in: ... this new file.
18259 * sysdeps/unix/sysv/linux/configure: Regenerated.
18260 * sysdeps/gnu/configure: New generated file.
18261
8e41b99f
TS
18262 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18263 for Linux: use nsec instead of usec, as well as:
18264 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18265 members of type struct timespec.
18266 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18267 New macros.
18268 (struct stat64): Likewise.
18269 (_STATBUF_ST_NSEC): New macro.
18270 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18271
10589b4a
TS
18272 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18273 __strtoul_internal rather than strtoul.
18274
63643c85
PT
182752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18276
18277 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18278 and reject them.
18279
3faebe6a
ST
182802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18281
18282 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18283 which preserves existing values.
18284 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18285
c6474b07
PT
182862012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18287
18288 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18289 TIMEOUT values. Return EINVAL for NFDS values either negative or
18290 greater than FD_SETSIZE.
18291
1043890b
ST
182922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18293
18294 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18295 allocated, call __vm_protect to finish enabling the existing space, and
18296 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18297 allocate the remainder.
18298
37ed8b9b
PT
182992012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18300
18301 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18302 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18303
db653660
ST
183042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18305
37ed8b9b
PT
18306 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18307 sysdeps/mach/hurd/readlink.c.
b29d4053 18308
db653660
ST
18309 * posix/tst-sysconf.c (posix_options): Only use
18310 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18311 _POSIX_SYNCHRONIZED_IO when they are defined
18312 * sysdeps/mach/hurd/bits/posix_opt.h:
18313 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18314 (_XOPEN_REALTIME): Undefine macro.
18315 (_XOPEN_REALTIME_THREADS): Undefine macro.
18316 (_XOPEN_SHM): Undefine macro.
18317 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18318 macro to -1.
18319 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18320 macro to -1.
18321 (_POSIX_ASYNC_IO): Undefine macro.
18322 (_POSIX_PRIORITIZED_IO): Undefine macro.
18323 (_POSIX_SPIN_LOCKS): Define macro to -1.
18324
ee16e894
ST
18325 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18326 SA_NODEFER, SA_RESETHAND.
18327 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18328 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18329 F_DUPFD_CLOEXEC.
18330
6103ae3b
TS
183312012-05-10 Thomas Schwinge <thomas@schwinge.name>
18332
18333 * elf/Makefile (pldd-modules): Define unconditionally.
18334
80b4e5f3
TS
183352012-05-10 Thomas Schwinge <thomas@schwinge.name>
18336
18337 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18338
edadcbd6
ST
183392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18340
18341 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18342 Return ENOENT when name is empty.
18343 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18344
80694780
TS
183452012-05-10 Thomas Schwinge <thomas@schwinge.name>
18346
1792c087
TS
18347 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18348
80694780
TS
18349 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18350
6b645f0d
ST
183512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18352
80694780
TS
18353 Fix mlock in all cases except non-readable pages.
18354 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18355 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 18356
6b645f0d
ST
18357 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18358 (__mkdir): When path is `/', just fail with EEXIST.
18359 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18360
e468f8a3
TS
183612012-05-10 Thomas Schwinge <thomas@schwinge.name>
18362
18363 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18364 <sys/uio.h> (for writev).
18365 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18366 and <sys/param.h> (for MIN).
18367
a4186cff
PT
183682012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18369
18370 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18371 REQUESTED_TIME. Properly set the remaining time and return EINTR
18372 if interrupted.
18373
510bbf14
TS
183742012-05-10 Thomas Schwinge <thomas@schwinge.name>
18375
18376 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18377 Depend on against $(link-rpcuserlibs).
18378
5d5722e8
ST
183792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18380
a4186cff
PT
18381 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18382 (__libc_stack_end): Do not use attribute_relro.
18383 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18384 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 18385 to libthread-provided value.
a4186cff
PT
18386 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18387 attribute_relro.
5d5722e8 18388
37233df9
TS
183892012-05-10 Thomas Schwinge <thomas@schwinge.name>
18390
be971a2b
TS
18391 [BZ #3748]
18392 * bits/libc-lock.h (__libc_once_get): New macro.
18393 * sysdeps/mach/bits/libc-lock.h: Likewise.
18394 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18395 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18396 instead of using implementation details.
18397
37233df9
TS
18398 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18399 * libio/freopen.c: Likewise.
18400 * libio/freopen64.c: Likewise.
18401 * misc/syslog.c: Likewise.
18402 * nscd/connections.c: Likewise.
18403 * nscd/netgroupcache.c: Likewise.
18404 * sysdeps/posix/getcwd.c: Likewise.
18405
38de94a5
RM
184062012-05-10 Roland McGrath <roland@hack.frob.com>
18407
18408 * math/w_ilogbf.c: Add #include <limits.h>.
18409
67530489
ST
184102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18411
a4186cff 18412 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
18413 path instead of returning without unlocking.
18414
67530489
ST
18415 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18416 immediate-write ioctls.
18417 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18418
5aa3a74a
TS
184192012-05-10 Thomas Schwinge <thomas@schwinge.name>
18420
18bad2ae
TS
18421 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18422 __builtin_frame_address instead of making assumptions about the
18423 location of the return address relative to DATA. Force early load of
18424 the return address.
18425 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18426 __builtin_frame_address.
18427
5aa3a74a
TS
18428 dup3 for GNU Hurd.
18429 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18430 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18431 implement dup3 and do some further code clean-ups.
18432 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18433 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18434
ecd0de9a
ST
184352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18436
cd9fa985
ST
18437 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18438
a4186cff
PT
18439 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18440 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18441 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18442 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18443 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18444 d->port.lock.
802ca5a5 18445
a4186cff
PT
18446 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18447 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18448 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 18449
bcf55240
TS
184502012-05-10 Thomas Schwinge <thomas@schwinge.name>
18451
6960eb42
TS
18452 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18453 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18454 definitions.
18455
eb43375f
TS
18456 accept4 for GNU Hurd.
18457 * include/sys/socket.h (__libc_accept4): New prototype.
18458 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18459 to implement __libc_accept4.
18460 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18461 __libc_accept4.
18462 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18463
bcf55240
TS
18464 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18465 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18466 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18467 signal-defines.sym.
18468
6178c55b
ST
184692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18470
a4186cff 18471 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 18472
6f080c2f
TS
184732012-05-10 Thomas Schwinge <thomas@schwinge.name>
18474
18475 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18476 assertion on O_CLOEXEC flag.
18477 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18478 * hurd/intern-fd.c: Likewise.
18479 * hurd/port2fd.c: Likewise.
18480
bcfe3a54
ST
184812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18482
18483 [BZ #3906]
18484 * bits/in.h (IPV6_PKTINFO): Define new macro.
18485 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18486
89c9aa49
AZ
184872012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18488
18489 [BZ #13954]
18490 [BZ #13955]
18491 [BZ #13956]
18492 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18493 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18494 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18495 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18496 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18497 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18498 * math/libm-test.inc (logb_test) : Additional logb tests.
18499
021db4be
AJ
185002012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18501 Andreas Jaeger <aj@suse.de>
18502
18503 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18504 * configure: Regenerated.
18505 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18506 * config.make.in (link-obsolete-rpc): New substituted variable.
18507 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18508 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18509 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18510 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18511 so that libc.a contains the symbols.
18512 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18513 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18514 * sunrpc/auth_none.c: Likewise.
18515 * sunrpc/auth_unix.c: Likewise.
18516 * sunrpc/authdes_prot.c: Likewise.
18517 * sunrpc/authuxprot.c: Likewise.
18518 * sunrpc/clnt_gen.c: Likewise.
18519 * sunrpc/clnt_perr.c: Likewise.
18520 * sunrpc/clnt_raw.c: Likewise.
18521 * sunrpc/clnt_simp.c: Likewise.
18522 * sunrpc/clnt_tcp.c: Likewise.
18523 * sunrpc/clnt_udp.c: Likewise.
18524 * sunrpc/clnt_unix.c: Likewise.
18525 * sunrpc/des_crypt.c: Likewise.
18526 * sunrpc/des_soft.c: Likewise.
18527 * sunrpc/get_myaddr.c: Likewise.
18528 * sunrpc/key_call.c: Likewise.
18529 * sunrpc/key_prot.c: Likewise.
18530 * sunrpc/netname.c: Likewise.
18531 * sunrpc/pm_getmaps.c: Likewise.
18532 * sunrpc/pm_getport.c: Likewise.
18533 * sunrpc/pmap_clnt.c: Likewise.
18534 * sunrpc/pmap_prot.c: Likewise.
18535 * sunrpc/pmap_prot2.c: Likewise.
18536 * sunrpc/pmap_rmt.c: Likewise.
18537 * sunrpc/publickey.c: Likewise.
18538 * sunrpc/rpc_cmsg.c: Likewise.
18539 * sunrpc/rpc_common.c: Likewise.
18540 * sunrpc/rpc_dtable.c: Likewise.
18541 * sunrpc/rpc_prot.c: Likewise.
18542 * sunrpc/rpc_thread.c: Likewise.
18543 * sunrpc/rtime.c: Likewise.
18544 * sunrpc/svc.c: Likewise.
18545 * sunrpc/svc_auth.c: Likewise.
18546 * sunrpc/svc_raw.c: Likewise.
18547 * sunrpc/svc_run.c: Likewise.
18548 * sunrpc/svc_tcp.c: Likewise.
18549 * sunrpc/svc_udp.c: Likewise.
18550 * sunrpc/svc_unix.c: Likewise.
18551 * sunrpc/svcauth_des.c: Likewise.
18552 * sunrpc/xcrypt.c: Likewise.
18553 * sunrpc/xdr.c: Likewise.
18554 * sunrpc/xdr_array.c: Likewise.
18555 * sunrpc/xdr_float.c: Likewise.
18556 * sunrpc/xdr_intXX_t.c: Likewise.
18557 * sunrpc/xdr_mem.c: Likewise.
18558 * sunrpc/xdr_rec.c: Likewise.
18559 * sunrpc/xdr_ref.c: Likewise.
18560 * sunrpc/xdr_sizeof.c: Likewise.
18561 * sunrpc/xdr_stdio.c: Likewise.
18562
b5c086a2
RM
185632012-05-10 Roland McGrath <roland@hack.frob.com>
18564
18565 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18566 change. Update copyright years.
18567
6d74dd09
JM
185682012-05-10 Joseph Myers <joseph@codesourcery.com>
18569
18570 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18571
28e72501
MK
185722012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18573 Joseph Myers <joseph@codesourcery.com>
18574 Paul Pluzhnikov <ppluzhnikov@google.com>
18575
18576 [BZ #14012]
18577 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18578 requiring rpcgen.
18579 [cross-compiling] (extra-libs): Likewise.
18580 [cross-compiling] (extra-libs-others): Likewise.
18581 [cross-compiling] (librpcsvc-routines): Likewise.
18582 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18583 [cross-compiling] (omit-deps): Likewise.
18584 (sunrpc-CPPFLAGS): New variable.
18585 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18586 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18587 (cross-rpcgen-objs): New variable.
18588 (extra-objs): Append $(cross-rpcgen-objs).
18589 ($(cross-rpcgen-objs)): New rule.
18590 ($(objpfx)cross-rpcgen): Likewise.
18591 (rpcgen-cmd): Define to use $(built-program-file). Expand
18592 comment.
18593 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18594 ($(objpfx)x%.stmp): Likewise.
18595 * sunrpc/proto.h [IS_IN_build] (_): Define.
18596 [IS_IN_build] (_libc_intl_domainname): Likewise.
18597
c8c59454
L
185982012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18599
18600 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18601 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18602 and R_X86_64_TPOFF64.
18603
6f27cd16
JM
186042012-05-10 Joseph Myers <joseph@codesourcery.com>
18605
18606 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18607 sysdeps/unix/sysv/syscalls.list.
18608 (stime): Likewise.
18609 (utime): Likewise.
18610 * sysdeps/unix/sysv/syscalls.list: Remove file.
18611
02467e1c
PE
186122012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18613
18614 [BZ #3440]
18615 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18616 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18617 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18618 (__LC_IDENTIFICATION): Make these macros useful in #if
18619 expressions, as required by C99.
18620
da392631
AS
186212012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18622
18623 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18624 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18625 after this.
18626
8115f29b
L
186272012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18628
18629 * stdlib/longlong.h: Updated from GCC.
18630
bdd74070
AJ
186312012-05-09 Andreas Jaeger <aj@suse.de>
18632
edfe0dbe
AJ
18633 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18634 default is first entry.
18635 (run_mode): Set type.
18636 (main): Remove informal message about syslog.
18637 (options): Fix typo.
18638
bcfe3a54
ST
18639 [BZ #14053]
18640 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 18641 to asm.
bcfe3a54
ST
18642 (lrint): Likewise.
18643 (llrintf): Likewise.
18644 (llrint): Likewise.
18645 (rint): Likewise.
18646 (rintf): Likewise.
18647 (nearbyint): Likewise.
18648 (nearbyintf): Likewise.
bdd74070 18649
91d8d69e
AJ
186502012-05-09 Andreas Jaeger <aj@suse.de>
18651 Pedro Alves <palves@redhat.com>
18652
18653 * nscd/nscd.c (run_mode): Use enum.
18654 (main): Cleanup coding style issue.
18655
bb90b80b
AJ
186562012-05-09 Alexandre Oliva <aoliva@redhat.com>
18657 Andreas Jaeger <aj@suse.de>
18658
bcfe3a54
ST
18659 * nscd/nscd.c (go_background): Replaced with...
18660 (run_mode): ... this.
bb90b80b 18661 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
18662 (options): Add -F --foreground.
18663 (main): Implement it.
18664 (parse_opt): Parse it.
bb90b80b 18665
1a4b75a1
AJ
186662012-05-09 Andreas Jaeger <aj@suse.de>
18667
18668 [BZ #14083]
18669 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18670 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18671 -Wconversion warning.
18672 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18673 Likewise.
18674
b1cc2472
JM
186752012-05-09 Joseph Myers <joseph@codesourcery.com>
18676
18677 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18678 == 0.
18679 (LC_ALL): Use macro-int-constant.
18680 (LC_COLLATE): Likewise.
18681 (LC_CTYPE): Likewise.
18682 (LC_MESSAGES): Likewise.
18683 (LC_MONETARY): Likewise.
18684 (LC_NUMERIC): Likewise.
18685 (LC_TIME): Likewise.
18686 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18687 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18688 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18689 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18690 Specify type.
18691 [C99-based standards] (float_t): Expect type.
18692 [C99-based standards] (double_t): Expect type.
18693 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18694 type.
18695 [C99-based standards] (HUGE_VALL): Likewise.
18696 [C99-based standards] (INFINITY): Likewise.
18697 [C99-based standards] (NAN): Likewise.
18698 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18699 [C99-based standards] (FP_NAN): Likewise.
18700 [C99-based standards] (FP_NORMAL): Likewise.
18701 [C99-based standards] (FP_SUBNORMAL): Likewise.
18702 [C99-based standards] (FP_ZERO): Likewise.
18703 [C99-based standards] (FP_FAST_FMA): Use
18704 optional-macro-int-constant. Specify type. Require == 1.
18705 [C99-based standards] (FP_FAST_FMAF): Likewise.
18706 [C99-based standards] (FP_FAST_FMAL): Likewise.
18707 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18708 [C99-based standards] (FP_ILOGBNAN): Likewise.
18709 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18710 Specify type.
18711 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18712 [C99-based standards] (math_errhandling): Specify type.
18713 [ISO99 || ISO11] (signgam): Do not allow.
18714 [non-C99-based standards] (copysignf): Do not allow.
18715 [non-C99-based standards] (exp2f): Likewise.
18716 [non-C99-based standards] (log2f): Likewise.
18717 [non-C99-based standards] (modff): Allow.
18718 [non-C99-based standards] (erff): Do not allow.
18719 [non-C99-based standards] (erfcf): Likewise.
18720 [non-C99-based standards] (gammaf): Likewise.
18721 [non-C99-based standards] (hypotf): Likewise.
18722 [non-C99-based standards] (j0f): Likewise.
18723 [non-C99-based standards] (j1f): Likewise.
18724 [non-C99-based standards] (jnf): Likewise.
18725 [non-C99-based standards] (lgammaf): Likewise.
18726 [non-C99-based standards] (tgammaf): Likewise.
18727 [non-C99-based standards] (y0f): Likewise.
18728 [non-C99-based standards] (y1f): Likewise.
18729 [non-C99-based standards] (ynf): Likewise.
18730 [non-C99-based standards] (isnanf): Likewise.
18731 [non-C99-based standards] (acoshf): Likewise.
18732 [non-C99-based standards] (asinhf): Likewise.
18733 [non-C99-based standards] (atanhf): Likewise.
18734 [non-C99-based standards] (cbrtf): Likewise.
18735 [non-C99-based standards] (expm1f): Likewise.
18736 [non-C99-based standards] (ilogbf): Likewise.
18737 [non-C99-based standards] (log1pf): Likewise.
18738 [non-C99-based standards] (logbf): Likewise.
18739 [non-C99-based standards] (nextafterf): Likewise.
18740 [non-C99-based standards] (remainderf): Likewise.
18741 [non-C99-based standards] (rintf): Likewise.
18742 [non-C99-based standards] (scalbf): Likewise.
18743 [non-C99-based standards] (copysignl): Likewise.
18744 [non-C99-based standards] (exp2l): Likewise.
18745 [non-C99-based standards] (log2l): Likewise.
18746 [non-C99-based standards] (modfl): Allow.
18747 [non-C99-based standards] (erfl): Do not allow.
18748 [non-C99-based standards] (erfcl): Likewise.
18749 [non-C99-based standards] (gammal): Likewise.
18750 [non-C99-based standards] (hypotl): Likewise.
18751 [non-C99-based standards] (j0l): Likewise.
18752 [non-C99-based standards] (j1l): Likewise.
18753 [non-C99-based standards] (jnl): Likewise.
18754 [non-C99-based standards] (lgammal): Likewise.
18755 [non-C99-based standards] (tgammal): Likewise.
18756 [non-C99-based standards] (y0l): Likewise.
18757 [non-C99-based standards] (y1l): Likewise.
18758 [non-C99-based standards] (ynl): Likewise.
18759 [non-C99-based standards] (isnanl): Likewise.
18760 [non-C99-based standards] (acoshl): Likewise.
18761 [non-C99-based standards] (asinhl): Likewise.
18762 [non-C99-based standards] (atanhl): Likewise.
18763 [non-C99-based standards] (cbrtl): Likewise.
18764 [non-C99-based standards] (expm1l): Likewise.
18765 [non-C99-based standards] (ilogbl): Likewise.
18766 [non-C99-based standards] (log1pl): Likewise.
18767 [non-C99-based standards] (logbl): Likewise.
18768 [non-C99-based standards] (nextafterl): Likewise.
18769 [non-C99-based standards] (remainderl): Likewise.
18770 [non-C99-based standards] (rintl): Likewise.
18771 [non-C99-based standards] (scalbl): Likewise.
18772 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18773 [non-C99-based standards] (FP_*): Do not allow.
18774 [C99-based standards] (FP_*): Change to
18775 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18776 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18777 allow.
18778 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18779 (SIG_ERR): Likewise.
18780 [X/Open-based standards] (SIG_HOLD): Likewise.
18781 (SIG_IGN): Likewise.
18782 (SIGABRT): Use macro-int-constant. Specify type. Require
18783 positive value.
18784 (SIGFPE): Likewise.
18785 (SIGILL): Likewise.
18786 (SIGINT): Likewise.
18787 (SIGSEGV): Likewise.
18788 (SIGTER): Likewise.
18789 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18790 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18791 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18792 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18793 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18794 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18795 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18796 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18797 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18798 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18799 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18800 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18801 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18802 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18803 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18804 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18805 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18806 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18807 [X/Open-based standards] (SIGTRAP): Likewise.
18808 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18809 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18810 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18811 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18812 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18813 allow.
18814
b9f1922d
IW
188152012-05-08 Ian Wienand <ianw@vmware.com>
18816
18817 [BZ #14080]
18818 * time/tzset.c (__tzset_parse_tz): Update default rules for
18819 daylight time changes in the Energy Policy Act of 2005.
18820
1db86e88
AJ
188212012-05-09 Andreas Jaeger <aj@suse.de>
18822
18823 [BZ #13983]
18824 * elf/ldconfig.c (parse_conf): Change string to make clear that
18825 ldconfig only issued a warning if ld.so.conf does not exist.
18826
dee4a4e3
DM
188272012-05-08 David S. Miller <davem@davemloft.net>
18828
ee0db190
DM
18829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18830 movxtod instead of popping the value on the stack.
18831
dee4a4e3
DM
18832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18833
6a43ec98
CD
188342012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18835
18836 * config.h.in: Add HAVE_ARM_PCS_VFP.
18837
05c2c961
RMG
188382012-05-08 Roland Mc Grath <roland@hack.frob.com>
18839
bcfe3a54
ST
18840 [BZ #13979]
18841 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18842 checking but the checks are disabled for any reason.
05c2c961 18843
4b30f61a
L
188442012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18845
18846 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18847 and ELF64_R_TYPE with ELFW(R_TYPE).
18848
eee2bc67
JM
188492012-05-08 Joseph Myers <joseph@codesourcery.com>
18850
7ea5391a
JM
18851 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18852 (ulimit): Likewise.
18853
eee2bc67
JM
18854 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18855 (settimeofday): Likewise.
18856
abb66a67
MF
188572012-05-08 Mike Frysinger <vapier@gentoo.org>
18858
18859 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18860 a struct th_u2 inside the union, and move tu_block/tu_code into
18861 a new th_u3 union of tu_block/tu_code inside of that. Move
18862 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18863 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18864 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18865 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18866 (th_stuff): Change to th_u1.tu_stuff.
18867 (th_data): Define.
18868 (th_msg): Change to th_u1.th_u2.tu_data.
18869
7f18b530
DM
188702012-05-07 David S. Miller <davem@davemloft.net>
18871
05760585
DM
18872 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18873
7f18b530
DM
18874 [BZ #14074]
18875 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18876 (SETUP_PIC_REG): Use it.
18877 (SETUP_PIC_REG_LEAF): Use it.
18878
495fd99f
JM
188792012-05-07 Joseph Myers <joseph@codesourcery.com>
18880
18881 [BZ #13885]
18882 [BZ #13923]
18883 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18884 USE_AS_EXPM1L.
18885 (EXPL_FINITE): Likewise.
18886 (FLDLOG): Likewise.
18887 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18888 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18889 e_expl.S.
18890 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18891 USE_AS_EXPM1L.
18892 (EXPL_FINITE): Likewise.
18893 (FLDLOG): Likewise.
18894 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18895 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18896 e_expl.S.
18897 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18898 test of -max_value argument for long double.
18899 * sysdeps/i386/fpu/libm-test-ulps: Update.
18900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18901
6693d694
DM
189022012-05-06 David S. Miller <davem@davemloft.net>
18903
18904 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18905 quad soft-float symbols whose references which are compiler
18906 generated.
18907 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18908
6c23e11c
JM
189092012-05-06 Joseph Myers <joseph@codesourcery.com>
18910
d8b82cad
JM
18911 [BZ #13884]
18912 [BZ #13914]
18913 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18914 USE_AS_EXP10L.
18915 (EXPL_FINITE): Likewise.
18916 (FLDLOG): Likewise.
18917 (c0): Likewise.
18918 (c1): Likewise.
18919 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18920 Adjust comments for base varying.
18921 (__expl_finite): Change alias to EXPL_FINITE.
18922 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18923 e_expl.S.
18924 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18925 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18926 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18927 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18928 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18929 USE_AS_EXP10L.
18930 (EXPL_FINITE): Likewise.
18931 (FLDLOG): Likewise.
18932 (c0): Likewise.
18933 (c1): Likewise.
18934 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18935 Adjust comments for base varying.
18936 (__expl_finite): Change alias to EXPL_FINITE.
18937 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
18938 tests for bugs.
18939 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18940
6c23e11c
JM
18941 [BZ #14064]
18942 * math/libm-test.inc (check_float_internal): Correct ulp
18943 calculation for subnormal expected results.
18944
29ba805c
AJ
189452012-05-06 Andreas Jaeger <aj@suse.de>
18946
18947 * Makeconfig (+math-flags): New, set to -frounding-math.
18948 (+cflags): Add +math-flags so that all of glibc gets compiled with
18949 it.
18950
18951 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18952
7b17aeda
JM
189532012-05-05 Joseph Myers <joseph@codesourcery.com>
18954
5779f134
JM
18955 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18956 Disable one test.
18957
41498f4d
JM
18958 [BZ #13787]
18959 [BZ #13922]
18960 [BZ #14036]
18961 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18962 (__ieee754_expl): Allow for and saturate large arguments.
18963 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18964 (u_threshold): Likewise.
18965 (__exp): Call __ieee754_exp before checking for overflow and
18966 underflow.
18967 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18968 (u_threshold): Likewise.
18969 (__expf): Call __ieee754_expf before checking for overflow and
18970 underflow.
18971 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18972 (u_threshold): Likewise.
18973 (__expl): Call __ieee754_expl before checking for overflow and
18974 underflow.
18975 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18976 (__ieee754_expl): Allow for and saturate large arguments.
18977 * math/libm-test.inc (exp_test): Add another test. Do not allow
18978 missing overflow exception on overflow.
18979 (expm1_test): Do not allow missing overflow exception on overflow.
18980
6698b8bf
JM
18981 * sysdeps/i386/fpu/e_expl.c: Move to ...
18982 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
18983 rather than using inline asm.
18984 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18985 * sysdeps/x86_64/fpu/e_expl.S: Copy from
18986 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18987
7b17aeda
JM
18988 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18989 (nice): Likewise.
18990 (poll): Likewise.
18991 (signal): Likewise.
18992 (time): Likewise.
18993 (times): Likewise.
18994
f7c85819
JM
189952012-05-04 Joseph Myers <joseph@codesourcery.com>
18996
18997 * sysdeps/unix/syscalls.list (adjtime): Add entry from
18998 sysdeps/unix/common/syscalls.list.
18999 (fchmod): Likewise.
19000 (fchown): Likewise.
19001 (ftruncate): Likewise.
19002 (getrusage): Likewise.
19003 (gettimeofday): Likewise.
19004 (setpgid): Likewise.
19005 (setregid): Likewise.
19006 (setreuid): Likewise.
19007 (sigaction): Likewise.
19008 (truncate): Likewise.
19009 (vhangup): Likewise.
19010 * sysdeps/unix/common/syscalls.list: Remove file.
19011 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19012 * sysdeps/unix/sysv/linux/Implies: Likewise.
19013
336270d0
L
190142012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19015
19016 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19018 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19019 Moved to ...
19020 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19021 Here.
19022 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19023 to ...
19024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19025 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19026 to ...
19027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19028 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19029 to ...
19030 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19031 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19032 to ...
19033 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19034 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19035 to ...
19036 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19037 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19038 to ...
19039 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19040 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19041 to ...
19042 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19043 Here.
19044 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19045 to ...
19046 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19047 Here.
19048 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19049 to ...
19050 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19051 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19052 Moved to ...
19053 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19054 Here.
19055 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19056 to ...
19057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19058
d128e450
JM
190592012-05-04 Joseph Myers <joseph@codesourcery.com>
19060
fa8ee516
JM
19061 * sysdeps/unix/common/bits/dirent.h: Remove file.
19062 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19063
d128e450
JM
19064 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19065 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19066 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19067 * sysdeps/unix/bsd/isatty.c: Likewise.
19068 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19069 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19070 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19071
ff8faaf0 190722012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 19073
62881be4 19074 [BZ #13563]
31dc8730
AZ
19075 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19076 long double comparison inaccuracies.
19077 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19079
6fef930c
AS
190802012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19081
19082 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19083 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19084
8f203e6c
JM
190852012-05-04 Joseph Myers <joseph@codesourcery.com>
19086
19087 [BZ #14049]
19088 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19089 nonzero digits before rounding a hex value.
19090 * stdlib/tst-strtod.c (tests): Add another test.
19091
5197d9c2
AK
190922012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19093
19094 * sysdeps/s390/fpu/libm-test-ulps: Update.
19095
f0c1dedf
AJ
190962012-05-03 Andreas Jaeger <aj@suse.de>
19097
19098 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19099 does not get optimized out.
19100 (malloc_opt_barrier): New.
19101
a65ef2ae 191022012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 19103 Roland McGrath <roland@hack.frob.com>
a65ef2ae 19104
2b942cb7 19105 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 19106 intermediate file deletion.
2b942cb7 19107 (generated): Add .symlist files.
a65ef2ae 19108
54b71e02
JM
191092012-05-03 Joseph Myers <joseph@codesourcery.com>
19110
19111 [BZ #13775]
19112 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19113 Redirect under this condition.
19114 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19115 [__USE_GNU] (__dprintf_chk): Not under this condition.
19116 [__USE_GNU] (__vdprintf_chk): Likewise.
19117 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19118 under this condition.
19119 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19120 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19121 [__USE_XOPEN2K8] (vdprintf): Likewise.
19122 [__USE_GNU] (__dprintf_chk): Not under this condition.
19123 [__USE_GNU] (__vdprintf_chk): Likewise.
19124 [__USE_GNU] (dprintf): Likewise.
19125 [__USE_GNU] (vdprintf): Likewise.
19126
d3dfcc41
RM
191272012-05-03 Roland McGrath <roland@hack.frob.com>
19128
19129 * elf/Makefile (common-generated): Set this instead of generated for
19130 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19131 $(all-built-dso)-derived lists.
19132
7ac30cc5
AJ
191332012-05-03 Andreas Jaeger <aj@suse.de>
19134
0c51e550
AJ
19135 * sysdeps/i386/fpu/libm-test-ulps: Update.
19136
7ac30cc5
AJ
19137 * FAQ: Removed.
19138 * FAQ.in: Likewise.
19139 * scripts/gen-FAQ.pl: Likewise.
19140 * manual/install.texi (Installation): Point to online location of
19141 FAQ.
19142 * Makefile (files-for-dist): Remove FAQ.
19143 (FAQ): Remove.
19144
d4c2917f
AM
191452012-05-02 Allan McRae <allan@archlinux.org>
19146
19147 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19148 (LDFLAGS-reldepmod5.so): Likewise.
19149 (LDFLAGS-reldep6mod1.so): Likewise.
19150 (LDFLAGS-reldep6mod4.so): Likewise.
19151 (LDFLAGS-reldep8mod3.so): Likewise.
19152 (LDFLAGS-unload4mod1.so): Likewise.
19153 (LDFLAGS-unload4mod2.so): Likewise.
19154 (LDFLAGS-tst-initorder): Likewise.
19155 (LDFLAGS-tst-initordera2.so): Likewise.
19156 (LDFLAGS-tst-initordera3.so): Likewise.
19157 (LDFLAGS-tst-initordera4.so): Likewise.
19158 (LDFLAGS-tst-initorderb2.so): Likewise.
19159 (LDFLAGS-noload): Likewise.
19160 (LDFLAGS-next): Likewise.
19161 (LDFLAGS-order2mod1.so): Likewise.
19162 (LDFLAGS-order2mod2.so): Likewise.
19163 (LDFLAGS-tst-initorder2): Likewise.
19164 (LDFLAGS-tst-initorder2a.so): Likewise.
19165 (LDFLAGS-tst-initorder2b.so): Likewise.
19166 (LDFLAGS-tst-initorder2c.so): Likewise.
19167 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19168
d77f993f
DM
191692012-05-02 David S. Miller <davem@davemloft.net>
19170
19171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19172
171a70b4
PP
191732012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19174
19175 [BZ #14055]
19176 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19177
0be196ad
AJ
191782012-05-02 Andreas Jaeger <aj@suse.de>
19179
19180 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19181 since we manipulate rounding mode.
19182 (CPPFLAGS-test-idouble.c): Likewise.
19183 (CPPFLAGS-test-ifloat.c): Likewise.
19184 (CFLAGS-test-ldouble.c): Likewise.
19185 (CFLAGS-test-double.c): Likewise.
19186 (CFLAGS-test-float.c): Likewise.
19187 (CFLAGS-test-misc.c): Likewise.
19188 (CFLAGS-test-test-fenv.c): Likewise.
19189
4f9d04aa
AZ
191902012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19191
2b942cb7
RM
19192 [BZ #2550]
19193 [BZ #2570]
19194 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19195 comparisons to determine direction to adjust input.
4f9d04aa 19196
82a79e7d
RM
191972012-05-01 Roland McGrath <roland@hack.frob.com>
19198
f5a01ca9
RM
19199 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19200 output to the target.
19201
90fe4186
RM
19202 * scripts/localplt.awk: New file.
19203 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19204 (check-localplt-CFLAGS): Variable removed.
19205 ($(all-built-dso:=.jmprel)): New static pattern rule.
19206 (generated): Add those targets.
19207 (localplt-built-dso): New variable.
19208 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19209
19210 * elf/check-localplt.c: File removed.
19211
82397ed6
RM
19212 * scripts/check-execstack.awk: New file.
19213 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19214 (check-execstack-CFLAGS): Variable removed.
19215 ($(objpfx)check-execstack.h): Target removed.
19216 ($(objpfx)execstack-default): New target.
19217 (generated): Add that instead of check-execstack.h.
19218 ($(all-built-dso:=.phdr)): New static pattern rule.
19219 (generated): Add those targets.
19220 * elf/check-execstack.c: File removed.
19221
82a79e7d
RM
19222 * scripts/check-textrel.awk: New file.
19223 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19224 (check-textrel-CFLAGS): Variable removed.
19225 (all-built-dso): Use := to define.o
19226 ($(all-built-dso:=.dyn)): New static pattern rule.
19227 (generated): Add those targets.
19228 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19229 * config.make.in (READELF): New substituted variable.
19230 * elf/check-textrel.c: File removed.
19231
62fde54f 192322012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 19233
615605c9
JM
19234 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19235 allow.
19236 * conform/data/ctype.h-data [C99-based standards] (isblank):
19237 Expect function.
19238 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19239 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19240 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19241 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19242 Specify type. Require positive value.
19243 (EILSEQ): Likewise.
19244 (ERANGE): Likewise.
19245 [ISO || POSIX] (EILSEQ): Do not expect.
19246 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19247 Specify type. Require positive value.
19248 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19249 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19250 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19251 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19252 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19253 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19254 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19255 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19256 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19257 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19258 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19259 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19260 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19261 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19262 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19263 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19264 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19265 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19266 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19267 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19268 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19269 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19270 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19271 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19272 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19273 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19274 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19275 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19276 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19277 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19278 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19279 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19280 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19281 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19282 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19283 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19284 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19285 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19286 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19287 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19288 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19289 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19290 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19291 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19292 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19293 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19294 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19295 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19296 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19297 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19298 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19299 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19300 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19301 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19302 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19303 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19304 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19305 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19306 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19307 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19308 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19309 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19310 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19311 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19312 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19313 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19314 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19315 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19316 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19317 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19318 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19319 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19320 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19321 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19322 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19323 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19324 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19325 Require >= 2.
19326 (FLT_ROUNDS): Expect as macro, not constant.
19327 (FLT_MANT_DIG): Use macro-int-constant.
19328 (DBL_MANT_DIG): Likewise.
19329 (LDBL_MANT_DIG): Likewise.
19330 (FLT_DIG): Likewise.
19331 (DBL_DIG): Likewise.
19332 (LDBL_DIG): Likewise.
19333 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19334 (DBL_MIN_EXP): Likewise.
19335 (LDBL_MIN_EXP): Likewise.
19336 (FLT_MAX_EXP): Use macro-int-constant.
19337 (DBL_MAX_EXP): Likewise.
19338 (LDBL_MAX_EXP): Likewise.
19339 (FLT_MAX_10_EXP): Likewise.
19340 (DBL_MAX_10_EXP): Likewise.
19341 (LDBL_MAX_10_EXP): Likewise.
19342 (FLT_MAX): Use macro-constant.
19343 (DBL_MAX): Likewise.
19344 (LDBL_MAX): Likewise.
19345 (FLT_EPSILON): Use macro-constant. Give upper bound.
19346 (DBL_EPSILON): Likewise.
19347 (LDBL_EPSILON): Likewise.
19348 (FLT_MIN): Likewise.
19349 (DBL_MIN): Likewise.
19350 (LDBL_MIN): Likewise.
19351 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19352 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19353 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19354 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19355 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19356 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19357 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19358 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19359 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19360 [ISO11] (FLT_TRUE_MIN): Likewise.
19361 [ISO11] (LDBL_TRUE_MIN): Likewise.
19362 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19363 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19364 (SCHAR_MIN): Use macro-int-constant. Specify type.
19365 (SCHAR_MAX): Likewise.
19366 (UCHAR_MAX): Likewise.
19367 (CHAR_MIN): Likewise.
19368 (CHAR_MAX): Likewise.
19369 (MB_LEN_MAX): Use macro-int-constant.
19370 (SHRT_MIN): Use macro-int-constant. Specify type.
19371 (SHRT_MAX): Likewise.
19372 (USHRT_MAX): Likewise.
19373 (INT_MAX): Likewise.
19374 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19375 bound negative.
19376 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19377 bound with "U".
19378 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19379 bound with "L".
19380 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19381 bound negative. Suffix upper bound with "L".
19382 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19383 bound with "UL".
19384 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19385 Specify type.
19386 [C99-based standards] (LLONG_MAX): Likewise.
19387 [C99-based standards] (ULLONG_MAX): Likewise.
19388 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19389 == 0.
19390 [ISO11] (max_align_t): Require type.
19391 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19392
c9140a62
JM
19393 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19394 from $CFLAGS, without defining away __attribute__ calls.
19395 (checknamespace): Use $CFLAGS_namespace.
19396
9af0bf29
JM
19397 * conform/conformtest.pl (@keywords): Only include C99 keywords
19398 for standards based on C99 or C11.
19399
343222a2
JM
19400 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19401 Disable tests.
19402 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19403 UNIX98]: Likewise.
19404
661f8cf0
JM
19405 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19406 usability of symbols in #if.
19407
ee74b9cb
JM
19408 * conform/conformtest.pl: If macro or constant types start
19409 "promoted:", expect the symbol to be of the following type
19410 promoted by the integer promotions.
62fde54f 19411
aafc49b3
JM
19412 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19413 in one place. Also handle "macro-constant".
19414
fefdf574
JM
19415 * conform/conformtest.pl: Only accept expected macro values with
19416 "==". Parse all "macro" lines in one place.
19417 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19418
f2d922fe
JM
19419 * conform/conformtest.pl: Handle braced types on "constant" lines
19420 instead of handling "typed-constant".
19421 * conform/data/signal.h-data: Use "constant" instead of
19422 "typed-constant".
19423
d22956c9
JM
19424 * conform/conformtest.pl: Handle "optional-" at start of lines in
19425 one place rather than duplicating several cases. Handle each
19426 format of "macro" line with initial "optional-".
19427
028e2e38
JM
19428 * conform/conformtest.pl: Only accept expected constant or
19429 optional-constant values with "==". Parse all "constant" lines in
19430 one place. Parse all "optional-constant" lines in one place.
19431 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19432 * conform/data/fmtmsg.h-data: Likewise.
19433 * conform/data/netinet/in.h-data: Likewise.
19434 * conform/data/tar.h-data: Likewise.
19435 * conform/data/limits.h-data: Use "==" form on "constant" and
19436 "optional-constant" lines.
19437
1b8f2850
JM
19438 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19439 Use -std=c99 for XOPEN2K.
19440 (@knownproblems): Remove.
19441 (newtoken): Don't check %isknown.
19442
a05a144b
JM
19443 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19444 Do not expect macro.
19445 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19446 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19447 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19448 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19449 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19450 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19451 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19452 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19453 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19454 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19455 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19456 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19457 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19458 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19459 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19460 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19461 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19462 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19463 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19464 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19465 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19466 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19467 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19468 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19469 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19470 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19471 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19472 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19473 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19474 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19475 [XPG3] (acosh): Likewise.
19476 [XPG3] (asinh): Likewise.
19477 [XPG3] (atanh): Likewise.
19478 [XPG3] (cbrt): Likewise.
19479 [XPG3] (expm1): Likewise.
19480 [XPG3] (ilogb): Likewise.
19481 [XPG3] (log1p): Likewise.
19482 [XPG3] (logb): Likewise.
19483 [XPG3] (nextafter): Likewise.
19484 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19485 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19486 [XPG3] (remainder): Likewise.
19487 [XPG3] (rint): Likewise.
19488 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19489 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19490 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19491 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19492 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19493 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19494 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19495 [UNIX98 || XOPEN2K] (scalb): Expect.
19496 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19497 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19498 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19499 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19500 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19501 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19502 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19503 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19504 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19505 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19506 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19507 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19508 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19509 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19510 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19511 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19512 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19513 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19514 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19515 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19516 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19517 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19518 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19519 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19520 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19521 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19522 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19523 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19524 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19525 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19526 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19527 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19528 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19529 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19530 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19531 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19532 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19533 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19534 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19535 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19536 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19537 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19538 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19539 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19540 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19541 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19542 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19543 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19544 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19545 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19546 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19547 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19548 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19549 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19550 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19551 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19552 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19553 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19554 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19555 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19556 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19557 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19558 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19559 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19560 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19561 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19562 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19563 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19564 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19565 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19566 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19567 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19568 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19569 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19570 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19571 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19572 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19573 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19574 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19575 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19576 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19577 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19578 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19579 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19580 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19581 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19582 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19583 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19584 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19585 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19586 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19587 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19588 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19589 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19590 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19591 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19592 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19593 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19594 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19595 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19596 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19597 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19598 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19599 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19600 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19601 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19602 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19603 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19604 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19605 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19606 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19607 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19608 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19609 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19610 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19611 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19612 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19613 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19614 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19615 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19616 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19617 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19618 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19619 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19620 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19621 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19622 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19623 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19624 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19625 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19626 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19627 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19628 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19629 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19630 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19631 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19632 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19633
73c5ebe3
JM
19634 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19635 _XOPEN_SOURCE_EXTENDED for XPG4.
19636
39c33b6c
JM
19637 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19638
62fde54f
JM
19639 * Makeconfig (localtime): Remove variable.
19640 (inst_localtime-file): Likewise.
19641
0741d64c
AS
196422012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19643
19644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19645 Update.
19646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19647 Update.
19648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19649 Update.
19650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19651 Update.
19652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19653 Update.
19654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19655 Update.
19656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19657 Update.
19658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19659 Update.
19660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19661 Update.
19662
7cb029ee
JM
196632012-05-01 Joseph Myers <joseph@codesourcery.com>
19664
19665 [BZ #2550]
19666 [BZ #2570]
19667 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19668 comparisons to determine direction to adjust input.
19669 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19670 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19671 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19672 Likewise.
19673 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19674 Likewise.
19675 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19676 Likewise.
19677 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19678 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19679 Likewise.
19680 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19681 Likewise.
19682 * math/libm-test.inc (nexttoward_test): Add more tests.
19683
412bd966
AS
196842012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19685
19686 [BZ #14040]
19687 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19688 in version GLIBC_2.1, not GLIBC_2.0.
19689 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19690 Likewise.
19691
9568c0c2
JM
196922012-04-30 Joseph Myers <joseph@codesourcery.com>
19693
adfbc8ac
JM
19694 [BZ #13942]
19695 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19696 (1 - x) * (1 + x).
19697 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19698 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19699 * math/libm-test.inc (acos_test): Add more tests.
19700 (asin_test): Likewise.
19701 * sysdeps/i386/fpu/libm-test-ulps: Update.
19702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19703
5ba3cc69
JM
19704 [BZ #14034]
19705 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19706 of square root.
19707 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19708 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19709 * math/libm-test.inc (acos_test_tonearest): New function.
19710 (acos_test_towardzero): Likewise.
19711 (acos_test_downward): Likewise.
19712 (acos_test_upward): Likewise.
19713 (asin_test_tonearest): Likewise.
19714 (asin_test_towardzero): Likewise.
19715 (asin_test_downward): Likewise.
19716 (asin_test_upward): Likewise.
19717 (main): Call the new functions.
19718 * sysdeps/i386/fpu/libm-test-ulps: Update.
19719 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19720
9568c0c2
JM
19721 [BZ #13884]
19722 [BZ #13924]
19723 * math/e_exp10.c: Include <float.h>.
19724 (__ieee754_exp10): Handle underflow here rather than multiplying
19725 large negative argument by M_LN10.
19726 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19727 of __ieee754_expf.
19728 * math/e_exp10l.c: Include <float.h>.
19729 (__ieee754_exp10l): Handle underflow here rather than multiplying
19730 large negative argument by M_LN10l.
19731 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19732 spurious overflow exception on underflow.
19733
5ac3ea17
MP
197342012-04-29 Marek Polacek <polacek@redhat.com>
19735
19736 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19737 (__fortify_function): New macro.
19738 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19739 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19740 __extern_always_inline.
19741 * libio/bits/stdio2.h: Likewise.
19742 * libio/bits/stdio.h: Likewise.
19743 * string/string.h: Likewise.
19744 * string/bits/string3.h: Likewise.
19745 * include/stdio.h: Likewise.
19746 * stdlib/bits/stdlib.h: Likewise.
19747 * stdlib/stdlib.h: Likewise.
19748 * rt/bits/mqueue2.h: Likewise.
19749 * rt/mqueue.h: Likewise.
19750 * posix/bits/unistd.h: Likewise.
19751 * posix/unistd.h: Likewise.
19752 * io/bits/poll2.h: Likewise.
19753 * io/bits/fcntl2.h: Likewise.
19754 * io/fcntl.h: Likewise.
19755 * io/sys/poll.h: Likewise.
19756 * misc/bits/syslog.h: Likewise.
19757 * misc/bits/syslog-ldbl.h: Likewise.
19758 * misc/sys/syslog.h: Likewise.
19759 * socket/bits/socket2.h: Likewise.
19760 * socket/sys/socket.h: Likewise.
19761 * debug/tst-chk1.c: Likewise.
19762 * wcsmbs/bits/wchar2.h: Likewise.
19763 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19764 * wcsmbs/wchar.h: Likewise.
19765
ecf0ebfb
AJ
197662012-04-29 Andreas Jaeger <aj@suse.de>
19767
19768 * Makerules (tests): Remove enable-check-abi protection.
19769 (check-abi-warn): Remove.
19770 (check-abi-%): Remove check-abi-warn usage.
19771
19772 * configure.in: Remove check-abi configure option.
19773 * configure: Regenerated.
19774 * config.make.in (enable-check-abi): Remove.
19775
6d5c57fa
AS
197762012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19777
24c5d07e 19778 [BZ #14033]
ded5180a
AS
19779 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19780 double functions to double *_finite functions.
19781
7e0d315d
AS
19782 [BZ #13941]
19783 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19784 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19785 LDBL_MIN_EXP.
19786 * stdio-common/Makefile (tests): Add tst-sprintf3.
19787 * stdio-common/tst-sprintf3.c: New file.
19788
6d5c57fa
AS
19789 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19790 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19791
0749ff8b
JM
197922012-04-28 Joseph Myers <joseph@codesourcery.com>
19793
19794 * conform/conformtest.pl: Remove duplicate typed-constant
19795 handling.
19796
8dbd5d7b
DM
197972012-04-28 David S. Miller <davem@davemloft.net>
19798
19799 * Makerules (%.abilist): Add vpath on sysdep_dirs.
19800 (check-abi-%): Remove AWK script prerequisite and explicit
19801 abilist directory.
19802 (check-abi): Rewrite to just diff the symlist with the abilist.
19803 (config-tls, config-abi-config): Delete, no longer used.
19804 (update-abi-%): Remove AWK script and explicit abilist directory.
19805 (update-abi): Rewrite to simply compare and conditionally copy the
19806 symlist and the sysdep abilist file. Remove update-abi-config
19807 checks.
19808 * abilist/ld.abilist: Remove.
19809 * abilist/libBrokenLocale.abilist: Remove.
19810 * abilist/libanl.abilist: Remove.
19811 * abilist/libcrypt.abilist: Remove.
19812 * abilist/libdl.abilist: Remove.
19813 * abilist/librt.abilist: Remove.
19814 * abilist/libthread_db.abilist: Remove.
19815 * abilist/libutil.abilist: Remove.
19816 * scripts/extract-abilist.awk: Remove.
19817 * scripts/merge-abilist.awk: Remove.
19818 * sysdeps/generic/libcidn.abilist: New file.
19819 * sysdeps/generic/libnss_compat.abilist: New file.
19820 * sysdeps/generic/libnss_db.abilist: New file.
19821 * sysdeps/generic/libnss_dns.abilist: New file.
19822 * sysdeps/generic/libnss_files.abilist: New file.
19823 * sysdeps/generic/libnss_hesiod.abilist: New file.
19824 * sysdeps/generic/libnss_nis.abilist: New file.
19825 * sysdeps/generic/libnss_nisplus.abilist: New file.
19826 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19827 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19828 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19829 file.
19830 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19831 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19832 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19833 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19834 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19835 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19836 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19837 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19838 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19839 file.
19840 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19841 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19842 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19843 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19844 file.
19845 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19846 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19847 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19848 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19849 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19850 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19851 file.
19852 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19853 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19854 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19855 file.
19856 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19857 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19858 New file.
19859 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19860 New file.
19861 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19862 New file.
19863 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19864 New file.
19865 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19866 New file.
19867 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19868 New file.
19869 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19870 New file.
19871 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19872 New file.
19873 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19874 New file.
19875 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19876 New file.
19877 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19878 New file.
19879 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19880 New file.
19881 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19882 New file.
19883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19884 file.
19885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19886 New file.
19887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19888 New file.
19889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19890 file.
19891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19892 New file.
19893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19894 New file.
19895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19896 file.
19897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19898 New file.
19899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19900 New file.
19901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19902 New file.
19903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19904 New file.
19905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19906 New file.
19907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19908 New file.
19909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19911 file.
19912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19913 New file.
19914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19915 file.
19916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19917 file.
19918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19919 file.
19920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19921 file.
19922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19923 file.
19924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19925 New file.
19926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19927 file.
19928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19929 file.
19930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19931 New file.
19932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19933 file.
19934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19936 file.
19937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19938 New file.
19939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19940 file.
19941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19942 file.
19943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19944 file.
19945 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19946 file.
19947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19948 file.
19949 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19950 New file.
19951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19952 file.
19953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19954 file.
19955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19956 New file.
19957 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19958 file.
19959 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19960 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19961 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19962 file.
19963 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19964 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19965 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19966 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19967 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19968 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19969 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19970 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19971 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19972 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19975 file.
19976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19977 New file.
19978 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19979 file.
19980 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19981 file.
19982 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19983 file.
19984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19985 file.
19986 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19987 file.
19988 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19989 New file.
19990 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19991 New file.
19992 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19993 file.
19994 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19995 New file.
19996 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19997 file.
19998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19999 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20000 file.
20001 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20002 New file.
20003 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20004 file.
20005 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20006 file.
20007 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20008 file.
20009 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20010 file.
20011 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20012 file.
20013 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20014 New file.
20015 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20016 New file.
20017 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20018 file.
20019 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20020 New file.
20021 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20022 file.
20023
41d73a1b
JM
200242012-04-28 Joseph Myers <joseph@codesourcery.com>
20025
20026 * conform/conformtest.pl: Fix typo in handling typed-constant from
20027 allow-header.
20028
28aeeda4
JM
200292012-04-27 Joseph Myers <joseph@codesourcery.com>
20030
adae8f5e
JM
20031 * README: Cut down references to pre-2.6 Linux kernels and
20032 Linuxthreads. Update lists of configurations in libc and ports
20033 and sort alphabetically. Say "or newer" with Linux kernel version
20034 requirements.
20035
28aeeda4
JM
20036 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20037
a462cb63
RA
200382012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20039
20040 [BZ #887]
20041 * math/libm-test.inc (logb_test_downward): New test to expose
20042 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20043 rounding mode.
20044
6ad3493e
JM
200452012-04-27 Joseph Myers <joseph@codesourcery.com>
20046
20047 [BZ #14027]
20048 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20049 to be done.
20050 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20051 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20052
2ce4f015
JM
200532012-04-26 Joseph Myers <joseph@codesourcery.com>
20054
5aeb141a
JM
20055 * sysdeps/unix/i386/brk.S: Remove file.
20056 * sysdeps/unix/i386/dl-brk.S: Likewise.
20057 * sysdeps/unix/i386/pipe.S: Likewise.
20058 * sysdeps/unix/i386/sigreturn.S: Likewise.
20059 * sysdeps/unix/i386/syscall.S: Likewise.
20060 * sysdeps/unix/i386/vfork.S: Likewise.
20061 * sysdeps/unix/i386/wait.S: Likewise.
20062
7143acae
JM
20063 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20064 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20065
2ce4f015
JM
20066 * configure.in (arm*-none*): Do not allow without
20067 --enable-hacker-mode.
20068 (netbsd*): Remove case setting base_os.
20069 (386bsd*): Likewise.
20070 (freebsd*): Likewise.
20071 (bsdi*): Likewise.
20072 (osf*): Likewise.
20073 (sunos*): Likewise.
20074 (ultrix*): Likewise.
20075 (newsos*): Likewise.
20076 (dynix*): Likewise.
20077 (*bsd*): Likewise.
20078 (sysv*): Likewise.
20079 (isc*): Likewise.
20080 (esix*): Likewise.
20081 (sco*): Likewise.
20082 (minix*): Likewise.
20083 (irix4*): Likewise.
20084 (irix6*): Likewise.
20085 (solaris[2-9]*): Likewise.
20086 (none): Likewise.
20087 * configure: Regenerated.
20088
0ac229c8
AZ
200892012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20090
20091 [BZ #11521]
20092 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20093 overflow or cancellation in calculating denominator.
20094 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20095 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20096 down expression to avoid unexpected rounding in newer GCCs.
20097 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20098
33f244f4
DM
200992012-04-26 David S. Miller <davem@davemloft.net>
20100
20101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20102 long-double compat symbols.
20103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20116
cfa1f3e8
DM
201172012-04-25 David S. Miller <davem@davemloft.net>
20118
20119 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20120 HWCAP_* values only after the memory barriers have been defined.
20121 (atomic_full_barrier): Define.
20122 (atomic_read_barrier): Define.
20123 (atomic_write_barrier): Define.
20124
6e236b92
SP
201252012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20126
20127 * shlib-versions: Add libgcc_s version information.
20128 * sysdeps/generic/libgcc_s.h: Remove.
20129 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20130 libgcc_s.h.
20131 * sysdeps/gnu/unwind-resume.c: Likewise.
20132 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20133
aab39a09
DM
201342012-04-25 David S. Miller <davem@davemloft.net>
20135
20136 * sysdeps/unix/sparc/brk.S: Delete.
20137 * sysdeps/unix/sparc/dl-brk.S: Delete.
20138 * sysdeps/unix/sparc/pipe.S: Delete.
20139 * sysdeps/unix/sparc/sysdep.S: Delete.
20140 * sysdeps/unix/sparc/sysdep.h: Delete.
20141 * sysdeps/unix/sparc/vfork.S: Delete.
20142 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20143 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20144 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20145 ret_ERRVAL, r0, r1, MOVE): Define.
20146 (JUMPTARGET): Remove.
20147 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20148 sysdeps/unix/sparc/sysdep.h
20149 (ENTRY, END): Remove.
20150 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20151
a3cc4f48
JM
201522012-04-25 Joseph Myers <joseph@codesourcery.com>
20153
2ed8cda2
JM
20154 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20155 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20156 -DIS_IN_build.
20157
35d76d59
JM
20158 * timezone/README: Update upstream location and email address for
20159 tzcode and tzdata.
20160 * timezone/zdump.c: Update from tzcode 2012b.
20161 * timezone/zic.c: Likewise.
20162
a3cc4f48
JM
20163 * configure.in (libc_cv_as_needed): Remove test.
20164 * configure: Regenerated.
20165 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20166 conditional definition.
20167 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20168 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20169 * config.make.in (have-as-needed): Remove variable.
20170
ceab42c3
SP
201712012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20172 Paul Pluzhnikov <ppluzhnikov@google.com>
20173
20174 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20175 strings correctly.
20176
3ce2865f
CLT
201772012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20178
20179 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20180 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20181 * sysdeps/sh/strlen.S: Likewise.
20182
f37e0d68
JM
201832012-04-24 Joseph Myers <joseph@codesourcery.com>
20184
ae186e9a
JM
20185 * sysdeps/unix/fork.S: Remove file.
20186 * sysdeps/unix/i386/fork.S: Likewise.
20187 * sysdeps/unix/sparc/fork.S: Likewise.
20188
b96914af
JM
20189 * sysdeps/unix/system.c: Remove file.
20190 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20191
f37e0d68
JM
20192 * sysdeps/unix/getegid.S: Remove file.
20193 * sysdeps/unix/geteuid.S: Likewise.
20194
87ef29ca
RM
201952012-04-24 Roland McGrath <roland@hack.frob.com>
20196
83bcd236
RM
20197 * scripts/check-localplt.awk: New file.
20198 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20199 of diff.
20200 * scripts/data/localplt-generic.data: Add a comment.
20201
87ef29ca
RM
20202 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20203 NODE when __dir_mkfile failed.
20204 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20205 Reported by Ludovic Courtès <ludo@gnu.org>.
20206
e5a6e567
AJ
202072012-04-24 Andreas Jaeger <aj@suse.de>
20208
20209 * Makerules (common-clean): Also remove gen-as-const-headers
20210 files.
20211
c1820385
JM
202122012-04-24 Joseph Myers <joseph@codesourcery.com>
20213
20214 * Makerules (native-compile): Do not change working directory for
20215 build. Use $(OUTPUT_OPTION) in command.
20216 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20217
94e02fc4
AZ
202182012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20219
20220 [BZ #13886]
20221 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20222 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20223 * math/libm-test.inc (floor_test): Add more tests.
20224 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20225
3a533ca3
JM
202262012-04-24 Joseph Myers <joseph@codesourcery.com>
20227
940ab4b3
JM
20228 * sysdeps/unix/getdents.c: Remove file.
20229 * sysdeps/unix/sysv/getdents.c: Likewise.
20230 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20231
90e037bd
JM
20232 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20233 sysdeps/unix/mman/syscalls.list.
20234 (mmap): Likewise.
20235 (mprotect): Likewise.
20236 (msync): Likewise.
20237 (munmap): Likewise.
20238 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20239 * sysdeps/unix/mman/syscalls.list: Remove.
20240 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20241
3a533ca3
JM
20242 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20243 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20244 * configure: Regenerated.
20245 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20246 $(libgcc_s_suffix).
20247 * config.make.in (libgcc_s_suffix): Remove variable.
20248
1ad743de
JM
202492012-04-23 Joseph Myers <joseph@codesourcery.com>
20250
4ad451e2
JM
20251 * sysdeps/unix/sysv/gethostname.c: Move to ...
20252 * sysdeps/posix/gethostname.c: ... here.
20253
5e37ce39
JM
20254 * sysdeps/unix/execve.S: Remove file.
20255
1ad743de
JM
20256 * sysdeps/unix/_exit.S: Remove file.
20257
4e681b5b
AJ
202582012-04-23 Andreas Jaeger <aj@suse.de>
20259
20260 [BZ #13739]
20261 * manual/Makefile: Remove make dist support, there's no
20262 need for a stand-alone documentation tar ball.
20263 (TEXI2DVI): Define always, it's not in Makeconfig.
20264 (dist): Removed.
20265 (tar-it): Removed.
20266 (edition): Removed.
20267 (glibc-doc-$(edition).tar): Removed
20268 (%.Z): Removed.
20269 (%.gz): Removed.
20270 (%.uu): Removed.
20271 (ETAGS): Remove, it's in Makeconfig.
20272 (move-if-change): Remove, it's in Makeconfig.
20273
38686a03 202742012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
20275
20276 [BZ #13970]
20277 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20278 (strtod, strtof, strtold, strtol, strtoul, strtoq)
20279 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20280 (strtod_l, strtof_l, strtold_l): Remove __wur.
20281 It is not necessarily an error to ignore strtol's return value.
20282 One can reliably look at the stored endptr to decide whether
20283 the number had valid syntax.
20284
7c0616fa
AJ
202852012-04-21 Andreas Jaeger <aj@suse.de>
20286
803cb6b7 20287 [BZ #13739]
7c0616fa
AJ
20288 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20289
b0fe253f
JM
202902012-04-21 Joseph Myers <joseph@codesourcery.com>
20291
20292 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20293 * sysdeps/unix/sysv/Versions: Remove file.
20294
8280f22d
MT
202952012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20296
20297 [BZ #13927]
20298 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20299
75ce411f 203002012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
20301
20302 [BZ #7064]
20303 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20304 version from __vm86.
20305
097d59fa
JM
203062012-04-20 Joseph Myers <joseph@codesourcery.com>
20307
a90f3bcb
JM
20308 * sysdeps/unix/common/lxstat.c: Remove file.
20309 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20310
edc7ea78
JM
20311 * sysdeps/unix/sysv/Makefile: Remove file.
20312
cb78c221
JM
20313 * sysdeps/unix/sysv/direct.h: Remove file.
20314
efa6a45f
JM
20315 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20316 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20317 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20318 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20319 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20320 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20321 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20322
9c9f2d0c
JM
20323 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20324
4541c83b
JM
20325 * sysdeps/unix/xmknod.c: Remove file.
20326 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20327
f5d153a0
JM
20328 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20329
aa746595
JM
20330 * sysdeps/unix/sysv/i386/time.S: Remove file.
20331
cce5905e
JM
20332 * sysdeps/unix/fxstat.c: Remove file.
20333 * sysdeps/unix/xstat.c: Likewise.
20334 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20335
37fa3841
JM
20336 * sysdeps/unix/sysv/sigaction.c: Remove file.
20337
ff1962a3
JM
20338 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20339 (sysdep_headers): Remove variable.
20340 [termio.h not in sysdep_headers] (generated): Likewise.
20341 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20342 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20343 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20344 * sysdeps/unix/sysv/tcflow.c: Likewise.
20345 * sysdeps/unix/sysv/tcflush.c: Likewise.
20346 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20347 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20348 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20349 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20350 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20351
e7740d31
JM
20352 * sysdeps/unix/siglist.c: Remove file.
20353
ee06f18b
JM
20354 * sysdeps/unix/getppid.S: Remove file.
20355
097d59fa
JM
20356 * sysdeps/unix/mkdir.c: Remove file.
20357 * sysdeps/unix/rmdir.c: Likewise.
20358
ff3d51ec
AS
203592012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20360
20361 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20362 ERR_MAX value.
20363 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20364 errlist-compat value.
20365
50f81fd7
DM
203662012-04-18 David S. Miller <davem@davemloft.net>
20367
20368 * sysdeps/generic/memcopy.h (reg_char): Delete.
20369 * debug/strcat_chk.c: Use char, not reg_char.
20370 * debug/strcpy_chk.c: Likewise.
20371 * debug/strncat_chk.c: Likewise.
20372 * debug/strncpy_chk.c: Likewise.
20373 * string/memchr.c: Likewise.
20374 * string/memrchr.c: Likewise.
20375 * string/rawmemchr.c: Likewise.
20376 * string/strcat.c: Likewise.
20377 * string/strchr.c: Likewise.
20378 * string/strchrnul.c: Likewise.
20379 * string/strcmp.c: Likewise.
20380 * string/strcpy.c: Likewise.
20381 * string/strncat.c: Likewise.
20382 * string/strncmp.c: Likewise.
20383 * string/strncpy.c: Likewise.
20384
8ff41c46
WS
203852012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20386
20387 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20388 __builtin_memcopy is called when src and dest ranges are known to not
20389 overlap.
20390
6b652f46
WS
203912012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20392
20393 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20394 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20395 fwd_align_merge macro call.
20396 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20397 bwd_align_merge macro call.
20398 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20399
b282631e
WS
204002012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20401
20402 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20403 bwd_align_merge macros.
20404 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20405 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20406 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20407
95aa737c
DM
204082012-04-18 David S. Miller <davem@davemloft.net>
20409
20410 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20411
7a99a614
AJ
204122012-04-18 Andreas Jaeger <aj@suse.de>
20413
20414 [BZ# 6794]
20415 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20416 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20417 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20418
20419 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20420 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20421 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20422
20423 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20424 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20425 Adjust for changed ldbl-128 files.
20426
20427 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20428 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20429 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20430
e5270c23
DM
204312012-04-17 David S. Miller <davem@davemloft.net>
20432
20433 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20434
fb5e92c9
AS
204352012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20436
20437 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20438 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20439 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20440 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20441 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20442 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20443
76da7265
AZ
204442012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20445
20446 [BZ #6794]
20447 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20448 * math/libm-test.inc: Add ilogb errno and exception tests.
20449 * math/w_ilogb.c: New file: ilogb wrapper.
20450 * math/w_ilogbf.c: New file: ilogbf wrapper.
20451 * math/w_ilogbl.c: New file: ilogbl wrapper.
20452 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20453 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20454 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20455 exception being thrown with 0.0 as argument.
20456 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20457 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20458 exception being thrown with 0.0 as argument.
20459 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20460 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20461 exception being thrown with 0.0 as argument.
20462 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20463 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20464 exception being thrown with 0.0 as argument.
20465 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20466 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 20467 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
20468 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20469 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20470 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20471 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20472 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20473 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20474
0396e69d
PB
204752012-04-17 Petr Baudis <pasky@ucw.cz>
20476
20477 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20478 with altivec.
20479
750b5926
MP
204802012-04-16 Marek Polacek <polacek@redhat.com>
20481
20482 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20483
751728a1
MP
204842012-04-16 Marek Polacek <polacek@redhat.com>
20485
20486 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20487 operands of fdivp instruction.
20488
34a27407
L
204892012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20490
20491 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20492 * elf/tst-auditmod3b.c: Likewise.
20493 * elf/tst-auditmod4b.c: Likewise.
20494 * elf/tst-auditmod5b.c: Likewise.
20495 * elf/tst-auditmod6b.c: Likewise.
20496 * elf/tst-auditmod6c.c: Likewise.
20497 * elf/tst-auditmod7b.c: Likewise.
20498 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20499 * sysdeps/x86_64/preconfigure.in: Likewise.
20500 * sysdeps/x86_64/preconfigure: Regenerated.
20501
7e73e17d
L
205022012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20503
20504 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20505 __ILP32__.
20506
c7a6ab72
AB
205072012-04-13 Antoine Balestrat <merkil33@gmail.com>
20508
20509 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20510 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20511
a9e8e0e0
CL
205122012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20513
20514 [BZ #13973]
20515 * locale/iso-639.def: Fix gl language name. Spotted by
20516 Yaron Shahrabani.
20517
ec98af7d
RM
205182012-04-12 Roland McGrath <roland@hack.frob.com>
20519
20520 [BZ #2074]
20521 * libio/libio.h (__io_write_fn): Update comment.
20522
247c3ede
PB
205232012-04-12 Petr Baudis <pasky@ucw.cz>
20524
20525 [BZ #2074]
20526 * stdio.texi (Hook Functions): The user provided writer function
20527 is not allowed to return -1.
20528
55939d6d
DM
205292012-04-11 David S. Miller <davem@davemloft.net>
20530
20531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20532
90020f5a
MF
205332012-04-11 Mike Frysinger <vapier@gentoo.org>
20534
20535 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20536 Add a leading slash to rtkaio.
20537
288f9098
JM
205382012-04-11 Jim Meyering <meyering@redhat.com>
20539
90020f5a
MF
20540 [BZ #11959]
20541 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20542 It is not necessarily an error to ignore fwrite's return
20543 value. One can reliably use ferror to test for errors after
20544 the fact.
288f9098 20545
4be2b570
L
205462012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20547
20548 * bits/types.h (__snseconds_t): New type.
20549 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20550
20551 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20552 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20553 (__SNSECONDS_T_TYPE): Likewise.
20554 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20555 (__SNSECONDS_T_TYPE): Likewise.
20556 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20557 (__SNSECONDS_T_TYPE): Likewise.
20558
288f9098 205592012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
20560
20561 [BZ #2636]
20562 * manual/time.texi (Processor Time): Return type of times is
20563 elapsed real time since an arbitrary point in the past.
20564 (CPU Time): Move CLK_TCK from here...
20565 (Processor Time): ...to here. Correct description.
20566 * manual/conf.texi (Constants for Sysconf): Correct description of
20567 _SC_CLK_TCK.
20568
d7dd4413
DM
205692012-04-10 David S. Miller <davem@davemloft.net>
20570
20571 [BZ #13967]
20572 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20573 where the is a gap between DT_REL(A) and DT_JMPREL.
20574
b46068fc
L
205752012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20576
20577 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20578 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20579 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20580
73d65cc3
SP
205812012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20582
20583 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20584 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20585 (dl_main): Handle --inhibit-cache.
20586 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20587 _dl_inhibit_cache.
20588 * elf/dl-load.c (_dl_map_object): Use it.
20589 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20590
bcc8d661
JM
205912012-04-09 Joseph Myers <joseph@codesourcery.com>
20592
8f9a2fae
JM
20593 [BZ #13872]
20594 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20595 (__ieee754_powl): Saturate large exponents rather than testing for
20596 overflow of y*log2(x).
20597 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20598 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20599 exceptions.
20600
bcc8d661
JM
20601 [BZ #11521]
20602 * math/s_ctan.c: Include <float.h>.
20603 (__ctan): Avoid internal overflow or cancellation in calculating
20604 denominator.
20605 * math/s_ctanf.c: Likewise.
20606 * math/s_ctanl.c: Likewise.
20607 * math/s_ctanh.c: Likewise.
20608 * math/s_ctanhf.c: Likewise.
20609 * math/s_ctanhl.c: Likewise.
20610 * math/libm-test.inc (ctan_test): Add more tests.
20611 (ctanh_test): Likewise.
20612 * sysdeps/i386/fpu/libm-test-ulps: Update.
20613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20614
823fbbb4
AJ
206152012-04-09 Andreas Jaeger <aj@suse.de>
20616
03879793
AJ
20617 [BZ #6894]
20618 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20619 is an optional BSD extension.
20620
823fbbb4
AJ
20621 [BZ #10254]
20622 * manual/stdio.texi (Opening Streams): Document additional fopen
20623 parameters.
20624
8de131cb
RM
206252012-04-09 Roland McGrath <roland@hack.frob.com>
20626
20627 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20628 %eax without telling the compiler.
20629
c0ed9d7d
CD
206302012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20631
20632 [BZ # 13963]
20633 * manual/install.texi: Use sourceware.org.
20634
c483f6b4
JM
206352012-04-09 Joseph Myers <joseph@codesourcery.com>
20636
d7dd9453
JM
20637 [BZ #13873]
20638 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20639 (__ieee754_pow): Generate overflow and underflow using huge*huge
20640 and tiny*tiny rather than just returning constant infinity or zero
20641 for large exponents.
20642 * math/libm-test.inc (pow_test): Require overflow exceptions for
20643 applicable cases of large exponents.
20644
c483f6b4
JM
20645 [BZ #706]
20646 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20647 (__ieee754_pow): Use iterative multiplication algorithm only for
20648 integer exponents with absolute value below 1024. Check for odd
20649 integer exponents when using algorithm for real exponents.
20650 * math/libm-test.inc (pow_test): Add more tests.
20651 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20652
d2de7579
JM
206532012-04-08 Joseph Myers <joseph@codesourcery.com>
20654
20655 [BZ #13705]
20656 * math/libm-test.inc (exp_test): Do not allow overflow exception
20657 on underflow test.
20658
f77f1232
AJ
206592012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20660
20661 [BZ #13705]
20662 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20663 instead of __kernel_standard_f.
20664
3884932b
MF
206652012-04-08 Mike Frysinger <vapier@gentoo.org>
20666
20667 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20668 * sysdeps/x86_64/memset_chk.S: Likewise.
20669
54472e9c
AJ
206702012-04-08 Andreas Jaeger <aj@suse.de>
20671
6ab0fbfc
AJ
20672 [BZ #10153]
20673 * manual/startup.texi (Environment Access): Describe return value
20674 for putenv and setenv.
20675
61efba8c
AJ
20676 [BZ #6895]
20677 * manual/filesys.texi (Directory Entries): Add description for
20678 DT_LNK.
20679
95c3f29a
AJ
20680 [BZ #6890]
20681 * manual/filesys.texi (Directory Entries): Clarify that it's file
20682 system not operating system in the description of DT_UNKNOWN.
20683
54472e9c
AJ
20684 [BZ #6578]
20685 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20686
624254b1
SC
206872012-04-08 Stephen Compall <s11@member.fsf.org>
20688
20689 [BZ #6649]
20690 * manual/llio.texi (Opening and Closing Files): Add cross
20691 reference to explain mode argument.
20692
1e4920e0
MF
206932012-04-07 Mike Frysinger <vapier@gentoo.org>
20694
20695 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20696 * sysdeps/x86_64/memset_chk.S: Likewise.
20697
5ed848f3
DM
206982012-04-07 David S. Miller <davem@davemloft.net>
20699
20700 * elf/elf.h (R_SPARC_WDISP10): Define.
20701 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20702 R_SPARC_SIZE32.
20703 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20704 R_SPARC_SIZE64 and R_SPARC_H34.
20705
96154cd8
CD
207062012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20707
20708 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20709 conditions and remove no longer applicable assertion.
20710
9904dc47
L
207112012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20712
20713 * bits/byteswap.h: Include <features.h>.
20714 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20715 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20716
f8887d0a
L
207172012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20718
20719 * bits/byteswap.h (__bswap_16): Removed.
20720 Include <bits/byteswap-16.h> to get __bswap_16.
20721 * sysdeps/i386/bits/byteswap.h: Likewise.
20722 * sysdeps/s390/bits/byteswap.h: Likewise.
20723 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20724 * bits/byteswap-16.h: New file.
20725 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20726 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20727 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20728 * string/Makefile (headers): Add bits/byteswap-16.h.
20729
62470f60
PP
207302012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20731
20732 [BZ #13895]
20733 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20734 extra indirection.
20735 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20736 * nss/tst-nss-static.c: New.
20737
4dad7bab
RM
207382012-04-06 Robert Millan <rmh@gnu.org>
20739
20740 [BZ #6486]
20741 * manual/llio.texi (File Position Primitive): lseek
20742 refers to WHENCE when it really means OFFSET.
20743
e9142a17
AJ
207442012-04-06 Andreas Jaeger <aj@suse.de>
20745
2c040eff
AJ
20746 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20747 strncmp declarations.
20748
e9142a17
AJ
20749 * abilist/libc.abilist: Add __poll and __ppoll.
20750
ff9f1c5f
DM
207512012-04-05 David S. Miller <davem@davemloft.net>
20752
dcd2ae90
DM
20753 * scripts/check-local-headers.sh: Accept a host triplet in the
20754 path matched by the exclude regexp.
20755
993eb054
DM
20756 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20757 definition.
20758 * sysdeps/powerpc/powerpc32/dl-machine.h
20759 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20760 * sysdeps/s390/s390-32/dl-machine.h
20761 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20762 * sysdeps/sparc/sparc32/dl-machine.h
20763 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20764 * sysdeps/sparc/sparc64/dl-machine.h
20765 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20766
ff9f1c5f
DM
20767 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20768 lazy binding.
48e2e132 20769 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
20770 undefined symbol errors.
20771
48e2e132 20772 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
20773 DT_NEEDED entries.
20774
e80d6f94
MM
207752012-04-05 Michael Matz <matz@suse.de>
20776
20777 [BZ #13592]
20778 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20779
349fa79f
AJ
207802012-04-05 Andreas Jaeger <aj@suse.de>
20781
20782 [BZ #13908]
20783 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20784 comment.
20785
f402708f
KK
207862012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20787
20788 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20789 which ROUND is no valid rounding mode.
20790
2ecccfc9
KK
207912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20792
20793 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20794 read again.
20795 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20796
8a53f50f
KK
207972012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20798
20799 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20800 an exception using FPU order intentionally.
20801
208022012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20803
20804 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20805 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20806 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20807 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20808
d653abb7
SJ
208092012-04-05 Simon Josefsson <simon@josefsson.org>
20810
20811 [BZ #12340]
20812 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20813 EINVAL when BUFLEN is too smal.
20814
c3b1bf7d
TS
208152012-04-05 Thomas Schwinge <thomas@codesourcery.com>
20816
20817 [BZ #13553]
20818 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20819 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20820
b1aa60f3
AJ
208212012-04-03 Andreas Jaeger <aj@suse.de>
20822
c3b1bf7d 20823 [BZ #13938]
67f60a26
AJ
20824 * manual/setjmp.texi (System V contexts): Fix sentence.
20825
b1aa60f3
AJ
20826 [BZ #13926]
20827 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20828 New macro for this case.
20829 [!__GNUC__] (__bswap_64): New inline function for this case.
20830 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20831 * bits/byteswap.h: Likewise.
20832 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20833 ull, guard with __GLIBC_HAVE_LONG_LONG.
20834
20835 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20836 __GLIBC_HAVE_LONG_LONG.
20837
20838 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20839 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20840
39c59c35
TMQMF
208412012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20842
20843 [BZ #13691]
20844 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20845 inptr and inend, rather than using last_ch.
20846
135ffda8
DM
208472012-04-02 David S. Miller <davem@davemloft.net>
20848
20849 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20850 * stdio-common/printf-parse.h (read_int): Change return type to
20851 'int', return -1 on INT_MAX overflow.
20852 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20853 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20854 overflows INT_MAX. Check for overflow of in-format-string precision
20855 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20856 SIZE_MAX not INT_MAX for integer overflow test.
20857 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20858 skip the construct in the format string but do not record anything.
20859 * stdio-common/bug22.c: Adjust to test both width/prevision
20860 INT_MAX overflow as well as total length INT_MAX overflow. Check
20861 explicitly for proper errno values.
20862
228c019e
TS
208632012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20864
302cadd3
TS
20865 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20866 CHAR_MAX.
20867 * string/test-strcmp.c [! WIDE]: Likewise.
20868 * time/tst-mktime2.c: Likewise for INT_MAX.
20869 * string/test-string.h: #include <sys/param.h> for MIN.
20870
228c019e
TS
20871 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20872 * sysdeps/i386/init-first.c (init): Likewise.
20873 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20874 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20875 * sysdeps/sh/init-first.c (init): Likewise.
20876
cfa633f5
UD
208772012-04-01 Ulrich Drepper <drepper@gmail.com>
20878
20879 * po/ru.po: Update from translation team.
d1635ef8 20880 * po/vi.po: Likewise.
cfa633f5 20881
6cd0a5ea
SP
208822012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20883
20884 * resolv/nss_dns/dns-host.c: Merge copyright years.
20885
4b43400f
LD
208862012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20887
20888 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20889 Optimize memcpy with prefetch if
20890 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20891 src, dst pointers have unequal 16 byte alignments.
20892
48c41d04
SP
208932012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20894
20895 [BZ #13928]
20896 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20897 from a CNAME entry and return the minimum ttl for the query.
20898 (gaih_getanswer_slice): Likewise.
20899
b8dc394d
JL
209002012-03-30 Jeff Law <law@redhat.com>
20901
20902 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20903 due to long keys.
20904 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20905 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20906
2f5a5ed0
JL
20907 * resolv/nss_dns/dns-host.c: Update copyright year.
20908
1d39e359
UD
209092012-03-30 Ulrich Drepper <drepper@gmail.com>
20910
c030f70c 20911 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 20912 requests to save a system call. Fix check that all bytes are sent.
c030f70c 20913
1d39e359
UD
20914 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20915 comments for sendmmsg.
20916
209172012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
20918
20919 [BZ #13691]
20920 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20921 with only 1 character between 0x0041 and 0x01b0.
20922 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20923 * wcsmbs/tst-mbsnrtowcs.c: New file.
20924
20fde227
DM
209252012-03-29 David S. Miller <davem@davemloft.net>
20926
20927 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20928 small copies by hand.
20929
984a4237
JL
209302012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20931
20932 [BZ #13761]
20933 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20934 _nss_compat_initgroups_dyn): Fall back to malloc/free
20935 for large group memberships.
20936
18c9d62b
DM
209372012-03-28 David S. Miller <davem@davemloft.net>
20938
88d85d4f
DM
20939 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20940 that branches into memcpy.
20941 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20942 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20943 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20944 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20945 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20946 bits.
20947 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20948 implementation too.
20949 * sysdeps/sparc/mempcpy.S: New file.
20950
e5aa83e1
DM
20951 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20952 the IFUNC routine in the libc case.
20953 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20954
88570753
DM
20955 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20956 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20957 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20958 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20959 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20960 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20961 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20962 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20963
249d7567
DM
20964 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20965 loop to 256 bytes instead of 64 bytes and fix test signedness.
20966
18c9d62b
DM
20967 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20968 * sysdeps/sparc/sparc32/Makefile: rather than here...
20969 * sysdeps/sparc/sparc64/Makefile: and here.
20970
05f3d1f6
UD
209712012-03-28 Ulrich Drepper <drepper@gmail.com>
20972
20973 * malloc/mallocbug.c: Avoid warnings about unused variables.
20974
86ae07a8
JL
209752012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20976
20977 [BZ #13760]
20978 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20979 in the right place. Discard and retry query if response is
20980 larger than input buffer size.
20981
41bf21a1
JM
209822012-03-28 Joseph Myers <joseph@codesourcery.com>
20983
d6270972
JM
20984 [BZ #369]
20985 [BZ #2678]
20986 [BZ #3866]
20987 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20988 x for large integer exponent.
20989 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20990 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
20991 sign of result as needed afterwards.
20992 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20993 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20994 result for underflowing pow the same as for overflow.
20995 (__kernel_standard_l): Handle powl overflow and underflow here
20996 rather than calling __kernel_standard.
20997 * math/libm-test.inc (pow_test): Add more tests.
20998
414fca03 20999 [BZ #3868]
41bf21a1
JM
21000 [BZ #13879]
21001 [BZ #13910]
21002 [BZ #13911]
21003 [BZ #13912]
21004 [BZ #13913]
21005 [BZ #13915]
21006 [BZ #13916]
21007 [BZ #13917]
21008 [BZ #13918]
21009 [BZ #13919]
21010 [BZ #13920]
21011 [BZ #13921]
21012 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21013 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21014 (__kernel_standard_l): New function.
21015 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21016 __kernel_standard.
21017 * math/w_acosl.c (__acosl): Likewise.
21018 * math/w_asinl.c (__asinl): Likewise.
21019 * math/w_atan2l.c (__atan2l): Likewise.
21020 * math/w_atanhl.c (__atanhl): Likewise.
21021 * math/w_coshl.c (__coshl): Likewise.
21022 * math/w_exp10l.c (__exp10l): Likewise.
21023 * math/w_exp2l.c (__exp2l): Likewise.
21024 * math/w_fmodl.c (__fmodl): Likewise.
21025 * math/w_hypotl.c (__hypotl): Likewise.
21026 * math/w_j0l.c (__j0l, __y0l): Likewise.
21027 * math/w_j1l.c (__j1l, __y1l): Likewise.
21028 * math/w_jnl.c (__jnl, __ynl): Likewise.
21029 * math/w_lgammal.c (__lgammal): Likewise.
21030 * math/w_log10l.c (__log10l): Likewise.
21031 * math/w_log2l.c (__log2l): Likewise.
21032 * math/w_logl.c (__logl): Likewise.
21033 * math/w_powl.c (__powl): Likewise.
21034 * math/w_remainderl.c (__remainderl): Likewise.
21035 * math/w_scalbl.c (sysv_scalbl): Likewise.
21036 * math/w_sinhl.c (__sinhl): Likewise.
21037 * math/w_sqrtl.c (__sqrtl): Likewise.
21038 * math/w_tgammal.c (__tgammal): Likewise.
21039 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21040 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21041 * math/libm-test.inc (acos_test): Add more tests.
21042 (acosh_test): Likewise.
21043 (asin_test): Likewise.
21044 (atanh_test): Likewise.
21045 (exp_test): Likewise.
21046 (exp10_test): Likewise.
21047 (exp2_test): Likewise.
21048 (expm1_test): Likewise.
21049 (lgamma_test): Likewise.
21050 (log_test): Likewise.
21051 (log10_test): Likewise.
21052 (log1p_test): Likewise.
21053 (log2_test): Likewise.
21054 (pow_test): Do not allow some spurious overflow exceptions.
21055 (sqrt_test): Add more tests.
21056 (tgamma_test): Likewise.
21057 (y0_test): Likewise.
21058 (y1_test): Likewise.
21059 (yn_test): Likewise.
21060
dd62fda6
AB
210612012-03-27 Anton Blanchard <anton@samba.org>
21062
21063 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21064 MAP_HUGETLB.
21065 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21066 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21067 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21068
1e3cdfda
AJ
210692012-03-27 David S. Miller <davem@davemloft.net>
21070
b855ab85
DM
21071 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21072
1e3cdfda
AJ
21073 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21074 have-as-vis3 check.
21075
210762012-03-27 Andreas Jaeger <aj@suse.de>
21077
21078 * sysdeps/x86_64/elf/configure.in: Moved to ...
21079 * sysdeps/x86_64/configure.in: ... here.
21080 * sysdeps/x86_64/elf/start.S: Moved to ...
21081 * sysdeps/x86_64/start.S: ... here.
21082 * sysdeps/x86_64/elf/configure: Delete.
21083
21084 * sysdeps/x86_64/configure.in: Merge contents from
21085 sysdeps/i386/configure.in (without i686 check).
21086
21087 * sysdeps/i386/elf/Versions: Merge into ...
21088 * sysdeps/i386/Versions: ... this.
21089 * sysdeps/i386/elf/Versions: Delete file.
21090 * sysdeps/i386/elf/start.S: Moved to ...
21091 * sysdeps/i386/start.S: ...here.
21092 * sysdeps/i386/elf/configure.in: Merge into...
21093 * sysdeps/i386/configure.in: ...here.
21094 * sysdeps/i386/elf/configure.in: Delete file.
21095 * sysdeps/i386/elf/configure: Delete file.
21096
21097 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21098 * debug/backtracesyms.c: ... here.
21099 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21100 * debug/backtracesymsfd.c: ... here.
21101 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21102 * sysdeps/generic/ifunc-sel.h: ... here.
21103
21104 * sysdeps/unix/i386/start.c: Delete file.
21105 * sysdeps/unix/sparc/start.c: Delete file.
21106 * sysdeps/unix/start.c: Delete file.
21107
21108 * sysdeps/sh/elf/configure.in: Moved to ...
21109 * sysdeps/sh/configure.in: ... here.
21110 * sysdeps/sh/elf/start.S: Moved to ...
21111 * sysdeps/sh/start.S: ... here.
21112 * sysdeps/sh/elf/configure: Delete file.
21113
21114 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21115 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21116 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21117 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21118 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21119 * sysdeps/powerpc/powerpc64/start.S: here.
21120 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21121 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21122 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21123 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21124 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21125
21126 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21127 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21128 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21129 * sysdeps/powerpc/powerpc32/start.S: ... here.
21130 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21131 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21132 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21133
21134 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21135 * sysdeps/powerpc/ifunc-sel.h: ... here.
21136 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21137 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21138
21139 * sysdeps/sparc/elf/configure.in: Moved to ...
21140 * sysdeps/sparc/configure.in: ... here.
21141 * sysdeps/sparc/elf/configure: Delete file.
21142 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21143 * sysdeps/sparc/sparc32/start.S: ... here.
21144 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21145 * sysdeps/sparc/sparc64/start.S: ... here.
21146 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21147 * sysdeps/sparc/sparc32/Makefile: ... this.
21148 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21149 * sysdeps/sparc/sparc64/Makefile: ... this.
21150
21151 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21152 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21153 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21154 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21155 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21156 * sysdeps/s390/s390-32/setjmp.S: ... here.
21157 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21158 * sysdeps/s390/s390-32/configure.in: ... here.
21159 * sysdeps/s390/s390-32/elf/configure: Delete file.
21160 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21161 * sysdeps/s390/s390-32/start.S: ... here.
21162
21163 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21164 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21165 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21166 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21167 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21168 * sysdeps/s390/s390-64/setjmp.S: ... here.
21169 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21170 * sysdeps/s390/s390-64/configure.in: ... here
21171 * sysdeps/s390/s390-64/elf/configure: Delete file.
21172 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21173 * sysdeps/s390/s390-64/start.S: ... here.
21174 * sysdeps/s390/s390-64/elf/configure: Delete.
21175
21176 * configure.in: Remove support for elf directories in sysdeps.
21177
21178 * configure: Regenerated.
21179 * sysdeps/i386/configure: Regenerated.
21180 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21181 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21182 * sysdeps/s390/s390-32/configure: Regenerated.
21183 * sysdeps/s390/s390-64/configure: Regenerated.
21184 * sysdeps/sh/configure: Regenerated.
21185 * sysdeps/sparc/configure: Regenerated.
21186 * sysdeps/x86_64/configure: Regenerated.
21187
a3f61311
AS
211882012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21189
c876e002
AS
21190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21191
a3f61311
AS
21192 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21193 denormal result into account.
21194
ac4c54f0
RM
211952012-03-25 Roland McGrath <roland@hack.frob.com>
21196
21197 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21198 Reported by Allan McRae <allan@archlinux.org>.
21199
6a9b9c02
JL
212002012-03-23 Jeff Law <law@redhat.com>
21201
21202 * nss/getnssent.c (__nss_getent): Fix typo.
21203
4c42a0c1
DM
212042012-03-23 David S. Miller <davem@davemloft.net>
21205
21206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21207
1532c7ac
L
212082012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21209
21210 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21211 to pad to uint64_t for each field.
21212 (dl_tls_index): Replace unsigned long with uint64_t.
21213
3ff42526
PP
212142012-03-23 Daniel Jacobowitz <dmj@google.com>
21215 Paul Pluzhnikov <ppluzhnikov@google.com>
21216
21217 [BZ #6528]
21218 * grp/Makefile (otherlibs): Don't set it.
21219 * inet/Makefile (otherlibs): Likewise.
21220 * login/Makefile (otherlibs): Likewise.
21221 * nscd/Makefile (otherlibs): Likewise.
21222 * posix/Makefile (otherlibs): Likewise.
21223 * pwd/Makefile (otherlibs): Likewise.
21224 * rt/Makefile (otherlibs): Likewise.
21225 * sunrpc/Makefile (otherlibs): Likewise.
21226 * nss/Makefile (otherlibs): Likewise.
21227 Add libnss_files to routines and static-only-routines.
21228 ($(objpfx)getent): Remove rule.
21229 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21230 static-only-routines.
21231
7c69cd14
JM
212322012-03-22 Joseph Myers <joseph@codesourcery.com>
21233
21234 [BZ #13892]
21235 * math/s_cexp.c: Include <float.h>.
21236 (__cexp): Handle exp result overflowing not necessarily
21237 overflowing both real and imaginary parts of result.
21238 * math/s_cexpf.c: Likewise.
21239 * math/s_cexpl.c: Likewise.
21240 * math/libm-test.inc (cexp_test): Add more tests.
21241 * sysdeps/i386/fpu/libm-test-ulps: Update.
21242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21243
81b035fe
L
212442012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21245
21246 * include/link.h (ELFW): New macro.
21247 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21248 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21249
1da7940c
L
212502012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21251
21252 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21253 with uint64_t.
21254
b749dbb9
L
212552012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21256
21257 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21258 declaration.
21259 (struct La_x32_retval): Likewise.
21260
2ff87f3f
L
212612012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21262
21263 * sysdeps/x86_64/preconfigure.in: New file.
21264 * sysdeps/x86_64/preconfigure: New generated file.
21265
c0df8e69
JM
212662012-03-22 Joseph Myers <joseph@codesourcery.com>
21267
48e44791
JM
21268 [BZ #13824]
21269 * math/e_exp2l.c: Include <float.h>.
21270 (__ieee754_exp2l): Handle overflow and underflow cases
21271 separately. Only pass fractional part of argument to
21272 __ieee754_expl.
21273 * math/libm-test.inc (exp2_test): Add more tests.
21274
c0df8e69
JM
21275 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21276 negating x to take absolute value.
21277 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21278 Likewise.
21279 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21280 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21281 Likewise.
21282 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21283 computing low part if x was negated.
21284 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21285
c8e43ba7
L
212862012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21287
21288 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21289 la_x32_gnu_pltexit.
21290 (pltexit): Cast int_retval to ptrdiff_t.
21291 * elf/tst-auditmod3b.c: Likewise.
21292 * elf/tst-auditmod4b.c: Likewise.
21293 * elf/tst-auditmod5b.c: Likewise.
21294 * elf/tst-auditmod6b.c: Likewise.
21295 * elf/tst-auditmod6c.c: Likewise.
21296 * elf/tst-auditmod7b.c: Likewise.
21297
21298 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21299 and x32_gnu_pltexit.
21300
21301 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21302 __ELF_NATIVE_CLASS.
21303 (La_x32_regs): New macro.
21304 (La_x32_retval): Likewise.
21305 (la_x32_gnu_pltenter): New function prototype.
21306 (la_x32_gnu_pltexit): Likewise.
21307
7998fa78
AS
213082012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21309
dcb33988
AS
21310 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21311 exponent.
21312
233fc563
AS
21313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21314
7998fa78
AS
21315 * configure.in (libc_cv_cc_nofma): Check for option to disable
21316 generation of FMA instructions.
21317 * configure: Regenerate.
21318 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21319 * sysdeps/ieee754/dbl-64/Makefile: New file.
21320 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21321 Remove brandred-fma4.
21322 (CFLAGS-brandred-fma4.c): Remove.
21323 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21324 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21325 define.
21326 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21327 define.
21328
8e95c99a
L
213292012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21330
21331 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21332 LLONG_MAX != LONG_MAX.
21333 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21334 (_fitoa_word): Likewise.
21335 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21336 LLONG_MAX != LONG_MAX.
21337 * stdio-common/_itowa.h: Include <_itoa.h>.
21338 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21339 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21340 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21341 only if not defined.
21342 (_ITOA_WORD_TYPE): Likewise.
21343 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21344 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21345
6f4db457
DM
213462012-03-21 David S. Miller <davem@davemloft.net>
21347
21348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21349
7785fe5a
L
213502012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21351
21352 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21353 of x86_64 when setting libc_cv_slibdir, libdir and
21354 libc_cv_localedir.
21355 * sysdeps/unix/sysv/linux/configure: Regenerated.
21356
4535cd55
JM
213572012-03-21 Joseph Myers <joseph@codesourcery.com>
21358
21359 * manual/lang.texi (Old Varargs): Remove section.
21360 (How Variadic): Update menu.
21361 (va_start): Do not mention varargs.h.
21362
17228132
TS
213632012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21364 Joseph Myers <joseph@codesourcery.com>
21365
21366 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21367 link test.
21368 * configure: Regenerated.
21369
8149f976
TS
213702012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21371
05f3d1f6
UD
21372 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21373 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21374 conformtest.pl
8149f976 21375
1a4ac776
JM
213762012-03-21 Joseph Myers <joseph@codesourcery.com>
21377
be22ce65
JM
21378 * NOTES: Remove.
21379 * Makefile (files-for-dist): Remove NOTES.
21380 (NOTES): Remove rule.
21381 * README: Don't refer to NOTES.
21382 * manual/creature.texi: Don't include macros.texi.
21383 * manual/intro.texi (creature.texi): Remove comment referring to
21384 NOTES.
21385
40b601fb
JM
21386 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21387 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21388 * configure: Regenerated.
21389 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21390 LIBC_TRY_CC_OPTION.
21391 (libc_cv_as_i686): Likewise.
21392 (libc_cv_cc_avx): Likewise.
21393 (libc_cv_cc_sse2avx): Likewise.
21394 (libc_cv_cc_fma4): Likewise.
21395 (libc_cv_cc_novzeroupper): Likewise.
21396 * sysdeps/i386/configure: Regenerated.
21397
1a4ac776
JM
21398 [BZ #13883]
21399 * sysdeps/i386/fpu/s_cexp.S: Remove.
21400 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21401 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21402 * math/libm-test.inc (cexp_test): Add more tests.
21403 * sysdeps/i386/fpu/libm-test-ulps: Update.
21404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21405
a458e7fe
AM
214062012-03-21 Allan McRae <allan@archlinux.org>
21407
21408 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21409
0cb7efc5
JM
214102012-03-21 Joseph Myers <joseph@codesourcery.com>
21411
21412 [BZ #13871]
21413 * math/w_exp2.c: Do not include <float.h>.
21414 (o_threshold, u_threshold): Remove.
21415 (__exp2): Calculate result before checking finiteness and calling
21416 __kernel_standard.
21417 * math/w_exp2f.c: Likewise.
21418 * math/w_exp2l.c: Likewise.
21419 * math/libm-test.inc (exp2_test): Require overflow exception for
21420 1e6 input.
2460d3aa
JM
21421
21422 [BZ #3866]
21423 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21424 range of signed 64-bit integers before using fistpll. Remove
21425 checks for whether integers fit in mantissa bits.
21426 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21427 the range of signed 32-bit integers before using fistpl. Remove
21428 checks for whether integers fit in mantissa bits.
21429 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21430 (__ieee754_powl): Test for y outside the range of signed 64-bit
21431 integers before using fistpll. Reduce 64-bit values to 63-bit
21432 ones as needed.
21433 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21434 divide-by-zero is raised for zero to large negative powers.
21435 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21436 (__ieee754_powl): Test for y outside the range of signed 64-bit
21437 integers before using fistpll. Reduce 64-bit values to 63-bit
21438 ones as needed.
21439 * math/libm-test.inc (pow_test): Add more tests.
21440
eb96ffb0
L
214412012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21442
21443 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21444 <stdio-common/_itoa.h>.
21445 * debug/segfault.c: Likewise.
21446 * elf/dl-cache.c: Likewise.
21447 * elf/dl-minimal.c: Likewise.
21448 * elf/dl-misc.c: Likewise.
21449 * elf/dl-sysdep.c: Likewise.
21450 * elf/dl-version.c: Likewise.
21451 * elf/rtld.c: Likewise.
21452 * hurd/hurdsock.c: Likewise.
21453 * hurd/lookup-retry.c: Likewise.
21454 * malloc/malloc.c: Likewise.
21455 * malloc/mtrace.c: Likewise.
21456 * nscd/nscd_getgr_r.c: Likewise.
21457 * nscd/nscd_getpw_r.c: Likewise.
21458 * nscd/nscd_getserv_r.c: Likewise.
21459 * posix/getopt_init.c: Likewise.
21460 * posix/wordexp.c: Likewise.
21461 * stdio-common/_itoa.c: Likewise.
21462 * stdio-common/printf_fphex.c: Likewise.
21463 * stdio-common/vfprintf.c: Likewise.
21464 * string/_strerror.c: Likewise.
21465 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21466 * sysdeps/i386/i686/hp-timing.h: Likewise.
21467 * sysdeps/mach/_strerror.c: Likewise.
21468 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21469 * sysdeps/mach/hurd/sethostid.c: Likewise.
21470 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21471 * sysdeps/mach/xpg-strerror.c: Likewise.
21472 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21473 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21474 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21475 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21476 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21477 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21478 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21479 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21480 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21481 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21482 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21483 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21484 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21485 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21486 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21487 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21488 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21489 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21490 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21491 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21492 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21493
21494 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21495
21496 * stdio-common/_itoa.h: Moved to ...
21497 * sysdeps/generic/_itoa.h: Here.
21498
21499 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21500
21501 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21502 instead of "_itoa.h" and "_itowa.h".
21503 * stdio-common/vfprintf.: Likewise.
21504
d1af992d
L
215052012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21506
21507 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21508 <bits/wordsize.h>.
21509 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21510 (__signbit): Likwise.
21511 (llrintf): Likwise.
21512 (llrint): Likwise.
21513
114883e0
L
215142012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21515
21516 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21517 __WORDSIZE != 64.
21518
c135cc1b
JM
215192012-03-20 Joseph Myers <joseph@codesourcery.com>
21520
21521 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21522 OVERFLOW_EXCEPTION_OK.
21523 * math/libm-test.inc ("Philosophy"): Update comment about
21524 exception testing.
21525 (OVERFLOW_EXCEPTION): Define.
21526 (OVERFLOW_EXCEPTION_OK): Likewise.
21527 (INVALID_EXCEPTION_OK): Renumber.
21528 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21529 (IGNORE_ZERO_INF_SIGN): Likewise.
21530 (test_exceptions): Handle FE_OVERFLOW.
21531 (exp10_test): Expect overflow exceptions.
21532 (exp2_test): Likewise.
21533 (expm1_test): Likewise.
21534 (nextafter_test): Likewise.
21535 (pow_test): Likewise.
21536 (scalbn_test): Likewise.
21537 (scalbln_test): Likewise.
21538
95443d88
L
215392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21540
21541 * sysdeps/x86_64/bits/atomic.h
21542 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21543 64bit integer.
21544 (atomic_exchange_acq): Likewise.
21545 (__arch_exchange_and_add_body): Likewise.
21546 (__arch_add_body): Likewise.
21547 (atomic_add_negative): Likewise.
21548 (atomic_add_zero): Likewise.
21549
490df6c4
L
215502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21551
c2722551 21552 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
21553 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21554
5e52b189
L
215552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21556
21557 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21558 Check __x86_64__ instead of __WORDSIZE.
21559
a9879d4c
L
215602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21561
21562 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21563
5df98260
DM
215642012-03-19 David S. Miller <davem@davemloft.net>
21565
e1497744
DM
21566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21567
5df98260
DM
21568 * sysdeps/sparc/fpu/fenv_private.h: New file.
21569 * sysdeps/sparc/fpu/math_private.h: Use it.
21570 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21571 Remove.
21572 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21573 (libc_feholdexcept_setroundl): Remove.
21574 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21575 Remove.
21576 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21577 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21578
b4c35121
L
215792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21580
21581 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21582 int64_t instead of long int.
21583 (INSERT_WORDS64): Likwise.
21584
56965fd7
L
215852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21586
21587 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21588 _Unwind_GetCFA return to _Unwind_Ptr first.
21589
83d1aec8
JM
215902012-03-19 Joseph Myers <joseph@codesourcery.com>
21591
1897ad44
JM
21592 [BZ #13629]
21593 * math/s_clog.c: Include <float.h>.
21594 (__clog): Scale large or subnormal inputs.
21595 * math/s_clogf.c: Likewise.
21596 * math/s_clogl.c: Likewise.
21597 * math/s_clog10.c: Include <float.h>.
21598 (M_LOG10_2): Define.
21599 (__clog10): Scale large or subnormal inputs.
21600 * math/s_clog10f.c: Likewise.
21601 * math/s_clog10l.c: Likewise.
21602 * math/libm-test.inc (clog_test): Add more tests.
21603 (clog10_test): Likewise.
21604 * sysdeps/i386/fpu/libm-test-ulps: Update.
21605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21606
7726d6a9
JM
21607 [BZ #11451]
21608 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21609 x and y.
21610 * math/libm-test.inc (atan2_test): Add another test.
21611
83d1aec8
JM
21612 * Makerules (common-objdir-compile): Remove.
21613 * sysdeps/unix/Makefile (config-generated): Do not add
21614 $(unix-generated) to variable.
21615 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21616 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21617 Remove rule.
21618 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21619 Likewise.
21620 [generic bits/local_lim.h] (before-compile): Do not append to
21621 variable.
21622 [generic bits/local_lim.h] (common-generated): Likewise.
21623 [generic sys/param.h] (before-compile): Do not append to variable.
21624 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21625 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21626 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21627 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21628 include.
21629 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21630 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21631 [generic sys/param.h] ($(addprefix
21632 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21633 [generic sys/param.h] (common-generated): Do not append to
21634 variable.
21635 [generic sys/param.h] (sysdep_headers): Likewise.
21636 [generic bits/errno.h] (before-compile): Do not append to
21637 variable.
21638 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21639 rule.
21640 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21641 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21642 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21643 [generic bits/errno.h] (common-generated): Do not append to
21644 variable.
21645 [generic bits/ioctls.h] (before-compile): Do not append to
21646 variable.
21647 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21648 rule.
21649 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21650 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21651 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21652 rule.
21653 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21654 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21655 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21656 [generic bits/ioctls.h] (common-generated): Do not append to
21657 variable.
21658 [generic sys/syscall.h] (syscall.h): Remove variable.
21659 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21660 rule.
21661 [generic sys/syscall.h] (before-compile): Do not append to
21662 variable.
21663 [generic sys/syscall.h] (common-generated): Likewise.
21664 * sysdeps/unix/errnos-tmpl.c: Remove file.
21665 * sysdeps/unix/errnos.awk: Likewise.
21666 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21667 * sysdeps/unix/ioctls.awk: Likewise.
21668 * sysdeps/unix/mk-local_lim.c: Likewise.
21669 * sysdeps/unix/snarf-ioctls: Likewise.
21670
4851a949
RH
216712012-03-19 Richard Henderson <rth@twiddle.net>
21672
bd37f2ee
RH
21673 * sysdeps/i386/fpu/fenv_private.h: New file.
21674 * sysdeps/i386/fpu/math_private.h: Use it.
21675 (math_opt_barrier, math_force_eval): Remove.
21676 (libc_feholdexcept_setround_53bit): Remove.
21677 (libc_feupdateenv_53bit): Remove.
21678 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21679 (math_opt_barrier, math_force_eval): Remove.
21680 (libc_feholdexcept): Remove.
21681 (libc_feholdexcept_setround): Remove.
21682 (libc_fetestexcept, libc_fesetenv): Remove.
21683 (libc_feupdateenv_test): Remove.
21684 (libc_feupdateenv, libc_feholdsetround): Remove.
21685 (libc_feresetround): Remove.
21686
d0adc922
RH
21687 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21688 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21689
0fe0f1f8
RH
21690 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21691 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21692 (libc_feupdateenv_testl): New.
21693 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21694 (libc_feupdateenv_testf): New.
21695 (libc_feupdateenv): Use libc_feupdateenv_test.
21696 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21697 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21698
eb92c487
RH
21699 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21700 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21701 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21702 (libc_feresetround_noex): New.
21703 (libc_feresetround_noexf): New.
21704 (libc_feresetround_noexl): New.
21705 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21706 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21707 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21708 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21709 SET_RESTORE_ROUND.
21710 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21711 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21712 (__cos): Likewise.
21713 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21714 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21715 SET_RESTORE_ROUND_NOEX.
21716 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21717 SET_RESTORE_ROUND_NOEXF.
21718 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21719 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21720 (libc_feholdsetroundf): New.
21721 (libc_feresetround, libc_feresetroundf): New.
21722
7d2e8012
RH
21723 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21724 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21725 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21726
b4dabbb4
RH
21727 * sysdeps/generic/math_private.h: Include <fenv.h>.
21728 (default_libc_feholdexcept): New.
21729 (default_libc_feholdexcept_setround): New.
21730 (default_libc_fesetenv, default_libc_feupdateenv): New.
21731 (libc_feholdexcept): Only define if undefined.
21732 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21733 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21734 (libc_feholdexcept_setroundl): Likewise.
21735 (libc_feholdexcept_setround_53bit): Likewise.
21736 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21737 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21738 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21739 (libc_feupdateenv_53bit): Likewise.
21740 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21741 (libc_feholdexcept): Convert from macro to inline function.
21742 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21743 (libc_fesetenv, libc_feupdateenv): Likewise.
21744
4851a949
RH
21745 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21746 not previously defined.
21747 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21748 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21749 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21750 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21751 * sysdeps/ieee754/flt-32/math_private.h: New file.
21752 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21753 math_private.h below SET_FLOAT_WORD.
21754 (__isnan, __isinf_ns, __finite): Remove.
21755 (__isnanf, __isinf_nsf, __finitef): Remove.
21756
e79d442e
AS
217572012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21758
21759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21760
90b80344
DM
217612012-03-17 David S. Miller <davem@davemloft.net>
21762
21763 [BZ #6471]
21764 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21765 for 2.16.
21766
edc21804
DM
217672012-03-16 David S. Miller <davem@davemloft.net>
21768
77e927af
DM
21769 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21770 warnings.
21771
374976dd
DM
21772 [BZ #6471]
21773 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21774 properly.
21775 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21776 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21777 sysdep_routines when subdir is sysvipc.
21778 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21779 __getshmlba helper.
21780
edc21804
DM
21781 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21782
473c3ef3
L
217832012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21784
21785 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21786 [__LP64__].
21787
eb0f39b6
L
217882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21789
21790 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21791 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21792 (__lround): Renamed to ...
21793 (__llround): This. Replace long int with long long int.
21794 Define lround functions as aliases of llround functions.
21795 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21796
6b6cd74b
L
217972012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21798
21799 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21800 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
21801 adresses to uintptr_t. Replace "long int" and "unsigned long
21802 int" with "greg_t" on va_arg.
21803
f1a77b01
L
218042012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21805
21806 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21807 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21808
21809 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21810 Move e_machine check before EI_CLASS check. Handle x32
21811 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21812 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21813 SKIP_EM_IA_64 and include
21814 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21815
21816 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21817 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21818 (add_system_dir): New macro.
21819
21820 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21821 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21822
11b90b9f
JM
218232012-03-16 Joseph Myers <joseph@codesourcery.com>
21824
c36e1d23
JM
21825 [BZ #2551]
21826 [BZ #2552]
21827 [BZ #2553]
21828 [BZ #2554]
21829 [BZ #2562]
21830 [BZ #2563]
21831 [BZ #2565]
21832 [BZ #2566]
21833 [BZ #2576]
21834 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21835 (y0): Likewise.
21836 * math/w_j0f.c (j0f): Likewise.
21837 (y0f): Likewise.
21838 * math/w_j0l.c (__j0l): Likewise.
21839 (__y0l): Likewise.
21840 * math/w_j1.c (j1): Likewise.
21841 (y1): Likewise.
21842 * math/w_j1f.c (j1f): Likewise.
21843 (y1f): Likewise.
21844 * math/w_j1l.c (__j1l): Likewise.
21845 (__y1l): Likewise.
21846 * math/w_jn.c (jn): Likewise.
21847 (yn): Likewise.
21848 * math/w_jnf.c (jnf): Likewise.
21849 (ynf): Likewise.
21850 * math/w_jnl.c (__jnl): Likewise.
21851 (__ynl): Likewise.
21852 * math/libm-test.inc (j0_test): Add more tests.
21853 (j1_test): Likewise.
21854 (jn_test): Likewise. Add trailing semicolon to existing test.
21855 (y0_test): Likewise.
21856 (y1_test): Likewise.
21857 * sysdeps/i386/fpu/libm-test-ulps: Update.
21858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21859
11b90b9f
JM
21860 [BZ #13851]
21861 [BZ #13854]
21862 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21863 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21864 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21865 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21866 (__tanl): Set errno for infinite argument.
21867 * sysdeps/i386/fpu/mptan.c: Remove.
21868 * sysdeps/i386/fpu/s_tan.S: Likewise.
21869 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21870 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21871 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21872 * math/libm-test.inc (tan_test): Add more tests and enable more
21873 tests for double and long double.
21874 * sysdeps/i386/fpu/libm-test-ulps: Update.
21875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21876
6a1bd2a1
JK
218772012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21878
21879 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21880 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21881
10a803e0
RM
218822012-03-16 Roland McGrath <roland@hack.frob.com>
21883
21884 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21885 * configure.in: Use it for both main tree and add-ons.
21886 * configure: Regenerated.
21887
f196c7f7
L
218882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21889
21890 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21891
8848d99d
JM
218922012-03-16 Joseph Myers <joseph@codesourcery.com>
21893
96cbe7f4
JM
21894 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21895 in comment.
21896
8848d99d
JM
21897 [BZ #13851]
21898 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21899 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21900 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21901 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21902 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21903 infinite argument.
21904 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21905 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21906 != 0 for prec == 2.
21907 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21908 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21909 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21910 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21911 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21912 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21913 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21914 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21915 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21916 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21917 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21918 * math/libm-test.inc (cos_test): Add more tests and enable more
21919 tests for long double.
21920 (sin_test): Likewise.
21921 (sincos_test): Likewise.
21922 * sysdeps/i386/fpu/libm-test-ulps: Update.
21923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21924
dd7f4703
DM
219252012-03-16 David S. Miller <davem@davemloft.net>
21926
21927 * sysdeps/sparc/fpu/math_private.h: New file.
21928
006f1daa
DM
219292012-03-15 David S. Miller <davem@davemloft.net>
21930
c0c83bc8
DM
21931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21932 file.
e6a62e18 21933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
21934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21935 file.
e6a62e18
DM
21936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21937 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21938 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21939 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21940 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21941 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21942 sysdep routines.
21943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21944
88cb87d9
DM
21945 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21946 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21947
006f1daa 21948 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
21949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21950 sparc-ifunc.h
006f1daa 21951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
21952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21953 Likewise.
21954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21955 Likewise.
006f1daa
DM
21956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
21959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21960 Likewise.
006f1daa
DM
21961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
21965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21966 Likewise.
21967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21968 Likewise.
006f1daa
DM
21969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21973 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21974 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21975 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21976 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21977 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21978 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21979 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21980 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21981 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21982 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21983 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21984 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21985 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21986 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21987 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21988 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21989 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21990 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21991 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21992 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21993
11e0098e
AS
219942012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21995
21996 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21997 scaling.
21998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21999
e85b09d0
AJ
220002012-03-15 Andreas Jaeger <aj@suse.de>
22001
22002 [BZ #13852]
22003 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22004 ieee754/flt-32 implementation for sin, cos and sincos.
22005 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22006 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22007 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22008 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22009 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22010 ieee754/flt-32 implementation for tan.
22011
22012 * math/libm-test.inc (cos_test): Enable some large input tests for
22013 float as well
22014 (sin_test): Likewise.
22015 (sincos_test): Likewise.
22016 (tan_test): Add tests for large input.
22017
22018 * sysdeps/i386/fpu/libm-test-ulps: Update.
22019
81c64153
AJ
220202012-03-15 Andreas Jaeger <aj@suse.de>
22021
22022 [BZ #13658]
22023 * math/libm-test.inc (cos_test): Add more test cases.
22024 (sin_test): Likewise.
22025 (sincos_test): Likewise.
22026
7bbfa5c6
AJ
220272012-03-15 Andreas Jaeger <aj@suse.de>
22028
22029 [BZ #13837]
22030 * math/libm-test.inc (cos_test): Add a test case for large input
22031 value.
22032 (sin_test): Likewise.
22033 (sincos_test): Likewise.
22034
220352012-03-15 Andreas Jaeger <aj@suse.de>,
22036 Joseph Myers <joseph@codesourcery.com>
22037
22038 [BZ #13658]
0671f479 22039 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
22040 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22041 * sysdeps/i386/fpu/branred.c: Likewise.
22042 * sysdeps/i386/fpu/dosincos.c: Likewise.
22043 * sysdeps/i386/fpu/mpa.c: Likewise.
22044 * sysdeps/i386/fpu/s_cos.S: Likewise.
22045 * sysdeps/i386/fpu/s_sin.S: Likewise.
22046 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22047 * sysdeps/i386/fpu/sincos32.c: Likewise.
22048
22049 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22050 Define.
22051 (libc_feupdateenv_53bit): Define.
22052 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22053 Define.
22054 (libc_feupdateenv_53bit): Define.
22055
22056 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22057 53 bit (without extend i386 double precision).
22058
22059 * math/libm-test.inc (sincos_test): Add tests for large input.
22060 (sin): Likewise.
22061 (cos): Likewise.
22062
22063 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22064
9cad04ea
AS
220652012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22066
22067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22068
f7062b9a
DM
220692012-03-15 David S. Miller <davem@davemloft.net>
22070
22071 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22072 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22073 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22074 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22079 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22080 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22081 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22082 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22083 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22084 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22085 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
22086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22087 file.
f7062b9a 22088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
22089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22090 file.
f7062b9a 22091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
22092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22093 file.
f7062b9a 22094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
22095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22096 file.
f7062b9a
DM
22097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22098 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22099 fmin/fmax sysdep routines.
22100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22101
7bd951ff
DM
221022012-03-14 David S. Miller <davem@davemloft.net>
22103
559398ab
DM
22104 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22105 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22106 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22107 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22108 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22109 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22110 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22111 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22112 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22113 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22114 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22115 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22116 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22117 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22118 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22119 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22120 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22121 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22122 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22123 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22124 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22125 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22126 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22127 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22128 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22129 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22130 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22131 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22132 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22133 routines.
22134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22135 file.
559398ab 22136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
22137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22138 file.
559398ab 22139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
22140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22141 file.
559398ab 22142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
22143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22144 file.
559398ab 22145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
22146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22147 file.
559398ab 22148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
22149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22150 file.
22151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22152 file.
22153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22154 file.
22155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22156 file.
22157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22158 New file.
22159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22160 file.
22161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22162 file.
559398ab 22163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
22164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22165 file.
559398ab 22166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22168 file.
559398ab 22169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
22170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22171 file.
559398ab 22172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
22173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22174 VIS3 routines.
559398ab
DM
22175
22176 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22177 New file.
22178
5a1c1e32
DM
22179 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22180
eae47a36
DM
22181 * sysdeps/sparc/configure.in: New file.
22182 * sysdeps/sparc/configure: Generate.
22183 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22184 * configure: Regenerate.
22185 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22186 * config.make.in (have-as-vis3): New.
22187 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22188 available use -Av9d instead of -Av9a.
22189 * sysdeps/sparc/sparc64/Makefile: Likewise.
22190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
22191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22192 New file.
22193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22194 file.
22195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22196 New file.
22197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22198 file.
eae47a36
DM
22199 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22200 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22201 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22202 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22203 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22204
c0c83bc8
DM
22205 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22206 fzeros/fnegs to load 0x80000000 into a float register instead of
22207 using the stack.
7bd951ff
DM
22208 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22209
bd951ccb
JM
222102012-03-14 Joseph Myers <joseph@codesourcery.com>
22211
22212 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22213 bits/syscall.h.
22214 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22215 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22216 ($(inst_includedir)/bits/syscall.h): Remove rule.
22217 ($(objpfx)bits/syscall.d): Include instead of
22218 $(objpfx)syscall-list.d.
22219 (generated): Change syscall-list.h and syscall-list.d to
22220 bits/syscall.h and bits/syscall.d.
22221
bb4e6db2
RM
222222012-03-14 Roland McGrath <roland@hack.frob.com>
22223
22224 [BZ #13846]
22225 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22226
aa4a2ae1
JM
222272012-03-14 Joseph Myers <joseph@codesourcery.com>
22228
e456826d
JM
22229 [BZ #13841]
22230 * math/s_csqrt.c: Include <float.h>.
22231 (__csqrt): Scale large or subnormal inputs.
22232 * math/s_csqrtf.c: Likewise.
22233 * math/s_csqrtl.c: Likewise.
22234 * math/libm-test.inc (csqrt_test): Add more tests.
22235 * sysdeps/i386/fpu/libm-test-ulps: Update.
22236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22237
aa4a2ae1
JM
22238 [BZ #13840]
22239 * math/libm-test.inc (hypot_test): Add more tests.
22240
7c10fd35
DM
222412012-03-13 David S. Miller <davem@davemloft.net>
22242
22243 [BZ #13840]
22244 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22245 double-precision for the calculation instead of scaling.
22246
f453b98b
JM
222472012-03-13 Joseph Myers <joseph@codesourcery.com>
22248
22249 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22250 manipulate bits before adding and subtracting TWO52[sx].
22251 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22252 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22253 Likewise.
22254 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22255
09a3453f
DM
222562012-03-13 David S. Miller <davem@davemloft.net>
22257
8e59da90
DM
22258 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22259 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22260 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22261 rtld-global-offsets.h
22262 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22263
2a8ab7f2
DM
22264 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22265 large parameters.
22266
10f62770
DM
22267 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22268
5f0bdb18
DM
22269 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22270 'err' in the ifdef scope in which it is actually used.
22271
09a3453f
DM
22272 * nss/nss_db/db-init.c: Include string.h
22273
b4b2eb5e
DM
222742012-03-12 David S. Miller <davem@davemloft.net>
22275
98bb2f1c
DM
22276 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22277 masking out of the most significant byte of random value used.
22278 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22279 Fix coding style in previous change.
22280
b4b2eb5e
DM
22281 * sysdeps/unix/sysv/linux/kernel-features.h
22282 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22283 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22284 expression.
22285 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22286 later.
22287
6e226b09
DM
222882012-03-11 David S. Miller <davem@davemloft.net>
22289
a1bcbd40
DM
22290 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22291 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22292 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22293 for 'resultvar' otherwise things get truncated on 64-bit.
22294
cb9d6174
DM
22295 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22296 Fix masking out of the most significant byte of random value used.
22297
6e226b09
DM
22298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22299
058c132d
AS
223002012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22301
22302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22303
2d2cd515
DM
223042012-03-09 David S. Miller <davem@davemloft.net>
22305
22306 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22307 variables with appropriate CPP guards.
22308 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22309 frame pointer, not the stack pointer. Correct layout comments. Fix test
22310 on resulting framesize and the management of the outregs buffer for pltexit.
22311 Preserve floating point return values across _dl_call_pltexit call.
22312 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22313 framesize and the management of the outregs buffer for pltexit.
22314 Preserve floating point return values across _dl_call_pltexit
22315 call.
22316 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22317 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22318 (print_exit): Fix format string for return register value.
22319
9a07f9d0
JM
223202012-03-10 Joseph Myers <joseph@codesourcery.com>
22321
22322 * sunrpc/Makefile (others): Add rpcgen.
22323 ($(objpfx)rpcgen): Remove special build rule and dependency on
22324 libc.
22325 * sunrpc/rpcgen.c: New file.
22326
547b5e30
PE
223272012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22328
c524201a
PE
22329 [BZ #13673]
22330 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22331 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22332 * sysdeps/i386/crti.S: Likewise.
22333 * sysdeps/i386/crtn.S: Likewise.
22334 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22335 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22336 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22337 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22338 * sysdeps/sh/crti.S: Likewise.
22339 * sysdeps/sh/crtn.S: Likewise.
22340 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22341
7b6235f2
PE
22342 [BZ #13673]
22343 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22344 with URL.
22345 * locale/programs/locfile-kw.gperf: Likewise.
22346 * locale/programs/charmap-kw.h: Regenerated.
22347 * locale/programs/locfile-kw.h: Likewise.
22348
547b5e30
PE
22349 [BZ #13673]
22350 * intl/plural.y: Replace FSF snail mail address with URL.
22351 * intl/plural.c: Regenerated.
22352
5f0a5dae
RH
223532012-03-09 Richard Henderson <rth@twiddle.net>
22354
22355 * include/math_private.h: Remove file.
22356 * math/math_private.h: Move file ...
22357 * sysdeps/generic/math_private.h: ... here.
22358
b8c03620
RH
22359 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22360 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22361 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22362
4e234f5d 22363 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
22364 and <math_private.h>.
22365 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22366 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22367 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22368 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22369 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22370 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22371 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22372 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22373 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22374 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22375 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22376 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22377 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22378 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22379 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22380 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22381 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22382 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22383 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22384 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22385 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22386 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22387 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22388 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22389 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22390 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22391 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22392 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22393 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22394 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22395 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22396 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22397 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22398 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22399 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22400 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22401 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22402 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22403 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22404 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22405 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22406 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22407 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22408 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22409 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22410 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22411 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22412 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22413 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22414 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22415 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22416 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22417 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22418 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22419 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22420 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22421 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22422 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22423 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22424 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22425 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22426 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22427 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22428 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22429 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22430 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22431 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22432 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22433 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22434 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22435 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22436 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22437 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22438 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22439 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22440 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22441 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22442 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22443 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22444 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22445 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22446 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22447 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22448 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22449 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22450 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22451 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22452 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22453 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22454 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22455 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22456 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22457 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22458 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22459 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22460 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22461 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22462 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22463 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22464 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22465 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22466 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22467 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22468 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22469 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22470 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22471 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22472 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22473 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22474 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22475 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22476 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22477 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22478 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22479 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22480 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22481 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22482 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22483 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22484 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22485 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22486 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22487 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22488 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22489 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22490 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22491 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22492 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22493 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22494 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22495 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22496 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22497 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22498 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22499 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22500 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22501 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22502 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22503 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22504 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22505 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22506 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22507 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22508 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22509 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22510 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22511 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22512 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22513 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22514 * sysdeps/ieee754/k_standard.c: Likewise.
22515 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22516 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22517 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22518 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22519 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22520 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22521 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22522 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22523 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22524 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22525 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22526 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22527 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22528 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22529 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22530 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22531 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22532 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22533 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22534 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22535 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22536 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22537 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22538 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22539 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22540 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22541 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22542 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22543 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22544 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22545 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22546 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22547 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22548 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22549 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22550 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22551 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22552 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22553 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22554 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22555 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22556 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22557 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22558 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22559 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22560 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22561 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22562 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22563 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22564 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22565 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22566 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22567 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22568 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22569 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22570 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22571 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22572 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22573 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22574 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22575 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22576 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22577 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22578 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22579 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22580 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22581 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22582 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22583 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22584 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22585 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22586 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22587 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22588 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22589 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22590 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22591 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22592 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22593 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22594 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22595 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22596 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22597 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22598 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22599 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22600 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22601 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22602 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22603 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22604 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22605 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22606 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22607 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22608 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22609 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22610 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22611 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22612 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22613 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22614 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22615 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22616 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22617 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22618 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22619 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22620 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22621 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22622 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22623 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22624 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22625 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22626 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22627 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22628 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22629 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22630 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22631 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22632 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22633 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22634 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22635 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22636 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22637 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22638 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22639 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22640 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22641 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22642 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22643 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22644 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22645 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22646 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22647 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22648 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22649 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22650 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22651 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22652 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22653 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22654 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22655 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22656 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22657 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22658 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22659 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22660 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22661 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22662 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22663 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22664 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22665 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22666 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22667 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22668 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22669 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22670 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22671 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22672 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22673 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22674 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22675 * sysdeps/ieee754/s_lib_version.c: Likewise.
22676 * sysdeps/ieee754/s_matherr.c: Likewise.
22677 * sysdeps/ieee754/s_signgam.c: Likewise.
22678 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22679 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22680 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22681 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22682 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22683 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22684 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22685 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22686 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22687 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22688 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22689 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22690 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22691 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22692 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22693 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22694 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22695 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22696 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22697 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22698 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 22699
1991fa03
JM
227002012-03-09 Joseph Myers <joseph@codesourcery.com>
22701
22702 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22703 * sunrpc/rpc_main.c: Likewise.
22704 * sunrpc/rpc_svcout.c: Likewise.
22705
60d6f5a6
DM
227062012-03-09 David S. Miller <davem@davemloft.net>
22707
22708 * include/math_private.h: New file.
22709
4962050e
JM
227102012-03-09 Joseph Myers <joseph@codesourcery.com>
22711
02a6f887
JM
22712 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22713 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22714 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22715 from <bits/socket_type.h>.
22716 (enum __socket_type): Don't define here.
22717 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22718 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22719 bits/socket_type.h.
22720
c6e013c1
JM
22721 [BZ #13566]
22722 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22723 checking __USE_GNU.
22724
4962050e
JM
22725 * Makerules ($(inst_includedir)/%.h): New rule.
22726 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22727 (install-others): Remove variable setting.
22728 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22729
38842f45
RH
227302012-03-08 Richard Henderson <rth@twiddle.net>
22731
67bb6da6
RH
22732 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22733 from macro to inline function; merge with the
22734 !__LIBC_INTERNAL_MATH_INLINES version.
22735 (__ieee754_sqrtf): Likewise.
22736
15194b4b
RH
22737 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22738 to inline function.
22739 (__rintf, __floor, __floorf): Likewise.
22740
64e21ede
RH
22741 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22742 macro to inline function.
22743 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22744
38842f45
RH
22745 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22746 not <math/math_private.h>.
22747
c64bf5fe
DM
227482012-03-08 David S. Miller <davem@davemloft.net>
22749
22750 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22751 copyright year.
22752 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22753
82d86f28
TS
227542012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22755
22756 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22757 normalization.
22758 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22759 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22760
aea5d727
UD
227612012-03-08 Ulrich Drepper <drepper@gmail.com>
22762
22763 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22764 be defined individually, they must be defined as a block. Define
22765 S for printing a string instead of hidint the different by using a
22766 macro for adding the 'l'.
22767 * stdio-common/tst-fphex-wide.c: Adjust.
22768
70bca0a3
MP
227692012-03-07 Marek Polacek <polacek@redhat.com>
22770
22771 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22772
65b81130
MP
227732012-03-08 Marek Polacek <polacek@redhat.com>
22774
22775 [BZ #13806]
22776 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22777 * stdio-common/tst-fphex.c: Define a few macros to make the
22778 test reusable. Use them.
22779 * stdio-common/tst-fphex-wide.c: New file.
22780
07037eeb
JM
227812012-03-08 Joseph Myers <joseph@codesourcery.com>
22782
a7a93d50
JM
22783 [BZ #6911]
22784 * manual/macros.texi (gnusystems): New macro.
22785 (nongnusystems): Likewise.
22786 (gnulinuxhurdsystems): Likewise.
22787 (gnuhurdsystems): Likewise..
22788 (gnulinuxsystems): Likewise.
22789 * manual/charset.texi: Use new macros or @theglibc{} to refer to
22790 variants of the GNU system, not "GNU system".
22791 * manual/conf.texi: Likewise.
22792 * manual/errno.texi: Likewise. Update example of errno macro
22793 expansion.
22794 * manual/filesys.texi: Likewise.
22795 (getumask): Document as specific to GNU/Hurd.
22796 * manual/install.texi: Likewise. Reword some references to
22797 GNU/Linux.
22798 * manual/intro.texi: Likewise.
22799 * manual/io.texi: Likewise.
22800 (File Name Portability): Detail which constraints are inapplicable
22801 to all GNU systems and which are only inapplicable to GNU/Hurd.
22802 * manual/job.texi: Likewise.
22803 * manual/llio.texi: Likewise.
22804 (O_NOCTTY): Document as present on GNU/Linux.
22805 * manual/maint.texi: Likewise.
22806 * manual/memory.texi: Likewise.
22807 * manual/pattern.texi: Likewise.
22808 * manual/pipe.texi: Likewise.
22809 * manual/process.texi: Likewise.
22810 * manual/resource.texi: Likewise.
22811 (RUSAGE_CHILDREN): Remove statement about specifying a particular
22812 child on GNU/Hurd.
22813 * manual/setjmp.texi: Likewise.
22814 * manual/signal.texi: Likewise.
22815 * manual/startup.texi: Likewise.
22816 * manual/stdio.texi: Likewise.
22817 * manual/terminal.texi: Likewise.
22818 (ONLCR): Document as POSIX.
22819 (OXTABS): Document availability on GNU/Linux as XTABS.
22820 (ONOEOT): Document availability separately from other bits.
22821 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22822 * manual/time.texi: Likewise.
22823 * manual/users.texi: Likewise.
22824 * INSTALL: Regenerated.
22825 * sysdeps/gnu/errlist.c: Regenerated.
22826
07037eeb
JM
22827 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22828 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22829 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22830 puts.
22831 * configure: Regenerated.
22832
d1d3431a
JM
228332012-03-07 Joseph Myers <joseph@codesourcery.com>
22834
af6a1e37
JM
22835 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22836 default includes instead of AC_HEADER_CHECK.
22837 * sysdeps/i386/configure: Regenerated.
22838
d1d3431a
JM
22839 [BZ #10716]
22840 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22841 * math/s_cacoshf.c (__cacoshf): Likewise.
22842 * math/s_cacoshl.c (__cacoshl): Likewise.
22843 * math/s_casinh.c (__casinh): Set signs of result from argument.
22844 * math/s_casinhf.c (__casinhf): Likewise.
22845 * math/s_casinhl.c (__casinhl): Likewise.
22846 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22847 (casinh_test): Add more tests.
22848 * sysdeps/i386/fpu/libm-test-ulps: Update.
22849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22850
482ff4da
UD
228512012-03-07 Ulrich Drepper <drepper@gmail.com>
22852
872fda05
UD
22853 * po/zh_TW.po: Update from translation team.
22854
a4300c7a
UD
22855 * login/Makefile (distribute): Remove variable.
22856 * catgets/Makefile: Likewise.
22857 * mach/Makefile: Likewise.
22858 * malloc/Makefile: Likewise.
22859 * misc/Makefile: Likewise.
22860 * iconv/Makefile: Likewise.
22861 * nscd/Makefile: Likewise.
22862 * hurd/Makefile: Likewise.
22863 * manual/Makefile: Likewise.
22864 * locale/Makefile: Likewise.
22865 * intl/Makefile: Likewise.
22866 * conform/Makefile: Likewise.
22867 * nss/Makefile: Likewise.
22868 * time/Makefile: Likewise.
22869 * soft-fp/Makefile: Likewise.
22870 * dirent/Makefile: Likewise.
22871 * gmon/Makefile: Likewise.
22872 * po/Makefile: Likewise.
22873 * rt/Makefile: Likewise.
22874 * socket/Makefile: Likewise.
22875 * math/Makefile: Likewise.
22876 * signal/Makefile: Likewise.
22877 * debug/Makefile: Likewise.
22878 * elf/Makefile: Likewise.
22879 * timezone/Makefile: Likewise.
22880 * stdlib/Makefile: Likewise.
22881 * iconvdata/Makefile: Likewise.
22882 * sunrpc/Makefile: Likewise.
22883 * io/Makefile: Likewise.
22884 * argp/Makefile: Likewise.
22885 * inet/Makefile: Likewise.
22886 * hesiod/Makefile: Likewise.
22887 * grp/Makefile: Likewise.
22888 * csu/Makefile: Likewise.
22889 * wctype/Makefile: Likewise.
22890 * crypt/Makefile: Likewise.
22891 * libio/Makefile: Likewise.
22892 * string/Makefile: Likewise.
22893 * nis/Makefile: Likewise.
22894 * resolv/Makefile: Likewise.
22895 * stdio-common/Makefile: Likewise.
22896 * wcsmbs/Makefile: Likewise.
22897 * dlfcn/Makefile: Likewise.
22898 * posix/Makefile: Likewise.
22899
3b7c4e74 22900 [BZ #6959]
482ff4da
UD
22901 * timezone/Makefile: Don't install timezone files, just the programs
22902 and scripts.
22903
f72ed77d
UD
229042012-03-06 Ulrich Drepper <drepper@gmail.com>
22905
a000466f
UD
22906 * nss/databases.def: Add missing gshadow entry.
22907
f72ed77d
UD
22908 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22909
a53b7a4e
MP
229102012-03-06 Marek Polacek <polacek@redhat.com>
22911
22912 [BZ #13726]
22913 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22914 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22915 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22916 * stdio-common/tst-long-dbl-fphex.c: New file.
22917
e9258400
DM
229182012-03-06 David S. Miller <davem@davemloft.net>
22919
22920 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22921 (set_obp_int): New function.
22922 (get_obp_int): New function.
22923 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
22924 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22925 Avoid unused variable warnings on 'val' and use builtin_expect.
22926 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22927 __builtin_expect.
e9258400
DM
22928 (INLINE_CLONE_SYSCALL): Likewise.
22929
3bd2c723
DM
229302012-03-05 David S. Miller <davem@davemloft.net>
22931
22932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22933
bbb78d03
AS
229342012-03-05 Andreas Schwab <schwab@linux-m68k.org>
22935
884c5db4
AS
22936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22937
bbb78d03
AS
22938 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22939 only for |x| >= 40.
22940 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22941
1c9f702a 229422012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
22943
22944 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22945 Replace gettimeofday with __vdso_gettimeofday.
22946
7be16f82
RM
22947 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22948 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22949 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
22950
22951 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22952 time with __vdso_time.
22953
ed58a00f
JM
229542012-03-05 Joseph Myers <joseph@codesourcery.com>
22955
22956 * manual/lang.texi (size_t): Note types to which size_t may be
22957 equivalent with the GNU C Library, but do not describe when
22958 differences between them are significant.
22959
30ee4ced
AJ
229602012-03-05 Andreas Jaeger <aj@suse.de>
22961
22962 * sysdeps/i386/fpu/libm-test-ulps: Update.
22963
b7cd39e8
JM
229642012-03-05 Joseph Myers <joseph@codesourcery.com>
22965
22966 [BZ #3976]
22967 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22968 (__ieee754_pow): Save and restore rounding mode and use
22969 round-to-nearest for main computations.
22970 * math/libm-test.inc (pow_test_tonearest): New function.
22971 (pow_test_towardzero): Likewise.
22972 (pow_test_downward): Likewise.
22973 (pow_test_upward): Likewise.
22974 (main): Call the new functions.
22975 * sysdeps/i386/fpu/libm-test-ulps: Update.
22976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
22977
22978 [BZ #3976]
22979 * math/libm-test.inc (cosh_test_tonearest): New function.
22980 (cosh_test_towardzero): Likewise.
22981 (cosh_test_downward): Likewise.
22982 (cosh_test_upward): Likewise.
22983 (sinh_test_tonearest): Likewise.
22984 (sinh_test_towardzero): Likewise.
22985 (sinh_test_downward): Likewise.
22986 (sinh_test_upward): Likewise.
22987 (main): Call the new functions.
22988 * sysdeps/i386/fpu/libm-test-ulps: Update.
22989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22990
6c6a98c9
TV
229912012-03-05 Tom de Vries <tom@codesourcery.com>
22992
22993 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22994 default stack guard is set in last bytes.
22995 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22996
21bb2d2e 229972012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 22998
21bb2d2e 22999 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 23000
21bb2d2e
AJ
23001 [BZ #13656]
23002 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23003 possibly allocate from heap instead of stack.
23004 * stdio-common/bug-vfprintf-nargs.c: New file.
23005 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 23006
c6922934
AS
230072012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23008
23009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23010
bc957d53
MP
230112012-03-03 Marek Polacek <polacek@redhat.com>
23012
23013 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23014 * math/math_private.h: Likewise.
23015 * stdlib/tst-strtod.c: Likewise.
23016 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23017 * sysdeps/x86_64/bits/atomic.h: Likewise.
23018
6358490d
DM
230192012-03-02 David S. Miller <davem@davemloft.net>
23020
23021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23025 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23026 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23027 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23028 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23029
01ae168d
RM
230302012-03-02 Roland McGrath <roland@hack.frob.com>
23031
d9a17c07
RM
23032 [BZ #13792]
23033 * manual/examples/README: New file, says the example source files
23034 can be used under GPL>=2.
23035 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23036 line containing just "*/".
23037 * manual/examples/add.c: Add copyright header (GPL>=2).
23038 * manual/examples/argp-ex1.c: Likewise.
23039 * manual/examples/argp-ex2.c: Likewise.
23040 * manual/examples/argp-ex3.c: Likewise.
23041 * manual/examples/argp-ex4.c: Likewise.
23042 * manual/examples/atexit.c: Likewise.
23043 * manual/examples/db.c: Likewise.
23044 * manual/examples/dir.c: Likewise.
23045 * manual/examples/dir2.c: Likewise.
23046 * manual/examples/execinfo.c: Likewise.
23047 * manual/examples/filecli.c: Likewise.
23048 * manual/examples/filesrv.c: Likewise.
23049 * manual/examples/fmtmsgexpl.c: Likewise.
23050 * manual/examples/genpass.c: Likewise.
23051 * manual/examples/inetcli.c: Likewise.
23052 * manual/examples/inetsrv.c: Likewise.
23053 * manual/examples/isockad.c: Likewise.
23054 * manual/examples/longopt.c: Likewise.
23055 * manual/examples/memopen.c: Likewise.
23056 * manual/examples/memstrm.c: Likewise.
23057 * manual/examples/mkfsock.c: Likewise.
23058 * manual/examples/mkisock.c: Likewise.
23059 * manual/examples/mygetpass.c: Likewise.
23060 * manual/examples/pipe.c: Likewise.
23061 * manual/examples/popen.c: Likewise.
23062 * manual/examples/rprintf.c: Likewise.
23063 * manual/examples/search.c: Likewise.
23064 * manual/examples/select.c: Likewise.
23065 * manual/examples/setjmp.c: Likewise.
23066 * manual/examples/sigh1.c: Likewise.
23067 * manual/examples/sigusr.c: Likewise.
23068 * manual/examples/stpcpy.c: Likewise.
23069 * manual/examples/strdupa.c: Likewise.
23070 * manual/examples/strftim.c: Likewise.
23071 * manual/examples/strncat.c: Likewise.
23072 * manual/examples/subopt.c: Likewise.
23073 * manual/examples/swapcontext.c: Likewise.
23074 * manual/examples/termios.c: Likewise.
23075 * manual/examples/testopt.c: Likewise.
23076 * manual/examples/testpass.c: Likewise.
23077 * manual/examples/timeval_subtract.c: Likewise.
23078
01ae168d
RM
23079 [BZ #13792]
23080 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23081 function to ...
23082 * manual/timeval_subtract.c.texi: ... here, new file.
23083
49efa33d
DM
230842012-03-02 David S. Miller <davem@davemloft.net>
23085
23086 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23087
28afd92d
JM
230882012-03-02 Joseph Myers <joseph@codesourcery.com>
23089
804360ed
JM
23090 [BZ #3976]
23091 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23092 (__sin): Save and restore rounding mode and use round-to-nearest
23093 for all computations.
23094 (__cos): Save and restore rounding mode and use round-to-nearest
23095 for all computations.
23096 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23097 <fenv.h>.
23098 (tan): Save and restore rounding mode and use round-to-nearest for
23099 all computations.
23100 * math/libm-test.inc (cos_test_tonearest): New function.
23101 (cos_test_towardzero): Likewise.
23102 (cos_test_downward): Likewise.
23103 (cos_test_upward): Likewise.
23104 (sin_test_tonearest): Likewise.
23105 (sin_test_towardzero): Likewise.
23106 (sin_test_downward): Likewise.
23107 (sin_test_upward): Likewise.
23108 (tan_test_tonearest): Likewise.
23109 (tan_test_towardzero): Likewise.
23110 (tan_test_downward): Likewise.
23111 (tan_test_upward): Likewise.
23112 (main): Call the new functions.
23113 * sysdeps/i386/fpu/libm-test-ulps: Update.
23114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23115
a6d06d7b
JM
23116 [BZ #10135]
23117 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23118 small n, then large n, before computing and testing k+n.
23119 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23120 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23121 Likewise.
23122 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23123 Likewise.
23124 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23125 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23126 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23127 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23128 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23129 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23130 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23131 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23132 * math/libm-test.inc (scalbn_test): Add more tests.
23133 (scalbln_test): Likewise.
23134
07e12bb3
JM
23135 * manual/filesys.texi (mode_t): Describe constraints on size and
23136 signedness, not exact equivalence to a particular type.
23137 (ino_t): Likewise.
23138 (ino64_t): Likewise.
23139 (dev_t): Likewise.
23140 (nlink_t): Likewise.
23141 (blkcnt_t): Likewise.
23142 (blkcnt64_t): Likewise.
23143 * manual/llio.texi (off_t): Likewise.
23144
28afd92d
JM
23145 [BZ #3976]
23146 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23147 (__ieee754_exp): Save and restore rounding mode and use
23148 round-to-nearest for all computations.
23149 * math/libm-test.inc (exp_test_tonearest): New function.
23150 (exp_test_towardzero): Likewise.
23151 (exp_test_downward): Likewise.
23152 (exp_test_upward): Likewise.
23153 (main): Call the new functions.
23154 * sysdeps/i386/fpu/libm-test-ulps: Update.
23155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23156
b1eeb65d
CD
231572012-03-01 Chris Demetriou <cgd@google.com>
23158
23159 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23160 have predictable order.
23161
53362a4b
DM
231622012-03-01 David S. Miller <davem@davemloft.net>
23163
3c969083
DM
23164 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23165
759707de
DM
23166 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23167 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23168 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23169 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23170
dfdb8ff2
DM
23171 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23172 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23173 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23175 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23176 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23177 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23178 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23179 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23180
ead89f96
DM
23181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23182
7f66bd07
DM
23183 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23184 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23185 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23186
53362a4b
DM
23187 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23188 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23189 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23190 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23191 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23192 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23193 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23194 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23195 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23196 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23197 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23198 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23199 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23200 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23201 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23202 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23203 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23204 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23205 * sysdeps/sparc/elf/configure: Regenerated.
23206
7b1902cb
JM
232072012-03-01 Joseph Myers <joseph@codesourcery.com>
23208
bec039bc
JM
23209 * configure.in (AS, LD): Require binutils 2.20 or later.
23210 * configure: Regenerated.
23211 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23212 as required minimum version.
23213 * INSTALL: Regenerated.
23214
7b1902cb
JM
23215 [BZ #2541]
23216 [BZ #4108]
23217 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23218 before squaring exponent.
23219 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23220 bottom long double and 27 bits of top long double before squaring
23221 exponent.
23222 * math/libm-test.inc (erfc_test): Add more tests.
23223 * sysdeps/i386/fpu/libm-test-ulps: Update.
23224 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23226
f775c276
KT
232272012-03-01 Kai Tietz <ktietz@redhat.com>
23228
23229 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23230 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23231 containing bit-fields.
23232 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23233 * soft-fp/single.h (_FP_UNION_S): Likewise.
23234 * soft-fp/double.h (_FP_UNION_D): Likewise.
23235
5b8a4d4a
JM
232362012-02-29 Joseph Myers <joseph@codesourcery.com>
23237
0bab47b6
JM
23238 [BZ #13786]
23239 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23240 not include ../strcmp.S.
23241 [USE_AS_STRNCASECMP_L]: Likewise.
23242 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23243 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23244 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23245 (__strncasecmp_l_ia32): Define as alias to
23246 __strncasecmp_l_nonascii.
23247
0fcad3e2
JM
23248 [BZ #5794]
23249 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23250 * sysdeps/i386/fpu/libm-test-ulps: Update.
23251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23252
5b8a4d4a
JM
23253 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23255
8fdceb2e
JL
232562012-02-29 Jeff Law <law@redhat.com>
23257
23258 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23259 out of bounds read.
23260
1f393a11
MP
232612012-02-29 Marek Polacek <polacek@redhat.com>
23262
23263 [BZ #13706]
23264 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23265 * elf/Makefile: Add rules to run tst-unused-dep.out.
23266
8847f037
DM
232672012-02-28 David S. Miller <davem@davemloft.net>
23268
23269 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23270 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23271 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23272 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23273 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23274 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23275
169d7f11
JM
232762012-02-29 Joseph Myers <joseph@codesourcery.com>
23277
23278 * math/libm-test.inc (llround_test): Move one test from
23279 lround_test. Use TEST_f_L in moved test.
23280 (lround_test): Move misplaced test to llround_test. Add testcase
23281 from bug 2561.
23282
39adf059
UD
232832012-02-28 Ulrich Drepper <drepper@gmail.com>
23284
23285 * sysdeps/x86_64/fpu/e_expf.S: New file.
23286 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23287
71b5d1c5
SB
232882012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23289
23290 [BZ #13637]
23291 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23292 of remain_len that may cause incomplete multi-byte character and
23293 false match.
23294 * posix/bug-regex33.c: New file.
23295 * posix/Makefile (tests): Add bug-regex33.
23296
1f77f049
JM
232972012-02-28 Joseph Myers <joseph@codesourcery.com>
23298
23299 * manual/macros.texi: New file.
23300 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23301 * manual/libc.texinfo: Include macros.texi.
23302 * manual/creatute.texi: Likewise.
23303 * manual/install.texi: Likewise.
23304 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23305 @glibcadj{} in references to the GNU C Library.
23306 * manual/charset.texi: Likewise.
23307 * manual/conf.texi: Likewise.
23308 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23309 when not using those macros.
23310 * manual/creature.texi: Likewise.
23311 * manual/crypt.texi: Likewise.
23312 * manual/errno.texi: Likewise.
23313 * manual/filesys.texi: Likewise.
23314 * manual/header.texi: Likewise.
23315 * manual/install.texi: Likewise.
23316 * manual/intro.texi: Likewise.
23317 * manual/io.texi: Likewise.
23318 * manual/job.texi: Likewise.
23319 * manual/lang.texi: Likewise.
23320 * manual/libc.texiinfo: Likewise.
23321 * manual/llio.texi: Likewise.
23322 * manual/locale.texi: Likewise.
23323 * manual/maint.texi: Likewise.
23324 * manual/math.texi: Likewise.
23325 * manual/memory.texi: Likewise.
23326 * manual/message.texi: Likewise.
23327 * manual/nss.texi: Likewise.
23328 * manual/pattern.texi: Likewise.
23329 * manual/process.texi: Likewise.
23330 * manual/resource.texi: Likewise.
23331 * manual/search.texi: Likewise.
23332 * manual/setjmp.texi: Likewise.
23333 * manual/signal.texi: Likewise.
23334 * manual/socket.texi: Likewise.
23335 * manual/startup.texi: Likewise.
23336 * manual/stdio.texi: Likewise.
23337 * manual/string.texi: Likewise.
23338 * manual/sysinfo.texi: Likewise.
23339 * manual/syslog.texi: Likewise.
23340 * manual/terminal.texi: Likewise.
23341 * manual/time.texi: Likewise.
23342 * manual/users.texi: Likewise.
23343 * INSTALL: Regenerated.
23344 * NOTES: Regenerated.
d40c5d54 23345 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 23346
450bf206
AS
233472012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23348
23349 * include/dirent.h: Include <dirstream.h> before
23350 <dirent/dirent.h>.
23351
741a235b
DM
233522012-02-28 David S. Miller <davem@davemloft.net>
23353
23354 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23355 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23356 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23357 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23358
d6b5aa58
DM
233592012-02-27 David S. Miller <davem@davemloft.net>
23360
1aff59a3
DM
23361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23363 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23364 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23365
d6b5aa58
DM
23366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23367 frame pointer instead of stack pointer relative arg slot.
23368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23369 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23370 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23371
433f48bf
CD
233722012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23373
23374 [BZ #3992]
23375 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23376
d674b76d
DM
233772012-02-27 David S. Miller <davem@davemloft.net>
23378
23379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23383 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23384 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23385 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23386 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23387
0e7727f7
JM
233882012-02-27 Joseph Myers <joseph@codesourcery.com>
23389
23390 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23391 later. Allow versions 5-9.
43be4ca2 23392 * configure: Regenerated.
0e7727f7
JM
23393 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23394 required minimum version and 4.6 as recommended version. Do not
23395 mention bugs in GCC 2.7 and 2.8.
43be4ca2 23396 * INSTALL: Regenerated.
0e7727f7 23397
a78bc654
DM
233982012-02-27 David S. Miller <davem@davemloft.net>
23399
428d5830
DM
23400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23404 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23405 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23406 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23407 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23408
a78bc654
DM
23409 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23410 manipulate bits before adding and subtracting TWO112[sx].
23411 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23412
4579f81c
RM
234132012-02-27 Roland McGrath <roland@hack.frob.com>
23414
36c8acb4
RM
23415 [BZ #13775]
23416 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23417 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23418 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23419 being in POSIX, because they are in 1003.1-2008.
23420
84ad622b
RM
23421 * rt/tst-aio.c: Include <fcntl.h>.
23422 * rt/tst-aio7.c: Likewise.
23423 * rt/tst-aio64.c: Likewise.
23424
4579f81c
RM
23425 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23426
abd923db
JM
234272012-02-27 Joseph Myers <joseph@codesourcery.com>
23428
23429 * manual/install.texi (--with-headers): Describe headers as
23430 interface headers, not private headers.
23431 (Specific advice for GNU/Linux systems): Describe use of headers
23432 from "make headers_install", not private headers from older
23433 kernels.
43be4ca2 23434 * INSTALL: Regenerated.
abd923db
JM
23435 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23436 Change to 2.6.19.
23437 * sysdeps/unix/sysv/linux/configure: Regenerated.
23438
6664049b
JM
23439 * manual/llio.texi (fclean): Remove documentation.
23440
bb8b6697
JM
23441 * manual/Makefile (libc-texi-generated): New variable. Include
23442 version.texi.
23443 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23444 $(libc-texi-generated), not duplicated list of files.
23445 (version.texi, stamp-version): New rules.
23446 (realclean): Remove $(libc-texi-generated), not individual files
23447 from that list. Do not remove dir-add.texinfo.
23448 * manual/libc.texinfo: Comment out uses of edition numbers and
23449 references to printed manual. Remove last-updated dates.
23450 (EDITION): Comment out.
23451 (ISBN): Likewise.
23452 (VERSION, UPDATED): Remove.
23453 (version.texi): Include.
23454
12e5c3b9
AS
234552012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23456
23457 * sysdeps/posix/spawni.c: Include <signal.h>.
23458 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23459 * sysdeps/pthread/aio_fsync.c: Likewise.
23460
4efeffc1 234612012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 23462
ba63ba08
UD
23463 * conform/Makefile (tests): Run only when not cross-compiling and
23464 when fast-check is not defined.
23465
d94a4670
UD
23466 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23467 * conform/data/limits.h-data: Fixes for POSIX2008.
23468 * conform/run-conformtest.sh: Run all tests.
23469 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23470 headers.
23471 * include/bits/dlfcn.h: Likewise.
23472 * include/langinfo.h: Likewise.
23473 * include/monetary.h: Likewise.
23474 * include/sys/poll.h: Likewise.
23475
23476 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23477 for __USE_GNU.
23478 * posix/spawn.h: Define __need_sigset_t.
23479 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23480 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23481 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23482 to get sigevent_t only.
23483 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23484 only for __USE_GNU.
23485 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23486 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23487 process_vm_writev only for __USE_GNU.
23488 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
23489
23490 * conform/Makefile: For now ignore errors from run-conformtest.
23491 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23492 POSIX to avoid namespace pollution. Don't prepend headers.
23493 * conform/data/aio.h-data: Fixes for POSIX testing.
23494 * conform/data/fcntl.h-data: Likewise.
23495 * conform/data/glob.h-data: Likewise.
23496 * conform/data/grp.h-data: Likewise.
23497 * conform/data/pthread.h-data: Likewise.
23498 * conform/data/pwd.h-data: Likewise.
23499 * conform/data/signal.h-data: Likewise.
23500 * conform/data/spawn.h-data: Likewise.
23501 * conform/data/stdio.h-data: Likewise.
23502 * conform/data/stdlib.h-data: Likewise.
23503 * conform/data/stropts.h-data: Likewise.
23504 * conform/data/sys/mman.h-data: Likewise.
23505 * conform/data/sys/stat.h-data: Likewise.
23506 * conform/data/sys/types.h-data: Likewise.
23507 * conform/data/sys/wait.h-data: Likewise.
23508 * conform/data/time.h-data: Likewise.
23509 * conform/data/unistd.h-data: Likewise.
23510 * conform/data/utime.h-data: Likewise.
23511
23512 * io/sys/stat.h: fchmod was always in POSIX.
23513 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23514 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23515 * rt/aio.h: Define __need_timespec before including <time.h>.
23516 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23517 struct. Add forward declaration of pthread_attr_t and use it in
23518 sigevent.
23519 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23520 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23521 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23522 always remove CLK_TCK definition.
23523
c20105c3
AS
235242012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23525
23526 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23527
7a270350
UD
235282012-02-25 Ulrich Drepper <drepper@gmail.com>
23529
31341567
UD
23530 * conform/run-conformtest.sh: New file.
23531 * conform/Makefile: Run run-conformtest for tests.
23532 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23533 support.
23534
23535 * conform/data/uchar.h-data: New file.
23536 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23537 * conform/data/arpa/inet.h-data: Likewise.
23538 * conform/data/assert.h-data: Likewise.
23539 * conform/data/complex.h-data: Likewise.
23540 * conform/data/cpio.h-data: Likewise.
23541 * conform/data/ctype.h-data: Likewise.
23542 * conform/data/dirent.h-data: Likewise.
23543 * conform/data/dlfcn.h-data: Likewise.
23544 * conform/data/errno.h-data: Likewise.
23545 * conform/data/fcntl.h-data: Likewise.
23546 * conform/data/float.h-data: Likewise.
23547 * conform/data/fmtmsg.h-data: Likewise.
23548 * conform/data/fnmatch.h-data: Likewise.
23549 * conform/data/ftw.h-data: Likewise.
23550 * conform/data/glob.h-data: Likewise.
23551 * conform/data/grp.h-data: Likewise.
23552 * conform/data/iconv.h-data: Likewise.
23553 * conform/data/inttypes.h-data: Likewise.
23554 * conform/data/langinfo.h-data: Likewise.
23555 * conform/data/libgen.h-data: Likewise.
23556 * conform/data/limits.h-data: Likewise.
23557 * conform/data/locale.h-data: Likewise.
23558 * conform/data/math.h-data: Likewise.
23559 * conform/data/monetary.h-data: Likewise.
23560 * conform/data/mqueue.h-data: Likewise.
23561 * conform/data/ndbm.h-data: Likewise.
23562 * conform/data/net/if.h-data: Likewise.
23563 * conform/data/netdb.h-data: Likewise.
23564 * conform/data/netinet/in.h-data: Likewise.
23565 * conform/data/nl_types.h-data: Likewise.
23566 * conform/data/poll.h-data: Likewise.
23567 * conform/data/pthread.h-data: Likewise.
23568 * conform/data/pwd.h-data: Likewise.
23569 * conform/data/regex.h-data: Likewise.
23570 * conform/data/sched.h-data: Likewise.
23571 * conform/data/search.h-data: Likewise.
23572 * conform/data/semaphore.h-data: Likewise.
23573 * conform/data/setjmp.h-data: Likewise.
23574 * conform/data/signal.h-data: Likewise.
23575 * conform/data/spawn.h-data: Likewise.
23576 * conform/data/stdarg.h-data: Likewise.
23577 * conform/data/stdio.h-data: Likewise.
23578 * conform/data/stdlib.h-data: Likewise.
23579 * conform/data/string.h-data: Likewise.
23580 * conform/data/strings.h-data: Likewise.
23581 * conform/data/stropts.h-data: Likewise.
23582 * conform/data/sys/ipc.h-data: Likewise.
23583 * conform/data/sys/mman.h-data: Likewise.
23584 * conform/data/sys/msg.h-data: Likewise.
23585 * conform/data/sys/resource.h-data: Likewise.
23586 * conform/data/sys/select.h-data: Likewise.
23587 * conform/data/sys/sem.h-data: Likewise.
23588 * conform/data/sys/shm.h-data: Likewise.
23589 * conform/data/sys/socket.h-data: Likewise.
23590 * conform/data/sys/stat.h-data: Likewise.
23591 * conform/data/sys/statvfs.h-data: Likewise.
23592 * conform/data/sys/time.h-data: Likewise.
23593 * conform/data/sys/timeb.h-data: Likewise.
23594 * conform/data/sys/times.h-data: Likewise.
23595 * conform/data/sys/types.h-data: Likewise.
23596 * conform/data/sys/uio.h-data: Likewise.
23597 * conform/data/sys/un.h-data: Likewise.
23598 * conform/data/sys/utsname.h-data: Likewise.
23599 * conform/data/sys/wait.h-data: Likewise.
23600 * conform/data/syslog.h-data: Likewise.
23601 * conform/data/tar.h-data: Likewise.
23602 * conform/data/termios.h-data: Likewise.
23603 * conform/data/utime.h-data: Likewise.
23604 * conform/data/utmpx.h-data: Likewise.
23605 * conform/data/varargs.h-data: Likewise.
23606 * conform/data/wchar.h-data: Likewise.
23607 * conform/data/wctype.h-data: Likewise.
23608 * conform/data/wordexp.h-data: Likewise.
23609
23610 * include/stropts.h: New file.
23611 * include/uchar.h: New file.
23612 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23613 * include/assert.h: Likewise.
23614 * include/ctype.h: Likewise.
23615 * include/dirent.h: Likewise.
23616 * include/dlfcn.h: Likewise.
23617 * include/fcntl.h: Likewise.
23618 * include/fnmatch.h: Likewise.
23619 * include/glob.h: Likewise.
23620 * include/grp.h: Likewise.
23621 * include/libio.h: Likewise.
23622 * include/locale.h: Likewise.
23623 * include/math.h: Likewise.
23624 * include/net/if.h: Likewise.
23625 * include/netdb.h: Likewise.
23626 * include/netinet/in.h: Likewise.
23627 * include/pthread.h: Likewise.
23628 * include/pwd.h: Likewise.
23629 * include/regex.h: Likewise.
23630 * include/sched.h: Likewise.
23631 * include/search.h: Likewise.
23632 * include/setjmp.h: Likewise.
23633 * include/signal.h: Likewise.
23634 * include/stdio.h: Likewise.
23635 * include/stdlib.h: Likewise.
23636 * include/string.h: Likewise.
23637 * include/sys/cdefs.h: Likewise.
23638 * include/sys/mman.h: Likewise.
23639 * include/sys/msg.h: Likewise.
23640 * include/sys/resource.h: Likewise.
23641 * include/sys/select.h: Likewise.
23642 * include/sys/socket.h: Likewise.
23643 * include/sys/stat.h: Likewise.
23644 * include/sys/statvfs.h: Likewise.
23645 * include/sys/time.h: Likewise.
23646 * include/sys/times.h: Likewise.
23647 * include/sys/uio.h: Likewise.
23648 * include/sys/utsname.h: Likewise.
23649 * include/sys/wait.h: Likewise.
23650 * include/termios.h: Likewise.
23651 * include/time.h: Likewise.
23652 * include/ulimit.h: Likewise.
23653 * include/unistd.h: Likewise.
23654 * include/utime.h: Likewise.
23655 * include/wchar.h: Likewise.
23656 * include/wctype.h: Likewise.
23657 * include/wordexp.h: Likewise.
23658
23659 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23660
7a270350
UD
23661 * time/time.h: TIME_UTC must be a macro.
23662 Make timespec_get available for ISO C11 only as well.
23663
7724defc
UD
236642012-02-24 Ulrich Drepper <drepper@gmail.com>
23665
23666 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23667 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23668
6b1d1d46
JM
236692012-02-24 Joseph Myers <joseph@codesourcery.com>
23670
23671 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 23672
0f8bbd69
JM
236732012-02-24 Joseph Myers <joseph@codesourcery.com>
23674
23675 * manual/texinfo.tex: Update to version 2012-01-19.16.
23676
66ab80bc
JM
236772012-02-24 Joseph Myers <joseph@codesourcery.com>
23678
23679 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23680
74981cc5
RM
236812012-02-24 Roland McGrath <roland@hack.frob.com>
23682
ee968201
RM
23683 [BZ #13738]
23684 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23685 * manual/fdl-1.3.texi: New file.
23686 * manual/fdl-1.1.texi: File removed.
23687
74981cc5
RM
23688 [BZ #13738]
23689 * manual/libc.texinfo (FDL_VERSION): New @set.
23690 Use it for mention of FDL in cover text.
23691 (Documentation License): Use it in @include file name.
23692
7bb764bc
JM
236932012-02-22 Joseph Myers <joseph@codesourcery.com>
23694 Roland McGrath <roland@hack.frob.com>
23695
23696 [BZ #5461]
23697 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23698 not LONG_LONG_MAX and LONG_LONG_MIN.
23699 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23700 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23701 name.
23702 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23703
6cbeae47
JM
237042012-02-22 Joseph Myers <joseph@codesourcery.com>
23705
23706 [BZ #2547]
23707 [BZ #11365]
23708 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23709 manipulate bits before adding and subtracting TWO23[sx].
23710 * math/libm-test.inc (nearbyint_test): Add more tests.
23711
fe45ce09
JM
237122012-02-22 Joseph Myers <joseph@codesourcery.com>
23713
23714 [BZ #2548]
23715 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23716 bits before adding and subtracting TWO23[sx].
23717 * math/libm-test.inc (rint_test): Add more tests.
23718 (rint_test_tonearest): Likewise.
23719 (rint_test_towardzero): Likewise.
23720 (rint_test_downward): Likewise.
23721 (rint_test_upward: Likewise.
23722
ff3b3d82
JM
237232012-02-22 Joseph Myers <joseph@codesourcery.com>
23724
23725 [BZ #10110]
23726 * include/stdc-predef.h: New file. Extracted from features.h.
23727 * include/features.h: Include stdc-predef.h.
23728 * Makefile (headers): Add stdc-predef.h.
23729 * CONFORMANCE (Compiler limitations): Update.
23730
ef0aab35
JM
237312012-02-22 Joseph Myers <joseph@codesourcery.com>
23732
23733 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23734
58639409
DM
237352012-02-21 David S. Miller <davem@davemloft.net>
23736
23737 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23738 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23739
c0e70b25
DM
237402012-02-20 David S. Miller <davem@davemloft.net>
23741
23742 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23743 using a normal save/restore sequence, rather than allocating a
23744 dummy stack frame just to store a frame pointer and restore.
23745 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23746
fb06851d
JM
237472012-02-21 Joseph Myers <joseph@codesourcery.com>
23748
23749 * manual/install.texi: Fix stray word in line-wrapped comment.
23750
7a8b71c3
DM
237512012-02-20 David S. Miller <davem@davemloft.net>
23752
d510c123
DM
23753 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23754 both binutils and gcc support GOTDATA.
23755
0722d7c2
DM
23756 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23757 "rd %pc" in the PIC register setup sequences.
23758
3d2b3019
DM
23759 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23760 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23761 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23762 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23763 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23764 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23765 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23766 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23767 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23768 (SYSCALL_ERROR_HANDLER): Likewise.
23769 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23770 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23771 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23772 (SYSCALL_ERROR_HANDLER): Likewise.
23773
c80098a9
DM
23774 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23775 (HAVE_GCC_GOTDATA): New.
23776 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23777 relocation support in both binutils and gcc.
23778 * sysdeps/sparc/elf/configure: Regenerate.
23779
3a2545a0
DM
23780 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23781 * sysdeps/sparc/sparc32/elf/configure: Delete.
23782 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23783 * sysdeps/sparc/sparc64/elf/configure: Delete.
23784 * sysdeps/sparc/elf/configure.in: New file.
23785 * sysdeps/sparc/elf/configure: Generate.
23786
7a8b71c3
DM
23787 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23788 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23789 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23790 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23791 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23792
f1e86fca
JM
237932012-02-21 Joseph Myers <joseph@codesourcery.com>
23794
23795 * manual/install.texi: Do not mention specific glibc version
23796 numbers.
23797 * manual/libc.texinfo (VERSION, UPDATED): Update.
23798 (@copying): Use @copyright{} and range of years.
23799
0e7dfaef
JM
238002012-02-21 Joseph Myers <joseph@codesourcery.com>
23801
23802 [BZ #13695]
23803 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23804 [crti.S not in sysdirs] (generated): Do not append.
23805 [crti.S not in sysdirs] (omit-deps): Likewise.
23806 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23807 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23808 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23809 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23810 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23811 Likewise.
23812 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23813 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23814 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23815 * csu/defs.awk: Remove file.
23816 * sysdeps/generic/initfini.c: Likewise.
23817 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23818 variable.
23819 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23820 Likewise.
23821
599af3ca
JM
238222012-02-20 Joseph Myers <joseph@codesourcery.com>
23823
23824 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23825 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23826 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23827 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23828 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23829 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23830 <bits/epoll.h>.
23831 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23832 (__EPOLL_PACKED): Define to empty if not defined by
23833 <bits/epoll.h>.
23834 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23835 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23836 bits/epoll.h.
23837
0e499750
JM
238382012-02-20 Joseph Myers <joseph@codesourcery.com>
23839
23840 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23841 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23842 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23843 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23844 <bits/timerfd.h>.
23845 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23846 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23847 bits/timerfd.h.
23848
5ad91f6e
JM
238492012-02-20 Joseph Myers <joseph@codesourcery.com>
23850
23851 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23852 in C locale.
23853 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23854 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23855 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23857
06b99b02
AJ
238582012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23859
23860 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23861 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23862
7638c0fd
AS
238632012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23864
23865 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23866 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23867 defined.
23868 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23869 Likewise.
23870 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23871 entry for 2.16.
23872
92221550
AJ
238732012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23874
23875 * math/w_acos.c: Use non-signaling floating-point comparisons.
23876 * math/w_acosf.c: Likewise.
23877 * math/w_acosh.c: Likewise.
23878 * math/w_acoshf.c: Likewise.
23879 * math/w_acoshl.c: Likewise.
23880 * math/w_acosl.c: Likewise.
23881 * math/w_asin.c: Likewise.
23882 * math/w_asinf.c: Likewise.
23883 * math/w_asinl.c: Likewise.
23884 * math/w_atanh.c: Likewise.
23885 * math/w_atanhf.c: Likewise.
23886 * math/w_atanhl.c: Likewise.
23887 * math/w_exp2.c: Likewise.
23888 * math/w_exp2f.c: Likewise.
23889 * math/w_exp2l.c: Likewise.
23890 * math/w_j0.c: Likewise.
23891 * math/w_j0f.c: Likewise.
23892 * math/w_j0l.c: Likewise.
23893 * math/w_j1.c: Likewise.
23894 * math/w_j1f.c: Likewise.
23895 * math/w_j1l.c: Likewise.
23896 * math/w_jn.c: Likewise.
23897 * math/w_jnf.c: Likewise.
23898 * math/w_log.c: Likewise.
23899 * math/w_log10.c: Likewise.
23900 * math/w_log10f.c: Likewise.
23901 * math/w_log10l.c: Likewise.
23902 * math/w_log2.c: Likewise.
23903 * math/w_log2f.c: Likewise.
23904 * math/w_log2l.c: Likewise.
23905 * math/w_logf.c: Likewise.
23906 * math/w_logl.c: Likewise.
23907 * math/w_sqrt.c: Likewise.
23908 * math/w_sqrtf.c: Likewise.
23909 * math/w_sqrtl.c: Likewise.
23910 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23911 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23912 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23913 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23914 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23915
ebaf36eb
JM
239162012-02-19 Joseph Myers <joseph@codesourcery.com>
23917
23918 [BZ #9739]
23919 * manual/string.texi (strnlen): Use correct parameter name in
23920 equivalent expression.
23921
71c254a6
JM
239222012-02-19 Joseph Myers <joseph@codesourcery.com>
23923
23924 [BZ #11174]
23925 * manual/users.texi (seteuid): Consistently use neweuid for
23926 argument name.
23927
16d2c631
JM
239282012-02-19 Joseph Myers <joseph@codesourcery.com>
23929
23930 [BZ #13704]
23931 * manual/nss.texi (Services in the NSS configuration): Correct
23932 list of services in example configuration file.
23933
cd837b09
NB
239342012-02-19 Nick Bowler <nbowler@draconx.ca>
23935
23936 [BZ #11322]
23937 * manual/arith.texi: Remove statements about negative zero
23938 behaving identically to zero.
23939
02c4bbad
JM
239402012-02-18 Joseph Myers <joseph@codesourcery.com>
23941
23942 [BZ #5993]
23943 * manual/install.texi: Do not document upgrading from libc5.
23944
366842e7
JM
239452012-02-18 Joseph Myers <joseph@codesourcery.com>
23946
23947 [BZ #4596]
23948 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23949
dd54084d
DM
239502012-02-18 David S. Miller <davem@davemloft.net>
23951
23952 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23953 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23954 %o7 across the call.
23955 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23956 instead.
23957 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23958 SETUP_PIC_REG_LEAF.
23959 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23960 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23961 * sysdeps/sparc/crtn.S: Likewise.
23962
2bcc53a3
UD
239632012-02-17 Ulrich Drepper <drepper@gmail.com>
23964
23965 * aout/Makefile: Remove.
23966
09c093b5
RK
239672012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
23968
23969 [BZ #13058]
23970 * manual/examples/argp-ex1.c (main): Format definition in GNU
23971 style.
23972 * manual/examples/argp-ex2.c (main): Likewise.
23973 * manual/examples/argp-ex3.c (main): Likewise.
23974 * manual/examples/argp-ex4.c (main): Likewise.
23975 * manual/examples/longopt.c (main): Use new-style prototype
23976 definition.
23977 * manual/examples/strncat.c (main): Specify return type and use
23978 (void) for arguments.
23979 * manual/examples/subopt.c (main): Use char **argv argument.
23980
2ee633a2
JM
239812012-02-17 Joseph Myers <joseph@codesourcery.com>
23982
23983 [BZ #5077]
23984 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23985 rounding modes.
23986
0520adde
FB
239872012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
23988
23989 [BZ #6907]
23990 * manual/string.texi (strchr): Change when strchrnul is
23991 recommended.
23992
3f4081cd
DGM
239932012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
23994
23995 [BZ #174]
23996 * manual/locale.texi (setlocale): Document LOCPATH.
23997
d1b10e78
JM
239982012-02-17 Joseph Myers <joseph@codesourcery.com>
23999
24000 [BZ #10210]
24001 * manual/process.texi (execle): Move @dots{} before last argument.
24002
79c6869c
PB
240032012-02-17 Paul Bolle <pebolle@tiscali.nl>
24004
24005 [BZ #12047]
24006 * manual/charset.texi (Generic Charset Conversion): Fix typo
24007 (LC_TYPE -> LC_CTYPE).
24008
cc6e48bc
NB
240092012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24010
24011 [BZ #5805]
24012 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24013 (scalbnf): Likewise.
24014 (scalbnl): Likewise.
24015 (scalbln): Likewise.
24016 (scalblnf): Likewise.
24017 (scalblnl): Likewise.
24018 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24019 (vwarnx): Likewise.
24020 (verr): Likewise.
24021 (verrx): Likewise.
24022 * manual/filesys.texi (telldir): Use braces around return type.
24023 * manual/llio.texi (mmap): Add space after comma.
24024 (mmap64): Likewise.
24025 * manual/math.texi (jn): Use @var{} on parameter names.
24026 (jnf): Likewise.
24027 (jnl): Likewise.
24028 (yn): Likewise.
24029 (ynf): Likewise.
24030 (ynl): Likewise.
24031 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24032 line.
24033 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24034 "...".
24035 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24036 (sched_get_priority_max): Likewise.
24037 * manual/signal.texi (sigvec): Add space after comma.
24038 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24039 names.
24040 (if_indextoname): Likewise.
24041 (if_freenameindex): Likewise.
24042 (sendto): Use ',' instead of '.' in prototype.
24043 * manual/startup.texi (syscall): Use @dots{} instead of literal
24044 "...".
24045 * manual/stdio.texi (__fpending): Separate initial words of
24046 paragraph from @deftypefun line.
24047 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24048 "...".
24049 (vsyslog): Use @var{} on parameter names.
24050 * manual/terminal.texi (stty): Use @var{} on parameter names.
24051 * manual/users.texi (getutmp): Use @var{} on parameter names.
24052 (getutmpx): Likewise.
24053
5b23062f
JM
240542012-02-17 Joseph Myers <joseph@codesourcery.com>
24055
24056 [BZ #6884]
24057 * manual/stdio.texi (fopen): Fix typos in description of
24058 ",ccs=STRING".
24059
8dee4833
AJ
240602012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24061
24062 [BZ #4026]
24063 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24064 get clock_id definition.
24065
9078ce93
TS
240662012-02-17 Thomas Schwinge <thomas@schwinge.name>
24067
24068 [BZ #4822]
24069 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24070 (madvise): Cast every argument to void on its own.
24071
3835c55f
JM
240722012-02-17 Joseph Myers <joseph@codesourcery.com>
24073
24074 [BZ #9902]
24075 * manual/startup.texi (Exit Status): Fix typo.
24076
35c47e37
JM
240772012-02-17 Joseph Myers <joseph@codesourcery.com>
24078
24079 [BZ #10140]
24080 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24081 * manual/examples/argp-ex2.c: Likewise.
24082 * manual/examples/argp-ex3.c: Likewise.
24083
e3b69ca7
RH
240842012-02-16 Richard Henderson <rth@redhat.com>
24085
24086 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24087 * sysdeps/s390/s390-32/initfini.c: Remove.
24088 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24089 * sysdeps/s390/s390-64/initfini.c: Remove.
24090
df83af67
KK
240912012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24092
24093 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24094 compiler output for sysdeps/generic/initfini.c.
24095 * sysdeps/sh/elf/initfini.c: Remove file.
24096
f63f3380
DM
240972012-02-16 David S. Miller <davem@davemloft.net>
24098
fb59b3a4
DM
24099 [BZ #11494]
24100 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24101
f63f3380
DM
24102 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24103 * sysdeps/sparc/crti.S: New file.
24104 * sysdeps/sparc/crtn.S: New file.
24105 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24106 * sysdeps/sparc/sparc64/Makefile: Likewise.
24107
df6a4a4a
MF
241082012-02-15 Mike Frysinger <vapier@gentoo.org>
24109
6dd8f3dc 24110 [BZ #3335]
df6a4a4a
MF
24111 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24112
1cac7236
RM
241132012-02-15 Roland McGrath <roland@hack.frob.com>
24114
d2c736f8
RM
24115 [BZ #4822]
24116 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24117
1cac7236
RM
24118 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24119 (write, read, close): Likewise.
24120 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24121
8e475601
JM
241222012-02-15 Joseph Myers <joseph@codesourcery.com>
24123
24124 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24125 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24126 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24127 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24128 <bits/signalfd.h>.
24129 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24130 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24131 bits/signalfd.h.
24132
ed656b40
MP
241332012-02-14 Marek Polacek <polacek@redhat.com>
24134
24135 * sysdeps/x86_64/crti.S: New file.
24136 * sysdeps/x86_64/crtn.S: New file.
24137 * sysdeps/x86_64/elf/initfini.c: Remove file.
24138
2a979d3a
JM
241392012-02-13 Joseph Myers <joseph@codesourcery.com>
24140
24141 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24142 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24143 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24144 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24145 <bits/inotify.h>.
24146 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24147 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24148 bits/inotify.h.
24149
2a418ac3
JM
241502012-02-13 Joseph Myers <joseph@codesourcery.com>
24151
24152 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24153 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24154 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24155 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24156 <bits/eventfd.h>.
24157 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24158 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24159 bits/eventfd.h.
24160
fb779be7
TS
241612012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24162
e19e83c5
RM
24163 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24164 __feraiseexcept instead of feraiseexcept.
7c35ffed 24165
fb779be7
TS
24166 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24167 nanosleep invocations.
24168 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24169 strings, and add error checking for a nanosleep invocations.
24170
59ba27a6
PE
241712012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24172
24173 Replace FSF snail mail address with URLs, as per GNU coding standards.
24174 Most of the snail mail addresses were wrong anyway, and omitting
24175 them makes the source code easier to maintain. Almost all of the
24176 changes are to license notices and to locale LC_IDENTIFICATION
24177 addresses, except for this one:
24178 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24179 not its snail mail address.
24180
57b957eb
RH
241812012-02-09 Richard Henderson <rth@twiddle.net>
24182
af850b1c
RH
24183 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24184 of kernel-features.h.
24185
57b957eb
RH
24186 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24187
6b73181a
MP
241882012-02-08 Marek Polacek <polacek@redhat.com>
24189
24190 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24191 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24192 * sysdeps/gnu/_G_config.h: Likewise.
24193 * sysdeps/generic/_G_config.h: Likewise.
24194
26ecc33a
AS
241952012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24196
6c6dbc63
AS
24197 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24198 tests.
24199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24200
e216c012
AS
24201 * sysdeps/powerpc/powerpc32/crti.S: New file.
24202 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24203 * sysdeps/powerpc/powerpc64/crti.S: New file.
24204 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24205
26ecc33a
AS
24206 * Makeconfig (have-initfini): Don't set.
24207 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24208 * configure.in (nopic_initfini): Don't substitute.
24209 * config.h.in (HAVE_INITFINI): Don't #undef.
24210 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24211 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24212
3add8e13
JM
242132012-02-08 Joseph Myers <joseph@codesourcery.com>
24214
24215 Support crti.S and crtn.S provided directly by architectures.
24216 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24217 [crti.S in sysdirs] (omit-deps): Likewise.
24218 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24219 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24220 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24221 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24222 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24223 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24224 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24225 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24226 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24227 compiler output for sysdeps/generic/initfini.c.
24228 * sysdeps/i386/elf/Makefile: Remove file.
24229 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24230
a22f12b4
MP
242312012-02-07 Marek Polacek <polacek@redhat.com>
24232
24233 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24234 * sysdeps/gnu/_G_config.h: Likewise.
24235 * sysdeps/mach/hurd/_G_config.h: Likewise.
24236
148cf100
MP
242372012-02-07 Marek Polacek <polacek@redhat.com>
24238
24239 * math/Makefile (tests): Add tst-CMPLX2.
24240 * math/tst-CMPLX2.c: New file.
24241
cfdc0dd7
AS
242422012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24243
84ba42c4
AS
24244 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24245
cfdc0dd7
AS
24246 * math/libm-test.inc (jn_test): Add missing L suffix.
24247
622c86f4
MP
242482012-02-06 Marek Polacek <polacek@redhat.com>
24249
24250 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24251 * sysdeps/i386/fpu/e_powf.S: Likewise.
24252 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24253 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24254 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24255 * sysdeps/i386/fpu/e_pow.S: Likewise.
24256 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24257 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24258 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24259 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24260 * sysdeps/i386/fpu/e_log2.S: Likewise.
24261 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24262 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24263 * sysdeps/i386/fpu/e_powl.S: Likewise.
24264 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24265 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24266 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24267 * sysdeps/i386/fpu/e_logl.S: Likewise.
24268 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24269 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24270 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24271 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24272 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24273 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24274 * sysdeps/i386/fpu/e_log.S: Likewise.
24275 * sysdeps/i386/fpu/s_cexp.S: Likewise.
24276 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24277 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24278 * sysdeps/i386/fpu/e_logf.S: Likewise.
24279 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24280 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24281 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24282 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24283 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24284 * sysdeps/i386/fpu/e_log10.S: Likewise.
24285 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24286 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24287 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24288 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24289 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24290 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24291 * sysdeps/i386/asm-syntax.h: Likewise.
24292 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24293 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24294 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24295 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24296 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24297 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24298 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24299 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24300 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24301 * sysdeps/powerpc/sysdep.h: Likewise.
24302 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24303 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24304
d4a54ac6
JM
243052012-02-06 Joseph Myers <joseph@codesourcery.com>
24306
24307 [BZ #411]
24308 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24309
314054ea
JM
243102012-02-06 Joseph Myers <joseph@codesourcery.com>
24311
24312 * sysdeps/i386/sysdep.h: Include <features.h>.
24313 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24314 version.
24315
d8e0ca50
JM
243162012-02-05 Joseph Myers <joseph@codesourcery.com>
24317
24318 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24319 Define.
24320 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24321 LOAD_PIC_REG_STR.
24322
b1da7dd9
JM
243232012-02-03 Joseph Myers <joseph@codesourcery.com>
24324
24325 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24326 (SETUP_PIC_REG): Use GET_PC_THUNK.
24327 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24328 macro.
24329
9a1d9254
JM
243302012-02-03 Joseph Myers <joseph@codesourcery.com>
24331
24332 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24333 for non-PIC compilation.
24334 (SETUP_PIC_REG): Add .p2align directive.
24335 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24336 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24337 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24338 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24339 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24340 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24341 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24342 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24343 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24344 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24345 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24346 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24347 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24348 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24349 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24350 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24351 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24352 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24353 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24354 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24355 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24356 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24357 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24358 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24359 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24360 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24361 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24362 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24363 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24364 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24365 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24366 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24367 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24368 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24369 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24370 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24371 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24372 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24373 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24374 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24375 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24376
65dc3b75
JM
243772012-02-03 Joseph Myers <joseph@codesourcery.com>
24378
24379 * math/tst-CMPLX.c: Include <stdio.h>.
24380
d55bf177
JM
243812012-01-31 Joseph Myers <joseph@codesourcery.com>
24382
24383 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24384 float.
24385 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24386 * sysdeps/sparc/bits/mathdef.h: Likewise.
24387
69db4f8f
MP
243882012-01-31 Marek Polacek <polacek@redhat.com>
24389
24390 * libio/libio.h: Don't define _PARAMS.
24391 * locale/programs/config.h: Don't define PARAMS.
24392 * stdlib/strtol_l.c: Likewise.
24393 (__strtol_l): Remove PARAMS from the prototype.
24394
41b81892
UD
243952012-01-31 Ulrich Drepper <drepper@gmail.com>
24396
3b49edc0
UD
24397 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24398 names. Just use the correct names. Remove unnecessary wrapper
24399 functions.
24400 * malloc/arena.c: Likewise.
24401 * malloc/hooks.c: Likewise.
24402
41b81892
UD
24403 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24404 ARENA_TEST says not to. Simplify test for creation of a new arena.
24405 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24406
27a25b6e
UD
244072012-01-30 Ulrich Drepper <drepper@gmail.com>
24408
24409 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24410 into tail calls.
24411 (update_get_addr): New function.
24412 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24413 GET_ADDR_MODULE parameter.
24414
c8a89e7d
JM
244152012-01-30 Joseph Myers <joseph@codesourcery.com>
24416
24417 * crypt/cert.c: Remove __STDC__ conditionals.
24418 * crypt/crypt-entry.c: Likewise.
24419 * crypt/crypt_util.c: Likewise.
24420 * libio/filedoalloc.c: Likewise.
24421 * libio/fileops.c: Likewise.
24422 * libio/genops.c: Likewise.
24423 * libio/iofclose.c: Likewise.
24424 * libio/iofdopen.c: Likewise.
24425 * libio/iofopen.c: Likewise.
24426 * libio/iofopen64.c: Likewise.
24427 * libio/iogetdelim.c: Likewise.
24428 * libio/iopopen.c: Likewise.
24429 * libio/obprintf.c: Likewise.
24430 * libio/oldfileops.c: Likewise.
24431 * libio/oldiofclose.c: Likewise.
24432 * libio/oldiofdopen.c: Likewise.
24433 * libio/oldiofopen.c: Likewise.
24434 * libio/oldiopopen.c: Likewise.
24435 * libio/wfiledoalloc.c: Likewise.
24436 * libio/wgenops.c: Likewise.
24437 * locale/programs/xmalloc.c: Likewise.
24438 * misc/syslog.c: Likewise.
24439 * stdio-common/xbug.c: Likewise.
24440 * string/memchr.c: Likewise.
24441 * string/memcmp.c: Likewise.
24442 * string/memrchr.c: Likewise.
24443 * string/rawmemchr.c: Likewise.
24444 * sysdeps/posix/getcwd.c: Likewise.
24445 * time/strftime_l.c: Likewise.
24446
3b100462
JM
244472012-01-30 Joseph Myers <joseph@codesourcery.com>
24448
24449 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
24450 * config.make.in (config-cflags-sse2avx): Define.
24451 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24452 Fix typo.
24453
607998af
CM
244542012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24455
24456 * scripts/config.guess: Update from upstream config git repository.
24457 * scripts/config.sub: Likewise.
24458
3601428f
CM
244592012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24460
3ac8b282
CM
24461 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24462 (EM_NUM): Update.
24463 (R_TILEPRO_*, R_TILEGX_*): New macros.
24464
e034841e
CM
24465 * scripts/firstversions.awk: Fix bug in version range handling.
24466
540d7568
CM
24467 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24468
3601428f
CM
24469 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24470
463de862
CM
24471 * include/sys/epoll.h: New file.
24472 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24473 libc_hidden_def.
24474
73139a76
UD
244752012-01-28 Ulrich Drepper <drepper@gmail.com>
24476
96bc5b45
UD
24477 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24478 Avoid unnecessary __WORDSIZE == 64 test.
24479 (fmaxf): Use VEX format if possible.
24480 (fmax): Likewise.
24481 (fminf): Likewise.
24482 (fmin): Likewise.
24483
56f6f6a2
UD
24484 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24485 * math/math_private.h: Remove libc_fegetround* and
24486 libc_fesetround*.
24487 * sysdeps/i386/configure.in: Check for -msse2avx.
24488 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24489 also if SSE2AVX is defined.
24490 Remove libc_fegetround* and libc_fesetround*.
24491 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24492 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24493 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24494 of HAS_YMM_USABLE.
24495 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24496 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24497 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24498 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24499 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24500
73139a76
UD
24501 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24502
d73f93a4
AZ
245032012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24504
24505 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24506 size is not set.
24507 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24508
6ee65ed6
UD
245092012-01-27 Ulrich Drepper <drepper@gmail.com>
24510
24511 [BZ #13618]
24512 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24513 relocation.
24514 * Makeconfig (libm): Define.
24515 * elf/Makefile: Add rules to build and run tst-relsort1.
24516 * elf/tst-relsort1.c: New file.
24517 * elf/tst-relsort1mod1.c: New file.
24518 * elf/tst-relsort1mod2.c: New file.
24519
8db21882
JM
245202012-01-27 Joseph Myers <joseph@codesourcery.com>
24521
24522 * math/s_ldexp.c: Remove __STDC__ conditionals.
24523 * math/s_ldexpf.c: Likewise.
24524 * math/s_ldexpl.c: Likewise.
24525 * math/s_nextafter.c: Likewise.
24526 * math/s_nexttowardf.c: Likewise.
24527 * math/s_significand.c: Likewise.
24528 * math/s_significandf.c: Likewise.
24529 * math/s_significandl.c: Likewise.
24530 * math/w_jnl.c: Likewise.
24531 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24532 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24533 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24534 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24535 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24536 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24537 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24538 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24539 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24540 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24541 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24542 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24543 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24544 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24545 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24546 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24547 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24548 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24549 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24550 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24551 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24552 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24553 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24554 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24555 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24556 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24557 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24558 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24559 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24560 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24561 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24562 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24563 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24564 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24565 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24566 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24567 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24568 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24569 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24570 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24571 * sysdeps/ieee754/k_standard.c: Likewise.
24572 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24573 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24574 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24575 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24576 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24577 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24578 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24579 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24580 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24581 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24582 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24583 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24584 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24585 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24586 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24587 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24588 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24589 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24590 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24591 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24592 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24593 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24594 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24595 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24596 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24597 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24598 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24599 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24600 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24601 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24602 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24603 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24604 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24605 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24606 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24607 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24608 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24609 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24610 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24611 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24612 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24613 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24614 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24615 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24616 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24617 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24618 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24619 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24620 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24621 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24622 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24623 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24624 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24625 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24626 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24627 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24628 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24629 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24630 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24631 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24632 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24633 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24634 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24635 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24636 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24637 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24638 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24639 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24640 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24641 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24642 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24643 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24644 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24645 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24646 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24647 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24648 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24649 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24650 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24651 * sysdeps/ieee754/s_matherr.c: Likewise.
24652 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24653 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24654 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24655 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24656
965a54a4
JM
246572012-01-26 Joseph Myers <joseph@codesourcery.com>
24658
24659 * crypt/md5.h: Remove __STDC__ conditionals.
24660 * libio/libioP.h: Likewise.
24661 * locale/programs/config.h: Likewise.
24662 * sysdeps/generic/sysdep.h: Likewise.
24663 * sysdeps/i386/asm-syntax.h: Likewise.
24664 * sysdeps/s390/asm-syntax.h: Likewise.
24665 * sysdeps/unix/sysdep.h: Likewise.
24666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24668
7071ad79
JM
246692012-01-26 Joseph Myers <joseph@codesourcery.com>
24670
24671 * libio/libio.h: Remove __STDC__ conditionals.
24672 * malloc/obstack.h: Likewise.
24673 * math/complex.h: Likewise.
24674 * math/math.h: Likewise.
24675 * sysdeps/generic/_G_config.h: Likewise.
24676 * sysdeps/gnu/_G_config.h: Likewise.
24677 * sysdeps/mach/hurd/_G_config.h: Likewise.
24678 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24679 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24680 * sysdeps/sparc/bits/mathdef.h: Likewise.
24681
afc5ed09
UD
246822012-01-26 Ulrich Drepper <drepper@gmail.com>
24683
24684 [BZ #13583]
24685 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 24686 Clean up HAS_* macros.
afc5ed09 24687 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
24688 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24689 possible.
24690 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24691 HAS_AVX.
24692 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24693 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24694 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24695 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24696 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 24697
bdb6de1d
JM
246982012-01-25 Joseph Myers <joseph@codesourcery.com>
24699
24700 * elf/tst-unique3.cc (gets): Remove declaration.
24701 * elf/tst-unique3lib.cc (gets): Likewise.
24702 * elf/tst-unique3lib2.cc (gets): Likewise.
24703 * elf/tst-unique4.cc (gets): Likewise.
24704
b15549e6
UD
247052012-01-24 Ulrich Drepper <drepper@gmail.com>
24706
24707 * include/stdio.h: Add C++ protection. Add gets declarations and
24708 definitions.
24709 * debug/tst-chk1.c: Don't declare gets here.
24710 * stdio-common/tst-gets.c: Likewise.
24711
a037381f
JM
247122012-01-24 Joseph Myers <joseph@codesourcery.com>
24713
24714 * posix/glob: Remove directory.
24715
f1d4aa75
JM
247162012-01-24 Joseph Myers <joseph@codesourcery.com>
24717
24718 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24719
81c0c964
PT
247202012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24721
24722 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24723 of the non-standard EPFNOSUPPORT.
24724
0ea698ae
ST
247252011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24726
24727 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24728 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24729 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24730
d220b117
UD
247312012-01-21 Ulrich Drepper <drepper@gmail.com>
24732
24733 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24734
3e1aa84e
UD
247352012-01-20 Ulrich Drepper <drepper@gmail.com>
24736
24737 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24738 transient errors.
24739 * nscd/grpcache.c (cache_addgr): Likewise.
24740 * nscd/hstcache.c (cache_addhst): Likewise.
24741 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24742 * nscd/pwdcache.c (cache_addpw): Likewise.
24743 * nscd/servicescache.c (cache_addserv): Likewise.
24744
400aa020
UD
247452012-01-16 Ulrich Drepper <drepper@gmail.com>
24746
d77e7869
UD
24747 * malloc/malloc.c: Various cleanups.
24748 * malloc/hooks.c: Likewise.
24749
400aa020
UD
24750 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24751 * stdlib/bug-fmtmsg1.c: New file.
24752
24753 * stdlib/fmtmsg.c (init): Add missing unlock.
24754 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24755
e0a309cf
MP
247562012-01-12 Marek Polacek <polacek@redhat.com>
24757
24758 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24759 and _GNU_SOURCE.
24760
929d11c7
WS
247612012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24762
24763 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24764 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24765 macro to ensure uniqueness of label name.
24766 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24767 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24768
41d0e869
UD
247692012-01-11 Ulrich Drepper <drepper@gmail.com>
24770
0cc5ed3b
UD
24771 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24772
41d0e869
UD
24773 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24774 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24775 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24776 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24777
a47a831a
UD
247782012-01-10 Ulrich Drepper <drepper@gmail.com>
24779
daa891c0
UD
24780 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24781
24782 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24783 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24784 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24785
e58ef0f2
UD
24786 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24787
a47a831a 24788 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
24789 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24790 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 24791 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
24792
24793 * math/bits/math-finite.h: Add ldexp support.
24794
a0bfc9c7
MP
247952012-01-10 Marek Polacek <polacek@redhat.com>
24796
24797 * locale/programs/localedef.h (show_archive_content): Add noreturn
24798 attribute.
24799
d6e97a1d
UD
248002012-01-09 Ulrich Drepper <drepper@gmail.com>
24801
24802 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24803
d5835c26
UD
248042012-01-08 Ulrich Drepper <drepper@gmail.com>
24805
e5f484c6
UD
24806 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24807
d5835c26
UD
24808 * io/Makefile (headers): Add bits/poll2.h.
24809
d1f741e9
WS
248102011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
24811
24812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24813 typo #include statement.
24814
ec09c1c4
UD
248152012-01-08 Ulrich Drepper <drepper@gmail.com>
24816
24817 * include/sys/cdefs.h: Define __attribute_alloc_size.
24818 * catgets/gencat.c: Add alloc_size attribute and apply consistently
24819 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24820 * elf/pldd.c: Likewise.
24821 * iconv/iconv_charmap.c: Likewise.
24822 * iconv/iconvconfig.c: Likewise.
24823 * iconv/strtab.c: Likewise.
24824 * locale/programs/locale.c: Likewise.
24825 * locale/programs/localedef.h: Likewise.
24826 * locale/programs/simple-hash.c: Likewise.
24827 * nscd/nscd.h: Likewise.
24828 * nss/makedb.c: Likewise.
24829 * sysdeps/generic/ldconfig.h: Likewise.
24830 * locale/programs/localedef.c: Remove xmalloc prototype.
24831 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24832
20b38e03
PP
248332012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24834
24835 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24836 appropriate.
24837
a0da5fe1
UD
248382012-01-08 Ulrich Drepper <drepper@gmail.com>
24839
1d5a644a 24840 * math/Makefile (tests): Add tst-CMPLX.
669704fd 24841 * math/tst-CMPLX.c: New file.
1d5a644a 24842
8784a6db
UD
24843 * math/complex.h (CMPLXL): Fix typo.
24844
d9a216c0
UD
24845 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24846 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24847 GLIBC_2.16.
24848 * debug/tst-chk1.c: Add poll and ppoll tests.
24849 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24850 * include/sys/poll.h: Add hidden proto for ppoll.
24851 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24852 * sysdeps/mach/hurd/ppoll.c: Likewise.
24853 * io/ppoll.c: Likewise.
24854 * debug/poll_chk.c: New file.
24855 * debug/ppoll_chk.c: New file.
24856 * include/bits/poll2.h: New file.
24857 * io/bits/poll2.h: New file.
24858
ac097f5c
UD
24859 [BZ #1350]
24860 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24861
2119dcfa
UD
24862 * configure.in: static is always set to yes. Remove.
24863 * config.make.in: Don't set build-static.
24864 * Makeconfig: Remove use of build-static.
24865 * dlfcn/Makefile: Likewise.
24866 * elf/Makefile: Likewise.
24867 * math/Makefile: Likewise.
24868 * misc/Makefile: Likewise.
24869 * nptl/Makefile: Likewise.
24870 * sysdeps/mach/hurd/Makefile: Likewise.
24871
121766a9
UD
24872 * configure.in: PWD_P is not used anymore.
24873 * config.make.in: Remove PWD_P entry.
24874
51a1d39c 24875 * configure.in: Remove last remnants of RANLIB.
8720d066 24876 No need to check for signed size_t anymore.
215f4bdc
UD
24877 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24878 and IA-64.
3857022a 24879 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
24880 * aclocal.m4: Likewise.
24881
d3ed7225
UD
24882 * wcsmbs/mbrtoc16.c: Implement using towc function.
24883 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24884 * wcsmbs/wcsmbsload.c: Likewise.
24885 * iconv/gconv_simple.c: Likewise.
24886 * iconv/gconv_int.h: Likewise.
24887 * iconv/gconv_builtin.h: Likewise.
24888 * iconv/iconv_prog.c: Remove CHAR16 handling.
24889
24890 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24891
24892 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24893
a0da5fe1
UD
24894 * configure.in: Remove --with-elf and --enable-bounded options.
24895 Dont set base_machine for ia64. More non-ELF conditions removed.
24896 Remove testing and setting of leading underscore information.
24897 * config.make.in (build-bounded): Set to no.
24898 * config.h.in: Remove NO_UNDERSCORES entry.
24899 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24900 them.
24901 * csu/start.c: Remove !NO_UNDERSCORE code.
24902 * locale/localeinfo.h: Likewise.
24903 * sysdeps/generic/machine-gmon.h: Likewise.
24904 * sysdeps/generic/sysdep.h: Likewise.
24905 * sysdeps/i386/sysdep.h: Likewise.
24906 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24907 * sysdeps/mach/sysdep.h: Likewise.
24908 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24909 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24910 * sysdeps/sh/sysdep.h: Likewise.
24911 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24912 * sysdeps/unix/i386/sysdep.S: Likewise.
24913 * sysdeps/unix/sparc/start.c: Likewise.
24914 * sysdeps/unix/sparc/sysdep.S: Likewise.
24915 * sysdeps/unix/sparc/sysdep.h: Likewise.
24916 * sysdeps/unix/start.c: Likewise.
24917 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24918 * sysdeps/x86_64/sysdep.h: Likewise.
24919
df78418a
UD
249202012-01-07 Ulrich Drepper <drepper@gmail.com>
24921
a784e502
UD
24922 [BZ #13553]
24923 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24924 for non-gcc.
24925 * argp/argp-fmtstream.h: Use const instead __const.
24926 * argp/argp.h: Likewise.
24927 * assert/assert.h: Likewise.
24928 * bits/fenv.h: Likewise.
24929 * bits/sched.h: Likewise.
24930 * bits/sigset.h: Likewise.
24931 * bits/sigthread.h: Likewise.
24932 * catgets/nl_types.h: Likewise.
24933 * conform/data/pthread.h-data: Likewise.
24934 * crypt/crypt-private.h: Likewise.
24935 * crypt/crypt.h: Likewise.
24936 * crypt/crypt_util.c: Likewise.
24937 * ctype/ctype.h: Likewise.
24938 * debug/execinfo.h: Likewise.
24939 * debug/mbsnrtowcs_chk.c: Likewise.
24940 * debug/mbsrtowcs_chk.c: Likewise.
24941 * debug/wcsnrtombs_chk.c: Likewise.
24942 * debug/wcsrtombs_chk.c: Likewise.
24943 * debug/wcstombs_chk.c: Likewise.
24944 * dirent/dirent.h: Likewise.
24945 * dlfcn/dlfcn.h: Likewise.
24946 * elf/neededtest4.c: Likewise.
24947 * grp/grp.h: Likewise.
24948 * gshadow/gshadow.h: Likewise.
24949 * iconv/gconv.h: Likewise.
24950 * iconv/gconv_int.h: Likewise.
24951 * iconv/gconv_simple.c: Likewise.
24952 * iconv/iconv.h: Likewise.
24953 * iconv/loop.c: Likewise.
24954 * iconv/skeleton.c: Likewise.
24955 * include/aio.h: Likewise.
24956 * include/aliases.h: Likewise.
24957 * include/argz.h: Likewise.
24958 * include/arpa/inet.h: Likewise.
24959 * include/assert.h: Likewise.
24960 * include/dirent.h: Likewise.
24961 * include/dlfcn.h: Likewise.
24962 * include/execinfo.h: Likewise.
24963 * include/fcntl.h: Likewise.
24964 * include/fenv.h: Likewise.
24965 * include/glob.h: Likewise.
24966 * include/grp.h: Likewise.
24967 * include/libintl.h: Likewise.
24968 * include/mntent.h: Likewise.
24969 * include/netdb.h: Likewise.
24970 * include/pwd.h: Likewise.
24971 * include/rpc/netdb.h: Likewise.
24972 * include/sched.h: Likewise.
24973 * include/search.h: Likewise.
24974 * include/shadow.h: Likewise.
24975 * include/signal.h: Likewise.
24976 * include/stdio.h: Likewise.
24977 * include/stdlib.h: Likewise.
24978 * include/string.h: Likewise.
24979 * include/sys/socket.h: Likewise.
24980 * include/sys/stat.h: Likewise.
24981 * include/sys/statfs.h: Likewise.
24982 * include/sys/statvfs.h: Likewise.
24983 * include/sys/syslog.h: Likewise.
24984 * include/sys/time.h: Likewise.
24985 * include/sys/uio.h: Likewise.
24986 * include/time.h: Likewise.
24987 * include/unistd.h: Likewise.
24988 * include/utmp.h: Likewise.
24989 * include/wchar.h: Likewise.
24990 * include/wctype.h: Likewise.
24991 * inet/aliases.h: Likewise.
24992 * inet/arpa/inet.h: Likewise.
24993 * inet/netinet/ether.h: Likewise.
24994 * inet/netinet/in.h: Likewise.
24995 * intl/libintl.h: Likewise.
24996 * io/bits/fcntl2.h: Likewise.
24997 * io/fcntl.h: Likewise.
24998 * io/ftw.h: Likewise.
24999 * io/sys/poll.h: Likewise.
25000 * io/sys/stat.h: Likewise.
25001 * io/sys/statfs.h: Likewise.
25002 * io/sys/statvfs.h: Likewise.
25003 * io/utime.h: Likewise.
25004 * libio/bits/stdio.h: Likewise.
25005 * libio/bits/stdio2.h: Likewise.
25006 * libio/libio.h: Likewise.
25007 * libio/libioP.h: Likewise.
25008 * libio/stdio.h: Likewise.
25009 * locale/lc-ctype.c: Likewise.
25010 * locale/locale.h: Likewise.
25011 * login/utmp.h: Likewise.
25012 * malloc/arena.c: Likewise.
25013 * malloc/malloc.c: Likewise.
25014 * malloc/malloc.h: Likewise.
25015 * malloc/mcheck.c: Likewise.
25016 * malloc/mtrace.c: Likewise.
25017 * math/bits/mathcalls.h: Likewise.
25018 * math/fenv.h: Likewise.
25019 * math/math_private.h: Likewise.
25020 * misc/bits/error.h: Likewise.
25021 * misc/bits/syslog.h: Likewise.
25022 * misc/err.h: Likewise.
25023 * misc/error.h: Likewise.
25024 * misc/fstab.h: Likewise.
25025 * misc/mntent.h: Likewise.
25026 * misc/regexp.h: Likewise.
25027 * misc/search.h: Likewise.
25028 * misc/sgtty.h: Likewise.
25029 * misc/sys/mman.h: Likewise.
25030 * misc/sys/syslog.h: Likewise.
25031 * misc/sys/uio.h: Likewise.
25032 * misc/sys/xattr.h: Likewise.
25033 * misc/ttyent.h: Likewise.
25034 * nis/rpcsvc/ypclnt.h: Likewise.
25035 * nss/nss.h: Likewise.
25036 * posix/bits/unistd.h: Likewise.
25037 * posix/fnmatch.h: Likewise.
25038 * posix/glob.h: Likewise.
25039 * posix/sched.h: Likewise.
25040 * posix/spawn.h: Likewise.
25041 * posix/sys/wait.h: Likewise.
25042 * posix/unistd.h: Likewise.
25043 * posix/wordexp.h: Likewise.
25044 * pwd/pwd.h: Likewise.
25045 * resolv/netdb.h: Likewise.
25046 * resource/sys/resource.h: Likewise.
25047 * rt/aio.h: Likewise.
25048 * rt/bits/mqueue2.h: Likewise.
25049 * rt/mqueue.h: Likewise.
25050 * shadow/shadow.h: Likewise.
25051 * signal/signal.h: Likewise.
25052 * socket/send.c: Likewise.
25053 * socket/sendto.c: Likewise.
25054 * socket/sys/socket.h: Likewise.
25055 * stdio-common/printf.h: Likewise.
25056 * stdlib/bits/stdlib.h: Likewise.
25057 * stdlib/fmtmsg.h: Likewise.
25058 * stdlib/monetary.h: Likewise.
25059 * stdlib/stdlib.h: Likewise.
25060 * stdlib/ucontext.h: Likewise.
25061 * streams/stropts.h: Likewise.
25062 * string/argz.h: Likewise.
25063 * string/bits/string2.h: Likewise.
25064 * string/string.h: Likewise.
25065 * string/strings.h: Likewise.
25066 * sunrpc/rpc/auth.h: Likewise.
25067 * sunrpc/rpc/auth_des.h: Likewise.
25068 * sunrpc/rpc/clnt.h: Likewise.
25069 * sunrpc/rpc/netdb.h: Likewise.
25070 * sunrpc/rpc/pmap_clnt.h: Likewise.
25071 * sunrpc/rpc/xdr.h: Likewise.
25072 * sysdeps/generic/inttypes.h: Likewise.
25073 * sysdeps/generic/net/if.h: Likewise.
25074 * sysdeps/generic/sys/swap.h: Likewise.
25075 * sysdeps/gnu/net/if.h: Likewise.
25076 * sysdeps/gnu/utmpx.h: Likewise.
25077 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25078 * sysdeps/i386/i486/bits/string.h: Likewise.
25079 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25080 * sysdeps/s390/bits/string.h: Likewise.
25081 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25082 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25083 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25084 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25085 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25086 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25087 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25088 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25089 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25090 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25091 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25092 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25093 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25094 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25095 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25096 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25097 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25098 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25099 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25100 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25101 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25102 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25103 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25104 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25105 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25106 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25107 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25108 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25109 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25110 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25111 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25112 * sysvipc/sys/ipc.h: Likewise.
25113 * sysvipc/sys/msg.h: Likewise.
25114 * sysvipc/sys/sem.h: Likewise.
25115 * sysvipc/sys/shm.h: Likewise.
25116 * termios/termios.h: Likewise.
25117 * time/sys/time.h: Likewise.
25118 * time/time.h: Likewise.
25119 * wcsmbs/bits/wchar2.h: Likewise.
25120 * wcsmbs/uchar.h: Likewise.
25121 * wcsmbs/wchar.h: Likewise.
25122 * wctype/wctype.h: Likewise.
25123
0269750c
UD
25124 [BZ #13551]
25125 * Makeconfig: Remove all but ELF support including AIX support.
25126 * Makerules: Likewise.
25127 * config.h.in: Likewise.
25128 * config.make.in: Likewise.
25129 * configure: Likewise.
25130 * configure.in: Likewise.
25131 * csu/Makefile: Likewise.
25132 * csu/version.c: Likewise.
25133 * debug/Makefile: Likewise.
25134 * dlfcn/Makefile: Likewise.
25135 * elf/Makefile: Likewise.
25136 * extra-lib.mk: Likewise.
25137 * iconv/Makefile: Likewise.
25138 * include/libc-symbols.h: Likewise.
25139 * include/shlib-compat.h: Likewise.
25140 * resolv/Makefile: Likewise.
25141 * resolv/res_libc.c: Likewise.
25142 * rt/Makefile: Likewise.
25143 * sysdeps/i386/asm-syntax.h: Likewise.
25144 * sysdeps/i386/sysdep.h: Likewise.
25145 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25146 * sysdeps/mach/sysdep.h: Likewise.
25147 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25148 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25149 * sysdeps/s390/asm-syntax.h: Likewise.
25150 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25151 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25152 * sysdeps/sh/sysdep.h: Likewise.
25153 * sysdeps/unix/sparc/sysdep.h: Likewise.
25154 * sysdeps/wordsize-32/divdi3.c: Likewise.
25155 * sysdeps/x86_64/sysdep.h: Likewise.
25156
00bbd29b
UD
25157 * argp/Versions: Remove _argp_unlock_xxx.
25158
25159 [BZ #13559]
25160 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25161 * abilist/libBrokenLocale.abilist: Likewise.
25162 * abilist/libanl.abilist: Likewise.
25163 * abilist/libc.abilist: Likewise.
25164 * abilist/libcrypt.abilist: Likewise.
25165 * abilist/libdl.abilist: Likewise.
25166 * abilist/libm.abilist: Likewise.
25167 * abilist/libnsl.abilist: Likewise.
25168 * abilist/libpthread.abilist: Likewise.
25169 * abilist/libresolv.abilist: Likewise.
25170 * abilist/librt.abilist: Likewise.
25171 * abilist/libthread_db.abilist: Likewise.
25172 * abilist/libutil.abilist: Likewise.
25173 * abilist/libnss_db.abilist: New file.
25174
25175 * scripts/abilist.awk: Add support for indirect functions.
25176
a2693a0e
UD
25177 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25178
3f05895f
UD
25179 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25180
ecb6fb48
UD
25181 * shlib-versions: Remove entries for ports architectures.
25182
664f8cb9
UD
25183 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25184 files in ports.
25185 * elf/stackguard-macros.h: Remove support for IA-64.
25186 * elf/tst-auditmod1.c: Likewise.
25187 * sysdeps/generic/ldsodefs.h: Likewise.
25188
7ae81d88
UD
25189 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25190 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25191 configure files.
25192
bdeba135
UD
25193 [BZ #13552]
25194 * configure.in: Remove --enable-omitfp support.
25195 * FAQ.in: Adjust.
25196 * config.make.in: Likewise.
25197 * Makeconfig: Likewise.
25198 * manual/install.texi: Likewise.
25199
d75a0a62
UD
25200 In case anyone cares, the IA-64 architecture could move to ports.
25201 * sysdeps/ia64/*: Removed.
25202 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 25203 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 25204
dcc9756b
UD
25205 [BZ #13555]
25206 * configure.in: Remove entries for unsupported architectures.
25207
d3761ebc 25208 [BZ #13533]
9954432e
UD
25209 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25210 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25211 routines.
25212 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25213 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25214 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25215 fall back to using wcrtomb.
25216 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25217 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25218 renaming.
25219 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25220 * wcsmbs/tst-c16c32-1.c: New file.
25221
25222 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25223 local variable.
25224
c3a87236
UD
25225 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25226
28926a1b
UD
25227 * elf/tst-unique3.cc: Add explicit declaration of gets.
25228 * elf/tst-unique3lib.cc: Likewise.
25229 * elf/tst-unique3lib2.cc: Likewise.
25230 * elf/tst-unique4.cc: Likewise.
25231
df78418a
UD
25232 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25233
8ecd6b2a
JM
252342012-01-06 Joseph Myers <joseph@codesourcery.com>
25235
25236 [BZ #13566]
25237 * assert/assert.h (static_assert): Don't define for C++.
25238 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25239 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25240
9f115170
UD
252412012-01-03 Ulrich Drepper <drepper@gmail.com>
25242
5e0d0300
UD
25243 * iconv/loop.c (single loop): Fix assertion in storing of
25244 remaining bytes.
25245
9f115170
UD
25246 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25247
81fb02b0
UD
252482012-01-01 Ulrich Drepper <drepper@gmail.com>
25249
25250 * posix/getconf.c: Update copyright year.
25251 * nss/getent.c: Likewise.
a316c1f6 25252 * nss/makedb.c: Likewise.
81fb02b0
UD
25253 * iconv/iconvconfig.c: Likewise.
25254 * iconv/iconv_prog.c: Likewise.
25255 * elf/ldconfig.c: Likewise.
a316c1f6
UD
25256 * elf/pldd.c: Likewise.
25257 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
25258 * catgets/gencat.c: Likewise.
25259 * csu/version.c: Likewise.
25260 * elf/ldd.bash.in: Likewise.
25261 * elf/sprof.c (print_version): Likewise.
25262 * locale/programs/locale.c: Likewise.
25263 * locale/programs/localedef.c: Likewise.
a316c1f6 25264 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
25265 * nscd/nscd.c (print_version): Likewise.
25266 * debug/xtrace.sh: Likewise.
25267 * malloc/memusage.sh: Likewise.
25268 * malloc/mtrace.pl: Likewise.
25269 * debug/catchsegv.sh: Likewise.
25270
2ba92745
JJ
252712011-12-30 Jakub Jelinek <jakub@redhat.com>
25272
25273 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25274 pure attribute.
25275
dadebdae
UD
252762011-12-24 Ulrich Drepper <drepper@gmail.com>
25277
d3761ebc 25278 [BZ #13533]
db6af3eb
UD
25279 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25280 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25281 transformations.
25282 * iconv/gconv_int.h: Likewise.
25283 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25284 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25285 from libc for GLIBC_2.16.
25286 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25287 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25288 * wcsmbs/uchar.h: Really define mbstate_t.
25289 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25290 * wcsmbs/c16rtomb.c: New file.
25291 * wcsmbs/mbrtoc16.c: New file.
25292 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25293 for C/POSIX locale.
25294 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25295 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25296
dadebdae
UD
25297 * wcsmbs/wchar.h: Add missing __restrict.
25298
67371b56
UD
252992011-12-23 Ulrich Drepper <drepper@gmail.com>
25300
74033a25
UD
25301 [BZ #13532]
25302 * time/Makefile (routines): Add timespec_get.
25303 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25304 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25305 timespec for ISO C11.
25306 * time/timespec_get.c: New file.
25307 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25308 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25309
380d7e87
UD
25310 [BZ #13531]
25311 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25312 * stdlib/stdlib.h: Declare aligned_alloc.
25313 * Versions.def: Add GLIBC_2.16 for libc.
25314 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25315
4e9e7a35
UD
25316 [BZ 13527]
25317 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25318 ISO C11.
25319
380d7e87 25320 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
25321 code.
25322
03a71829
UD
25323 [BZ #13528]
25324 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25325
839e283e
UD
25326 [BZ #13529]
25327 * assert/assert.h (static_assert): Define.
25328
ce5294e2 25329 * version.h: Update for 2.16 development version.
90fa7312 25330
8d44e150 25331 [BZ #13526]
d7809905
UD
25332 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25333 _ISOC11_SOURCE.
25334
c0da14cd
UD
25335 * version.h (RELEASE): Bump for 2.15 release.
25336 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25337
530a3249
MP
25338 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25339 Patch by Marek Polacek <mpolacek@redhat.com>.
25340
67371b56
UD
25341 * bits/byteswap.h: Protect long long constants with __extension__.
25342 * sysdeps/i386/bits/byteswap.h: Likewise.
25343 * sysdeps/ia64/bits/byteswap.h: Likewise.
25344 * sysdeps/s390/bits/byteswap.h: Likewise.
25345 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25346
15db4de1
LD
253472011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25348
25349 [BZ #13540]
bbe315ea
LD
25350 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25351 destination buffer.
15db4de1
LD
25352 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25353
2b2596b1
MP
253542011-12-23 Marek Polacek <polacek@redhat.com>
25355
25356 * elf/dl-addr.c (determine_info): Add inline keyword.
25357 * elf/tst-auditmod4b.c (check_avx): Likewise.
25358 * elf/tst-auditmod6b.c (check_avx): Likewise.
25359 * elf/tst-auditmod6c.c (check_avx): Likewise.
25360 * elf/tst-auditmod7b.c (check_avx): Likewise.
25361
70c6c246
UD
253622011-12-23 Ulrich Drepper <drepper@gmail.com>
25363
25364 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25365 !__SSE_MATH__.
25366
c044cf14
LD
253672011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25368
15db4de1 25369 [BZ #13540]
c044cf14
LD
25370 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25371 processing for last bytes.
25372
6b13d9d9
BH
253732011-08-06 Bruno Haible <bruno@clisp.org>
25374
d455f537
BH
25375 [BZ #13061]
25376 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25377 U+0385, not to U+1FEE.
25378
6b13d9d9
BH
25379 [BZ #13062]
25380 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25381 entry for U+00A5 U+0301.
25382
db910efd
UD
253832011-12-22 Ulrich Drepper <drepper@gmail.com>
25384
27deeafc
UD
25385 [BZ #13166]
25386 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25387 buffer for the output is too small.
25388
aed9d171
UD
25389 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25390 optimization.
25391
db910efd
UD
25392 [BZ #13185]
25393 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25394 SSE flags if possible.
25395
2bd779ae
LD
253962011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25397
e7f9dac3 25398 [BZ #13540]
2bd779ae
LD
25399 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25400 processing for last bytes.
25401
154bfc16
JM
254022011-12-22 Joseph Myers <joseph@codesourcery.com>
25403
25404 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25405 (syscall-list-default-options, syscall-list-default-condition)
25406 (syscall-list-includes): Define.
25407 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25408 list of ABIs and options and #if conditions for each ABI. Do not
25409 handle common syscalls between ABIs specially.
25410 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25411 Remove.
25412 (syscall-list-variants, syscall-list-32bit-options)
25413 (syscall-list-32bit-condition, syscall-list-64bit-options)
25414 (syscall-list-64bit-condition): Define.
25415 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25416 (syscall-list-variants, syscall-list-32bit-options)
25417 (syscall-list-32bit-condition, syscall-list-64bit-options)
25418 (syscall-list-64bit-condition): Define.
25419 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25420 Remove.
25421 (syscall-list-variants, syscall-list-32bit-options)
25422 (syscall-list-32bit-condition, syscall-list-64bit-options)
25423 (syscall-list-64bit-condition): Define.
25424 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25425 Remove.
25426 (syscall-list-variants, syscall-list-32bit-options)
25427 (syscall-list-32bit-condition, syscall-list-64bit-options)
25428 (syscall-list-64bit-condition): Define.
25429
21eaf3a5
UD
254302011-12-22 Ulrich Drepper <drepper@gmail.com>
25431
16c6f992
UD
25432 * locale/iso-639.def: Add brx entry.
25433
41043168
UD
25434 [BZ #13328]
25435 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25436 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25437
21eaf3a5
UD
25438 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25439 __feraiseexcept_renamed.
25440
e3a851a2
UD
254412011-12-21 Ulrich Drepper <drepper@gmail.com>
25442
4920765e
UD
25443 [BZ #13538]
25444 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25445 EPOLLET with unsigned values.
25446 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25447 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25448
e3a851a2
UD
25449 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25450 to large cancellation.
25451 * math/s_cacoshf.c: Likewise.
25452 * math/s_cacoshl.c: Likewise.
25453
b27e24b8
RK
254542011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25455
25456 [BZ #13305]
aebefeee 25457 [BZ #12786]
b27e24b8
RK
25458 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25459 * math/s_cacoshf.c: Likewise.
25460 * math/s_cacoshl.c: Likewise.
25461
ee190f67
UD
254622011-12-21 Ulrich Drepper <drepper@gmail.com>
25463
25464 [BZ #13439]
25465 * iconv/gconv.h: Define __GCONV_SWAP.
25466 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25467 * iconvdata/utf-16.c: Likewise.
25468 * iconvdata/utf-32.c: Likewise.
25469
707f25df
AS
254702011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25471
25472 [BZ #13524]
25473 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25474 numerator after shifting it by one limb.
25475
d2daaa1e
RÁE
254762011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25477
25478 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25479 under [__USE_EXTERN_INLINES].
25480
a4647e72
UD
254812011-12-17 Ulrich Drepper <drepper@gmail.com>
25482
25483 [BZ #13446]
25484 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25485
f0b264f1
AZ
254862011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25487
25488 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25489 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25490 optimized code.
25491 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25492 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25493 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25494 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25495 for strncasecmp/strncasecmp_l compilation.
25496 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25497 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25498
8ef4f244
MP
254992011-12-08 Marek Polacek <mpolacek@redhat.com>
25500
25501 [BZ #13484]
25502 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25503 of __asm__.
25504
97ac2654
UD
255052011-12-17 Ulrich Drepper <drepper@gmail.com>
25506
25507 [BZ #13506]
25508 * time/tzfile.c (__tzfile_read): Check values from file header.
25509
91d2a845
WS
255102011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25511
25512 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25513 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25514 * powerpc/powerpc32/dl-start.S: Likewise.
25515 * powerpc/powerpc32/elf/start.S: Likewise.
25516 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25517 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25518 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25519 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25520 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25521 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25522 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25523 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25524 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25525 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25526 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25527 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25528 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25529 * powerpc/powerpc32/memset.S: Likewise.
25530 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25531 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25532 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25533 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25534 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25535 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25536 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25537 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25538 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25539 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25540 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25541 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25542 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25543
a1267ba1
AZ
255442011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25545
25546 * math/libm-test.inc: Added more nearbyint tests.
25547 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25548 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25549 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25550 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25551
ad8ac1bd
RL
255522011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25553
25554 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25555 FD_CLOEXEC.
25556
1d3e4b61
UD
255572011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25558
25559 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25560 Add wcscpy-ssse3 wcscpy-c.
25561 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25562 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25563 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25564 * sysdeps/x86_64/wcschr.S: New file.
25565 * sysdeps/x86_64/wcsrchr.S: New file.
25566 * string/test-strcmp.c: Remove checking of wcscmp function for
25567 wrong alignments.
25568 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25569 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25570 wcsrchr-sse2 wcsrchr-c.
25571 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25572 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25573 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25574 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25575 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25576 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25577 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25578 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25579 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25580 * wcsmbc/wcschr.c (WCSCHR): New macro.
25581
5b330a2d
UD
255822011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25583
25584 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25585 * wcsmbs/test-wcsrchr.c: New file.
25586 * string/test-strrchr.c: Add wcsrchr support.
25587 (WIDE): New macro.
25588 * wcsmbs/test-wcscpy.c: New file.
25589 * string/test-strcpy.c: Add wcscpy support.
25590 (WIDE): New macro.
26428b7c 25591
f039c043
UD
255922011-12-10 Ulrich Drepper <drepper@gmail.com>
25593
25594 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25595 the inner loop.
25596
850fb039
AS
255972011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25598
25599 [BZ #13472]
25600 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25601
4efbd5cb
UD
256022011-12-04 Ulrich Drepper <drepper@gmail.com>
25603
52ff5dd0 25604 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 25605 Minor optimizations.
52ff5dd0 25606
4efbd5cb
UD
25607 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25608 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25609 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25610
8a426e12
UD
256112011-12-03 Ulrich Drepper <drepper@gmail.com>
25612
aff2453d
UD
25613 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25614 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25615 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25616 for gcc to avoid warnings.
25617 * inet/Makefile (tests): Add tst-checks.
25618 * inet/tst-checks.c: New file.
25619
25620 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25621 warning.
25622
25623 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25624 __wmemcmp_sse2.
25625
25626 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25627 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25628
8a426e12
UD
25629 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25630
9bea3473
UD
256312011-12-02 Ulrich Drepper <drepper@gmail.com>
25632
3a965496
UD
25633 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25634 problem.
25635
9bea3473
UD
25636 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25637
f101631b
UD
256382011-11-29 Joseph Myers <joseph@codesourcery.com>
25639
25640 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25641 conditional on GCC version.
25642 (__arch_compare_and_exchange_val_8_acq)
25643 (__arch_compare_and_exchange_val_16_acq)
25644 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25645 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25646 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25647
a98275aa
UD
256482011-12-02 Joseph Myers <joseph@codesourcery.com>
25649
25650 * sysdeps/sh/backtrace.c: New file.
25651
d4cc29a2
AS
256522011-12-02 Andreas Schwab <schwab@redhat.com>
25653
25654 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25655 parenthesis.
25656
6257af2d
AS
256572011-12-01 Andreas Schwab <schwab@redhat.com>
25658
25659 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25660 falling back to utime.
25661
b5f44c1a
AS
256622011-11-30 Andreas Schwab <schwab@redhat.com>
25663
25664 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25665 expectations for float.
25666
f3a6cc0a
AS
256672011-11-29 Andreas Schwab <schwab@redhat.com>
25668
25669 * locale/weight.h (findidx): Add parameter len.
25670 * locale/weightwc.h (findidx): Likewise.
25671 * posix/fnmatch_loop.c (FCT): Adjust caller.
25672 * posix/regcomp.c (build_equiv_class): Likewise.
25673 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25674 * posix/regexec.c (check_node_accept_bytes): Likewise.
25675 * string/strcoll_l.c (STRCOLL): Likewise.
25676 * string/strxfrm_l.c (STRXFRM): Likewise.
25677
9d65ea3a
UD
256782011-11-17 Ulrich Drepper <drepper@gmail.com>
25679
25680 * Makefile.in: Remove CVSOPT handling.
25681 * configure.in: Remove use of AC_REVISION.
25682 * iconvdata/Makefile (distribute): No need to filter out CVS.
25683 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25684 handling.
25685
5583a086
AS
256862011-11-16 Andreas Schwab <schwab@redhat.com>
25687
25688 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25689 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25690 [USE_AS_STRNCASECMP_L]: Likewise.
25691 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25692 NO_TLS_DIRECT_SEG_REFS.
25693 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25694 Fix argument offsets for non-PIC.
25695 [USE_AS_STRNCASECMP_L]: Likewise.
25696 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25697 NO_TLS_DIRECT_SEG_REFS.
25698
d62a8200
UD
256992011-11-15 Ulrich Drepper <drepper@gmail.com>
25700
9d65ea3a 25701 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
25702 O_CLOEXEC.
25703 * locale/loadlocale.c (_nl_load_locale): Likewise.
25704
09f93bd3
AS
257052011-11-15 Andreas Schwab <schwab@redhat.com>
25706
446514f9
AS
25707 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25708 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25709 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25710 (SYSCALL_GETTIME): Set errno on error.
25711
09f93bd3
AS
25712 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25713 count references to noai6ai_cached.
25714
312be3f9
UD
257152011-11-15 Ulrich Drepper <drepper@gmail.com>
25716
25717 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25718
25719 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25720 FD_CLOEXEC for /proc/self/maps.
25721
25722 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25723 FD_CLOEXEC for /proc/meminfo.
25724
25725 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25726 gai.conf.
25727
25728 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25729 FD_CLOEXEC for given file.
25730
25731 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25732
25733 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25734 FD_CLOEXEC for /etc/hosts.
25735 (_gethtent): Likewise.
25736
25737 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25738
25739 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25740 cancellation and set FD_CLOEXEC for /etc/netgroup.
25741
25742 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25743 reading /etc/publickey.
25744
25745 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25746 allow cancellation when reading /etc/group.
25747
25748 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25749 cancellation.
25750 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25751
25752 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25753 when using data file.
25754
25755 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25756
25757 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25758 (write_nis_obj): Use "c" and "e" in fopen.
25759
25760 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25761
25762 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25763
25764 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25765
25766 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25767
25768 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25769 locale.alias.
25770
25771 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25772
25773 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25774
25775 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25776
25777 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25778 file parsing and set FD_CLOEXEC.
25779
82af0fa8
UD
257802011-11-14 Ulrich Drepper <drepper@gmail.com>
25781
25782 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25783
a5fb313c
AS
257842011-11-14 Andreas Schwab <schwab@redhat.com>
25785
25786 * malloc/arena.c (arena_get2): Don't call reused_arena when
25787 _int_new_arena failed.
25788
6abf3465
UD
257892011-11-14 Ulrich Drepper <drepper@gmail.com>
25790
25791 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25792 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25793 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25794 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25795 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25796 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25797 to compile strcasecmp and strncasecmp.
25798 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25799 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25800
25801 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25802
76e3966e
UD
258032011-11-13 Ulrich Drepper <drepper@gmail.com>
25804
25805 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25806 locale-defines.sym to gen-as-const-headers.
25807 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25808 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25809 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25810 to compile strcasecmp and strncasecmp.
25811 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25812 strcasecmp_l and strncasecmp_l.
25813 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25814 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25815 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25816 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25817 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25818 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25819 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25820 * sysdeps/i386/i686/multiarch/strncase.S: New file.
25821 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25822 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25823 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25824
ab26144e
UD
258252011-11-12 Ulrich Drepper <drepper@gmail.com>
25826
7edb22ef
UD
25827 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25828 result of SYSDEP_GETTIME_CPU to retval.
25829 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25830 parameter list to macro. Remove trailing semicolon. Adjust users.
25831
9694fc44
UD
25832 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25833 variable.
25834
8ad89ef8
UD
25835 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25836 mantissa words.
25837 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25838
0c822ef9
UD
25839 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25840 from unused variable.
25841
874e0564
UD
25842 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25843 DWARF definitions.
25844 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25845 for assembling.
25846
3a2edc79
UD
25847 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25848 over namespaces.
25849
f3c2577f
UD
25850 * sunrpc/rpc_prot.c (rejected): Fix case value.
25851
294ce126
UD
25852 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25853 unsigned long long int to avoid warnings in shift.
25854
5e2b63c6
UD
25855 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25856 of use of trans.
25857 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25858 variable tmp.
25859
e7f4b08e
UD
25860 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25861 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25862 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25863
ab26144e
UD
25864 * nis/nis_table.c (nis_list): Use variable of correct type for
25865 result of __follow_path call.
25866
8a6d5255
AZ
258672011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25868
25869 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25870 of math functions ceil, trunc, floor, round, and sqrt, when
25871 avaliable on the platform.
25872 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25873 name clash.
25874 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25875 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25876 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25877
aaddc98c
MP
258782011-10-30 Marek Polacek <mpolacek@redhat.com>
25879
25880 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25881 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25882
95b7042b
RM
258832011-11-11 Roland McGrath <roland@hack.frob.com>
25884
25885 * include/unistd.h: Fix __readlink return type.
25886 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25887
57769839
UD
258882011-11-11 Ulrich Drepper <drepper@gmail.com>
25889
25890 * stdlib/ucontext.h: Undo last change for makecontext.
25891
edc5984d
AS
258922011-11-11 Andreas Schwab <schwab@redhat.com>
25893
98591e58
AS
25894 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25895
edc5984d
AS
25896 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25897 * setjmp/setjmp.h: Mark functions as non-leaf.
25898 * setjmp/bits/setjmp2.h: Likewise.
25899 * stdlib/ucontext.h: Likewise.
25900
77cdc054
AS
259012011-11-10 Andreas Schwab <schwab@redhat.com>
25902
25903 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25904 (reused_arena): Don't check arena limit.
25905 (arena_get2): Atomically check arena limit.
25906
fe72eebd
UD
259072011-11-08 Ulrich Drepper <drepper@gmail.com>
25908
5f078c32
UD
25909 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25910 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25911
fe72eebd
UD
25912 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25913 instructions.
25914
ae1bc2fa
AS
259152011-11-07 Andreas Schwab <schwab@redhat.com>
25916
7583a88d
AS
25917 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25918 handler when locking.
25919
ae1bc2fa
AS
25920 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25921 Fix size of allocated buffer.
25922
10fb0bfa
AS
259232011-11-04 Andreas Schwab <schwab@redhat.com>
25924
998832a4
AS
25925 [BZ #10103]
25926 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25927 declarations for long double functions.
25928 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25929
10fb0bfa
AS
25930 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25931
3d7ba52b
AS
259322011-11-03 Andreas Schwab <schwab@redhat.com>
25933
a9ae54a1
AS
25934 * nscd/nscd.c (main): Don't start AVC thread until credentials are
25935 installed.
25936
3d7ba52b
AS
25937 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25938 is disabled.
25939
bc8db248
ST
259402011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
25941
25942 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25943
45b96dd6
AS
259442011-11-01 Andreas Schwab <schwab@linux-m68k.org>
25945
647776f6
AS
25946 * include/alloca.h (stackinfo_alloca_round): Define.
25947 (extend_alloca): Use it.
25948 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25949 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25950 here.
25951
d91a8b93
AS
25952 * scripts/check-local-headers.sh: Ignore libaudit.h.
25953
45b96dd6
AS
25954 * nscd/Makefile (extra-objs): Make recursively expanded.
25955
432d41ce
UD
259562011-11-01 Ulrich Drepper <drepper@gmail.com>
25957
34372fc6
UD
25958 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25959 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25960
fadb59f8
UD
25961 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25962 * posix/tst-rfc3484-2.c: Likewise.
25963 * posix/tst-rfc3484-3.c: Likewise.
25964
78239589
UD
25965 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25966 process_vm_writev.
25967 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25968 process_vm_writev.
25969 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25970 process_vm_writev from libc using GLIBC_2.15 version.
25971
432d41ce
UD
25972 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25973
02f9c6cf
PP
259742011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
25975
25976 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25977 stack usage.
25978
3a2c0242
UD
259792011-10-31 Ulrich Drepper <drepper@gmail.com>
25980
f4ec4833
UD
25981 [BZ #13367]
25982 * nss/getent.c (initgroups_keys): Show error message in case no group
25983 names are given.
25984
3a2c0242
UD
25985 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25986 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25987 __bump_nl_timestamp.
25988 * nscd/connections (nscd_init): When host database is served open
25989 netlink socket and request notification about configuration changes.
25990 (main_loop_poll): Track netlink file descriptor and bump timestamp
25991 in case data becomes available.
25992 (main_loop_epoll): Likewise.
25993 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25994 (database_pers_head): Add extra_data fileds.
25995 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25996 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25997 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25998 Adjust caller.
25999 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26000 in6ai data, call __free_in6ai.
26001 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26002 Add -DHAVE_NETLINK.
26003 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26004 interface information. Reuse previous data if netlink timestamp
26005 is not changed.
26006 (__bump_nl_timestamp): New function.
26007 (__free_in6ai): New function.
26008
636064eb
UD
260092011-10-30 Ulrich Drepper <drepper@gmail.com>
26010
26011 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26012 close_not_cancel_no_status here.
26013 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26014
9beb2334
UD
260152011-10-29 Ulrich Drepper <drepper@gmail.com>
26016
6ef76f3b
UD
26017 [BZ #13276]
26018 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26019 return value.
26020
0ffc4f3e 26021 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
26022 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26023 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26024
cb95113e
UD
260252011-07-03 Andreas Jaeger <aj@suse.de>
26026
26027 [BZ #10709]
26028 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26029 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26030 * math/libm-test.inc (sin_test): Add test case.
26031
a1b560ff
UD
260322011-10-29 Ulrich Drepper <drepper@gmail.com>
26033
c9aaface
UD
26034 [BZ #13337]
26035 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26036 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26037
d272e7f1
UD
26038 * elf/chroot_canon.c (chroot_canon): Cleanups.
26039
1bc33071
UD
26040 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26041
1760874d
TJ
26042 [BZ #13335]
26043 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26044 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26045
51d91b18
UD
26046 * string/test-strchr.c: Make usable for strchrnul testing.
26047 * string/test-strchrnul.c: New file.
26048 * string/Makefile (strop-tests): Add strchrnul.
26049
a1b560ff 26050 * po/it.po: Update from translation team.
b611fb81 26051 * po/es.po: Likewise.
a1b560ff 26052
a5b81e1f
UD
260532011-10-28 Ulrich Drepper <drepper@gmail.com>
26054
fd52bc6d
UD
26055 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26056 the three constants needed as parameters. Drop the others.
26057 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26058 __m128i_strloadu_tolower.
52e4b9eb
UD
26059 Create and initialize variable zero and use it in all the places
26060 where _mm_setzero_si128 was used.
fd52bc6d 26061
a5b81e1f
UD
26062 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26063 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26064 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26065 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26066 anymore.
26067 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26068 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26069 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26070 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26071 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26072 __mpranred, __mptan.
26073 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26074 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26075 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26076 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26077 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26078 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26079 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26080 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26081 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26082
b4343346
AS
260832011-10-28 Andreas Schwab <schwab@redhat.com>
26084
0c92d8a8
AS
26085 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26086 redefine if SHARED.
26087 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26088
b4343346
AS
26089 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26090 wide char related routines to wcsmbs subdir.
26091
3871f58f
AS
260922011-10-27 Andreas Schwab <schwab@redhat.com>
26093
26094 [BZ #13344]
26095 * misc/sys/cdefs.h (__THROWNL): Define.
26096 * posix/unistd.h: Use __THREADNL instead of __THREAD
26097 for memory synchronization functions.
26098
94d44d9f
RM
260992011-10-26 Roland McGrath <roland@hack.frob.com>
26100
21b64b15 26101 [BZ #13349]
94d44d9f
RM
26102 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26103 doesn't exist.
26104 * manual/stdio.texi (Obstack Streams): Node removed.
26105
f6ce9294
AS
261062011-10-26 Andreas Schwab <schwab@redhat.com>
26107
80479147
AS
26108 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26109 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26110 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26111
f6ce9294
AS
26112 * math/math_private.h (math_force_eval): Allow non-addressable
26113 arguments.
26114 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26115
618280a1
UD
261162011-10-25 Ulrich Drepper <drepper@gmail.com>
26117
e0016b11
UD
26118 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26119 file is not needed.
26120
26121 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26122 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26123 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26124 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26125 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26126 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26127 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26128 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26129 Add AVX variants.
26130 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26131 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26132 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26133 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26134 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26135 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26136 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26137 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26138 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26139 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26140 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26141 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26142 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26143 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26144 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26145 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26146 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26147 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26148 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26149
26150 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26151 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26152
618280a1
UD
26153 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26154 place. Use VEX encoding when compiling for AVX.
26155
37822576
AS
261562011-10-25 Andreas Schwab <schwab@redhat.com>
26157
1f1e1947
AS
26158 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26159 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26160
37822576
AS
26161 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26162
31ea014d
UD
261632011-10-25 Ulrich Drepper <drepper@gmail.com>
26164
d7826aa1 26165 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 26166 useless if() expression.
d7826aa1
UD
26167 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26168 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26169 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26170 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26171 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26172 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26173 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26174 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26175 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26176 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26177 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26178 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26179 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26180 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26181 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26182 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26183 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26184 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26185 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26186
31ea014d
UD
26187 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26188
16437fec
AS
261892011-10-25 Andreas Schwab <schwab@redhat.com>
26190
26191 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26192 condition.
26193 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26194
31d3cc00
UD
261952011-10-25 Ulrich Drepper <drepper@gmail.com>
26196
26197 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26198 .text section. Avoid duplicate constants.
26199 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26200 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26201 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26202 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26203 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26204 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26205 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26206 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26207 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26208 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26209 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26210 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26211 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26212 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26213 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26214 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26215 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26216 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26217 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26218 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26219 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26220 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26221 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26222 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26223 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26224 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26225 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26226 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26227 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26228 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26229 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26230 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26231 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26232 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26233 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26234 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26235 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26236 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26237 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26238 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26239 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26240 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26241 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26242 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26243 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26244
58985aa9
UD
262452011-10-24 Ulrich Drepper <drepper@gmail.com>
26246
202c9deb
UD
26247 * sysdeps/x86_64/dla.h: Move to ...
26248 * sysdeps/x86_64/fpu/dla.h: ...here.
26249 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26250 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 26251
af968f62
UD
26252 * config.make.in: Add have-mfma4 entry.
26253 * configure.in: Substitute libc_cv_cc_fma4.
26254 * math/Makefile (dbl-only-routines): Add sincostab.
26255 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26256 Use __sincostab not sincos.
26257 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26258 name is a macro.
26259 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26260 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26261 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26262 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
26263 using __copysign.
26264 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26265 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26266 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26267 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26268 and __inv.
26269 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26270 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26271 __copysign.
26272 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
26273 define aliases when function name is a macro.
26274 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26275 sysdeps/ieee754/dbl-64/sincos.tbl.
26276 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26277 fma4-enabled routines.
26278 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26279 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26280 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26281 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26282 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26283 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26284 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26285 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26286 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26287 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26288 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26289 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26290 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26291 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26292 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26293 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26294 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26295 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26296 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26297 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26298 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26299 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26300 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26301 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26302 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26303 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26304 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26305 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26306 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26307 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26308
58985aa9
UD
26309 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26310 rename.
26311 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26312 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26313 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26314 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26315 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26316 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26317 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26318 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26319
a201fbcf
AS
263202011-10-24 Andreas Schwab <schwab@redhat.com>
26321
26322 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26323
fc2ee42a
LD
263242011-10-23 Ulrich Drepper <drepper@gmail.com>
26325
bb3129bd
UD
26326 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26327
0275fff8
UD
26328 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26329 prediction.
26330 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26331
2fa2ae85
UD
26332 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26333 Remove unused variable magic_bits.
26334 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26335
fc2ee42a
LD
26336 * string/strnlen.c: Define and use STRNLEN macro.
26337 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26338 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26339 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26340 * wcsmbs/wcslen.c: Define and use WCSLEN.
26341 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26342 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26343 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26344 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26345 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26346 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26347 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26348
ce7dd29f
LD
263492011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26350
26351 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26352 strnlen-sse2-no-bsf.
26353 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26354 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26355 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26356 Add strnlen support.
26357 (USE_AS_STRNLEN): New macro.
26358 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26359 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26360 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26361 * sysdeps/x86_64/wcslen.S: New file.
26362
979c70a3
MZ
263632011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26364
26365 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26366 XMM-moves are used for copying on small sizes.
26367
2d09f82f
LD
263682011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26369
26370 * wcsmbs/Makefile (strop-tests): Add wcschr.
26371 * wcsmbs/test-wcschr.c: New file.
26372 * string/test-strchr.c: Update.
26373 Add wcschr support.
26374 (WIDE): New macro.
26375
619fccca
LD
263762011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26377
2d09f82f 26378 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
26379 * wcsmbs/test-wcslen.c: New file.
26380 * string/test-strlen.c: Update.
26381 Add wcslen support.
26382 (WIDE): New macro.
26383
09f699ea
UD
263842011-10-23 Ulrich Drepper <drepper@gmail.com>
26385
26386 * po/it.po: Update from translation team.
26387
95584d3b
LD
263882011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26389
26390 * sysdeps/x86_64/wcscmp.S: Update.
26391 Fix wrong comparison semantics.
26392 wcscmp shall use signed comparison not unsigned.
26393 Don't use substraction to avoid overflow bug.
26394 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26395 * wcsmbc/wcscmp.c: Likewise.
26396 * string/test-strcmp.c: Likewise.
26397 Add new tests to check cases with negative values.
26398
c8b3296b
UD
263992011-10-23 Ulrich Drepper <drepper@gmail.com>
26400
26401 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26402 * sysdeps/x86_64/dla.h: ...here. New file.
26403 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26404 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26405 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26406 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26407 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26408 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26409 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26410 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26411 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26412
246ad57a
AS
264132011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26414
26415 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26416 __ynl_finite aliases.
26417
a1a87169
UD
264182011-10-22 Ulrich Drepper <drepper@gmail.com>
26419
0d355eb7
UD
26420 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26421
a1a87169
UD
26422 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26423 define DLA_FMA.
26424 [DLA_FMA] (EMULV): Use DLA_FMA.
26425 [DLA_FMA] (MUL12): Use EMULV.
26426 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26427 that are not needed.
26428 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26429 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26430 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26431 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26432 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26433 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26434 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26435
ee2aafe0
AS
264362011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26437
26438 * math/s_nan.c: Undef __nan.
26439 * math/s_nanf.c: Undef __nanf.
26440 * math/s_nanl.c: Undef __nanl.
26441 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26442 "math_private.h".
26443
bc62c2fb
UD
264442011-10-22 Ulrich Drepper <drepper@gmail.com>
26445
77425c63
UD
26446 * math/s_catan.c: Add branch predictions.
26447 * math/s_catanf.c: Likewise.
26448 * math/s_catanh.c: Likewise.
26449 * math/s_catanhf.c: Likewise.
26450 * math/s_catanhl.c: Likewise.
26451 * math/s_catanl.c: Likewise.
26452 * math/s_cexp.c: Likewise.
26453 * math/s_cexpf.c: Likewise.
26454 * math/s_cexpl.c: Likewise.
26455 * math/s_clog.c: Likewise.
26456 * math/s_clog10.c: Likewise.
26457 * math/s_clog10f.c: Likewise.
26458 * math/s_clog10l.c: Likewise.
26459 * math/s_clogf.c: Likewise.
26460 * math/s_clogl.c: Likewise.
26461 * math/s_csqrt.c: Likewise.
26462 * math/s_csqrtf.c: Likewise.
26463 * math/s_csqrtl.c: Likewise.
26464 * math/s_ctanf.c: Likewise.
26465 * math/s_ctanh.c: Likewise.
26466 * math/s_ctanhf.c: Likewise.
26467 * math/s_ctanhl.c: Likewise.
26468 * math/s_ctanl.c: Likewise.
26469
bc62c2fb
UD
26470 * math/math_private.h: Define __nan, __nanf, __nanl.
26471 * math/s_cacosh.c: Include <math_private.h>.
26472 * math/s_cacoshl.c: Likewise.
26473 * math/s_casinh.c: Likewise.
26474 * math/s_casinhf.c: Likewise.
26475 * math/s_casinhl.c: Likewise.
26476 * math/s_ccos.c: Rely entire on ccosh.
26477 * math/s_ccosf.c: Rely entire on ccoshf.
26478 * math/s_ccosl.c: Rely entirely on ccoshl.
26479 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26480 Remove tests for FE_INVALID.
26481 * math/s_ccoshf.c: Likewise.
26482 * math/s_ccoshl.c: Likewise.
26483 * math/s_csin.c: Likewise.
26484 * math/s_csinf.c: Likewise.
26485 * math/s_csinh.c Likewise.
26486 * math/s_csinhf.c: Likewise.
26487 * math/s_csinhl.c: Likewise.
26488 * math/s_csinl.c: Likewise.
26489 * math/s_ctan.c: Likewise.
26490 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26491 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26492 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26493
8ec250a4
UD
264942011-10-21 Ulrich Drepper <drepper@gmail.com>
26495
c196fed8
UD
26496 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26497 compilation problems.
26498
8ec250a4
UD
26499 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26500 __builtin_expect.
26501
8d4f46c6
UD
265022011-10-20 Ulrich Drepper <drepper@gmail.com>
26503
ed72b654
UD
26504 * sysdeps/i386/configure.in: Test for -mfma4 option.
26505 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26506 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26507 COMMON_CPUID_INDEX_80000001.
26508 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26509 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26510 use it if FMA3 is not supported.
26511 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26512
8d4f46c6
UD
26513 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26514 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26515
d45c60c2
AS
265162011-10-20 Andreas Schwab <schwab@redhat.com>
26517
26518 [BZ #12892]
26519 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26520 it would create a cycle with a link time dependency.
26521
d9a4d2ab
UD
265222011-10-19 Ulrich Drepper <drepper@gmail.com>
26523
855d1560
UD
26524 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26525 instruction.
26526 * string/Makefile (strop-tests): Add rawmemchr.
26527 * string/test-rawmemchr.c: New file.
26528
d9a4d2ab
UD
26529 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26530 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26531 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26532 when compiling str{,n}casecmp and when AVX is available. Hook up
26533 new optimized code in initializers.
26534
8f3b1ffe
AS
265352011-10-19 Andreas Schwab <schwab@redhat.com>
26536
26537 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26538 __feraiseexcept instead of feraiseexcept.
26539
d38f1dba
UD
265402011-10-18 Ulrich Drepper <drepper@gmail.com>
26541
d9a8d0ab
UD
26542 * math/math_private.h: Define defaults for libc_fetestexcept and
26543 libc_feupdateenv.
26544 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26545 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26546 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26547 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26548 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26549 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26550 libc_fetestexcept and libc_feupdateenv.
26551
4855e3dd
UD
26552 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26553 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26554 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26555 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26556 libc_feholdexcept_setround.
26557
581d30e3
UD
26558 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26559 Add s_nearbyint-c and s_nearbyintf-c.
26560 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26561 nearbyintf inlines.
26562 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26563 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26564 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26565 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26566
d38f1dba
UD
26567 * math/math_private.h: Define defaults for libc_fegetround,
26568 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26569 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26570 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26571 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26572 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26573 standard functions.
26574 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26575 Remove comments and hacks for old compiler versions.
26576 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26577 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26578 libc_feholdexceptl.
26579
caa6c9d8
AS
265802011-10-18 Andreas Schwab <schwab@redhat.com>
26581
26582 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
26583 (__feraiseexcept_renamed): Add __NTH.
26584 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
26585 namespace violations.
26586
97c066e6
UD
265872011-10-17 Ulrich Drepper <drepper@gmail.com>
26588
99ce7b04
UD
26589 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26590
1004d182
UD
26591 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26592
228a984d
UD
26593 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26594 recently added interfaces.
26595 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26596
c8553a6a
UD
26597 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26598 about macro parameter expansion.
26599
ed22dcf6
UD
26600 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26601 __NO_MATH_INLINES is defined. Cleanups.
26602
26603 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26604 and __floorf is target has SSE4.1.
26605 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26606 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26607 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26608 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26609
b171c137
UD
26610 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26611 name.
26612 (floorf): Likewise.
26613
97c066e6
UD
26614 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26615
629f62ef
AS
266162011-10-17 Andreas Schwab <schwab@redhat.com>
26617
49a43d80
AS
26618 * misc/sys/cdefs.h: Fix last change.
26619
629f62ef
AS
26620 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26621 database lookup.
26622
e453f6cd
UD
266232011-10-16 Ulrich Drepper <drepper@gmail.com>
26624
aa78043a
UD
26625 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26626
ad0f5cad
UD
26627 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26628 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26629 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26630 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26631 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26632 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26633 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26634 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26635 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26636 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26637 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26638 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26639 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26640 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26641 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26642 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26643 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26644 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26645 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26646 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26647 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26648 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26649
26650 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26651 ceil, ceilf, floor, floorf.
26652
26653 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26654 Perform IRELATIVE relocations last.
26655
e453f6cd
UD
26656 * elf/do-rel.h: Add another parameter nrelative, replacing the
26657 local variable with the same name. Change name of the function
26658 to end in Rel or Rela (uppercase).
26659 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26660 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26661 elf_dynamic_do_##reloc function.
26662
fd5bdc09
UD
266632011-10-15 Ulrich Drepper <drepper@gmail.com>
26664
79b195b5
UD
26665 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26666 is sufficient, at least on modern CPUs.
26667
d4a28569
UD
26668 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26669
b61099b5
UD
26670 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26671 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26672
bcf01e6d
UD
26673 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26674 __expl_finite.
26675 * math/bits/math-finite.h: Add entries for exp.
26676 * math/e_expl.c: Add __*_finite alias.
26677 * sysdeps/i386/fpu/e_exp.S: Likewise.
26678 * sysdeps/i386/fpu/e_expf.S: Likewise.
26679 * sysdeps/i386/fpu/e_expl.c: Likewise.
26680 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26681 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26682 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26683 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26684 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26685 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26686 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26687
ba1a0d59
UD
26688 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26689 is sufficient, at least on modern CPUs.
26690
fd5bdc09
UD
26691 * ctype/ctype-info.c (__ctype_init): Define.
26692 * include/ctype.h (__ctype_init): Declare.
26693 (__ctype_b_loc): The variable is always initialized.
26694 (__ctype_toupper_loc): Likewise.
26695 (__ctype_tolower_loc): Likewise.
26696 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26697 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26698
7872cfb0
AS
266992011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26700
b468825a
AS
26701 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26702
7872cfb0
AS
26703 * configure.in: Also look in $cxxmachine/include for C++ system
26704 headers.
26705
be13f7bf
LD
267062011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26707
26708 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26709 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26710 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26711 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26712 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26713 (USE_AS_WMEMCMP): New macro.
26714 Fixing indents.
26715 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26716 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26717 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26718 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26719 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26720 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26721 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26722 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26723 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26724 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26725 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26726 (USE_AS_WMEMCMP): New macro.
26727 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26728 * sysdeps/string/test-memcmp.c: Update.
26729 Fix simple_wmemcmp.
26730 Add new tests.
26731 * wcsmbs/wmemcmp.c: Update.
26732 (WMEMCMP): New macro.
26733 Fix overflow bug.
26734
556a2007
AJ
267352011-10-12 Andreas Jaeger <aj@suse.de>
26736
26737 [BZ #13268]
26738 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26739
538faaa7
UD
267402011-10-15 Ulrich Drepper <drepper@gmail.com>
26741
ab6737ff
UD
26742 * libio/iofwide.c (do_length): Avoid warning.
26743
538faaa7
UD
26744 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26745
396a21b1
UD
267462011-10-14 Ulrich Drepper <drepper@gmail.com>
26747
cdf2901f
UD
26748 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26749
38ad40ce
UD
26750 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26751 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26752 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26753 * sysdeps/i386/i686/fpu/e_log.S: New file.
26754 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26755 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26756
396a21b1
UD
26757 * ctype/ctype.h: Add support for inlined isXXX functions when
26758 compiling C++ code.
26759
6b1f68c9
AS
267602011-10-14 Andreas Schwab <schwab@redhat.com>
26761
349290c0
AS
26762 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26763
6b1f68c9
AS
26764 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26765
f2282d42
RM
267662011-10-13 Roland McGrath <roland@hack.frob.com>
26767
26768 [BZ #13291]
26769 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26770
5298ffa8
AS
267712011-10-13 Andreas Schwab <schwab@redhat.com>
26772
714fad23
AS
26773 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26774 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26775 feraiseexcept.
26776
81dcc7fb
AS
26777 * sysdeps/x86_64/memrchr.S: Check for zero size.
26778
5298ffa8
AS
26779 * string/stratcliff.c: Add memrchr tests.
26780
951fbcec
LD
267812011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26782
26783 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26784 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26785 rawmemchr-sse2 rawmemchr-sse2-bsf.
26786 * sysdeps/i386/i686/multiarch/memchr.S: New file.
26787 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26788 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26789 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26790 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26791 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26792 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26793 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26794 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26795 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26796 * string/memrchr.c (MEMRCHR): New macro.
26797
0ac5ae23
UD
267982011-10-12 Ulrich Drepper <drepper@gmail.com>
26799
26800 Add integration with gcc's -ffinite-math-only and optimize wrapper
26801 functions in libm.
26802 * Versions.def: Define GLIBC_2.15 version for libm.
26803 * math/Makefile (headers): Add bits/math-finite.h.
26804 * math/bits/math-finite.h: New file.
26805 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26806 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26807 * math/e_acoshl.c: Add __*_finite alias.
26808 * math/e_acosl.c: Likewise.
26809 * math/e_asinl.c: Likewise.
26810 * math/e_atan2l.c: Likewise.
26811 * math/e_atanhl.c: Likewise.
26812 * math/e_coshl.c: Likewise.
26813 * math/e_exp10.c: Likewise.
26814 * math/e_exp10f.c: Likewise.
26815 * math/e_exp10l.c: Likewise.
26816 * math/e_exp2l.c: Likewise.
26817 * math/e_fmodl.c: Likewise.
26818 * math/e_gammal_r.c: Likewise.
26819 * math/e_hypotl.c: Likewise.
26820 * math/e_j0l.c: Likewise.
26821 * math/e_j1l.c: Likewise.
26822 * math/e_jnl.c: Likewise.
26823 * math/e_lgammal_r.c: Likewise.
26824 * math/e_log10l.c: Likewise.
26825 * math/e_log2l.c: Likewise.
26826 * math/e_logl.c: Likewise.
26827 * math/e_powl.c: Likewise.
26828 * math/e_sinhl.c: Likewise.
26829 * math/e_sqrtl.c: Likewise.
26830 * math/e_scalb.c: Completely rewritten and optimized.
26831 * math/e_scalbf.c: Likewise.
26832 * math/e_scalbl.c: Likewise.
26833 * math/w_acos.c: Likewise.
26834 * math/w_acosf.c: Likewise.
26835 * math/w_acosl.c: Likewise.
26836 * math/w_acosh.c: Likewise.
26837 * math/w_acoshf.c: Likewise.
26838 * math/w_acoshl.c: Likewise.
26839 * math/w_asin.c: Likewise.
26840 * math/w_asinf.c: Likewise.
26841 * math/w_asinl.c: Likewise.
26842 * math/w_atan2.c: Likewise.
26843 * math/w_atan2f.c: Likewise.
26844 * math/w_atan2l.c: Likewise.
26845 * math/w_atanh.c: Likewise.
26846 * math/w_atanhf.c: Likewise.
26847 * math/w_atanhl.c: Likewise.
26848 * math/w_exp10.c: Likewise.
26849 * math/w_exp10f.c: Likewise.
26850 * math/w_exp10l.c: Likewise.
26851 * math/w_fmod.c: Likewise.
26852 * math/w_fmodf.c: Likewise.
26853 * math/w_fmodl.c: Likewise.
26854 * math/w_j0.c: Likewise.
26855 * math/w_j0f.c: Likewise.
26856 * math/w_j0l.c: Likewise.
26857 * math/w_j1.c: Likewise.
26858 * math/w_j1f.c: Likewise.
26859 * math/w_j1l.c: Likewise.
26860 * math/w_jn.c: Likewise.
26861 * math/w_jnf.c: Likewise.
26862 * math/w_log.c: Likewise.
26863 * math/w_logf.c: Likewise.
26864 * math/w_logl.c: Likewise.
26865 * math/w_log10.c: Likewise.
26866 * math/w_log10f.c: Likewise.
26867 * math/w_log10l.c: Likewise.
26868 * math/w_log2.c: Likewise.
26869 * math/w_log2f.c: Likewise.
26870 * math/w_log2l.c: Likewise.
26871 * math/w_pow.c: Likewise.
26872 * math/w_powf.c: Likewise.
26873 * math/w_powl.c: Likewise.
26874 * math/w_remainder.c: Likewise.
26875 * math/w_remainderf.c: Likewise.
26876 * math/w_remainderl.c: Likewise.
26877 * math/w_scalb.c: Likewise.
26878 * math/w_scalbf.c: Likewise.
26879 * math/w_scalbl.c: Likewise.
26880 * math/w_sqrt.c: Likewise.
26881 * math/w_sqrtf.c: Likewise.
26882 * math/w_sqrtl.c: Likewise.
26883 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26884 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26885 used.
26886 * math/math_private.h: Declare __kernel_standard_f.
26887 * math/w_cosh.c: Remove cruft and optimize a bit.
26888 * math/w_coshf.c: Likewise.
26889 * math/w_coshl.c: Likewise.
26890 * math/w_exp2.c: Likewise.
26891 * math/w_exp2f.c: Likewise.
26892 * math/w_exp2l.c: Likewise.
26893 * math/w_hypot.c: Likewise.
26894 * math/w_hypotf.c: Likewise.
26895 * math/w_hypotl.c: Likewise.
26896 * math/w_lgamma.c: Likewise.
26897 * math/w_lgamma_r.c: Likewise.
26898 * math/w_lgammaf.c: Likewise.
26899 * math/w_lgammaf_r.c: Likewise.
26900 * math/w_lgammal.c: Likewise.
26901 * math/w_lgammal_r.c: Likewise.
26902 * math/w_sinh.c: Likewise.
26903 * math/w_sinhf.c: Likewise.
26904 * math/w_sinhl.c: Likewise.
26905 * math/w_tgamma.c: Likewise.
26906 * math/w_tgammaf.c: Likewise.
26907 * math/w_tgammal.c: Likewise.
26908 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26909 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26910 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26911 Minor optimizations. Pretty printing. Remove cruft.
26912 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26913 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26914 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26915 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26916 * sysdeps/i386/fpu/e_acosl.c: Likewise.
26917 * sysdeps/i386/fpu/e_asin.S: Likewise.
26918 * sysdeps/i386/fpu/e_asinf.S: Likewise.
26919 * sysdeps/i386/fpu/e_atan2.S: Likewise.
26920 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26921 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26922 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26923 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26924 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26925 * sysdeps/i386/fpu/e_exp10.S: Likewise.
26926 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26927 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26928 * sysdeps/i386/fpu/e_exp2.S: Likewise.
26929 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26930 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26931 * sysdeps/i386/fpu/e_fmod.S: Likewise.
26932 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26933 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26934 * sysdeps/i386/fpu/e_hypot.S: Likewise.
26935 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26936 * sysdeps/i386/fpu/e_log.S: Likewise.
26937 * sysdeps/i386/fpu/e_log10.S: Likewise.
26938 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26939 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26940 * sysdeps/i386/fpu/e_log2.S: Likewise.
26941 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26942 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26943 * sysdeps/i386/fpu/e_logf.S: Likewise.
26944 * sysdeps/i386/fpu/e_logl.S: Likewise.
26945 * sysdeps/i386/fpu/e_pow.S: Likewise.
26946 * sysdeps/i386/fpu/e_powf.S: Likewise.
26947 * sysdeps/i386/fpu/e_powl.S: Likewise.
26948 * sysdeps/i386/fpu/e_remainder.S: Likewise.
26949 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26950 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26951 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26952 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26953 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26954 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26955 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26956 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26957 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26958 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26959 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26960 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26961 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26962 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26963 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26964 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26965 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26966 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26967 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26968 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26969 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26970 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26971 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26972 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26973 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26974 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26975 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26976 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26977 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26978 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26979 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26980 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26981 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26982 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26983 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26984 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26985 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26986 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26987 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26988 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26989 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26990 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26991 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26992 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26993 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26994 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26995 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26996 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26997 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26998 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26999 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27000 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27001 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27002 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27003 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27004 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27005 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27006 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27007 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27008 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27009 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27010 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27011 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27012 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27013 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27014 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27015 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27016 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27017 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27018 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27019 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27020 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27021 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27022 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27023 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27024 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27025 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27026 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27027 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27028 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27029 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27030 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27031 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27032 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27033 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27034 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27035 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27036 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27037 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27038 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27039 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27040 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27041 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27042 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27043 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27044 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27045 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27046 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27047 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27048 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27049 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27050 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27051 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27052 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27053 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27054 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27055 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27056 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27057 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27058 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27059 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27060 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27061 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27062 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27063 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27064 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27065 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27066 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27067 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27068 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27069 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27070 (__isnanf): Likewise.
27071 (__isinf_ns): Likewise.
27072 (__isinf_nsf): Likewise.
27073 (__finite): Likewise.
27074 (__finitef): Likewise.
27075 (__ieee754_sqrt): Define as macro.
27076 (__ieee754_sqrtf): Define as macro.
27077 (__ieee754_sqrtl): Define as macro.
27078 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27079 inlined copy.
27080 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27081 __FINITE_MATH_ONLY__ consistent.
27082 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27083
12cc2fcd
AS
270842011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27085
a843a204
AS
27086 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27087 of rawmemchr.
27088
12cc2fcd
AS
27089 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27090
c853acd5
UD
270912011-10-09 Ulrich Drepper <drepper@gmail.com>
27092
27093 * po/ja.po: Update from translation team.
27094
c658d255
RM
270952011-10-08 Roland McGrath <roland@hack.frob.com>
27096
110946e4
RM
27097 * locale/programs/locarchive.c (prepare_address_space): New function.
27098 (create_archive, enlarge_archive, open_archive): Use it.
27099
50604220
RM
27100 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27101 inside [SHARED], where it is used.
27102
c658d255
RM
27103 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27104
27105 * nss/getent.c (netgroup_keys): Remove unused variable.
27106 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27107
6a621eb7
UD
271082011-10-08 Ulrich Drepper <drepper@gmail.com>
27109
7edb55ce
UD
27110 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27111 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27112 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27113 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27114 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27115 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27116 * math/Makefile (libm-calls): Add s_isinf_ns.
27117 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27118 * math/multc3.c: Likewise.
27119 * math/s_casin.c: Likewise.
27120 * math/s_casinf.c: Likewise.
27121 * math/s_casinl.c: Likewise.
27122 * math/s_ccos.c: Likewise.
27123 * math/s_ccosf.c: Likewise.
27124 * math/s_ccosl.c: Likewise.
27125 * math/s_ctan.c: Likewise.
27126 * math/s_ctanf.c: Likewise.
27127 * math/s_ctanh.c: Likewise.
27128 * math/s_ctanhf.c: Likewise.
27129 * math/s_ctanhl.c: Likewise.
27130 * math/s_ctanl.c: Likewise.
27131 * math/w_fmod.c: Likewise.
27132 * math/w_fmodf.c: Likewise.
27133 * math/w_fmodl.c: Likewise.
27134 * math/w_remainder.c: Likewise.
27135 * math/w_remainderf.c: Likewise.
27136 * math/w_remainderl.c: Likewise.
27137 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27138 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27139 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27140 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27141 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27142 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27143 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27144 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27145
187da0ae
UD
27146 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27147 of the number.
27148 * stdio-common/printf_fphex.c: Likewise.
27149 * stdio-common/printf_size.c: Likewise.
27150
9277c064
UD
27151 * math/e_exp10.c: Include math_private.h using <...> not "...".
27152 * math/e_exp10f.c: Likewise.
27153 * math/e_exp10l.c: Likewise.
27154 * math/e_exp2l.c: Likewise.
27155 * math/e_j0l.c: Likewise.
27156 * math/e_j1l.c: Likewise.
27157 * math/e_jnl.c: Likewise.
27158 * math/e_lgammal_r.c: Likewise.
27159 * math/e_rem_pio2l.c: Likewise.
27160 * math/e_scalb.c: Likewise.
27161 * math/e_scalbf.c: Likewise.
27162 * math/e_scalbl.c: Likewise.
27163 * math/k_cosl.c: Likewise.
27164 * math/k_sinl.c: Likewise.
27165 * math/k_tanl.c: Likewise.
27166 * math/s_cacoshf.c: Likewise.
27167 * math/s_catan.c: Likewise.
27168 * math/s_catanf.c: Likewise.
27169 * math/s_catanh.c: Likewise.
27170 * math/s_catanhf.c: Likewise.
27171 * math/s_catanhl.c: Likewise.
27172 * math/s_catanl.c: Likewise.
27173 * math/s_ccosh.c: Likewise.
27174 * math/s_ccoshf.c: Likewise.
27175 * math/s_ccoshl.c: Likewise.
27176 * math/s_cexp.c: Likewise.
27177 * math/s_cexpf.c: Likewise.
27178 * math/s_cexpl.c: Likewise.
27179 * math/s_clog.c: Likewise.
27180 * math/s_clog10.c: Likewise.
27181 * math/s_clog10f.c: Likewise.
27182 * math/s_clog10l.c: Likewise.
27183 * math/s_clogf.c: Likewise.
27184 * math/s_clogl.c: Likewise.
27185 * math/s_csin.c: Likewise.
27186 * math/s_csinf.c: Likewise.
27187 * math/s_csinh.c: Likewise.
27188 * math/s_csinhf.c: Likewise.
27189 * math/s_csinhl.c: Likewise.
27190 * math/s_csinl.c: Likewise.
27191 * math/s_csqrt.c: Likewise.
27192 * math/s_csqrtf.c: Likewise.
27193 * math/s_csqrtl.c: Likewise.
27194 * math/s_ctan.c: Likewise.
27195 * math/s_ctanf.c: Likewise.
27196 * math/s_ctanh.c: Likewise.
27197 * math/s_ctanhf.c: Likewise.
27198 * math/s_ctanhl.c: Likewise.
27199 * math/s_ctanl.c: Likewise.
27200 * math/s_ldexp.c: Likewise.
27201 * math/s_ldexpf.c: Likewise.
27202 * math/s_ldexpl.c: Likewise.
27203 * math/s_significand.c: Likewise.
27204 * math/s_significandf.c: Likewise.
27205 * math/s_significandl.c: Likewise.
27206 * math/w_acos.c: Likewise.
27207 * math/w_acosf.c: Likewise.
27208 * math/w_acosh.c: Likewise.
27209 * math/w_acoshf.c: Likewise.
27210 * math/w_acoshl.c: Likewise.
27211 * math/w_acosl.c: Likewise.
27212 * math/w_asin.c: Likewise.
27213 * math/w_asinf.c: Likewise.
27214 * math/w_asinl.c: Likewise.
27215 * math/w_atan2.c: Likewise.
27216 * math/w_atan2f.c: Likewise.
27217 * math/w_atan2l.c: Likewise.
27218 * math/w_atanh.c: Likewise.
27219 * math/w_atanhf.c: Likewise.
27220 * math/w_atanhl.c: Likewise.
27221 * math/w_cosh.c: Likewise.
27222 * math/w_coshf.c: Likewise.
27223 * math/w_coshl.c: Likewise.
27224 * math/w_dremf.c: Likewise.
27225 * math/w_exp10.c: Likewise.
27226 * math/w_exp10f.c: Likewise.
27227 * math/w_exp10l.c: Likewise.
27228 * math/w_exp2.c: Likewise.
27229 * math/w_exp2f.c: Likewise.
27230 * math/w_fmod.c: Likewise.
27231 * math/w_fmodf.c: Likewise.
27232 * math/w_fmodl.c: Likewise.
27233 * math/w_hypot.c: Likewise.
27234 * math/w_hypotf.c: Likewise.
27235 * math/w_hypotl.c: Likewise.
27236 * math/w_j0.c: Likewise.
27237 * math/w_j0f.c: Likewise.
27238 * math/w_j0l.c: Likewise.
27239 * math/w_j1.c: Likewise.
27240 * math/w_j1f.c: Likewise.
27241 * math/w_j1l.c: Likewise.
27242 * math/w_jn.c: Likewise.
27243 * math/w_jnf.c: Likewise.
27244 * math/w_jnl.c: Likewise.
27245 * math/w_lgamma.c: Likewise.
27246 * math/w_lgamma_r.c: Likewise.
27247 * math/w_lgammaf.c: Likewise.
27248 * math/w_lgammaf_r.c: Likewise.
27249 * math/w_lgammal.c: Likewise.
27250 * math/w_lgammal_r.c: Likewise.
27251 * math/w_log.c: Likewise.
27252 * math/w_log10.c: Likewise.
27253 * math/w_log10f.c: Likewise.
27254 * math/w_log10l.c: Likewise.
27255 * math/w_log2.c: Likewise.
27256 * math/w_log2f.c: Likewise.
27257 * math/w_log2l.c: Likewise.
27258 * math/w_logf.c: Likewise.
27259 * math/w_logl.c: Likewise.
27260 * math/w_pow.c: Likewise.
27261 * math/w_powf.c: Likewise.
27262 * math/w_powl.c: Likewise.
27263 * math/w_remainder.c: Likewise.
27264 * math/w_remainderf.c: Likewise.
27265 * math/w_remainderl.c: Likewise.
27266 * math/w_scalb.c: Likewise.
27267 * math/w_scalbf.c: Likewise.
27268 * math/w_scalbl.c: Likewise.
27269 * math/w_sinh.c: Likewise.
27270 * math/w_sinhf.c: Likewise.
27271 * math/w_sinhl.c: Likewise.
27272 * math/w_sqrt.c: Likewise.
27273 * math/w_sqrtf.c: Likewise.
27274 * math/w_sqrtl.c: Likewise.
27275 * math/w_tgamma.c: Likewise.
27276 * math/w_tgammaf.c: Likewise.
27277 * math/w_tgammal.c: Likewise.
27278
6a621eb7
UD
27279 * po/ja.po: Update from translation team.
27280
bf582445
AJ
272812011-09-29 Andreas Jaeger <aj@suse.de>
27282
f9efbf3a
AJ
27283 [BZ #13179]
27284 * sunrpc/netname.c (netname2host): Fix logic.
27285
bf582445
AJ
27286 [BZ #6779]
27287 [BZ #6783]
27288 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27289 correctly.
27290 * math/w_remainder.c (__remainder): Likewise.
27291 * math/w_remainderf.c (__remainderf): Likewise.
27292 * math/libm-test.inc (remainder_test): Add test cases.
27293
48693bea
AK
272942011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27295
27296 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27297 sdiv_qrnnd.
27298
42622229
LD
272992011-10-07 Ulrich Drepper <drepper@gmail.com>
27300
27301 * string/test-memcmp.c: Avoid unncessary #defines.
27302 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27303
093ecf92
LD
273042011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27305
27306 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27307 Use new sse2 version for core i3 - i7 as it's faster
27308 than sse42 version.
27309 (bit_Prefer_PMINUB_for_stringop): New.
27310 * sysdeps/x86_64/rawmemchr.S: Update.
27311 Replace with faster SSE2 version.
27312 * sysdeps/x86_64/memrchr.S: New file.
27313 * sysdeps/x86_64/memchr.S: Update.
27314 Replace with faster SSE2 version.
27315
fde56e5c
MP
273162011-09-12 Marek Polacek <mpolacek@redhat.com>
27317
27318 * elf/dl-load.c (lose): Add cast to avoid warning.
27319
21fd49a9
UD
273202011-10-07 Ulrich Drepper <drepper@gmail.com>
27321
5a06e643
UD
27322 * po/ca.po: Update from translation team.
27323
684ae515
UD
27324 * inet/getnetgrent_r.c: Hook up nscd.
27325 * nscd/Makefile (routines): Add nscd_netgroup.
27326 (nscd-modules): Add netgroupcache.
27327 (CFLAGS-netgroupcache.c): Define.
27328 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27329 (cache_search): Add const to second parameter.
27330 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27331 INNETGR.
27332 (dbs): Add netgrdb entry.
27333 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27334 (verify_persistent_db): Handle netgrdb.
27335 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27336 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27337 GETFDNETGR.
27338 (netgroup_response_header): Define.
27339 (innetgroup_response_header): Define.
27340 (datahead): Add netgroup_response_header and innetgroup_response_header
27341 elements.
27342 * nscd/nscd.conf: Add entries for netgroup cache.
27343 * nscd/nscd.h (dbtype): Add netgrdb.
27344 (_PATH_NSCD_NETGROUP_DB): Define.
27345 (netgroup_iov_disabled): Declare.
27346 (xmalloc, xcalloc, xrealloc): Move declarations here.
27347 (cache_search): Adjust prototype.
27348 Add netgroup-related prototypes.
27349 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27350 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27351 (__nscd_innetgr): Declare.
27352 * nscd/selinux.c (perms): Use access_vector_t as element type and
27353 add netgroup-related initializers.
27354 * nscd/netgroupcache.c: New file.
27355 * nscd/nscd_netgroup.c: New file.
27356 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27357 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27358 For four parameters use innetgr.
27359 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27360 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27361 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27362 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27363
21fd49a9
UD
27364 * nscd/connections.c (register_traced_file): Don't register file
27365 for disabled databases.
27366
054c0457
UD
273672011-10-06 Ulrich Drepper <drepper@gmail.com>
27368
32b63198
UD
27369 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27370
054c0457
UD
27371 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27372 from tree and freeing node.
27373
64031225
JO
273742011-09-25 Jiri Olsa <jolsa@redhat.com>
27375
27376 * nss/nsswitch.c (__nss_database_lookup): Handle
27377 nss_parse_service_list out of memory case.
27378
0490345c
JO
273792011-09-15 Jiri Olsa <jolsa@redhat.com>
27380
27381 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27382 out of memory case.
27383
3a62d00d
AS
273842011-10-04 Andreas Schwab <schwab@redhat.com>
27385
27386 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27387 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27388 pass it down.
27389 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27390 elf_machine_rela, elf_machine_lazy_rel.
27391 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27392 (ELF_DYNAMIC_DO_REL): Likewise.
27393 (ELF_DYNAMIC_DO_RELA): Likewise.
27394 (ELF_DYNAMIC_RELOCATE): Likewise.
27395 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27396 to ELF_DYNAMIC_DO_REL.
27397 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27398 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27399 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27400 elf_machine_rela.
27401 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27402 skip_ifunc, don't call ifunc function if non-zero.
27403 (elf_machine_rela): Likewise.
27404 (elf_machine_lazy_rel): Likewise.
27405 (elf_machine_lazy_rela): Likewise.
27406 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27407 (elf_machine_lazy_rel): Likewise.
27408 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27409 Likewise.
27410 (elf_machine_lazy_rel): Likewise.
27411 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27412 Likewise.
27413 (elf_machine_lazy_rel): Likewise.
27414 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27415 (elf_machine_lazy_rel): Likewise.
27416 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27417 (elf_machine_lazy_rel): Likewise.
27418 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27419 (elf_machine_lazy_rel): Likewise.
27420 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27421 (elf_machine_lazy_rel): Likewise.
27422 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27423 (elf_machine_lazy_rel): Likewise.
27424 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27425 (elf_machine_lazy_rel): Likewise.
27426
68577918
UD
274272011-09-28 Ulrich Drepper <drepper@gmail.com>
27428
27429 * nss/nss_files/files-init.c (_nss_files_init): Use static
27430 initialization for all the *_traced_file variables.
27431
68822d74
AS
274322011-09-28 Andreas Schwab <schwab@redhat.com>
27433
27434 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27435
2056100b
RM
274362011-09-27 Roland McGrath <roland@hack.frob.com>
27437
27438 [BZ #13226]
27439 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27440
32c76b63
AS
274412011-09-27 Andreas Schwab <schwab@redhat.com>
27442
27443 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27444 Reread the line before reparsing it.
27445
bf972c9d
AS
274462011-09-26 Andreas Schwab <schwab@redhat.com>
27447
27448 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27449
e057a1b5
JM
274502011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27451 Maxim Kuvyrkov <maxim@codesourcery.com>
27452 Joseph Myers <joseph@codesourcery.com>
27453
27454 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27455 if needed for __stack_chk_guard.
27456
bc7e1c36
RM
274572011-09-19 Roland McGrath <roland@hack.frob.com>
27458
ecb1482f
RM
27459 * sysdeps/posix/spawni.c (script_execute): Always define it.
27460 It will be optimized away if unused.
27461 (maybe_script_execute): New function.
27462 (__spawni): Call it.
27463
bc7e1c36
RM
27464 * Makerules: Don't include tls.make.
27465 (config-tls): Always set to thread.
27466 * tls.make.c: File removed.
27467
1c3b002b
MF
274682011-09-19 Mike Frysinger <vapier@gentoo.org>
27469
27470 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27471 * config.make.in (CPPFLAGS-config): New substituted variable.
27472
2840865d
UD
274732011-09-15 Ulrich Drepper <drepper@gmail.com>
27474
88738eb6
UD
27475 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27476
cbf645a6 27477 [BZ #13192]
2840865d
UD
27478 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27479 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27480
b402e91a
RM
274812011-09-15 Roland McGrath <roland@hack.frob.com>
27482
27483 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27484 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27485 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27486 (CALL_FAIL): Likewise.
27487 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27488 (CALL_FAIL): Macro removed.
27489 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27490
4c1a1f71
UD
274912011-09-15 Ulrich Drepper <drepper@gmail.com>
27492
27493 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27494 for __FINITE_MATH_ONLY__ == 1.
27495
edc121be
AS
274962011-09-15 Andreas Schwab <schwab@redhat.com>
27497
27498 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27499 __ieee754_sqrt instead of sqrt.
27500 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27501 __ieee754_sqrtf instead of sqrtf.
27502 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27503 __floorf instead of floorf.
27504 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27505 __floorf, __truncf instead of floorf, truncf.
27506
cd205654
UD
275072011-09-14 Ulrich Drepper <drepper@gmail.com>
27508
ee4d0315
UD
27509 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27510
cd205654
UD
27511 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27512 __extern_always_inline.
27513 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27514 32-bit.
27515
48b67d71
AS
275162011-09-14 Andreas Schwab <schwab@redhat.com>
27517
27518 * elf/rtld.c (dl_main): Also relocate in dependency order when
27519 doing symbol dependency testing.
27520
1ae12c75
AS
275212011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27522
27523 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27524 Always define `refsym'.
27525
995a80df
AS
275262011-09-13 Andreas Schwab <schwab@redhat.com>
27527
e529793b
AS
27528 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27529 (__FD_ELT): Renamed from __FDELT.
27530 * misc/bits/select2.h (__FD_ELT): Likewise.
27531 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27532 __FD_MASK instead of __FDELT, __FDMASK.
27533 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27534 Likewise.
27535 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27536 Likewise.
27537
52d4fef8
AS
27538 * elf/Makefile (gen-ldd): Fix pattern.
27539
995a80df
AS
27540 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27541 (init_tls): Likewise.
27542
8682f8b0
UD
275432011-09-12 Ulrich Drepper <drepper@gmail.com>
27544
27545 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27546
de82006d
AS
275472011-09-12 Andreas Schwab <schwab@redhat.com>
27548
a7c8e6a1
AS
27549 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27550 `struct cmsghdr *' instead of `void *'.
27551 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27552 Likewise.
27553
0f31fe77
AS
275542011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27555
27556 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27557 if non-absolute.
27558 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27559 ldd_rewrite_script.
0f31fe77 27560
32b4c839
UD
275612011-09-11 Ulrich Drepper <drepper@gmail.com>
27562
83cd1420
UD
27563 * configure.in: Remove --with-tls option.
27564 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27565 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27566 out in case it is missing.
27567 * sysdeps/ia64/elf/configure.in: Likewise.
27568 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27569 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27570 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27571 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27572 * sysdeps/sh/elf/configure.in: Likewise.
27573 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27574 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27575 * sysdeps/x86_64/elf/configure.in: Likewise.
27576 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27577 * sysdeps/mach/hurd/tls.h: Likewise.
27578
633f745d
UD
27579 [BZ #13067]
27580 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27581
f318beb8
UD
27582 [BZ #13090]
27583 * configure.in: Fix use of AC_INIT.
27584
32b4c839
UD
27585 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27586
3ce1f295
UD
275872011-09-10 Ulrich Drepper <drepper@gmail.com>
27588
bb016596
UD
27589 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27590 __set_errno.
8e58439c
UD
27591 * malloc/hooks.c: Likewise.
27592
aebae053 27593 [BZ #11929]
02d46fc4
UD
27594 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27595 variables statically.
27596 (narenas): Initialize.
27597 (list_lock): Initialize.
bb016596
UD
27598 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27599 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
27600 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27601 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27602 Add initializers to main_arena and mp_.
27603 (malloc_state): Remove pagesize member. Change all users to use
27604 GLRO(dl_pagesize).
27605
27606 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27607 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27608 is always initialized.
27609
22a89187
UD
27610 * malloc/malloc.c: Removed unused configurations and dead code.
27611 * malloc/arena.c: Likewise.
27612 * malloc/hooks.c: Likewise.
02d46fc4 27613 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 27614
d063d164
UD
27615 * include/tls.h: Removed. USE___THREAD must always be defined.
27616 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27617 * elf/dl-libc.c: Likewise.
27618 * elf/dl-tsd.c: Likewise.
27619 * include/errno.h: Likewise.
27620 * include/netdb.h: Likewise.
27621 * include/resolv.h: Likewise.
27622 * inet/herrno-loc.c: Likewise.
27623 * inet/herrno.c: Likewise.
27624 * malloc/arena.c: Likewise.
27625 * malloc/hooks.c: Likewise.
27626 * malloc/malloc.c: Likewise.
27627 * resolv/res-state.c: Likewise.
27628 * resolv/res_libc.c: Likewise.
27629 * sysdeps/i386/dl-machine.h: Likewise.
27630 * sysdeps/ia64/dl-machine.h: Likewise.
27631 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27632 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27633 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27634 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27635 * sysdeps/sh/dl-machine.h: Likewise.
27636 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27637 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27638 * sysdeps/unix/i386/sysdep.S: Likewise.
27639 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27640 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27641 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27642 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27643 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27644 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27645 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27646 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27647 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27648 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27649 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27650 * sysdeps/x86_64/dl-machine.h: Likewise.
27651 * tls.make.c: Likewise.
27652
3ce1f295
UD
27653 * configure.in: Remove --with-__thread option. Make tests for
27654 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27655 tls_model attribute fail if no support is available. Remove
27656 USE_IN_LIBIO.
27657 * Makeconfig: Adjust for dropped configure option. All features are
27658 now mandatory.
27659 * Makerules: Likewise.
27660 * Versions.def: Likewise.
27661 * argp/argp-fmtstream.c: Likewise.
27662 * argp/argp-fmtstream.h: Likewise.
27663 * argp/argp-help.c: Likewise.
27664 * assert/assert.c: Likewise.
27665 * config.h.in: Likewise.
27666 * config.make.in: Likewise.
27667 * configure: Likewise.
27668 * configure.in: Likewise.
27669 * csu/Versions: Likewise.
27670 * csu/init.c: Likewise.
27671 * elf/tst-audit2.c: Likewise.
27672 * elf/tst-tls10.c: Likewise.
27673 * elf/tst-tls10.h: Likewise.
27674 * elf/tst-tls11.c: Likewise.
27675 * elf/tst-tls12.c: Likewise.
27676 * elf/tst-tls14.c: Likewise.
27677 * elf/tst-tlsmod11.c: Likewise.
27678 * elf/tst-tlsmod12.c: Likewise.
27679 * elf/tst-tlsmod13.c: Likewise.
27680 * elf/tst-tlsmod13a.c: Likewise.
27681 * elf/tst-tlsmod14a.c: Likewise.
27682 * elf/tst-tlsmod15b.c: Likewise.
27683 * elf/tst-tlsmod16a.c: Likewise.
27684 * elf/tst-tlsmod16b.c: Likewise.
27685 * elf/tst-tlsmod7.c: Likewise.
27686 * elf/tst-tlsmod8.c: Likewise.
27687 * elf/tst-tlsmod9.c: Likewise.
27688 * gmon/gmon.c: Likewise.
27689 * grp/fgetgrent_r.c: Likewise.
27690 * grp/putgrent.c: Likewise.
27691 * hurd/fopenport.c: Likewise.
27692 * include/libc-symbols.h: Likewise.
27693 * include/tls.h: Likewise.
27694 * intl/gettextP.h: Likewise.
27695 * intl/loadinfo.h: Likewise.
27696 * locale/global-locale.c: Likewise.
27697 * locale/localeinfo.h: Likewise.
27698 * mach/devstream.c: Likewise.
27699 * malloc/arena.c: Likewise.
27700 * malloc/set-freeres.c: Likewise.
27701 * misc/err.c: Likewise.
27702 * misc/getttyent.c: Likewise.
27703 * misc/mntent_r.c: Likewise.
27704 * posix/getopt.c: Likewise.
27705 * posix/wordexp.c: Likewise.
27706 * pwd/fgetpwent_r.c: Likewise.
27707 * resolv/Versions: Likewise.
27708 * resolv/res_hconf.c: Likewise.
27709 * shadow/fgetspent_r.c: Likewise.
27710 * shadow/putspent.c: Likewise.
27711 * stdio-common/printf_fphex.c: Likewise.
27712 * stdio-common/tmpfile.c: Likewise.
27713 * stdlib/abort.c: Likewise.
27714 * stdlib/fmtmsg.c: Likewise.
27715 * sunrpc/auth_unix.c: Likewise.
27716 * sunrpc/clnt_perr.c: Likewise.
27717 * sunrpc/clnt_tcp.c: Likewise.
27718 * sunrpc/clnt_udp.c: Likewise.
27719 * sunrpc/clnt_unix.c: Likewise.
27720 * sunrpc/openchild.c: Likewise.
27721 * sunrpc/svc_simple.c: Likewise.
27722 * sunrpc/svc_tcp.c: Likewise.
27723 * sunrpc/svc_udp.c: Likewise.
27724 * sunrpc/svc_unix.c: Likewise.
27725 * sunrpc/xdr.c: Likewise.
27726 * sunrpc/xdr_array.c: Likewise.
27727 * sunrpc/xdr_rec.c: Likewise.
27728 * sunrpc/xdr_ref.c: Likewise.
27729 * sunrpc/xdr_stdio.c: Likewise.
27730
1248c1c4
PB
277312011-09-09 Ulrich Drepper <drepper@gmail.com>
27732
27733 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27734
277352011-07-03 Andreas Jaeger <aj@suse.de>
27736
27737 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27738 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27739 regenerate with gen-libm-tests.pl.
27740
277412010-05-12 Petr Baudis <pasky@suse.cz>
27742
27743 [BZ #11589]
27744 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27745 around j0() zero points by switching to j1().
27746 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27747 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27748 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27749 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27750
f22e1074
UD
277512011-09-09 Ulrich Drepper <drepper@gmail.com>
27752
f19009c1
UD
27753 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27754 instead of 0.
27755 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 27756 instead of 0.
f19009c1
UD
27757 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27758 Patch in part by Pavel Roskin <proski@gnu.org>.
27759
3f8cc204
UD
27760 [BZ #13138]
27761 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27762 realloc.
27763 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27764 Free memory block if necessary.
27765
f22e1074
UD
27766 [BZ #12847]
27767 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27768 be NULL. Don't lock in this case.
27769
0a2349f9
RM
277702011-09-09 Roland McGrath <roland@hack.frob.com>
27771
27772 * elf/elf.h (ELFOSABI_GNU): New macro.
27773 (ELFOSABI_LINUX): Define to that.
27774
f3cdd467
DZ
277752011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27776
27777 * string/strncat.c (strncat): Undef the symbol in case it has been
27778 defined in bits/string.h.
27779
74718d13
UD
277802011-09-09 Ulrich Drepper <drepper@gmail.com>
27781
633e9e0f
UD
27782 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27783
0a2349f9 27784 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
27785 link map.
27786
f9924780
AJ
277872011-08-17 Andreas Jaeger <aj@suse.de>
27788
27789 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27790
7f5517aa
PP
277912011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27792 Ian Lance Taylor <iant@google.com>
27793
27794 * math/libm-test.inc (lround_test): New testcase.
27795 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27796
762011fe
UD
277972011-09-08 Ulrich Drepper <drepper@gmail.com>
27798
92963737
UD
27799 * Makefile: Remove support for automatic cvs check-ins.
27800 * Makerules: Likewise.
27801 * config.make.in: Likewise.
27802 * configure.in: Likewise.
27803 * intl/Makefile: Likewise.
27804 * locale/Makefile: Likewise.
27805 * po/Makefile: Likewise.
27806 * posix/Makefile: Likewise.
27807 * sysdeps/gnu/Makefile: Likewise.
27808 * sysdeps/mach/hurd/Makefile: Likewise.
27809 * sysdeps/sparc/sparc32/Makefile: Likewise.
27810
b0727fd8
JS
27811 [BZ #13118]
27812 * posix/Makefile (bug-regex32-ENV): Define.
27813 Patch by John Stanley <jpsinthemix@verizon.net>.
27814
a0f33f99
UD
27815 * misc/Makefile (headers): Add bits/select2.h.
27816 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27817 * misc/bits/select2.h: New file.
27818 * include/bits/select2.h: New file.
27819 * debug/Makefile (routines): Add fdelt_chk.
27820 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27821 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27822 FD_ISSET.
27823 * debug/fdelt_chk.c: New file.
27824
762011fe
UD
27825 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
27826 * wcsmbs/test-wmemcmp.c: Likewise.
27827 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 27828 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
27829
278302011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27831
27832 * string/Makefile (strop-tests): Add memcmp.
27833 * string/test-wmemcmp.c: New file.
27834 * string/test-memcmp.c: Add wmemcmp support.
27835
7f513ec8
RM
278362011-09-08 Roland McGrath <roland@hack.frob.com>
27837
0442afb4
RM
27838 [BZ #13153]
27839 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27840 2011-07-19 change.
27841
7f513ec8
RM
27842 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27843 garbage value in a __mach_port_mod_refs call in the cases of the
27844 task-self and thread-self ports.
27845
a12b2239
ST
278462011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27847
27848 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27849
610f9ab4
AS
278502011-09-08 Andreas Schwab <schwab@redhat.com>
27851
7f513ec8 27852 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 27853
48882a1a
LD
278542011-09-07 Ulrich Drepper <drepper@gmail.com>
27855
b49865be
UD
27856 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27857
fdc86bc9
UD
27858 * elf/dl-libc.c (dlerror_run): Pass back error code from
27859 dl_catch_error.
27860
c966526a
UD
27861 [BZ #13123]
27862 * elf/dl-load.c (lose): Free l_origin if it is valid.
27863
48882a1a
LD
27864 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27865 names.
27866 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27867 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27868 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27869 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27870 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27871 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27872
77a2a8b4
AZ
278732011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27874
27875 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27876 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27877 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27878 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27879 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27880 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27881 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27882 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27883 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27884 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27885
24f579d8
AM
278862011-08-15 Alan Modra <amodra@gmail.com>
27887
27888 [BZ #13092]
27889 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27890 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27891 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27892 ppc_mcount to static-only-routines.
27893 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27894 __mcount_internal.
27895 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27896 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27897
3d4837df
UD
278982011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27899
27900 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27901 for finite and infinity parameters.
27902
22700377
WS
279032011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27904
27905 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27906 and add nop instructions for throughput optimization.
27907 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27908
5025581e
WS
279092011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27910
27911 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27912 aligned copy for power7 with vector-scalar instructions.
27913 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27914
08a300c9
L
279152011-07-24 H.J. Lu <hongjiu.lu@intel.com>
27916
27917 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27918 AVX check.
27919
59178ef9
AS
279202011-09-07 Andreas Schwab <schwab@redhat.com>
27921
27922 [BZ #13144]
27923 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27924 last change.
27925
e38ba7ab
UD
279262011-09-07 Ulrich Drepper <drepper@gmail.com>
27927
27928 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27929 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27930 syscall wrapper around clock_gettime in __vdso_clock_gettime.
27931 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27932 clock_gettime.
27933
d53a73ac
UD
279342011-09-06 Ulrich Drepper <drepper@gmail.com>
27935
fc8bffcc
UD
27936 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27937 Forgot to demangle the pointer.
27938
ceaa0c5d
UD
27939 * sysdeps/i386/sysdep.h: Define atom_text_section.
27940 * sysdeps/x86_64/sysdep.h: Likewise.
27941 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27942 section with atom_text_section.
27943 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27944 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27945 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27946 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27947 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27948
a77d3c17
UD
27949 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27950 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27951 already be defined. Change to take two parameters and don't assign
27952 result to variable. Adjust all users.
27953 Define INTERNAL_GETTIME if not already defined.
27954 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27955 call.
27956 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27957 HAVE_CLOCK_GETTIME_VSYSCALL.
27958 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27959
d53a73ac
UD
27960 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27961 gettimeofday vsyscall, just use time.
27962
a8f84144
AS
279632011-09-06 Andreas Schwab <schwab@redhat.com>
27964
27965 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27966 <errno.h>.
27967
ef606249
UD
279682011-09-06 Ulrich Drepper <drepper@gmail.com>
27969
27970 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27971 syscall on x86-64.
27972 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27973 syscall.
27974 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27975 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27976 syscall if possible.
27977
6585cb60
UD
279782011-09-05 Ulrich Drepper <drepper@gmail.com>
27979
27980 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27981 e_ident. Don't pass to find_mapsXX.
27982 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27983
a5f524e4
LD
279842011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27985
27986 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27987 strchr-sse2-no-bsf strrchr-sse2-no-bsf
27988 * sysdeps/x86_64/multiarch/strchr.S: Update.
27989 Check bit_slow_BSF bit.
27990 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27991 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27992 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27993
554881ef
UD
279942011-09-05 Ulrich Drepper <drepper@gmail.com>
27995
d96de963
UD
27996 [BZ #13134]
27997 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27998 before glibc 2.15.
27999 (tryshell): Define.
28000 (__spawni): Change last parameter to be flag. Test
28001 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28002 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28003 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28004 * posix/spawni.c: Likewise.
28005 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28006 * posix/spawnp.c: Likewise. Change normal version to use
28007 SPAWN_XFLAGS_USE_PATH.
28008 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28009 SPAWN_XFLAGS_TRY_SHELL.
28010
d48e5868
UD
28011 [BZ #13150]
28012 * posix/glob.h: Remove gcc 1.x support.
28013
554881ef
UD
28014 [BZ #13068]
28015 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28016
693fb948
LD
280172011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28018
28019 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28020 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28021 strrchr-sse2-bsf
28022 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28023 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28024 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28025 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28026 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28027 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28028
1b48c537
UD
280292011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28030
49d42c37
UD
28031 * sysdeps/x86_64/wcscmp.S: New file.
28032
1b48c537
UD
28033 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28034 wcscmp-c wcscmp-sse2
28035 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28036 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28037 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28038 * wcsmbs/wcscmp.c: Allow renaming.
28039
15c95c5d
DM
280402011-09-05 David S. Miller <davem@davemloft.net>
28041
28042 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28043 stack slot, rather than the struct return pointer slot.
28044 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28045 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28047 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28048
2f0ad8f3
UD
280492011-09-05 Ulrich Drepper <drepper@gmail.com>
28050
d88ae418
UD
28051 * po/ja.po: Update from translation team.
28052
2f0ad8f3
UD
28053 [BZ #13144]
28054 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28055 kernel in 64-bit binaries.
28056
5f4318d1
DM
280572011-09-01 David S. Miller <davem@davemloft.net>
28058
28059 * elf/elf.h (HWCAP_SPARC_*): Move to..
28060 * sysdeps/sparc/sysdep.h: this new file and add new values.
28061 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28062 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28063 _DL_HWCAP_COUNT to 24.
28064 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28065 entries.
28066 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28067 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28068 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28069 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28070 instead of magic constants.
28071 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28072
3ba57516
DM
280732011-08-31 David S. Miller <davem@davemloft.net>
28074
28075 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28076 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28077 Reimplement to do errno handling inline.
28078 (SYSCALL_ERROR_HANDLER): New macro.
28079 (__SYSCALL_STRING): Do not do errno handling in asm.
28080 (__CLONE_SYSCALL_STRING): Delete.
28081 (__INTERNAL_SYSCALL_STRING): Delete.
28082 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28083 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28084 (PSEUDO): Reimplement to do errno handling inline.
28085 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28086 (SYSCALL_ERROR_HANDLER): New macro.
28087 (__SYSCALL_STRING): Do not do errno handling in asm.
28088 (__CLONE_SYSCALL_STRING): Delete.
28089 (__INTERNAL_SYSCALL_STRING): Delete.
28090 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28091 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28092 i386.
28093 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28094 (inline_syscall*): Add 'err' argument.
28095 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28096 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28097 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28098 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28099
28100 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28101 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28102
2bc17433
AS
281032011-08-30 Andreas Schwab <schwab@redhat.com>
28104
28105 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28106
fbeb5f4d
JO
281072011-08-29 Jiri Olsa <jolsa@redhat.com>
28108
28109 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28110 directive.
28111
ad69cc26
DM
281122011-08-24 David S. Miller <davem@davemloft.net>
28113
28114 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28115
39dd69df
AS
281162011-08-24 Andreas Schwab <schwab@redhat.com>
28117
28118 * elf/Makefile: Add rules to build and run unload8 test.
28119 * elf/unload8.c: New file.
28120 * elf/unload8mod1.c: New file.
28121 * elf/unload8mod1x.c: New file.
28122 * elf/unload8mod2.c: New file.
28123 * elf/unload8mod3.c: New file.
28124
28125 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28126 it wasn't used.
28127
2c0b250a
DM
281282011-08-23 David S. Miller <davem@davemloft.net>
28129
28130 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28131 subtract stack bias.
28132 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28133 %sp not %fp in calculations.
28134 (_JMPBUF_UNWINDS_ADJ): Likewise.
28135
22044b48
DM
28136 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28137 (aio_suspend): Call it to force an exception region around the
28138 AIO_MISC_WAIT() invocation.
28139
2cae4995
AS
281402011-08-23 Andreas Schwab <schwab@redhat.com>
28141
28142 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28143 backslash.
28144
873a772e
AJ
281452011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28146
28147 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28148 protection macro.
28149 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28150 and <dl-machine.h>.
28151 (Elf64_FuncDesc): Remove.
28152
25ad0df1
DM
281532011-08-22 David S. Miller <davem@davemloft.net>
28154
28155 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28156 sigaltstack check, add missing cfi directives.
28157 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28158 missing cfi directives, and sigaltstack handling.
28159
e888bcbe
AS
281602011-08-16 Andreas Schwab <schwab@redhat.com>
28161
28162 [BZ #11724]
28163 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28164 object is seen twice.
28165 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28166
28167 * elf/Makefile (distribute): Add tst-initorder2.c.
28168 (tests): Add tst-initorder2.
28169 (modules-names): Add tst-initorder2a tst-initorder2b
28170 tst-initorder2c tst-initorder2d. Add rules to build them.
28171 ($(objpfx)tst-initorder2.out): New rule.
28172 * elf/tst-initorder2.c: New file.
28173 * elf/tst-initorder2.exp: New file.
28174
87162f46
AS
281752011-08-22 Andreas Schwab <schwab@redhat.com>
28176
70538b7f
AS
28177 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28178
f55ffe58
AS
28179 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28180 dependencies back to end of function.
28181
87162f46
AS
28182 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28183 $(elfobjdir)/ld.so.
28184
91b392a4
UD
281852011-08-21 Ulrich Drepper <drepper@gmail.com>
28186
28187 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28188 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28189 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28190 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28191 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28192 of __vdso_gettimeofday.
28193 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28194 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28195 attribute_hidden.
28196 (_libc_vdso_platform_setup): Remove initialization of
28197 __vdso_gettimeofday and __vdso_time.
28198
5c43483f
UD
281992011-08-20 Ulrich Drepper <drepper@gmail.com>
28200
775a77e7
UD
28201 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28202 and fgetc_unlocked.
28203 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28204 getc_unlocked.
89f447ed 28205
49c74ba9
UD
28206 * elf/dl-open.c (add_to_global): Report additions to the global scope
28207 for LD_DEBUG=scopes.
28208 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 28209 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 28210
5c43483f
UD
28211 [BZ #13114]
28212 * stdio-common/Makefile (tests): Add bug24.
28213 * stdio-common/bug24.c: New file.
28214
a101b025
AJ
282152011-08-19 Andreas Jaeger <aj@suse.de>
28216
28217 [BZ #13114]
28218 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28219 non-existant file when using close-on-exec mode.
28220
c88f1766
UD
282212011-08-20 Ulrich Drepper <drepper@gmail.com>
28222
0276a718
UD
28223 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28224 the very first instruction.
28225
c88f1766
UD
28226 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28227 the CFI state in the end.
28228 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28229 inclusion of dl-trampoline.h.
28230 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28231
51ccffa0
AS
282322011-08-19 Andreas Schwab <schwab@redhat.com>
28233
94d7165f
AS
28234 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28235 expectations for long double.
28236
51ccffa0
AS
28237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28238 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28239
fd708658 282402011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
28241
28242 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28243 artificual limit depends upon the system page size.
28244
44f0a71e
UD
282452011-08-17 Ulrich Drepper <drepper@gmail.com>
28246
28247 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28248 * resolv/Makefile: Define CFLAGS-libresolv.
28249
8de79a24
AS
282502011-08-17 Andreas Schwab <schwab@redhat.com>
28251
28252 * nss/makedb.c (compute_tables): Make variables used in nested
28253 function static.
28254
27724598
UD
282552011-08-17 Ulrich Drepper <drepper@gmail.com>
28256
c5305d88
UD
28257 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28258 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28259 if buffer was too small.
28260
27724598
UD
28261 * elf/pldd.c (main): Attach to all threads in the process.
28262 Rewrite /proc handling to use *at functions.
28263
076fe015
UD
282642011-08-16 Ulrich Drepper <drepper@gmail.com>
28265
174baab3
UD
28266 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28267 specifies first scope to show.
28268 (dl_open_worker): Update callers. Move printing scope of new
28269 object to before the relocation.
44f0a71e 28270 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
28271 * sysdeps/generic/ldsodefs.h: Update declaration.
28272
076fe015
UD
28273 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28274 string for the scope number.
28275
a60df2c3
UD
282762011-08-14 Ulrich Drepper <drepper@gmail.com>
28277
28278 * nscd/servicescache.c (cache_addserv): Make sure written is always
28279 initialized.
28280
5e4287d1
RM
282812011-08-14 Roland McGrath <roland@hack.frob.com>
28282
85ae0589
RM
28283 * sysdeps/i386/i486/bits/atomic.h
28284 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28285 statement expression, so as to suppress "set but not used" warning.
28286 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28287
69f63097
RM
28288 * string/strncat.c (STRNCAT): Use prototype definition.
28289
675456ef
RM
28290 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28291 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28292 -Iprograms here.
28293 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28294 (localedef-modules): Add localedef.
28295 (locale-modules): Add locale.
28296
5e4287d1
RM
28297 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28298 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28299 to avoid a warning.
28300
9c96ff23
DM
283012011-08-14 David S. Miller <davem@davemloft.net>
28302
28303 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28304 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28305
f9ddf089
UD
283062011-08-13 Ulrich Drepper <drepper@gmail.com>
28307
44f0a71e 28308 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
28309 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28310 * elf/rtld.c (dl_main): Set l_name of vDSO.
28311 Call _dl_show_scope when DL_DEBUG_SCOPES.
28312 (process_dl_debug): Recognize scopes flag and also set it for all.
28313 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28314 Declare _dl_show_scope.
28315
1dc27704
UD
28316 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28317 (do_dlopen): Pass caller_dlopen to dl_open.
28318 (__libc_dlopen_mode): Initialize caller_dlopen.
28319
f9ddf089
UD
28320 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28321 of libc. Make tolower call locale-independent. Optimize a bit by
28322 using isdigit instead of isalnum.
28323 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28324
9ac533d3
UD
283252011-08-12 Ulrich Drepper <drepper@gmail.com>
28326
28327 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28328 was a dependency or dynamically loaded.
28329
89edf2e9
UD
283302011-08-11 Ulrich Drepper <drepper@gmail.com>
28331
8e999d29
UD
28332 * intl/l10nflist.c: Allow architecture-specific pop function.
28333 * sysdeps/x86_64/l10nflist.c: New file.
28334
89edf2e9
UD
28335 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28336 classification.
28337
14d96785
AS
283382011-08-10 Andreas Schwab <schwab@redhat.com>
28339
28340 * include/dirent.h: Add libc_hidden_proto for scandirat and
28341 scandirat64. Don't declare __scandirat64.
28342 * dirent/scandirat.c: Add libc_hidden_def.
28343 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28344 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28345
6761ac04
DM
283462011-08-10 David S. Miller <davem@davemloft.net>
28347
28348 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28349 enum.
28350 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28351 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28352 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28353
c55fbd1e
UD
283542011-08-09 Ulrich Drepper <drepper@gmail.com>
28355
28356 * Versions.def [libc]: Add GLIBC_2.15.
28357 * dirent/Makefile (routines): Add scandirat and scandirat64.
28358 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28359 GLIBC_2.15.
28360 * dirent/dirent.h: Declare scandirat and scandirat64.
28361 * dirent/scandirat.c: New file.
28362 * dirent/scandirat64.c: New file.
28363 * sysdeps/wordsize-64/scandirat.c: New file.
28364 * sysdeps/wordsize-64/scandirat64.c: New file.
28365 * dirent/opendir.c: Define opendirat.
28366 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28367 using scandirat.
28368 * dirent/scandir64.c: Adjust for scandir.c change.
28369 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28370 __scandirat64, and __scandir_cancel_handler.
28371 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28372 additional parameter and use openat instead of open (outside of ld.so).
28373 Add new __opendir as wrapper around __opendirat.
28374 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28375 here without requiring old scandirat implementation.
28376
879165f2
UD
283772011-08-08 Ulrich Drepper <drepper@gmail.com>
28378
28379 * dirent/scandir.c (cancel_handler): Renamed to
28380 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28381 defined. Adjust users.
28382 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28383 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28384
cb7e923b
UD
283852011-08-04 Ulrich Drepper <drepper@gmail.com>
28386
16292edd
UD
28387 * string/test-string.h (IMPL): Use __STRING to expand name and then
28388 stringify it.
28389
cb7e923b
UD
28390 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28391 of cleanups.
28392
cff82933
LD
283932011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28394
28395 * string/Makefile: Update.
28396 (strop-tests): Append strncat.
28397 * string/test-wcscmp.c: New file.
28398 New comprehensive test for wcscmp.
28399 * string/test-strcmp.c: Update.
28400 (WIDE): New define.
28401
9be9bfcc
AS
284022011-07-22 Andreas Schwab <schwab@redhat.com>
28403
28404 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28405 line.
28406
2e96f1c7
AS
284072011-07-26 Andreas Schwab <schwab@redhat.com>
28408
28409 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28410 encoding to ACE if AI_IDN.
28411
85188888
JJ
284122011-08-01 Jakub Jelinek <jakub@redhat.com>
28413
28414 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28415 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28416
5fa16e9b
LD
284172011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28418
28419 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28420 Fix overflow bug in strncat.
28421 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28422
28423 * string/test-strncat.c: Update.
28424 Add new tests for checking overflow bugs.
28425
284262011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28427
28428 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28429 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28430 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28431 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28432 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28433 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28434 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28435 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28436 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28437
28438 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28439 (USE_AS_STRCAT): Define.
28440 Add strcat and strncat support.
28441 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28442
8c1a459f
AS
284432011-07-25 Andreas Schwab <schwab@redhat.com>
28444
28445 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28446 __n bigger than INT_MAX+1.
28447 (__strncmp_g): Likewise.
28448
bba33c28
UD
284492011-07-23 Ulrich Drepper <drepper@gmail.com>
28450
798be72d
UD
28451 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28452 * libio/stido.h: Likewise.
28453
8accd4dc
UD
28454 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28455 (AF_NFC): Define.
28456 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28457 (AF_NFC): Define.
28458
cbff0d96
UD
28459 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28460 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28461 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28462 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28463 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28464
9191c04a
UD
28465 [BZ #13021]
28466 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28467 installed.
28468
bba33c28
UD
28469 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28470 typo.
28471 (_dl_x86_64_save_sse): Likewise.
28472
90f139dd
UD
284732011-07-22 Ulrich Drepper <drepper@gmail.com>
28474
1aae088a
UD
28475 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28476 OSXSAVE.
28477 (_dl_x86_64_save_sse): Likewise.
28478
8e2045f5
UD
28479 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28480
90f139dd
UD
28481 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28482
1d002f25
AS
284832011-07-21 Andreas Schwab <schwab@redhat.com>
28484
28485 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28486 change.
28487 (_dl_x86_64_save_sse): Use correct AVX check.
28488
21137f89
UD
284892011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28490
28491 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28492 bug in strncpy/strncat.
28493 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28494
a65c0b7a
UD
284952011-07-21 Ulrich Drepper <drepper@gmail.com>
28496
28497 * string/tester.c (test_strcat): Add tests for different alignments
28498 of source and destination.
28499 (test_strncat): Likewise.
28500
6986b98a
UD
285012011-07-20 Ulrich Drepper <drepper@gmail.com>
28502
90bb2039
UD
28503 [BZ #12852]
28504 * posix/glob.c (glob): Check passed in values before using them in
28505 expressions to avoid some overflows.
28506 (glob_in_dir): Likewise.
28507
5644ef54
UD
28508 [BZ #13007]
28509 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28510 check for AVX enablement so that we don't crash with old kernels and
28511 new hardware.
28512 * elf/tst-audit4.c: Add same checks here.
28513 * elf/tst-audit6.c: Likewise.
28514
28515 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 28516
bfc9dc9b
AS
285172011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28518
28519 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28520
702e64bb
UD
285212011-07-20 Ulrich Drepper <drepper@gmail.com>
28522
28523 * po/cs.po: Update from translation team.
28524 * po/bg.po: Likewise.
28525
295e904f
MP
285262011-07-12 Marek Polacek <mpolacek@redhat.com>
28527
28528 * misc/sys/cdefs.h: Add support for const attribute.
28529 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28530 to gnu_dev_{major,minor,makedev} functions.
28531
3ff94596
MP
285322011-07-20 Marek Polacek <mpolacek@redhat.com>
28533
28534 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28535
28b59fca
AS
285362011-07-20 Andreas Schwab <schwab@redhat.com>
28537
28538 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28539 strlen results.
28540
19df733e
AK
285412011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28542
28543 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28544 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28545 register in order to avoid conflicts with the soft frame pointer
28546 being held in r11 when necessary.
28547 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28548 (INTERNAL_VSYSCALL_NCS): Likewise.
28549
c8835729
MP
285502011-07-14 Marek Polacek <mpolacek@redhat.com>
28551
28552 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28553 * elf/dl-fini.c (_dl_fini): Adjust caller.
28554 * elf/dl-close.c (_dl_close_worker): Likewise.
28555 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28556
b902330c
MP
285572011-07-15 Marek Polacek <mpolacek@redhat.com>
28558
8991e135
MP
28559 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28560 "aux_cache->nlibs < 0".
28561
b902330c
MP
28562 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28563 in the reload-count case.
28564
99710781
LD
285652011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28566
28567 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28568 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28569 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28570 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28571 * sysdeps/x86_64/multiarch/strcat.S: New file.
28572 * sysdeps/x86_64/multiarch/strncat.S: New file.
28573 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28574 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28575 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28576 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28577 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28578 (USE_AS_STRCAT): Define.
28579 Add strcat and strncat support.
28580 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28581 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28582 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28583 * string/strncat.c: Update.
28584 (USE_AS_STRNCAT): Define.
28585 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28586 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28587 and i7.
28588 * sysdeps/x86_64/multiarch/init-arch.h
28589 (bit_Prefer_PMINUB_for_stringop): New.
28590 (index_Prefer_PMINUB_for_stringop): Likewise.
28591 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28592 bit_Prefer_PMINUB_for_stringop.
28593
7dc6bd90
UD
285942011-07-19 Ulrich Drepper <drepper@gmail.com>
28595
28596 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28597 buffer64.
28598 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28599 of casting of buffer.
28600 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28601 buffer32 and buffer64.
28602 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28603 writes instead of casting of buffer.
28604 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28605 buffer32.
28606 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28607 casting of buffer.
28608
e0e72284
AS
286092011-07-19 Andreas Schwab <schwab@redhat.com>
28610
28611 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28612
feb1eb0b
UD
286132011-07-19 Ulrich Drepper <drepper@gmail.com>
28614
28615 * nscd/nscd.c (termination_handler): Don't do anything for a database
28616 if it has not yet been initialized.
28617
298711ff
UD
286182011-07-18 Ulrich Drepper <drepper@gmail.com>
28619
28620 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28621
286222011-07-15 Marek Polacek <mpolacek@redhat.com>
28623
28624 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28625
f9d68389
UD
286262011-07-18 Ulrich Drepper <drepper@gmail.com>
28627
28628 * po/nl.po: Update from translation team.
28629 * po/sv.po: Likewise.
28630
db290cf5
RM
286312011-07-16 Roland McGrath <roland@hack.frob.com>
28632
28633 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28634 now disallowed by GCC.
5c550700 28635
fd5e21c7
RM
28636 * configure.in (use-default-link): Default to yes if a test -shared
28637 link meets our qualifications.
28638 * configure: Regenerated.
28639
5c550700
RM
28640 * config.make.in (output-format): New variable.
28641 * configure.in: Check for ld --print-output-format support.
28642 * configure: Regenerated.
28643 * Makerules ($(common-objpfx)format.lds)
28644 [$(output-format) != unknown]: Just use $(output-format),
28645 instead of the linker-script munging.
28646
9fa2c032
RM
286472011-07-14 Roland McGrath <roland@hack.frob.com>
28648
a6928d51
RM
28649 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28650 of $(common-objpfx)shlib.lds.
28651 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28652
661607b3
RM
28653 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28654 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28655
9fa2c032
RM
28656 * configure.in (-z relro check): Adjust test code to add a large
28657 writable data section after it.
28658 * configure: Regenerated.
28659
defe9061
RM
286602011-07-11 Roland McGrath <roland@hack.frob.com>
28661
28662 * configure.in (-z relro check): Fix test code to make the variable
28663 truly const.
28664 * configure: Regenerated.
28665
319b9ad4
UD
286662011-07-11 Ulrich Drepper <drepper@gmail.com>
28667
28668 * nscd/nscd.h (struct traced_file): Define.
28669 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28670 elements. Add traced_files.
28671 (inotify_fd): Declare.
28672 (register_traced_file): Declare.
28673 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28674 (inotify_fd): Export.
28675 (resolv_conf_descr): Remove.
28676 (nscd_init): Move inotify descriptor creation to main.
28677 Don't register files for notification here.
28678 (register_traced_file): New function.
28679 (invalidate_cache): Don't use reset_res to determine whether to call
28680 res_init, go through the list of registered files.
28681 (main_loop_poll): The inotify descriptors are now stored in the
28682 structures for the traced files.
28683 (main_loop_epoll): Likewise
28684 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28685 to __nss_disable_nscd.
28686 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28687 for a database anymore. Check the records for all the registered
28688 files instead.
28689 * nss/Makefile (libnss_files-routines): Add files-init.
28690 (libnss_db-routines): Add db-init.
28691 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28692 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28693 * nss/nss_db/db-init.c: New file.
28694 * nss/nss_files/files-init.c: New file.
28695 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28696 __nss_lookup_function.
28697 (__nss_lookup_function): Call nss_load_library.
28698 (nss_load_all_libraries): New function.
28699 (__nss_disable_nscd): Take parameter with callback function for files
28700 to register. Set is_nscd. Load all the DSOs for the NSS modules
28701 used for the cached services.
28702 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28703 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28704 options for features to all the files in nscd.
28705
28706 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28707
23bee3e8
RM
287082011-07-10 Roland McGrath <roland@hack.frob.com>
28709
28710 * csu/elf-init.c (__libc_csu_init): Comment typo.
28711
46a5b7f0
UD
287122011-07-09 Ulrich Drepper <drepper@gmail.com>
28713
28714 * po/pl.po: Update from translation team.
28715 * po/ja.po: Likewise.
28716 * po/ru.po: Likewise.
28717 * po/ko.po: Likewise.
28718 * po/fr.po: Likewise.
28719
d30cf5bb
RM
287202011-07-09 Roland McGrath <roland@hack.frob.com>
28721
113ddea4
RM
28722 * configure.in (.ctors/.dtors header and trailer check):
28723 Use an empirical test on a built program.
28724 * configure: Regenerated.
28725
574920b4
RM
28726 * configure.in (-z relro check): Use an empirical test on a built DSO.
28727 Detect, but do not require, on ia64.
28728 * configure: Regenerated.
28729
d30cf5bb
RM
28730 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28731 Update tests that use readelf to use $READELF instead.
28732 * configure: Regenerated.
28733
8538fdb3
UD
287342011-07-08 Ulrich Drepper <drepper@gmail.com>
28735
28736 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28737 if the result is not used.
28738
04d08991
AJ
287392011-07-05 Andreas Jaeger <aj@suse.de>
28740
28741 [BZ#9696]
28742 * stdlib/tst-strtod.c: Add testcase.
28743
de283087
AD
287442011-07-07 Ulrich Drepper <drepper@gmail.com>
28745
4e5f31c8 28746 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 28747 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
28748 The latter has a higher limit. Take additional parameter to pass to
28749 the new function.
28750 (__pathconf): Pass file to __statfs_link_max.
28751 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28752 __statfs_link_max.
28753 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28754 __statfs_link_max.
28755
de283087
AD
28756 [BZ #12868]
28757 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28758 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28759 Handle Lustre.
28760 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28761 (__statfs_filesize_max): Likewise.
28762 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28763
c75fa153
AJ
287642011-07-05 Andreas Jaeger <aj@suse.de>
28765
28766 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28767
1a544854
UD
287682011-07-06 Marek Polacek <mpolacek@redhat.com>
28769
28770 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28771 `status' variable.
28772 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28773 Likewise.
28774
6f0eec67
UD
287752011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28776
28777 * Makefile (strop-tests): Add strncat.
28778 * string/test-strncat.c: New file.
28779
aae30307
UD
287802011-06-30 Marek Polacek <mpolacek@redhat.com>
28781
28782 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28783
c0cfb5eb
UD
287842011-06-21 Andreas Jaeger <aj@suse.de>
28785
28786 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28787 Copy rule from iconvdata/Makefile.
28788
01636b21
UD
287892011-07-06 Ulrich Drepper <drepper@gmail.com>
28790
28791 [BZ #12922]
28792 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28793 but no long options are defined, just return 'W'.
28794
9895c8bc
UD
287952011-06-22 Marek Polacek <mpolacek@redhat.com>
28796
28797 [BZ #9696]
28798 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28799
5d4cf042
UD
288002011-07-06 Ulrich Drepper <drepper@gmail.com>
28801
28802 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28803 netgroups to read.
960e5535 28804 (innetgr): Likewise.
5d4cf042 28805
751eb97e
RM
288062011-07-05 Roland McGrath <roland@hack.frob.com>
28807
28808 * config.make.in (install_root): Default to $(DESTDIR).
28809
f15f1e45
UD
288102011-07-05 Ulrich Drepper <drepper@gmail.com>
28811
28812 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28813
4e34ac6a
RM
288142011-07-02 Roland McGrath <roland@hack.frob.com>
28815
5e9b6af4
RM
28816 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28817
84f9ea0f
RM
28818 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28819 containing directory rather than embedding absolute directory names.
28820
ea5ee9f7
RM
28821 * scripts/check-local-headers.sh: Rewritten using awk.
28822 Match by word, not by line. Print error messages for matches.
28823 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28824
1b74661a
RM
28825 * Makerules [shlib-lds-flags empty]:
28826 ($(common-objpfx)libc_pic.opts): New target.
28827 ($(common-objpfx)libc_pic.os.clean): New target.
28828 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28829
28830 * config.make.in (OBJCOPY): New variable.
28831 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28832 * configure: Regenerated.
28833
f781ef40
RM
28834 * config.make.in (use-default-link): New variable.
28835 * configure.in (use_default_link): Grok --with-default-link to set it.
28836 * configure: Regenerated.
28837 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28838 (shlib-lds, shlib-lds-flags): Define to empty.
28839
2d4fa81e
RM
28840 * Makerules (shlib-lds): New variable.
28841 (shlib-lds-flags): New variable.
28842 (build-shlib, build-moduile, build-module-asneeded): Use it.
28843 ($(common-objpfx)libc.so): Use $(shlib-lds).
28844 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28845 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28846
31fffa6b
RM
28847 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28848 DT_FLAGS/DT_FLAGS_1 with zero flags.
28849
4e34ac6a
RM
28850 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28851 linker script munging.
28852
fcfc776b
UD
288532011-07-02 Ulrich Drepper <drepper@gmail.com>
28854
28855 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28856 as 128-bit value.
28857 * crypt/sha512.c (sha512_process_block): Perform total addition using
28858 128-bit if possible.
28859 (__sha512_finish_ctx): Likewise.
28860 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28861 as 64-bit value.
28862 * crypt/sha256.c (SWAP64): Define.
28863 (sha256_process_block): Perform total addition using 64-bit if
28864 possible.
28865 (__sha256_finish_ctx): Likewise.
28866
99231d9a
UD
288672011-07-01 Ulrich Drepper <drepper@gmail.com>
28868
28869 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28870 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28871 * nscd/hstcache.c (cache_addhst): Likewise.
28872 * nscd/grpcache.c (cache_addgr): Likewise.
28873 * nscd/aicache.c (addhstaiX): Likewise
28874 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28875
445b4a53
TK
288762011-07-01 Thorsten Kukuk <kukuk@suse.de>
28877
28878 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28879 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28880 * nscd/hstcache.c (cache_addhst): Likewise.
28881 * nscd/grpcache.c (cache_addgr): Likewise.
28882 * nscd/aicache.c (addhstaiX): Likewise
28883
6d4d8e8e
AS
288842011-07-01 Andreas Schwab <schwab@redhat.com>
28885
28886 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28887 domain only when needed.
28888
89f654c5
AS
288892011-06-30 Andreas Schwab <schwab@redhat.com>
28890
28891 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28892 is always restored.
28893
cf3b23ff
UD
288942011-06-29 Ulrich Drepper <drepper@gmail.com>
28895
28896 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28897 are re-adding the entry.
28898 * nscd/servicescache.c (cache_addserv): Likewise.
28899
751626f9
AJ
289002011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28901
28902 * sysdeps/generic/dl-irel.h: fix protection against multiple
28903 inclusions.
28904 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28905
9113ea1f
UD
289062011-06-28 Ulrich Drepper <drepper@gmail.com>
28907
5c0b8d90
UD
28908 [BZ #12935]
28909 * malloc/memusage.sh: Fix quoting in message.
28910 * debug/xtrace.sh: Likewise.
28911
9113ea1f
UD
28912 * configure.in: Remove support for --experimental-malloc option, make
28913 it the default.
28914 * config.make.in: Likewise.
28915 * malloc/Makefile: Likewise.
28916
a4172181
AS
289172011-06-27 Andreas Schwab <schwab@redhat.com>
28918
28919 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28920 two-byte characters.
28921
78a7eee7
RM
289222011-06-27 Roland McGrath <roland@hack.frob.com>
28923
62bede13
RM
28924 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28925 AC_CACHE_CHECK invocation.
28926 * configure: Regenerated.
28927
78a7eee7
RM
28928 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28929
5ce33a62
UD
289302011-06-27 Ulrich Drepper <drepper@gmail.com>
28931
034807a9
UD
28932 [BZ #12350]
28933 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
28934 bit from old_res_options.
28935
4902da17
UD
28936 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28937
5ce33a62
UD
28938 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28939 value type for setfct.
28940
c2344f56
L
289412011-06-23 H.J. Lu <hongjiu.lu@intel.com>
28942
28943 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28944 __gettimeofday instead of gettimeofday.
28945
68468076
UD
289462011-06-26 Ulrich Drepper <drepper@gmail.com>
28947
28948 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28949
acb0d739
L
289502011-06-24 H.J. Lu <hongjiu.lu@intel.com>
28951
28952 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28953
28954 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28955 info.
28956
8912479f
L
289572011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28958
28959 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28960 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28961 strcpy-sse2-unaligned strncpy-sse2-unaligned
28962 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28963 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28964 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28965 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28966 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28967 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28968 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28969 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28970 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28971 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28972 (STRCPY): Support SSE2 and SSSE3 versions.
28973
d5495a11
UD
289742011-06-24 Ulrich Drepper <drepper@gmail.com>
28975
28976 [BZ #12874]
28977 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28978 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28979 kernels which artificially limit size of requests.
28980
0b1cbaae
L
289812011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28982
28983 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28984 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28985 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28986 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28987 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28988 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28989 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28990 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28991 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28992 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28993 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28994 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28995 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28996 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28997 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28998 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28999 Enable unaligned load optimization for Intel Core i3, i5 and i7
29000 processors.
29001 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29002 Define.
29003 (index_Fast_Unaligned_Load): Define.
29004 (HAS_FAST_UNALIGNED_LOAD): Define.
29005
07f494a0
MP
290062011-06-23 Marek Polacek <mpolacek@redhat.com>
29007
29008 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29009
fa3fc0fe
UD
290102011-06-22 Ulrich Drepper <drepper@gmail.com>
29011
29012 [BZ #12907]
29013 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29014 until it is clear that the information is realy needed.
29015 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29016
e12df166
AS
290172011-06-22 Andreas Schwab <schwab@redhat.com>
29018
29019 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29020
852eb34d
UD
290212011-06-22 Ulrich Drepper <drepper@gmail.com>
29022
84e2a551
UD
29023 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29024 /sys/devices/system/cpu/online if it is usable.
29025
852eb34d
UD
29026 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29027 reading the information from the /proc filesystem to once a second.
29028
6e502e19
UD
290292011-06-21 Andreas Jaeger <aj@suse.de>
29030
29031 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29032 NULL after inclusion of kernel headers.
29033
75d39ff2
UD
290342011-06-21 Ulrich Drepper <drepper@gmail.com>
29035
51f9aa6a
UD
29036 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29037 calls to internal_setent.
29038
c0244a9d
UD
29039 [BZ #12885]
29040 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29041 addresses using gethostbyname4_r ignore IPv4 addresses.
29042
c5e3c2ae
UD
29043 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29044 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29045
75d39ff2
UD
29046 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29047
42675c6f
DM
290482011-06-20 David S. Miller <davem@davemloft.net>
29049
29050 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29051 inclusions.
29052 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29053
29054 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29055 (elf_irel): Use it.
29056 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29057 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29058 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29059 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29060 * sysdeps/x86_64/dl-irel.h: Likewise.
29061
29062 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29063 * elf/dl-sym.c: Likewise.
29064
57912a71
UD
290652011-06-15 Ulrich Drepper <drepper@gmail.com>
29066
29067 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29068 need to dereference resplen2.
29069
ee22793d
AS
290702011-06-14 Andreas Schwab <schwab@redhat.com>
29071
29072 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29073
a9e836b0
UD
290742011-06-15 Ulrich Drepper <drepper@gmail.com>
29075
77fb9117
UD
29076 * Makeconfig: Define vardbdir and inst_vardbdir.
29077 * nss/Makefile: Add rules to install db-Makefile.
29078
40c1b22c
UD
29079 * nss/nss_db/db-XXX.c: Cleanup.
29080
9f2da732
UD
29081 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29082 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29083 GLIBC_PRIVATE.
29084 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29085 * nss/makedb.c: Implement -g option to specify that value strings
29086 are generated and should not be added to table iterated over for
29087 get*ent calls.
29088 * nss/nss_db/db-initgroups.c: New file.
29089
82e9a1f7
UD
29090 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29091 interface.
29092
c41af17e
UD
29093 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29094 (internal_getgrouplist): Adjust to name change.
29095 Update use_initgroups_entry if this is not the first call.
29096 * nss/databases.def: Add initgroups entry.
29097
a9e836b0
UD
29098 * nss/makedb.c (compute_tables): Check result of multiple hash table
29099 sizes to minimize maximum chain length.
29100
2666d441
UD
291012011-06-14 Ulrich Drepper <drepper@gmail.com>
29102
29103 * Versions.def: Add entry for libnss_db.
29104 * shlib-versions: Likewise.
29105 * nss/Makefile: Add rules to build libnss_db.
29106 * nss/Versions: Add libnss_db information. Organize libnss_files
29107 entries better.
29108 * nss/db-Makefile: Add gshadow support. Change rules for the new
29109 makedb progra. Some minor improvements to generate smaller files.
29110 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29111 here from...
29112 * nss/makedb.c: ...here.
29113 Improve database format to be smaller and require less memory at
29114 runtime.
29115 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29116 db anymore.
29117 * nss/nss_db/db-netgrp.c: Likewise.
29118 * nss/nss_db/db-open.c: Likewise.
29119 * nss/nss_files/flies-XXX.x: Adjust comments.
29120 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29121 * nss/nss_files/files-grp.c: Likewise.
29122 * nss/nss_files/files-hosts.c: Likewise.
29123 * nss/nss_files/files-network.c: Likewise.
29124 * nss/nss_files/files-proto.c: Likewise.
29125 * nss/nss_files/files-pwd.c: Likewise.
29126 * nss/nss_files/files-rpc.c: Likewise.
29127 * nss/nss_files/files-service.c: Likewise.
29128 * nss/nss_files/files-sgrp.c: Likewise.
29129 * nss/nss_files/files-spwd.c: Likewise.
29130 * nss/nss_db/db-alias.c: Removed.
29131 * nss/nss_db/dummy-db.h: Removed.
29132
9ee76b5a
UD
291332011-06-02 Ulrich Drepper <drepper@gmail.com>
29134
29135 * nss/makedb.c: Rewritten to not use database library.
29136 * nss/Makefile: Update to build new makedb program.
29137
c71ca1f8
AJ
291382011-06-14 Andreas Jaeger <aj@suse.de>
29139
29140 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29141 memset declaration.
29142
3154bfb8
UD
291432011-06-10 Andreas Schwab <schwab@redhat.com>
29144
29145 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29146 tmpbuf.
29147
b350afab
RM
291482011-06-10 Roland McGrath <roland@hack.frob.com>
29149
decd4e50
RM
29150 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29151 * elf/Makefile ($(objpfx)ld.so): Likewise.
29152
5615eaf2
RM
29153 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29154 Don't list ld.so twice in dependencies.
29155
29156 * posix/bug-regex31.c: Include <stdlib.h>.
29157
29158 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29159
29160 * nis/nss_compat/compat-spwd.c
29161 (getspent_next_nss_netgr): Remove unused variable.
29162 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29163
29164 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29165 nonmembers" output to use the right array.
29166
29167 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29168
29169 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29170
29171 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29172 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29173 * catgets/gencat.c (read_input_file): Likewise.
29174 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29175
29176 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29177 variable definition inside #if's controlling its use.
29178
29179 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29180
29181 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29182
29183 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29184
29185 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29186 unreachable code.
29187
29188 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29189
b68e08db
RM
29190 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29191 * configure: Regenerated.
29192
b350afab
RM
29193 * Makerules: Revert last change.
29194 * elf/Makefile: Likewise.
29195
28368601
RM
291962011-06-09 Roland McGrath <roland@hack.frob.com>
29197
29198 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29199 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29200 (reloc-link): Likewise.
29201
11988f8f
UD
292022011-06-09 Ulrich Drepper <drepper@gmail.com>
29203
29204 * elf/Makefile: Add rules to build pldd.
29205 * elf/pldd.c: New file.
29206 * elf/pldd-xx.c: New file.
29207
e80fab37
UD
292082011-06-07 Ulrich Drepper <drepper@gmail.com>
29209
29210 * version.h: Update for 2.15 development version.
29211
9b849836
DM
292122011-06-07 David S. Miller <davem@davemloft.net>
29213
29214 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29215 ifuncs.
29216 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29217 elf_machine_lazy_rel): Likewise.
29218 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29219 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29220 elf_machine_lazy_rel): Likewise.
29221 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29222 dl_hwcap via passed in argument.
29223 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29224 Likewise.
29225
5a31b283
AK
292262011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29227
29228 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29229
069e52f8
RM
292302011-06-06 Roland McGrath <roland@hack.frob.com>
29231
29232 [BZ #12849]
29233 * manual/fdl-1.1.texi: New file, verbatim from:
29234 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29235 * manual/lgpl-2.1.texi: New file, verbatim from:
29236 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29237 * manual/Makefile (licenses): New variable, list those new file names.
29238 (texis): Use it.
29239 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29240
29241 * manual/fdl.texi: File removed.
29242 * manual/lesser.texi: File removed.
29243 * manual/libc.texinfo (Copying, Documentation License):
29244 Use new @include file names, put @appendix directive before @include.
29245
f16846a5
JJ
292462011-06-04 Jakub Jelinek <jakub@redhat.com>
29247
29248 [BZ #12841]
29249 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29250 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29251 (mq_open): Add __NTH.
29252
3d29045b
L
292532011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29254
29255 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29256 Assume Intel Core i3/i5/i7 processor if AVX is available.
29257
8c297311
UD
292582011-05-31 Ulrich Drepper <drepper@gmail.com>
29259
29260 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29261 typo.
29262
c8fc0c91
UD
292632011-05-31 Andreas Schwab <schwab@redhat.com>
29264
29265 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29266 memory. Use alloca_account. Fix memory leak when retrying.
29267
5b27a807
UD
292682011-05-31 Ulrich Drepper <drepper@gmail.com>
29269
356f8bc6
UD
29270 * version.h (RELEASE): Bump for 2.14 release.
29271 * include/features.h (__GLIBC_MINOR__): Bump to 14.
29272
5b27a807
UD
29273 * config.make.in (RANLIB): Remove entry.
29274
01f16ab0
UD
292752011-05-30 Ulrich Drepper <drepper@gmail.com>
29276
41fce8bd
UD
29277 * po/Makefile (po-sed-cmd): Add ksh to extensions.
29278 (libc.pot): Work around missing support for .ksh extension in xgettext.
29279
4769ae77
UD
29280 [BZ #12684]
29281 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29282 if both request failed.
29283 (send_dg): In case of server errors clear resplen or *resplen2.
29284
6b1e7d19
UD
29285 [BZ #12454]
29286 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29287 when there are multiple maps.
29288 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29289 (_dl_fini): Remove test here.
29290
01f16ab0
UD
29291 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29292
b1ebd700
UD
292932011-05-29 Ulrich Drepper <drepper@gmail.com>
29294
7ae22829
UD
29295 [BZ #12350]
29296 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29297 bit from old_res_options.
29298 (gaih_inet): Likewise.
29299
553149f6 29300 [BZ #11099]
18a84741 29301 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
29302 as signed.
29303
652ffab1
UD
29304 * resolv/res_init.c (res_setoptions): Make the code more compact.
29305
16985fd0
UD
29306 [BZ #11558]
29307 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29308 set RES_USEVC.
29309
0464f746
UD
29310 [BZ #11634]
29311 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29312
7d17596c
UD
29313 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29314
cf6bbbd7
UD
29315 [BZ #11781]
29316 * malloc/malloc.h: Declare malloc hook variables as volatile.
29317
13f1ab36
UD
29318 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29319 in last patch.
29320
b1ebd700
UD
29321 [BZ #11799]
29322 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 29323 raise in the comment.
80e2212d
UD
29324 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29325 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29326 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 29327
ce67228d
UD
293282011-05-28 Ulrich Drepper <drepper@gmail.com>
29329
8887a920
UD
29330 [BZ #12811]
29331 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29332 grow the buffers more if it already has to be sufficient.
29333 (build_wcs_upper_buffer): Likewise.
29334 * posix/regexec.c (check_matching): Likewise.
29335 (clean_state_log_if_needed): Likewise.
29336 (extend_buffers): Don't enlarge buffers beyond size of the input
29337 buffer.
29338 Patches mostly by Emil Wojak <emil@wojak.eu>.
29339 * posix/bug-regex32.c: New file.
29340 * posix/Makefile (tests): Add bug-regex32.
29341
4f031072
UD
29342 * locale/findlocale.c (_nl_find_locale): Return right away if
29343 _nl_explode_name failed.
29344 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29345
d0478f0c
UD
29346 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29347
de81b246
UD
29348 * debug/xtrace.sh: Unify messages.
29349 * malloc/memusage.sh: Likewise.
29350
c738465a
UD
29351 [BZ #12813]
29352 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29353 time symbol from vDSO. Substitute with vsyscall if not available.
29354 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29355 __vdso_time.
29356
f1f929d7
UD
29357 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29358 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29359 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29360 Add sendmmsg and internal_sendmmsg.
29361 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29362 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29363 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29364
ce67228d
UD
29365 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29366 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29367 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29368
e57420c6
UD
293692011-05-27 Ulrich Drepper <drepper@gmail.com>
29370
a8509ca5
UD
29371 [BZ #12813]
29372 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29373 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29374 available.
29375 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29376 __vdso_getcpu.
29377
e57420c6
UD
29378 [BZ #12814]
29379 * iconvdata/Makefile (tests): Add bug-iconv9.
29380 * iconvdata/bug-iconv9.c: New file.
29381
4d07db15
AS
293822011-05-27 Andreas Schwab <schwab@redhat.com>
29383
29384 [BZ #12814]
29385 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29386
ea486f69
JJ
293872011-05-25 Jakub Jelinek <jakub@redhat.com>
29388
29389 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29390 (struct user_regs_struct): Change intcs field back to cs.
29391
6f038433
UD
293922011-05-25 Ulrich Drepper <drepper@gmail.com>
29393
29394 * po/ja.po: Update from translation team.
29395
67f86a25
UD
293962011-05-23 Ulrich Drepper <drepper@gmail.com>
29397
29398 [BZ #12795]
29399 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29400 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29401
def7fbd6
AS
294022011-05-20 Andreas Schwab <schwab@redhat.com>
29403
29404 * stdlib/longlong.h: Update from GCC.
29405
f50ef8f1
AS
294062011-05-23 Andreas Schwab <schwab@redhat.com>
29407
29408 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29409 parameter name.
29410 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29411 Add parameter name.
29412 (__sysconf): Pass it down.
29413
de7ce8f1
UD
294142011-05-22 Ulrich Drepper <drepper@gmail.com>
29415
f2962a71
UD
29416 [BZ #12671]
29417 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29418 some situations.
29419 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29420 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29421 add in in __libc_use_alloca calls. Adjust callers.
29422 (glob): Use malloc in some situations.
29423
de7ce8f1
UD
29424 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29425 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29426 pltexit.
29427
aec84f53
UD
294282011-05-21 Ulrich Drepper <drepper@gmail.com>
29429
05bb4a68
UD
29430 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29431 and CLOCK_BOOTTIME_ALARM.
29432
7ea72f99
UD
29433 [BZ #12782]
29434 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29435 is returned.
29436
7e4afad5
UD
29437 * string/_strerror.c (__strerror_r): Print negative errors as signed
29438 numbers.
29439
8e211fec
UD
29440 [BZ #12777]
29441 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29442 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29443 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29444
f7d82dc9
UD
29445 * configure.in: Fix typo in redirection and correct removal of test
29446 files in two cases.
29447
cc9e536d
UD
29448 [BZ #12788]
29449 * locale/setlocale.c (new_composite_name): Fix test to check for
29450 identical name of all categories.
29451
aec84f53
UD
29452 [BZ #12792]
29453 * libio/filedoalloc.c (local_isatty): New function.
29454 (_IO_file_doallocate): Use local_isatty.
29455 * stdio-common/perror.c (perror): In case a new stream is used
29456 forward the stream error.
29457 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29458 error flag.
29459
78e64fdc
RT
294602011-05-20 Ulrich Drepper <drepper@gmail.com>
29461
34a9094f
UD
29462 [BZ #11869]
29463 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29464 alloca.
29465 * include/alloca.h (extend_alloca_account): Define.
29466
78e64fdc
RT
29467 [BZ #11857]
29468 * posix/regex.h: Fix comments with documentation of user-accessible
29469 fields after compilation and describe correct free'ing of pattern
29470 after re_compile_pattern.
29471 Patch by Reuben Thomas <rrt@sc3d.org>.
29472
457bddfc
RA
294732011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29474
29475 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29476 and -mno-altivec to prevent the compiler from using Altivec and/or
29477 VSX instructions when the corresponding registers are not available.
29478
a4527b51
AS
294792011-05-19 Andreas Schwab <schwab@redhat.com>
29480
29481 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29482
ed690b2f
UD
294832011-05-19 Ulrich Drepper <drepper@gmail.com>
29484
29485 * libio/freopen.c (freopen): Use __dup2, not dup2.
29486 * libio/freopen64.c (freopen64): Likewise.
29487
8db73634
L
294882011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29489
29490 [BZ #12775]
29491 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29492 * math/Makefile (tests): Add test-powl.
29493 (CFLAGS-test-powl.c): Define.
29494 * math/test-powl.c: New file.
29495
0a197a9d
L
294962011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29497
29498 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29499
ee30c380
UD
295002011-05-17 Ulrich Drepper <drepper@gmail.com>
29501
29502 [BZ #11837]
29503 * iconvdata/gb18030.c: Update to GB18020-2005.
29504
6ce75379
UD
295052011-05-16 Ulrich Drepper <drepper@gmail.com>
29506
a4b89fd8
AR
29507 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29508 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29509 Patch by Aharon Robbins <arnold@skeeve.com>.
29510
ea389b12
UD
29511 [BZ #11892]
29512 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29513 on the stack.
29514
68a3f91f
UD
29515 [BZ #11895]
29516 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29517 through underflows.
29518
15cc7dd1
UD
29519 [BZ #12766]
29520 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29521 point to strings before performing equality test for error_one_per_line
29522 mode.
29523
f3799213
UD
29524 [BZ #11697]
29525 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29526
d79a9c94
UD
29527 [BZ #11820]
29528 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29529 (struct user_fpregs_struct): Avoid __uint*_t types.
29530
56e5eb46
UD
29531 [BZ #6420]
29532 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29533 symbol info. Use it instead of calling _dl_addr locally.
29534 (lock_and_info): New function.
29535 (tr_freehook): Call lock_and_info and pass symbol info as additional
29536 parameter to tr_where.
29537 (tr_mallochook): Likewise.
29538 (tr_reallochook): Likewise.
29539 (tr_memalignhook): Likewise.
29540
6ce75379
UD
29541 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29542 used and couldn't be at all thread-safe.
29543
f8a3b5bf
UD
295442011-05-15 Ulrich Drepper <drepper@gmail.com>
29545
94b7cc37
UD
29546 * libio/freopen.c (freopen): Don't close old file descriptor
29547 before the new one is opened. Instead dup the new file descriptor
29548 to the old one after the new stream is created.
29549 * libio/freopen64.c (freopen64): Likewise.
29550 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29551 * libio/fileops.c (_IO_new_file_close_it): Handle new
29552 _IO_FLAGS2_NOCLOSE flag.
29553 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29554 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29555 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29556 _IO_FLAGS2_NOCLOSE flag.
29557 * include/unistd.h: Add hidden_proto for dup3.
29558 Define __have_dup3.
29559 * io/dup3.c: Define hidden symbol.
29560 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29561
bd25564e
UD
29562 [BZ #7101]
29563 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29564 when an incomplete long option is used.
29565 * posix/tst-getopt_long1.c: New file.
29566 * posix/Makefile (tests): Add tst-getopt_long1.
29567
c84cfef4
UD
29568 [BZ #10138]
29569 * scripts/config.guess: Update from autoconf-2.68.
29570 * scripts/config.sub: Likewise.
29571
3b85df27
UD
29572 [BZ #10157]
29573 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29574 tests into ...
29575 (has_cpuclock): ...this. New function.
29576 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29577 macro here based on has_cpuclock code.
29578
15a856b1
UD
29579 [BZ #10149]
29580 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29581 First byte (not low byte) is now always NUL.
29582 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29583
05f399e6
UD
29584 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29585 Use non-cancelable interfaces.
29586
10a52685 29587 [BZ #9809]
94ecc67d
UD
29588 * locale/iso-639.def: Add entry for Sorani.
29589
f8a3b5bf
UD
29590 [BZ #11901]
29591 * include/stdlib.h: Move include protection to the right place.
29592 Define abort_msg_s. Declare __abort_msg with it.
29593 * stdlib/abort.c (__abort_msg): Adjust type.
29594 * assert/assert.c (__assert_fail_base): New function. Majority
29595 of code from __assert_fail. Allocate memory for __abort_msg with
29596 mmap.
29597 (__assert_fail): Now call __assert_fail_base.
29598 * assert/assert-perr.c: Remove bulk of implementation. Use
29599 __assert_fail_base.
29600 * include/assert.hL Declare __assert_fail_base.
29601 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29602 mmap.
29603 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29604
1af4e298
UD
296052011-05-14 Ulrich Drepper <drepper@gmail.com>
29606
f8a3b5bf 29607 [BZ #11952]
d26dfc60
MG
29608 [BZ #12453]
29609 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29610 until all modules are registered in the DTV.
29611 * elf/Makefile: Add rules to build and run tst-tls19.
29612 * elf/tst-tls19.c: New file.
29613 * elf/tst-tls19mod1.c: New file.
29614 * elf/tst-tls19mod2.c: New file.
29615 * elf/tst-tls19mod3.c: New file.
29616 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29617
2fc54d6f
UD
29618 [BZ #12083]
29619 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29620 correctly.
29621
98d76b46
UD
29622 [BZ #12601]
29623 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29624 two-byte sequence errors.
29625 * iconvdata/Makefile (tests): Add bug-iconv8.
29626 * iconvdata/bug-iconv8.c: New file.
29627
da3c19ef
UD
29628 [BZ #12626]
29629 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29630 buf2 definition.
29631
ca408c15
UD
29632 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29633
d6f67f7d
UD
29634 [BZ #12432]
29635 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29636 (dummy_getcfa): New function.
29637 (init): Get _Unwind_GetCFA address, use dummy if not found.
29638 (backtrace_helper): In recursion check, also check whether CFA changes.
29639 (__backtrace): Completely initialize arg.
29640
1af4e298 29641 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
29642 storing incomplete byte sequence in state object. Avoid testing for
29643 guaranteed too small input if we know there is enough data available.
1af4e298 29644
da62f81b
AS
296452011-05-11 Andreas Schwab <schwab@redhat.com>
29646
29647 * Makeconfig (+link-pie): Indent.
29648 * Rules (binaries-pie): Define if $(have-fpie) and
29649 $(build-shared).
29650 (binaries-shared): Also filter out $(binaries-pie).
29651 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29652 * nscd/Makefile (others-pie): Add nscd.
29653 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29654 ($(objpfx)nscd): Remove command override.
29655 * login/Makefile (others-pie): Add pt_chown.
29656 ($(objpfx)pt_chown): Remove command override.
29657 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29658 remove command overrides.
29659
fcabc0f8
UD
296602011-05-13 Ulrich Drepper <drepper@gmail.com>
29661
20030ae6
UD
29662 * libio/tst_putwc.c: Fix error messages.
29663
fcabc0f8
UD
29664 [BZ #12724]
29665 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29666 currently writing and seek to current position when not.
29667 * libio/Makefile (tests): Add bug-fclose1.
29668 * libio/bug-fclose1.c: New file.
29669
320a5dc0
PB
296702011-05-12 Ulrich Drepper <drepper@gmail.com>
29671
29672 [BZ #12511]
29673 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29674 don't set DF_1_NODELETE here.
29675 (do_lookup_x): When entering new entry test for copy relocation
29676 and if necessary set DF_1_NODELETE flag.
29677 * elf/tst-unique4.cc: New file.
29678 * elf/tst-unique4.h: New file.
29679 * elf/tst-unique4lib.cc: New file.
29680 * elf/Makefile: Add rules to build and run tst-unique4.
29681 Patch by Piotr Bury <pbury@goahead.com>.
29682
22836f52
UD
296832011-05-11 Ulrich Drepper <drepper@gmail.com>
29684
f574184a
UD
29685 [BZ #12052]
29686 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29687
e1fb097f
UD
29688 [BZ #12625]
29689 * misc/mntent_r.c (addmntent): Flush the stream after the output
29690
22836f52
UD
29691 [BZ #12393]
29692 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29693 (is_trusted_path_normalize): Skip initial colon. Append slash
29694 to empty buffer. Duplicate is_trusted_path code but allow
29695 constructed patch to be prefix.
29696 (is_dst): Allow $ORIGIN followed by /.
29697 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29698 Correct testing of result of is_trusted_path_normalize
29699 (decompose_rpath): Fix warning.
29700
7b3b0b2a
UD
297012011-05-10 Ulrich Drepper <drepper@gmail.com>
29702
29703 [BZ #11257]
29704 * grp/initgroups.c (internal_getgrouplist): When we found the service
29705 list through the initgroups entry in nsswitch.conf do not always
29706 continue on a successful lookup. Don't always use the
eac80ce2 29707 __nss_group_database value if it is set.
7b3b0b2a
UD
29708 * nss/nsswitch.conf (initgroups): Change action for successful db
29709 lookup to continue for compatibility.
29710
2a81eaa5
UD
297112011-05-09 Ulrich Drepper <drepper@gmail.com>
29712
be97a69e
UD
29713 [BZ #11532]
29714 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29715 and CP774 modules.
29716 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29717 and CP774 modules.
29718 * iconvdata/tst-tables.sh: Likewise.
29719 * iconvdata/cp770.c: New file.
29720 * iconvdata/cp771.c: New file.
29721 * iconvdata/cp772.c: New file.
29722 * iconvdata/cp773.c: New file.
29723 * iconvdata/cp774.c: New file.
29724 * iconvdata/testdata/CP770: New file.
29725 * iconvdata/testdata/CP770..UTF8: New file.
29726 * iconvdata/testdata/CP771: New file.
29727 * iconvdata/testdata/CP771..UTF8: New file.
29728 * iconvdata/testdata/CP772: New file.
29729 * iconvdata/testdata/CP772..UTF8: New file.
29730 * iconvdata/testdata/CP773: New file.
29731 * iconvdata/testdata/CP773..UTF8: New file.
29732 * iconvdata/testdata/CP774: New file.
29733 * iconvdata/testdata/CP774..UTF8: New file.
29734
29735 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29736 END CHARMAP line.
29737 * iconvdata/gen-8bit-gap.sh: Likewise.
29738 * iconvdata/gen-8bit.sh: Likewise.
29739
c1e9e399
UD
29740 * locale/iso-639.def: Add ary entry.
29741
24c55fb3 29742 [BZ #11258]
96b4b1b0
UD
29743 * locale/C-translit.h.in: Add U20A1 transliteration.
29744
bdc2f971
KB
29745 [BZ #12178]
29746 * locale/iso-639.def: Add wae entry.
29747 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29748
2952b117
UD
29749 [BZ #12545]
29750 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29751 for n.
29752
2a81eaa5
UD
29753 [BZ #12711]
29754 * locale/C-translit.h.in: Add entry for U20B9.
29755 Patch by pravin.d.s@gmail.com.
29756
28377d1b
UD
297572011-05-08 Ulrich Drepper <drepper@gmail.com>
29758
7fb90fb8
UD
29759 [BZ #12713]
29760 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29761 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
29762 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29763 in rtld. Use *stat64.
7fb90fb8 29764 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 29765 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 29766 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
29767 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29768 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29769 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29770 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29771 __fstatat64 macros.
7fb90fb8
UD
29772 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29773 * dirent/rewinddir.c: Add libc_hidden_def.
29774 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 29775 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 29776
28377d1b
UD
29777 * include/dirent.h (__alloc_dir): Add flags parameter.
29778 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29779 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29780 __alloc_dir.
29781 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29782 from fdopendir if O_CLOEXEC is already set.
29783
66bdbaa4
AM
297842011-03-15 Alan Modra <amodra@gmail.com>
29785
29786 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29787 l_tls_firstbyte_offset non-zero. Save padding offset in
29788 l_tls_firstbyte_offset for later use.
29789 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29790 freeing static tls block.
29791
95721191
JN
297922011-03-05 Jonathan Nieder <jrnieder@gmail.com>
29793
29794 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29795 where #ifdef was intended. The intent is to prevent ARG_MAX from
29796 being defined by the kernel headers.
29797
f87dfb1f
UD
297982011-05-07 Ulrich Drepper <drepper@gmail.com>
29799
29800 [BZ #12734]
29801 * resolv/resolv.h: Define RES_NOTLDQUERY.
29802 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29803 no-tld-query and set RES_NOTLDQUERY.
29804 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29805 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29806 modern BIND to search name as TLD unless forbidden.
29807
47c3cd7a
UD
298082011-05-07 Petr Baudis <pasky@suse.cz>
29809 Ulrich Drepper <drepper@gmail.com>
29810
29811 [BZ #12393]
29812 * elf/dl-load.c (fillin_rpath): Move trusted path check...
29813 (is_trusted_path): ...to here.
c1e9ea35 29814 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 29815 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 29816 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 29817
8a35c912
PP
298182011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29819
29820 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29821 __BEGIN/__END_DECLS.
29822
acd41f47
UD
298232011-05-06 Ulrich Drepper <drepper@gmail.com>
29824
29825 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29826 NSS_STATUS_NOTFOUND if no record was found.
29827
597df647
AS
298282011-05-05 Andreas Schwab <schwab@redhat.com>
29829
29830 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29831 (headers-not-in-tirpc): Remove rpc/netdb.h
29832 * resolv/netdb.h: Revert last change.
29833
b9af1301
PP
298342011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29835
29836 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29837 circular dependency between libgcc.a and libc.a.
29838
4e34d5f5
AS
298392011-05-05 Andreas Schwab <schwab@redhat.com>
29840
29841 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29842 * nis/Makefile: Don't install rpcsvc/*.
29843 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29844 instead of <rpc/types.h>.
29845 (MAXHOSTNAMELEN): Define.
29846
00ee369c
AS
298472011-05-03 Andreas Schwab <schwab@redhat.com>
29848
29849 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29850
0b592a30
MB
298512011-04-28 Maciej Babinski <mbabinski@google.com>
29852
29853 [BZ #12714]
29854 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29855 gethostbyname4_r when IPv6 results are possible.
29856
6e04cbbe
UD
298572011-05-02 Ulrich Drepper <drepper@gmail.com>
29858
29859 [BZ #12723]
29860 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29861 _PC_PIPE_BUF handling.
29862
e4ecafe0
BH
298632011-04-30 Bruno Haible <bruno@clisp.org>
29864
29865 [BZ #12717]
29866 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29867 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29868 to 'int'.
29869 * inet/getnameinfo.c (getnameinfo): Likewise.
29870
125ee683
UD
298712011-04-29 Ulrich Drepper <drepper@gmail.com>
29872
29873 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29874 to groups setting in database lookup.
29875 * nss/nsswitch.conf: Add initgroups entry.
29876
b722481a
EB
298772011-04-22 Ulrich Drepper <drepper@gmail.com>
29878
29879 [BZ #12685]
29880 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29881 mode string.
29882 Patch by Eric Blake <eblake@redhat.com>.
29883
4df46dbd
L
298842011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29885
29886 * sunrpc/Makefile (need-export-routines): Add svc_run.
29887 (routines): Remove svc_run.
29888 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29889 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29890 * sunrpc/svc_run.c (svc_run): Likewise.
29891 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29892
e84142d2
UD
298932011-04-21 Ulrich Drepper <drepper@gmail.com>
29894
29895 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29896 problem in reallocation in last patch.
29897
877175d8
UD
298982011-04-20 Ulrich Drepper <drepper@gmail.com>
29899
29900 * sunrpc/Makefile: Move inclusion of Rules.
29901
ab8eed78
UD
299022011-04-19 Ulrich Drepper <drepper@gmail.com>
29903
29904 * nss/nss_files/files-initgroups.c: New file.
29905 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29906 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29907 _nss_files_initgroups_dyn.
29908
e3d8f584
RS
299092011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29910
29911 * elf/elf.h (R_ARM_IRELATIVE): Define.
29912
af190f45
UD
299132011-04-19 Ulrich Drepper <drepper@gmail.com>
29914
29915 * po/ru.po: Update from translation team.
29916
53cf59ef
UD
299172011-04-17 Ulrich Drepper <drepper@gmail.com>
29918
29919 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29920 dependencies.
29921
4c559bcd
MF
299222011-02-06 Mike Frysinger <vapier@gentoo.org>
29923
29924 [BZ #12653]
29925 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29926 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29927 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29928 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29929 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29930
4420675c
AS
299312011-03-28 Andreas Schwab <schwab@linux-m68k.org>
29932
29933 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29934 differing bytes.
29935 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29936 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29937 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29938
75ea32ab
UD
299392011-04-17 Ulrich Drepper <drepper@gmail.com>
29940
29941 [BZ #12420]
29942 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29943 storing it.
29944 * stdlib/bug-getcontext.c: New file.
29945 * stdlib/Makefile: Add rules to build and run bug-getcontext.
29946
27390476
AK
299472011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29948
29949 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29950 instructions into .machine "z9-109".
29951 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29952 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29953
10442705
AK
299542011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29955
29956 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29957 between environment variables and auxiliary vector.
29958
7b57bfe5
UD
299592011-04-16 Ulrich Drepper <drepper@gmail.com>
29960
29961 * Makefile: Add rules to build linkobj/libc.so.
29962 * include/libc-symbols.h: Define libc_hidden_nolink.
29963 * include/rpc/auth.h: Mark functions which are to be hidden.
29964 * include/rpc/auth_des.h: Likewise.
29965 * include/rpc/auth_unix.h: Likewise.
29966 * include/rpc/clnt.h: Likewise.
29967 * include/rpc/des_crypt.h: Likewise.
29968 * include/rpc/key_prot.h: Likewise.
29969 * include/rpc/pmap_clnt.h: Likewise.
29970 * include/rpc/pmap_prot.h: Likewise.
29971 * include/rpc/pmap_rmt.h: Likewise.
29972 * include/rpc/rpc_msg.h: Likewise.
29973 * include/rpc/svc.h: Likewise.
29974 * include/rpc/svc_auth.h: Likewise.
29975 * include/rpc/xdr.h: Likewise.
29976 * nis/Makefile: Link all DSOs against linkobj/libc.so.
29977 * nss/Makefile: Likewise.
29978 * sunrpc/Makefile: Don't install headers. Build library with normal
29979 entry points. Don't build rpcinfo. Link RPC tests appropriately.
29980 * sunrpc/auth_des.c: Hide exported symbols by default, export some
29981 for the compat linking library. Remove use of INTDEF/INTUSE.
29982 * sunrpc/auth_none.c: Likewise.
29983 * sunrpc/auth_unix.c: Likewise.
29984 * sunrpc/authdes_prot.c: Likewise.
29985 * sunrpc/authuxprot.c: Likewise.
29986 * sunrpc/clnt_gen.c: Likewise.
29987 * sunrpc/clnt_perr.c: Likewise.
29988 * sunrpc/clnt_raw.c: Likewise.
29989 * sunrpc/clnt_simp.c: Likewise.
29990 * sunrpc/clnt_tcp.c: Likewise.
29991 * sunrpc/clnt_udp.c: Likewise.
29992 * sunrpc/clnt_unix.c: Likewise.
29993 * sunrpc/des_crypt.c: Likewise.
29994 * sunrpc/des_soft.c: Likewise.
29995 * sunrpc/get_myaddr.c: Likewise.
29996 * sunrpc/key_call.c: Likewise.
29997 * sunrpc/key_prot.c: Likewise.
29998 * sunrpc/netname.c: Likewise.
29999 * sunrpc/pm_getmaps.c: Likewise.
30000 * sunrpc/pm_getport.c: Likewise.
30001 * sunrpc/pmap_clnt.c: Likewise.
30002 * sunrpc/pmap_prot.c: Likewise.
30003 * sunrpc/pmap_prot2.c: Likewise.
30004 * sunrpc/pmap_rmt.c: Likewise.
30005 * sunrpc/publickey.c: Likewise.
30006 * sunrpc/rpc_cmsg.c: Likewise.
30007 * sunrpc/rpc_common.c: Likewise.
30008 * sunrpc/rpc_dtable.c: Likewise.
30009 * sunrpc/rpc_prot.c: Likewise.
30010 * sunrpc/rpc_thread.c: Likewise.
30011 * sunrpc/rtime.c: Likewise.
30012 * sunrpc/svc.c: Likewise.
30013 * sunrpc/svc_auth.c: Likewise.
30014 * sunrpc/svc_authux.c: Likewise.
30015 * sunrpc/svc_raw.c: Likewise.
30016 * sunrpc/svc_run.c: Likewise.
30017 * sunrpc/svc_simple.c: Likewise.
30018 * sunrpc/svc_tcp.c: Likewise.
30019 * sunrpc/svc_udp.c: Likewise.
30020 * sunrpc/svc_unix.c: Likewise.
30021 * sunrpc/svcauth_des.c: Likewise.
30022 * sunrpc/xcrypt.c: Likewise.
30023 * sunrpc/xdr.c: Likewise.
30024 * sunrpc/xdr_array.c: Likewise.
30025 * sunrpc/xdr_float.c: Likewise.
30026 * sunrpc/xdr_intXX_t.c: Likewise.
30027 * sunrpc/xdr_mem.c: Likewise.
30028 * sunrpc/xdr_rec.c: Likewise.
30029 * sunrpc/xdr_ref.c: Likewise.
30030 * sunrpc/xdr_sizeof.c: Likewise.
30031 * sunrpc/xdr_stdio.c: Likewise.
30032
e6c61494
UD
300332011-04-10 Ulrich Drepper <drepper@gmail.com>
30034
30035 [BZ #12650]
30036 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30037 * sysdeps/ia64/dl-tls.h: Likewise.
30038 * sysdeps/powerpc/dl-tls.h: Likewise.
30039 * sysdeps/s390/dl-tls.h: Likewise.
30040 * sysdeps/sh/dl-tls.h: Likewise.
30041 * sysdeps/sparc/dl-tls.h: Likewise.
30042 * sysdeps/x86_64/dl-tls.h: Likewise.
30043 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30044
34fe483e
AS
300452011-03-14 Andreas Schwab <schwab@redhat.com>
30046
30047 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30048 rpath element also skip the following colon.
30049 (expand_dynamic_string_token): Add is_path parameter and pass
30050 down to DL_DST_REQUIRED and _dl_dst_substitute.
30051 (decompose_rpath): Call expand_dynamic_string_token with
30052 non-zero is_path. Ignore empty rpaths.
30053 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30054 with zero is_path.
30055
f12a32e6
AS
300562011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30057
30058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30059 Make cancelable.
30060
38a7d692
UD
300612011-04-09 Ulrich Drepper <drepper@gmail.com>
30062
30063 [BZ #12655]
30064 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30065 Patch by Filipe David Manana <fdmanana@apache.org>.
30066
e451d22b
AS
300672011-04-07 Andreas Schwab <schwab@redhat.com>
30068
30069 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30070 Maintain aligned stack.
30071 (CHECK_RSP): Remove unused macro.
30072
dedc7c7b
UD
300732011-04-03 Ulrich Drepper <drepper@gmail.com>
30074
30075 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30076 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30077
94521213
UD
300782011-04-02 Ulrich Drepper <drepper@gmail.com>
30079
30080 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30081
8cb700c0 30082 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 30083
0354e355
L
300842011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30085
30086 [BZ #12518]
30087 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30088 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30089 * sysdeps/x86_64/memmove.c: New file.
30090 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30091 (memcpy): Renamed to ...
30092 (__new_memcpy): This.
30093 (memcpy): Provide GLIBC_2_14 memcpy.
30094 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30095 (memcpy): Provide GLIBC_2_2_5 memcpy.
30096
8593482f
UD
300972011-04-01 Ulrich Drepper <drepper@gmail.com>
30098
30099 [BZ #12631]
30100 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30101
81a5726b
AS
301022011-03-30 Andreas Schwab <schwab@redhat.com>
30103
30104 * misc/syncfs.c: New file.
30105 * misc/Makefile (routines): Add syncfs.
30106 * posix/unistd.h: Declare syncfs.
30107 * sysdeps/unix/syscalls.list: Add syncfs.
30108
00e5419f
AS
301092011-04-01 Andreas Schwab <schwab@redhat.com>
30110
30111 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30112 open_by_handle_at.
30113 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30114 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30115 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30116 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30117 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30118 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30119 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30120
748876bf
UD
301212011-04-01 Ulrich Drepper <drepper@gmail.com>
30122
658e451d
UD
30123 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30124 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30125 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30126 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30127 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30128 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30129 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30130
748876bf
UD
30131 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30132 sync_file_range.c with -fexceptions.
30133 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30134 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30135 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30136 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30137 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30138 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30139 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
30140 sync_file_range as cancellation point
30141 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30142 now a wrapper around __call_sync_file_range with cancellation handling.
30143 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30144 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30145 function name to __call_sync_file_range.
30146 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30147 Add call_sync_file_range.
748876bf 30148
6e63d5e1
AS
301492011-04-01 Andreas Schwab <schwab@redhat.com>
30150
30151 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 30152 bits/timex.h.
6e63d5e1 30153
46998f74
UD
301542011-04-01 Ulrich Drepper <drepper@gmail.com>
30155
4c1423ed
UD
30156 * iconv/iconv.h: Fix typo in comment.
30157 * io/fcntl.h: Likewise.
30158 * libio/stdio.h: Likewise.
30159 * posix/spawn.h: Likewise.
30160 * posix/unistd.h: Likewise.
30161 * stdlib/stdlib.h: Likewise.
30162 * time/time.h: Likewise.
30163 * wcsmbs/wchar.h: Likewise.
30164
158648c0
UD
30165 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30166 open_by_handle): Add.
30167 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30168 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30169 Augment a few comments.
30170 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30171 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30172 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30173 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30174 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30175 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30176 open_by_handle.
30177
46998f74
UD
30178 * io/fcntl.h (AT_EMPTY_PATH): Define.
30179
83fe108b
UD
301802011-03-30 Ulrich Drepper <drepper@gmail.com>
30181
30182 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30183 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30184 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30185 to...
30186 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
30187 * Versions.def: Add GLIBC_2.14.
30188 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30189 Export.
83fe108b 30190
bb242059
UD
301912011-03-22 Ulrich Drepper <drepper@gmail.com>
30192
30193 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30194 round counter.
30195 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30196
c97a1282
L
301972011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30198
30199 [BZ #12597]
30200 * string/test-strncmp.c (do_page_test): New function.
30201 (check2): Likewise.
30202 (test_main): Call check2.
30203 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30204
2a115601
UD
302052011-03-20 Ulrich Drepper <drepper@gmail.com>
30206
30207 [BZ #12587]
30208 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30209 Handle cache information in CPU leaf 4.
30210 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30211
8126d904
UD
302122011-03-18 Ulrich Drepper <drepper@gmail.com>
30213
042c49c6 30214 [BZ #12583]
8126d904
UD
30215 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30216 character representation.
30217 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30218
ccfe366e
RA
302192011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30220
30221 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30222 END(__isnan) to END(__isnanf) to match function entry point/label
30223 EALIGN(__isnanf,...).
30224
c6e13027
JJ
302252011-03-10 Jakub Jelinek <jakub@redhat.com>
30226
30227 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30228
33f85a3f
UD
302292011-03-10 Ulrich Drepper <drepper@gmail.com>
30230
028478fa
UD
30231 [BZ #12510]
30232 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30233 copy from the symbol referenced in the relocation to initialize the
30234 used variable.
30235 Patch by Piotr Bury <pbury@goahead.com>.
30236 * elf/Makefile: Add rules to build and tst-unique3.
30237 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30238 * elf/tst-unique3.cc: New file.
30239 * elf/tst-unique3.h: New file.
30240 * elf/tst-unique3lib.cc: New file.
30241 * elf/tst-unique3lib2.cc: New file.
30242
33f85a3f
UD
30243 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30244
03592fc7
MF
302452011-03-10 Mike Frysinger <vapier@gentoo.org>
30246
30247 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30248 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30249 to _start.
03592fc7 30250
6a5ee102
UD
302512011-03-06 Ulrich Drepper <drepper@gmail.com>
30252
30253 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30254 to-be-loaded object along a path to loader is ld.so.
30255
7e4ba49c
HJ
302562011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30257 Ulrich Drepper <drepper@gmail.com>
30258
30259 * sysdeps/x86_64/memset.S: After aligning destination, code
30260 branches to different locations depending on the value of
30261 misalignment, when multiarch is enabled. Fix this.
30262
302632011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30264
30265 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30266 Set _x86_64_preferred_memory_instruction for AMD processsors.
30267 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30268 Set bit_Prefer_SSE_for_memop for AMD processors.
30269
13a804de
UD
302702011-03-04 Ulrich Drepper <drepper@gmail.com>
30271
30272 * libio/fmemopen.c (fmemopen): Optimize a bit.
30273
9d25c392
AS
302742011-03-03 Andreas Schwab <schwab@redhat.com>
30275
30276 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30277
a5543c6a
RM
302782011-03-03 Roland McGrath <roland@redhat.com>
30279
30280 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30281
012d35f7
DM
302822011-02-28 Aurelien Jarno <aurelien@aurel32.net>
30283
7e4ba49c 30284 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
30285 __bzero_ultra1 instead of __memset_ultra1.
30286
4bff6e01
AS
302872011-02-23 Andreas Schwab <schwab@redhat.com>
30288 Ulrich Drepper <drepper@gmail.com>
30289
30290 [BZ #12509]
30291 * include/link.h (struct link_map): Add l_orig_initfini.
30292 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30293 returning unsuccessfully.
30294 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30295 close of a file loaded at startup, restore the original l_initfini
30296 list.
30297 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30298 list, store the pointer.
30299 * elf/Makefile ($(objpfx)noload-mem): New rule.
30300 (noload-ENV): Define.
30301 (tests): Add $(objpfx)noload-mem.
30302 * elf/noload.c: Include <memcheck.h>.
30303 (main): Call mtrace. Close all opened handles.
30304
f2092faf
AS
303052011-02-17 Andreas Schwab <schwab@redhat.com>
30306
30307 [BZ #12454]
30308 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30309 dependencies are missing.
30310
6c8a2e88
ST
303112011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30312
f2092faf 30313 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
30314 Hurd needs munmap.
30315 * sysdeps/mach/hurd/ifreq.h: New file.
30316
84a42118
PB
303172011-01-27 Petr Baudis <pasky@suse.cz>
30318 Ulrich Drepper <drepper@gmail.com>
30319
071f805e 30320 [BZ 12445]#
84a42118
PB
30321 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30322 to extend_alloca().
30323 * stdio-common/bug23.c: New file.
30324 * stdio-common/Makefile (tests): Add bug23.
30325
e23fe25b
AS
303262010-09-28 Andreas Schwab <schwab@redhat.com>
30327 Ulrich Drepper <drepper@gmail.com>
30328
30329 [BZ #12489]
30330 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30331 before performing relro protection. At old place add assertion
30332 to make sure nothing changed.
30333
d3f02e10
NS
303342011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30335 Glauber de Oliveira Costa <glommer@gmail.com>
30336
30337 * elf/elf.h: Add new ARM TLS relocs.
30338
d55fd7a5
RA
303392011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30340
30341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30342 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30343 cast from r3.
30344 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30345 'tests' variable.
30346 * sysdeps/wordsize-64/tst-writev.c: New file.
30347
2206397e
RA
303482011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30349
30350 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30351 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30352 insns in _dl_start to prevent a TOC reference before relocs are
30353 resolved.
30354
e9433893
UD
303552011-02-15 Ulrich Drepper <drepper@gmail.com>
30356
30357 [BZ #12469]
30358 * Makeconfig: Remove RANLIB definition.
30359 * Makerules: Don't use RANLIB.
30360 * aclocal.m4: Remove ranlib test.
30361 * configure.in: No need to check for ranlib.
30362 * elf/rtld-Rules: Don't use RANLIB.
30363
f75286c6
ST
303642011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30365
8e31c82d
ST
30366 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30367 protection macro.
30368 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30369 inclusion protection macro.
30370
f75286c6
ST
30371 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30372 SIGRTMIN and SIGRTMAX and print information in that case only when
30373 SIGRTMIN is defined.
30374
c1d0e639
JJ
303752011-02-11 Jakub Jelinek <jakub@redhat.com>
30376
30377 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30378 arginfo fn returning -1.
30379
30380 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30381 and thousands string is zero terminated.
30382
edf9294e
AS
303832011-02-03 Andreas Schwab <schwab@redhat.com>
30384
30385 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30386 sysdeps/unix/sysv/linux/bits/socket.h.
30387
2b7e92df
ST
303882011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30389
edf9294e
AS
30390 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30391 (__CPU_COUNT): Remove old macros.
30392 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30393 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30394 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
30395 (__sched_cpualloc, __sched_cpufree): Add declarations.
30396
a4c7ea7b
UD
303972011-02-05 Ulrich Drepper <drepper@gmail.com>
30398
30399 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30400 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30401 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30402 (readdhstai): Return value of addhstaiX call.
30403 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30404 (addgrbyX): Return value returned by cache_addgr.
30405 (readdgrbyname): Return value returned by addgrbyX.
30406 (readdgrbygid): Likewise.
30407 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30408 (addpwbyX): Return value returned by cache_addpw.
30409 (readdpwbyname): Return value returned by addhstbyX.
30410 (readdpwbyuid): Likewise.
30411 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30412 (addservbyX): Return value returned by cache_addserv.
30413 (readdservbyname): Return value returned by addservbyX:
30414 (readdservbyport): Likewise.
30415 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30416 (addhstbyX): Return value returned by cache_addhst.
30417 (readdhstbyname): Return value returned by addhstbyX.
30418 (readdhstbyaddr): Likewise.
30419 (readdhstbynamev6): Likewise.
30420 (readdhstbyaddrv6): Likewise.
30421 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30422 (readdinitgroups): Return value returned by addinitgroupsX.
30423 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30424 (prune_cache): Keep track of timeout value of re-added entries.
30425 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30426 * nscd/nscd.h: Adjust prototypes of readd* functions.
30427
a0bf67cc
RM
304282011-02-04 Roland McGrath <roland@redhat.com>
30429
30430 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30431 (nis_stats): Likewise.
30432 * nis/nis_modify.c (nis_modify): Likewise.
30433 * nis/nis_remove.c (nis_remove): Likewise.
30434 * nis/nis_add.c (nis_add): Likewise.
30435
30436 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30437
30438 * posix/fnmatch_loop.c: Add some consts.
30439
30440 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30441
435b95eb
L
304422011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30443
30444 [BZ #12460]
30445 * config.make.in (config-cflags-novzeroupper): Define.
30446 * configure.in: Substitute libc_cv_cc_novzeroupper.
30447 * elf/Makefile (AVX-CFLAGS): Define.
30448 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30449 (CFLAGS-tst-auditmod4a.c): Likewise.
30450 (CFLAGS-tst-auditmod4b.c): Likewise.
30451 (CFLAGS-tst-auditmod6b.c): Likewise.
30452 (CFLAGS-tst-auditmod6c.c): Likewise.
30453 (CFLAGS-tst-auditmod7b.c): Likewise.
30454 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30455
8517b15e
UD
304562011-02-02 Ulrich Drepper <drepper@gmail.com>
30457
30458 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30459 function to the callback.
30460 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30461
10a656fe
AS
304622011-02-02 Andreas Schwab <schwab@redhat.com>
30463
30464 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30465 of errno.
30466
968dad0a
UD
304672011-01-19 Ulrich Drepper <drepper@gmail.com>
30468
9f94d2ea 30469 [BZ #11724]
968dad0a
UD
30470 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30471 of constructors.
30472 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30473 of destructors.
30474 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30475
30476 [BZ #11724]
30477 * elf/Makefile: Add rules to build and run new test.
30478 * elf/tst-initorder.c: New file.
30479 * elf/tst-initorder.exp: New file.
30480 * elf/tst-initordera1.c: New file.
30481 * elf/tst-initordera2.c: New file.
30482 * elf/tst-initordera3.c: New file.
30483 * elf/tst-initordera4.c: New file.
30484 * elf/tst-initorderb1.c: New file.
30485 * elf/tst-initorderb2.c: New file.
30486 * elf/tst-order-a1.c: New file.
30487 * elf/tst-order-a2.c: New file.
30488 * elf/tst-order-a3.c: New file.
30489 * elf/tst-order-a4.c: New file.
30490 * elf/tst-order-b1.c: New file.
30491 * elf/tst-order-b2.c: New file.
30492 * elf/tst-order-main.c: New file.
30493 New test case by George Gensure <werkt0@gmail.com>.
30494
86e92359
UD
304952010-10-01 Andreas Schwab <schwab@redhat.com>
30496
30497 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30498 decoding ACE if AI_CANONIDN.
30499
5d5732b0
UD
305002011-01-18 Ulrich Drepper <drepper@gmail.com>
30501
30502 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30503
a77e8cbc
UD
305042011-01-17 Ulrich Drepper <drepper@gmail.com>
30505
6392473f
UD
30506 * version.h (RELEASE): Bump for 2.13 release.
30507 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30508
620a0529
UD
30509 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30510
18ba70a5
UD
30511 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30512 MADV_NOHUGEPAGE.
32465c3e
UD
30513 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30514 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30515 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30516 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30517 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30518 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30519
c0dafcf1
UD
30520 * posix/getconf.c: Update copyright year.
30521 * catgets/gencat.c: Likewise.
30522 * csu/version.c: Likewise.
30523 * debug/catchsegv.sh: Likewise.
30524 * debug/xtrace.sh: Likewise.
30525 * elf/ldconfig.c: Likewise.
30526 * elf/ldd.bash.in: Likewise.
30527 * elf/sprof.c (print_version): Likewise.
30528 * iconv/iconv_prog.c: Likewise.
30529 * iconv/iconvconfig.c: Likewise.
30530 * locale/programs/locale.c: Likewise.
30531 * locale/programs/localedef.c: Likewise.
30532 * malloc/memusage.sh: Likewise.
30533 * malloc/mtrace.pl: Likewise.
30534 * nscd/nscd.c (print_version): Likewise.
30535 * nss/getent.c: Likewise.
30536
a77e8cbc
UD
30537 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30538 PF_CAIF, and PF_ALG.
30539 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30540
77e8bddf
AS
305412011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30542
1f20b93a
AS
30543 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30544 (modules-names): Use them.
30545 (ifunc-test-modules, ifunc-pie-tests): Define.
30546 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30547 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30548 (test-extras): Likewise.
30549 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30550 $(compile-command.c).
30551 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30552 (all-built-dso): Define.
30553 (check-textrel.out, check-execstack.out): Depend on it.
30554
77e8bddf
AS
30555 * configure.in: Don't override --enable-multi-arch.
30556
bc425b33
UD
305572011-01-15 Ulrich Drepper <drepper@gmail.com>
30558
30559 [BZ #6812]
30560 * nscd/hstcache.c (tryagain): Define.
30561 (cache_addhst): Return tryagain not notfound for temporary errors.
30562 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30563 failed.
30564
794c3ad3
UD
305652011-01-14 Ulrich Drepper <drepper@gmail.com>
30566
70181fdd
UD
30567 [BZ #10563]
30568 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30569 to make the syscall.
30570 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30571
794c3ad3
UD
30572 [BZ #12378]
30573 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30574 and fall back to matching as normal character if the string ends before
30575 the matching ']' is found. This is what POSIX requires.
30576 * posix/testfnm.c: Adjust test result.
30577 * posix/globtest.sh: Adjust test result. Add new test.
30578 * posix/tst-fnmatch.input: Likewise.
30579 * posix/tst-fnmatch2.c: Add new test.
30580
68dc9497
AS
305812010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30582
30583 * elf/Makefile (check-execstack): Revert last change. Depend on
30584 check-execstack.h.
30585 (check-execstack.h): New target.
30586 (generated): Add check-execstack.h.
30587 * elf/check-execstack.c: Include "check-execstack.h".
30588 (main): Revert last change.
30589 (handle_file): Return zero if GNU_STACK is absent and
30590 DEFAULT_STACK_PERMS doesn't include PF_X.
30591
451f001b
UD
305922011-01-13 Ulrich Drepper <drepper@gmail.com>
30593
cfa28e56
UD
30594 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30595 in child fails because the descriptor is already closed.
8cf8ce17
UD
30596 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30597 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30598 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 30599
1086d70d
UD
30600 [BZ #12397]
30601 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30602 syscall.
30603
451f001b
UD
30604 [BZ #10484]
30605 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30606 temporary buffer used to handle multi lookups locally.
a85b5cb4 30607 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 30608
08769175
UD
306092011-01-12 Ulrich Drepper <drepper@gmail.com>
30610
30611 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30612 loader is ld.so.
30613
5e49c52e
UD
306142011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30615
30616 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30617 alignment for SSE2.
30618
60522a5f
UD
306192011-01-12 Ulrich Drepper <drepper@gmail.com>
30620
30621 [BZ #12394]
30622 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30623 characters. When rounding increased number of integer digits recompute
30624 number of groups.
30625 * stdio-common/tst-grouping.c: New file.
30626 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30627
f257bbd7
UD
306282011-01-09 Ulrich Drepper <drepper@gmail.com>
30629
30630 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30631 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30632
30633 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30634 void.
30635 * bits/select.h: Likewise.
30636
fa9c15cb
UD
306372011-01-08 Ulrich Drepper <drepper@gmail.com>
30638
30639 * po/ja.po: Update from translation team.
30640
16c2895f
DM
306412011-01-04 David S. Miller <davem@sunset.davemloft.net>
30642
30643 [BZ #11155]
30644 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30645 implementation just like for lxstat, fxstatat, et al.
30646
2543fef2
JM
306472010-12-27 Jim Meyering <meyering@redhat.com>
30648
30649 [BZ #12348]
30650 * posix/regexec.c (build_trtable): Return failure indication upon
30651 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30652
98727dbe
UD
306532010-12-25 Ulrich Drepper <drepper@gmail.com>
30654
5bd6dc5c
UD
30655 [BZ #12201]
30656 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30657 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30658 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30659 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30660
97983464
UD
30661 [BZ #12207]
30662 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30663
98727dbe
UD
30664 [BZ #12204]
30665 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30666 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30667
4a531bb0
L
306682010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30669
30670 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30671 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30672 script has SORT_BY_INIT_PRIORITY.
30673 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30674 NO_CTORS_DTORS_SECTIONS is defined.
30675 * elf/soinit.c: Likewise.
30676 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30677 NO_CTORS_DTORS_SECTIONS is defined.
30678 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30679 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30680 * sysdeps/sh/init-first.c: Likewise.
30681 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30682
07eb4b71
UD
306832010-12-24 Ulrich Drepper <drepper@gmail.com>
30684
30685 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30686 always use the slow path.
30687
30950a5f
RA
306882010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30689
30690 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30691 similar rule which adds the sysdep directories to the header search in
30692 order to pick up the correct platform stackinfo.h.
30693 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30694 perform test if it is, otherwise return successfully without testing.
30695 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30696 DEFAULT_STACK_PERMS define in stackinfo.h.
30697 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30698 defined in stackinfo.h.
30699 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30700 DEFAULT_STACK_PERMS defined in stackinfo.h.
30701 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30702 * sysdeps/ia64/stackinfo.h: Likewise.
30703 * sysdeps/s390/stackinfo.h: Likewise.
30704 * sysdeps/sh/stackinfo.h: Likewise.
30705 * sysdeps/sparc/stackinfo.h: Likewise.
30706 * sysdeps/x86_64/stackinfo.h: Likewise.
30707 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30708 PF_X for powerpc64. Retain PF_X for powerpc32.
30709
db753e2c
UD
307102010-12-19 Ulrich Drepper <drepper@gmail.com>
30711
14b697f7
UD
30712 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30713 accurately.
db753e2c
UD
30714 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30715 GETDENTS_64BIT_ALIGNED.
30716
28300719
UD
307172010-12-14 Ulrich Drepper <dreper@gmail.com>
30718
14b697f7 30719 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 30720
4f197237
AS
307212010-12-10 Andreas Schwab <schwab@redhat.com>
30722
dbb0472f
AS
30723 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30724 _GNU_SOURCE.
30725
4f197237
AS
30726 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30727 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30728 Remove __restrict.
30729 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30730 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30731
fb88ac72
UD
307322010-12-09 Ulrich Drepper <drepper@gmail.com>
30733
30734 [BZ #11655]
30735 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30736 are initialized.
30737
42acbb92
JJ
307382010-12-09 Jakub Jelinek <jakub@redhat.com>
30739
30740 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30741
c038d98d
UD
307422010-12-03 Ulrich Drepper <drepper@gmail.com>
30743
30744 * po/it.po: Update from translation team.
30745
3a4a2499
L
307462010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30747
30748 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30749 unused codes.
30750
1e24cf6e
UD
307512010-11-30 Ulrich Drepper <drepper@gmail.com>
30752
30753 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30754
a7690819
AS
307552010-11-24 Andreas Schwab <schwab@redhat.com>
30756
30757 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30758 specially.
30759 (gaih_getanswer_slice): Likewise.
30760
3bf8d1b1
JJ
307612010-10-20 Jakub Jelinek <jakub@redhat.com>
30762
30763 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30764
6db52fbb
PB
307652010-05-31 Petr Baudis <pasky@suse.cz>
30766
30767 [BZ #11149]
30768 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30769 silently even in the chroot mode.
30770
eaca7569
UD
307712010-11-22 Ulrich Drepper <drepper@gmail.com>
30772
30773 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30774 last patch a bit. Pretty printing
30775
3056dcdb
UD
307762010-05-31 Petr Baudis <pasky@suse.cz>
30777
30778 [BZ #10085]
30779 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30780 initialization of skip_initgroups_dyn.
30781
cf7c9078
UD
307822010-11-19 Ulrich Drepper <drepper@gmail.com>
30783
30784 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30785 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30786
a1fb5e3e
UD
307872010-11-16 Ulrich Drepper <drepper@gmail.com>
30788
30789 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30790
3540d66b
AS
307912010-11-11 Andreas Schwab <schwab@redhat.com>
30792
30793 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30794 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30795 (tst-fnmatch-ENV): Set MALLOC_TRACE.
30796 ($(objpfx)tst-fnmatch-mem): New rule.
30797 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30798 * posix/tst-fnmatch.c (main): Call mtrace.
30799
13b69574
L
308002010-11-11 H.J. Lu <hongjiu.lu@intel.com>
30801
30802 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30803 Support Intel processor model 6 and model 0x2c.
30804
da93d214
LM
308052010-11-10 Luis Machado <luisgpm@br.ibm.com>
30806
30807 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30808 signed comparison.
30809
8ca52c6e
L
308102010-11-09 H.J. Lu <hongjiu.lu@intel.com>
30811
30812 [BZ #12205]
30813 * string/test-strncasecmp.c (check_result): New function.
30814 (do_one_test): Use it.
30815 (check1): New function.
30816 (test_main): Use it.
30817 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30818 Support strcasecmp and strncasecmp.
30819
69da074d
UD
308202010-11-08 Ulrich Drepper <drepper@gmail.com>
30821
30822 [BZ #12194]
30823 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30824 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30825
ff02d528
L
308262010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30827
30828 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30829 IFUNC support.
30830 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30831 memset-x86-64.
30832 * sysdeps/x86_64/multiarch/bzero.S: New file.
30833 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30834 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30835 * sysdeps/x86_64/multiarch/memset.S: New file.
30836 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30837 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30838 Set bit_Prefer_SSE_for_memop for Intel processors.
30839 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30840 Define.
30841 (index_Prefer_SSE_for_memop): Define.
30842 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30843
344d0b54
LM
308442010-11-04 Luis Machado <luisgpm@br.ibm.com>
30845
30846 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30847 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30848
c0dde15b
UD
308492010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30850
30851 [BZ #12191]
30852 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30853 (__x86_64_raw_data_cache_size_half): Likewise.
30854 (__x86_64_raw_shared_cache_size): Likewise.
30855 (__x86_64_raw_shared_cache_size_half): Likewise.
30856
30857 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30858 (__x86_64_raw_data_cache_size_half): Likewise.
30859 (__x86_64_raw_shared_cache_size): Likewise.
30860 (__x86_64_raw_shared_cache_size_half): Likewise.
30861 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30862 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30863 and __x86_64_raw_shared_cache_size_half. Round
30864 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30865 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30866 to multiple of 256 bytes.
30867
0e516e0e
MS
308682010-11-03 Ulrich Drepper <drepper@gmail.com>
30869
30870 [BZ #12167]
30871 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30872 of inacessible symlinks. Verify result of symlink before returning it.
30873 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30874 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30875
0e012e87
ER
308762010-10-28 Erich Ritz <erichritz@gmail.com>
30877
30878 * math/math.h (isinf): Fix typo in comment.
30879
de0ff7bc
UD
308802010-11-01 Ulrich Drepper <drepper@gmail.com>
30881
30882 * po/da.po: Update from translation team.
30883
fa41c84d
UD
308842010-10-26 Ulrich Drepper <drepper@gmail.com>
30885
30886 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30887 is added to the list.
30888
f0967738
AK
308892010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30890 Ulrich Drepper <drepper@gmail.com>
30891
30892 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30893 the global list here. Move code to...
30894 (_dl_add_to_namespace_list): ...here. New function.
30895 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30896 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30897 * elf/dl-load.c (lose): Don't remove the element from the list.
30898 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30899 (_dl_map_object): Likewise.
30900
309012010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
30902
30903 [BZ #12159]
30904 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30905 into all bytes of SSE register.
30906 Patch by Richard Li <richardpku@gmail.com>.
30907
f0967738 309082010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
30909
30910 [BZ #12140]
30911 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30912 perturbing.
30913
d0b9e94f
MB
309142010-10-20 Michael B. Brutman <brutman@us.ibm.com>
30915
30916 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30917 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30918 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30919 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30921 submachine.
30922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30923
8e9f92e9
AS
309242010-10-22 Andreas Schwab <schwab@redhat.com>
30925
30926 * include/dlfcn.h (__RTLD_SECURE): Define.
30927 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
30928 mode & __RTLD_SECURE instead.
30929 (open_path): Rename preloaded parameter to secure.
30930 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30931 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30932 * elf/dl-deps.c (openaux): Likewise.
30933 * elf/rtld.c (struct map_args): Remove is_preloaded.
30934 (map_doit): Don't use it.
30935 (dl_main): Likewise.
30936 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30937 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30938
bc96fbda
AS
309392010-09-09 Andreas Schwab <schwab@redhat.com>
30940
30941 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30942 (sysd-rules-targets): Remove duplicates.
30943 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30944 rtld-%.$o dependency.
30945
22cd1c9b
AS
309462010-10-18 Andreas Schwab <schwab@redhat.com>
30947
30948 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30949 _dl_map_object do it.
30950
18edac48
UD
309512010-10-19 Ulrich Drepper <drepper@gmail.com>
30952
30953 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30954 fast fma builtins, define the macros in the C99 standard.
30955 (FP_FAST_FMAF): Likewise.
30956 (FP_FAST_FMAL): Likewise.
30957 * sysdeps/x86_64/bits/mathdef.h: Likewise.
30958
30959 * bits/mathdef.h: Update copyright year.
30960 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30961
d2050124
MM
309622010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
30963
30964 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30965 builtins, define the macros in the C99 standard.
30966 (FP_FAST_FMAF): Likewise.
30967 (FP_FAST_FMAL): Likewise.
30968 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30969 multiply/add.
30970 (FP_FAST_FMAF): Likewise.
30971
475facd1
JJ
309722010-10-15 Jakub Jelinek <jakub@redhat.com>
30973
30974 [BZ #3268]
30975 * math/libm-test.inc (fma_test): Some new testcases.
30976 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30977 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30978 y and infinite z. Do multiplication by C already in long double.
30979 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30980 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30981 y and infinite z. Do bitwise or of inexact bit into u.d.
30982 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30983 * sysdeps/i386/fpu/s_fmaf.S: Removed.
30984 * sysdeps/i386/fpu/s_fma.S: Removed.
30985 * sysdeps/i386/fpu/s_fmal.S: Removed.
30986
7c08a05c
JJ
309872010-10-16 Jakub Jelinek <jakub@redhat.com>
30988
30989 [BZ #3268]
30990 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30991 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30992 computation is not scheduled after fetestexcept. Fix value
30993 of minimum denormal long double.
30994
f3f7372d
JJ
309952010-10-14 Jakub Jelinek <jakub@redhat.com>
30996
30997 [BZ #3268]
30998 * math/libm-test.inc (fma_test): Add some more tests.
30999 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31000 correctly.
31001
14d43591
AS
310022010-10-15 Andreas Schwab <schwab@redhat.com>
31003
31004 * scripts/data/localplt-s390-linux-gnu.data: New file.
31005 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31006
5e908464
JJ
310072010-10-13 Jakub Jelinek <jakub@redhat.com>
31008
31009 [BZ #3268]
31010 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31011 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31012 instead of dbl-64.
31013 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31014 inlines.
31015 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31016 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31017 if one of x and y is very large and the other is subnormal.
31018 * sysdeps/s390/fpu/s_fmaf.c: New file.
31019 * sysdeps/s390/fpu/s_fma.c: New file.
31020 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31021 * sysdeps/powerpc/fpu/s_fma.S: New file.
31022 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31023 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31024 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31025
310262010-10-12 Jakub Jelinek <jakub@redhat.com>
31027
31028 [BZ #3268]
31029 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31030 fma tests.
31031 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31032 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31033 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31034 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31035 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31036 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31037 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31038
b833d51f
UD
310392010-10-12 Ulrich Drepper <drepper@redhat.com>
31040
31041 [BZ #12078]
31042 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31043 * posix/bug-regex31.input: Add test case.
31044
1751705d
UD
310452010-10-11 Ulrich Drepper <drepper@gmail.com>
31046
e9b9cbf5
UD
31047 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31048 * posix/bug-regex31.input: New file.
31049
31050 [BZ #12078]
31051 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31052 (parse_sub_exp): Fix last change, use postorder.
31053
ef06edbe
UD
31054 * posix/bug-regex31.c: New file.
31055 * posix/Makefile: Add rules to build and run bug-regex31.
31056
a129c80d
UD
31057 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31058
31059 [BZ #12078]
31060 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31061
b76b818e
UD
31062 [BZ #12108]
31063 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31064 to have entries in sys_siglist.
31065
1751705d
UD
31066 [BZ #12093]
31067 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31068 be NULL.
31069
9ff8d36f
JJ
310702010-10-07 Jakub Jelinek <jakub@redhat.com>
31071
31072 [BZ #3268]
31073 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31074 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31075 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31076 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31077 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31078 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31079 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31080 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31081 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31082 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31083 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31084 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31085 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31086 * math/ftestexcept.c (fetestexcept): Likewise.
31087 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31088 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31089 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31090 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31091 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31092 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31093 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31094
af325969
UD
310952010-10-11 Ulrich Drepper <drepper@gmail.com>
31096
c579b202 31097 [BZ #12107]
af325969
UD
31098 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31099 newline.
31100
67a67b95
UD
311012010-10-06 Ulrich Drepper <drepper@gmail.com>
31102
31103 * string/bug-strstr1.c: New file.
31104 * string/Makefile: Add rules to build and run bug-strstr1.
31105
5fb308bc
EB
311062010-10-05 Eric Blake <eblake@redhat.com>
31107
31108 [BZ #12092]
31109 * string/str-two-way.h (two_way_long_needle): Always clear memory
31110 when skipping input due to the shift table.
31111
45db99c7
UD
311122010-10-03 Ulrich Drepper <drepper@gmail.com>
31113
3b111893
UD
31114 [BZ #12005]
31115 * malloc/mcheck.c: Handle large requests.
31116
45db99c7
UD
31117 [BZ #12077]
31118 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31119 for strncmp and strncasecmp.
31120 * string/stratcliff.c: Add tests for strcmp and strncmp.
31121 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31122
cf7a1eb8
NI
311232010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31124
31125 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31126 __set_fpscr.
31127
6484ba5e
AJ
311282010-09-30 Andreas Jaeger <aj@suse.de>
31129
31130 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31131 (CGROUP_SUPER_MAGIC): Define.
31132 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31133 Handle btrfs and cgroup file systems.
31134 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31135 Likewise.
31136
91c42559
LM
311372010-09-27 Luis Machado <luisgpm@br.ibm.com>
31138
31139 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31140 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31141
87a97932
AK
311422010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31143
31144 [BZ #12067]
31145 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31146 trying to locate the ELF header.
31147
c21cc9bc
AS
311482010-09-27 Andreas Schwab <schwab@redhat.com>
31149
31150 [BZ #11611]
31151 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31152 Mask out sign-bit copies when constructing f_fsid.
31153
315970f6
PB
311542010-09-24 Petr Baudis <pasky@suse.cz>
31155
31156 * debug/stack_chk_fail_local.c: Add missing licence exception.
31157 * debug/warning-nop.c: Likewise.
31158
1ac7a2c7
JM
311592010-09-15 Joseph Myers <joseph@codesourcery.com>
31160
31161 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31162 implementing getdents64 using getdents syscall, set d_type if
31163 __ASSUME_GETDENTS32_D_TYPE.
31164
56801c50
AS
311652010-09-16 Andreas Schwab <schwab@redhat.com>
31166
31167 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31168 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31169
dda51327
UD
311702010-09-21 Ulrich Drepper <drepper@redhat.com>
31171
31172 [BZ #12037]
31173 * posix/unistd.h: Undo change of feature selection for ftruncate from
31174 2010-01-11.
31175
8ffcee4a
UD
311762010-09-20 Ulrich Drepper <drepper@redhat.com>
31177
a545ecd9 31178 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
31179 detection.
31180
e24f0a8b
AS
311812010-09-20 Andreas Schwab <schwab@redhat.com>
31182
31183 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31184 fanotify_mark.
31185 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31186
7291c56f
AS
311872010-09-14 Andreas Schwab <schwab@redhat.com>
31188
31189 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31190 variables after CHECK_SP call.
31191 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31192
bc5fb037
AS
311932010-09-13 Andreas Schwab <schwab@redhat.com>
31194 Ulrich Drepper <drepper@redhat.com>
31195
31196 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31197 re-relocationg ld.so.
31198 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31199 _dl_init_paths call.
31200 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31201 here anymore.
31202
e66e7419
UD
312032010-09-14 Ulrich Drepper <drepper@redhat.com>
31204
31205 * resolv/res_init.c (__res_vinit): Count the default server we added.
31206
c044aa75
CLT
312072010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31208 Ulrich Drepper <drepper@redhat.com>
31209
31210 [BZ #11968]
31211 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31212 (____longjmp_chk): Use %ebx for saving value across system call.
31213 Add unwind info.
31214
32cf4069
AS
312152010-09-06 Andreas Schwab <schwab@redhat.com>
31216
31217 * manual/Makefile: Don't mix pattern rules with normal rules.
31218
817328ee
AS
312192010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31220
31221 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31222 operation.
31223 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31224 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31225 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31226 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31227 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31228 Likewise.
31229
29fddf61
UD
312302010-09-04 Ulrich Drepper <drepper@redhat.com>
31231
31232 [BZ #11979]
31233 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31234 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31235
0959ffc9
UD
312362010-09-02 Ulrich Drepper <drepper@redhat.com>
31237
31238 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31239 * sysdeps/x86_64/addmul_1.S: Likewise.
31240 * sysdeps/x86_64/lshift.S: Likewise.
31241 * sysdeps/x86_64/mul_1.S: Likewise.
31242 * sysdeps/x86_64/rshift.S: Likewise.
31243 * sysdeps/x86_64/sub_n.S: Likewise.
31244 * sysdeps/x86_64/submul_1.S: Likewise.
31245
ece29840
ST
312462010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31247
0959ffc9
UD
31248 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31249 Define __sched_param instead of SCHED_* and sched_param when
ece29840 31250 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 31251 * bits/sched.h [__need_schedparam]
ece29840 31252 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
31253 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31254 (__defined_schedparam): Define to 1.
ece29840
ST
31255 (__sched_param): New structure, identical to sched_param.
31256 (__need_schedparam): Undefine.
31257
e53a31fe
MF
312582010-08-31 Mike Frysinger <vapier@gentoo.org>
31259
fdc0c10d
MF
31260 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31261 (epoll_create1): Declare.
31262
e53a31fe
MF
31263 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31264
a726d796
AS
312652010-08-31 Andreas Schwab <schwab@redhat.com>
31266
31267 [BZ #7066]
31268 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31269 shifting retval into place.
31270
2f3e3dc7
UD
312712010-09-01 Ulrich Drepper <drepper@redhat.com>
31272
f2933da9
UD
31273 * nis/rpcsvc/nis.h: Update copyright notice.
31274 * nis/rpcsvc/nis.x: Likewise.
31275 * nis/rpcsvc/nis_callback.h: Likewise.
31276 * nis/rpcsvc/nis_callback.x: Likewise.
31277 * nis/rpcsvc/nis_object.x: Likewise.
31278 * nis/rpcsvc/nis_tags.h: Likewise.
31279 * nis/rpcsvc/yp.h: Likewise.
31280 * nis/rpcsvc/yp.x: Likewise.
31281 * nis/rpcsvc/ypupd.h: Likewise.
31282 * nis/yp_xdr.c: Likewise.
31283 * nis/ypupdate_xdr.c: Likewise.
31284
2f3e3dc7
UD
31285 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
31286 mainly the body of pmap_getport. Add parameters to specify timeouts.
31287 (pmap_getport): Use __libc_rpc_getport.
31288 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31289 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31290 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31291
f3dcc2f9
AS
312922010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31293
31294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31295 fanotify_mark.
31296
6d34eb5b
RM
312972010-08-27 Roland McGrath <roland@redhat.com>
31298
31299 * sysdeps/i386/i686/multiarch/Makefile
31300 (CFLAGS-varshift.c): New variable.
31301
9ea3de11
UD
313022010-08-27 Ulrich Drepper <drepper@redhat.com>
31303
c96d23fc
UD
31304 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31305 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31306
9ea3de11
UD
31307 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31308
31309 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31310
623aac7f
L
313112010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31312
31313 * sysdeps/x86_64/strlen.S: Unroll the loop.
31314 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31315 strlen-sse2 strlen-sse2-bsf.
31316 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31317 __strlen_no_bsf if bit_Slow_BSF is set.
31318 (__strlen_sse42): Removed.
31319 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31320 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31321
8b2b7715
RM
313222010-08-25 Roland McGrath <roland@redhat.com>
31323
31324 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31325 * sysdeps/x86_64/multiarch/varshift.c: New file.
31326 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31327 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31328 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31329 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31330
e73015f2
L
313312010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31332
31333 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31334 strlen-sse2 strlen-sse2-bsf.
31335 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31336 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31337 (__strlen_sse2): Removed.
31338 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31339 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31340 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31341 bit_Slow_BSF for Atom.
31342 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31343 (index_Slow_BSF): Define.
31344 (HAS_SLOW_BSF): Define.
31345
df24a73e
UD
313462010-08-25 Ulrich Drepper <drepper@redhat.com>
31347
31348 [BZ #10851]
31349 * resolv/res_init.c (__res_vinit): When no server address at all
31350 is given default to loopback.
31351
f2ac4868
RM
313522010-08-24 Roland McGrath <roland@redhat.com>
31353
09055553
RM
31354 * configure.in: Remove config-name.h generation.
31355 * configure: Regenerated.
31356 * config-name.in: File removed.
31357 * scripts/config-uname.sh: New file.
31358 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31359 ($(objdir)config-name.h): New target.
31360
f2ac4868
RM
31361 * sunrpc/rpc_parse.h: Avoid nested comment.
31362
73f27d5e
RH
313632010-08-24 Richard Henderson <rth@redhat.com>
31364 Ulrich Drepper <drepper@redhat.com>
31365 H.J. Lu <hongjiu.lu@intel.com>
31366
31367 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31368 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31369 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31370 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31371 _mm_alignr_epi8 with _mm_loadu_si128.
31372 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31373 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31374 (__m128i_shift_right): Removed.
31375 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31376 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31377 * sysdeps/x86_64/multiarch/varshift.h: New file.
31378 * sysdeps/x86_64/multiarch/varshift.S: New file.
31379
84b9230c
MF
313802010-08-21 Mike Frysinger <vapier@gentoo.org>
31381
31382 * configure.in: Move assembler checks to before sysdep dir checking.
31383
9bbd0ddc
PB
313842010-08-20 Petr Baudis <pasky@suse.cz>
31385
31386 * LICENSES: Sync the sunrpc license.
31387
9da4bb31
UD
313882010-08-19 Ulrich Drepper <drepper@redhat.com>
31389
a7ab6ec8
UD
31390 * sunrpc/auth_des.c: Update copyright notice once again.
31391 * sunrpc/auth_none.c: Likewise.
31392 * sunrpc/auth_unix.c: Likewise.
31393 * sunrpc/authdes_prot.c: Likewise.
31394 * sunrpc/authuxprot.c: Likewise.
31395 * sunrpc/bindrsvprt.c: Likewise.
31396 * sunrpc/clnt_gen.c: Likewise.
31397 * sunrpc/clnt_perr.c: Likewise.
31398 * sunrpc/clnt_raw.c: Likewise.
31399 * sunrpc/clnt_simp.c: Likewise.
31400 * sunrpc/clnt_tcp.c: Likewise.
31401 * sunrpc/clnt_udp.c: Likewise.
31402 * sunrpc/clnt_unix.c: Likewise.
31403 * sunrpc/des_crypt.c: Likewise.
31404 * sunrpc/des_soft.c: Likewise.
31405 * sunrpc/get_myaddr.c: Likewise.
31406 * sunrpc/getrpcport.c: Likewise.
31407 * sunrpc/key_call.c: Likewise.
31408 * sunrpc/key_prot.c: Likewise.
31409 * sunrpc/openchild.c: Likewise.
31410 * sunrpc/pm_getmaps.c: Likewise.
31411 * sunrpc/pm_getport.c: Likewise.
31412 * sunrpc/pmap_clnt.c: Likewise.
31413 * sunrpc/pmap_prot.c: Likewise.
31414 * sunrpc/pmap_prot2.c: Likewise.
31415 * sunrpc/pmap_rmt.c: Likewise.
31416 * sunrpc/rpc/auth.h: Likewise.
31417 * sunrpc/rpc/auth_unix.h: Likewise.
31418 * sunrpc/rpc/clnt.h: Likewise.
31419 * sunrpc/rpc/des_crypt.h: Likewise.
31420 * sunrpc/rpc/key_prot.h: Likewise.
31421 * sunrpc/rpc/netdb.h: Likewise.
31422 * sunrpc/rpc/pmap_clnt.h: Likewise.
31423 * sunrpc/rpc/pmap_prot.h: Likewise.
31424 * sunrpc/rpc/pmap_rmt.h: Likewise.
31425 * sunrpc/rpc/rpc.h: Likewise.
31426 * sunrpc/rpc/rpc_des.h: Likewise.
31427 * sunrpc/rpc/rpc_msg.h: Likewise.
31428 * sunrpc/rpc/svc.h: Likewise.
31429 * sunrpc/rpc/svc_auth.h: Likewise.
31430 * sunrpc/rpc/types.h: Likewise.
31431 * sunrpc/rpc/xdr.h: Likewise.
31432 * sunrpc/rpc_clntout.c: Likewise.
31433 * sunrpc/rpc_cmsg.c: Likewise.
31434 * sunrpc/rpc_common.c: Likewise.
31435 * sunrpc/rpc_cout.c: Likewise.
31436 * sunrpc/rpc_dtable.c: Likewise.
31437 * sunrpc/rpc_hout.c: Likewise.
31438 * sunrpc/rpc_main.c: Likewise.
31439 * sunrpc/rpc_parse.c: Likewise.
31440 * sunrpc/rpc_parse.h: Likewise.
31441 * sunrpc/rpc_prot.c: Likewise.
31442 * sunrpc/rpc_sample.c: Likewise.
31443 * sunrpc/rpc_scan.c: Likewise.
31444 * sunrpc/rpc_scan.h: Likewise.
31445 * sunrpc/rpc_svcout.c: Likewise.
31446 * sunrpc/rpc_tblout.c: Likewise.
31447 * sunrpc/rpc_util.c: Likewise.
31448 * sunrpc/rpc_util.h: Likewise.
31449 * sunrpc/rpcinfo.c: Likewise.
31450 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31451 * sunrpc/rpcsvc/key_prot.x: Likewise.
31452 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31453 * sunrpc/rpcsvc/mount.x: Likewise.
31454 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31455 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31456 * sunrpc/rpcsvc/rex.x: Likewise.
31457 * sunrpc/rpcsvc/rstat.x: Likewise.
31458 * sunrpc/rpcsvc/rusers.x: Likewise.
31459 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31460 * sunrpc/rpcsvc/spray.x: Likewise.
31461 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31462 * sunrpc/rtime.c: Likewise.
31463 * sunrpc/svc.c: Likewise.
31464 * sunrpc/svc_auth.c: Likewise.
31465 * sunrpc/svc_authux.c: Likewise.
31466 * sunrpc/svc_raw.c: Likewise.
31467 * sunrpc/svc_run.c: Likewise.
31468 * sunrpc/svc_simple.c: Likewise.
31469 * sunrpc/svc_tcp.c: Likewise.
31470 * sunrpc/svc_udp.c: Likewise.
31471 * sunrpc/svc_unix.c: Likewise.
31472 * sunrpc/svcauth_des.c: Likewise.
31473 * sunrpc/xcrypt.c: Likewise.
31474 * sunrpc/xdr.c: Likewise.
31475 * sunrpc/xdr_array.c: Likewise.
31476 * sunrpc/xdr_float.c: Likewise.
31477 * sunrpc/xdr_mem.c: Likewise.
31478 * sunrpc/xdr_rec.c: Likewise.
31479 * sunrpc/xdr_ref.c: Likewise.
31480 * sunrpc/xdr_sizeof.c: Likewise.
31481 * sunrpc/xdr_stdio.c: Likewise.
31482
9da4bb31
UD
31483 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31484 handling.
31485
bdaa77bc
AS
314862010-08-19 Andreas Schwab <schwab@redhat.com>
31487
31488 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31489
fe2f79db
LM
314902010-08-19 Luis Machado <luisgpm@br.ibm.com>
31491
31492 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31493 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31494 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31495 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31496 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31497 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31498 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31499 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31500 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31501 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31502 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31503 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31504 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31505 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31506
b9b42ee0
AB
315072010-07-26 Anton Blanchard <anton@samba.org>
31508
31509 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31510 * malloc/arena.c (heap_trim): Likewise.
31511
1c06ba31
UD
315122010-08-16 Ulrich Drepper <drepper@redhat.com>
31513
31514 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31515 here. Not...
31516 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31517 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31518
f8392f40
L
315192010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31520
31521 * sysdeps/i386/elf/Makefile: New file.
31522
3162f12e
AS
315232010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31524
31525 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31526 from fanotify_init.
31527 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31528 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31529
28c90b2c
UD
315302010-08-15 Ulrich Drepper <drepper@redhat.com>
31531
31532 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31533 of strncasecmp_l.
1feccb6c 31534 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 31535
ca6bb004
UD
315362010-08-14 Ulrich Drepper <drepper@redhat.com>
31537
e9f82e0d
UD
31538 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31539 strncase_l-nonascii.
31540 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31541 Add strncase_l-ssse3.
31542 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31543 * sysdeps/x86_64/strcmp.S: Likewise.
31544 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31545 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31546 * sysdeps/x86_64/strncase.S: New file.
31547 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31548 * sysdeps/x86_64/strncase_l.S: New file.
31549 * string/Makefile (strop-tests): Add strncasecmp.
31550 * string/test-strncasecmp.c: New file.
31551
31552 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31553 warning.
31554
ca6bb004
UD
31555 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31556 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31557
052fa7b3
AS
315582010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31559
31560 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31561
962dba78
UD
315622010-08-12 Ulrich Drepper <drepper@redhat.com>
31563
31564 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31565 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31566 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31567
bebff237
AM
315682010-05-01 Alan Modra <amodra@gmail.com>
31569
31570 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31571 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31572 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31573 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31574 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31575 tidying. Don't tail-call __sigjmp_save for static lib.
31576 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31577 save location.
31578 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31579 (CALL_MCOUNT): Add eh info, and nop after bl.
31580 (TAIL_CALL_SYSCALL_ERROR): New macro.
31581 (PSEUDO_RET): Use it.
31582 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31583 Correct save location of integer regs and cr.
31584 (_dl_profile_resolve): Correct cr save location. Delete nops
31585 after bl when SHARED. Reduce cfi size a little by better
31586 placement of cfi directives.
31587 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31588 make a stack frame. Instead use parm save area as a temp.
31589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31590 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31592 Don't make a stack frame for parent, use parm save area.
31593 Increase child stack frame to 112 bytes. Don't save unused reg,
31594 and adjust reg usage. Set up cfi on error recovery and
31595 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31597 (__makecontext): Add dummy nop after jump to exit.
31598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31599 Use correct parm save area and cr save, reduce stack frame.
31600 Correct cfi for possible PSEUDO_RET frame setup.
31601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31602 Branch to local label emitted by PSEUDO_RET rather than
31603 __syscall_error.
31604
02637374
AS
316052010-08-12 Andreas Schwab <schwab@redhat.com>
31606
31607 [BZ #11904]
31608 * locale/programs/locale.c (print_assignment): New function.
31609 (show_locale_vars): Use it.
31610
c3e2f19b
UD
316112010-08-11 Ulrich Drepper <drepper@redhat.com>
31612
3cdaa6ad
UD
31613 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31614 field.
31615 (struct statfs64): Likewise.
31616 (_STATFS_F_FLAGS): Define.
31617 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31618 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31619 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31620 (ST_VALID): Define locally.
31621 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31622 __statvfs_getflags, use the provided value.
31623 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31624 __ASSUME_STATFS_F_FLAGS.
31625
754f7da3
UD
31626 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31627
10b3bedc
UD
31628 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31629 Add sys/fanotify.h.
31630 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31631 fanotify_mask for GLIBC_2.13.
31632 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31633 fanotify_init and fanotify_mark.
31634 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31635 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31636
c08fb0d7
UD
31637 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31638 Add prlimit.
31639 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31640 prlimit64 for GLIBC_2.13.
31641 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31642 prlimit64.
31643 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31644 syscall.
31645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31646 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31647 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31648 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31649 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31650 add prlimit alias.
31651 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31652
15bac72b
UD
31653 [BZ #11903]
31654 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31655 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31656
c3e2f19b
UD
31657 * nss/Makefile: Add rules to build and run tst-nss-test1.
31658 * shlib-versions: Add entry for libnss_test1.
31659 * nss/nss_test1.c: New file.
31660 * nss/tst-nss-test1.c: New file.
31661
31662 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31663 (__nss_configure_lookup): Set appropriate entry in
31664 __nss_configure_lookup to true.
31665 * nss/nsswitch.h: Define enum with indeces of databases in
31666 databases and __nss_database_custom arrays. Declare
31667 __nss_database_custom.
31668 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31669 to avoid using nscd when custom rules are installed.
31670 * nss/getXXbyYY_r.c: Likewise.
31671 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31672
31673 * nss/nss_files/files-parse.c: Whitespace fixes.
31674
f15ce4d8
UD
316752010-08-09 Ulrich Drepper <drepper@redhat.com>
31676
31677 [BZ #11883]
31678 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31679 * posix/fnmatch_loop.c: Likewise.
31680
d22e4cc9
AK
316812010-07-17 Andi Kleen <ak@linux.intel.com>
31682
31683 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31684 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31685 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31686 * Versions.def [GLIBC_2.13]: Add.
31687
805bc17d
UD
316882010-08-06 Ulrich Drepper <drepper@redhat.com>
31689
31690 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31691 Also fail if tpwd after pwuid call is NULL.
31692
5a42321d
ST
316932010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31694
31695 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31696 when converting to ms.
31697
fd3ebeda
ST
316982010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31699
31700 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31701 EOPNOTSUPP errors with ENOTTY.
31702 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31703 EOPNOTSUPP errors with ENOTTY.
31704
73507d3a
UD
317052010-07-31 Ulrich Drepper <drepper@redhat.com>
31706
31707 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31708 Add strcasecmp_l-ssse3.
31709 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31710 strcasecmp.
31711 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31712 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31713 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31714
fe36dd02
UD
317152010-07-30 Ulrich Drepper <drepper@redhat.com>
31716
66f6765a
UD
31717 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31718
42e08a54
UD
31719 * string/Makefile (strop-tests): Add strcasecmp.
31720 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31721 strcasecmp_l-nonascii.
31722 (gen-as-const-headers): Add locale-defines.sym.
31723 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31724 * sysdeps/x86_64/strcasecmp.S: New file.
31725 * sysdeps/x86_64/strcasecmp_l.S: New file.
31726 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31727 * sysdeps/x86_64/locale-defines.sym: New file.
31728 * string/test-strcasecmp.c: New file.
31729
fe36dd02
UD
31730 * string/test-strcasestr.c: Test both ends of the range of characters.
31731 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31732
48cbc0d6
RM
317332010-07-29 Roland McGrath <roland@redhat.com>
31734
76e6d6bc 31735 [BZ #11856]
48cbc0d6
RM
31736 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31737
880113d9
UD
317382010-07-27 Ulrich Drepper <drepper@redhat.com>
31739
31740 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31741 for ld.so.
31742
deb9cabb
AS
317432010-07-27 Andreas Schwab <schwab@redhat.com>
31744
31745 * manual/memory.texi (Malloc Tunable Parameters): Document
31746 M_PERTURB.
31747
1c7570ff
RM
317482010-07-26 Roland McGrath <roland@redhat.com>
31749
31750 [BZ #11840]
31751 * configure.in (-fgnu89-inline check): Set and substitute
31752 gnu89_inline, not libc_cv_gnu89_inline.
31753 * configure: Regenerated.
31754 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31755
24fb0f88
UD
317562010-07-26 Ulrich Drepper <drepper@redhat.com>
31757
31758 * string/test-strnlen.c: New file.
31759 * string/Makefile (strop-tests): Add strnlen.
31760 * string/tester.c (test_strnlen): Add a few more test cases.
31761 * string/tst-strlen.c: Better error reporting.
31762
31763 * sysdeps/x86_64/strnlen.S: New file.
31764
8e96b93a
UD
317652010-07-24 Ulrich Drepper <drepper@redhat.com>
31766
31767 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31768 lower-latency instructions.
31769
dbc676d4
UD
317702010-07-23 Ulrich Drepper <drepper@redhat.com>
31771
31772 * string/test-strcasestr.c: New file.
31773 * string/test-strstr.c: New file.
31774 * string/Makefile (strop-tests): Add strstr and strcasestr.
31775 * string/str-two-way.h: Don't undefine MAX.
31776 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31777
f6a31e0e
AS
317782010-07-21 Andreas Schwab <schwab@redhat.com>
31779
31780 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31781 strcasestr-nonascii.
31782 (CFLAGS-strcasestr-nonascii.c): Define.
31783 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31784 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31785 Remove unused attribute.
31786
5dbc3b6c
RM
317872010-07-20 Roland McGrath <roland@redhat.com>
31788
31789 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31790 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
31791 ld.so.cache was broken. With it, there is no way to disable dsocaps
31792 like LD_HWCAP_MASK can disable hwcaps.
31793
23d101d8
EPM
317942010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31795
31796 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31797
cc9f2e47
UD
317982010-07-16 Ulrich Drepper <drepper@redhat.com>
31799
31800 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31801 call in strcasestr.
31802 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31803 __strcasestr_sse42_nonascii.
31804 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31805 strcasestr-nonascii.c.
31806 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31807
77c1b069
LM
318082010-06-15 Luis Machado <luisgpm@br.ibm.com>
31809
31810 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31811 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31812 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31813 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31814
440566c3
UD
318152010-07-09 Ulrich Drepper <drepper@redhat.com>
31816
31817 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31818 fcntl.
31819
5be9d05d
AS
318202010-07-06 Andreas Schwab <schwab@redhat.com>
31821
c30b7ee2 31822 [BZ #11577]
5be9d05d
AS
31823 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31824 dl_signal_cerror.
31825
8a492a67
UD
318262010-07-06 Ulrich Drepper <drepper@redhat.com>
31827
31828 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31829 _PC_PIPE_BUF using F_GETPIPE_SZ.
31830
713df3d5
RM
318312010-07-05 Roland McGrath <roland@redhat.com>
31832
31833 * manual/arith.texi (Rounding Functions): Fix rint description
31834 implicit in round description.
31835
702e8f14
UD
318362010-07-02 Ulrich Drepper <drepper@redhat.com>
31837
31838 * elf/Makefile: Fix linking for a few tests to make recent linker
31839 happy.
31840
52ed8be9
AS
318412010-06-30 Andreas Schwab <schwab@redhat.com>
31842
31843 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31844 $(common-objpfx)libc_nonshared.a.
31845
f47c9a11
LM
318462010-06-21 Luis Machado <luisgpm@br.ibm.com>
31847
31848 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31849 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31850 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31851 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31852 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31853 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31854 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31855 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31870 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31871 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31872 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31873 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31874 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31875 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31876 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31877 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31878 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31879 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31880 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31881 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31896
6fb8cbcb
L
318972010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31898
31899 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31900 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31901 * string/memmove.c (memmove): Renamed to ...
31902 (MEMMOVE): ...this. Default to memmove.
31903 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31904 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31905 (END_CHK): Define.
31906 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31907 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31908 mempcpy-ssse3-back memmove-ssse3-back.
31909 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31910 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31911 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31912 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31913 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31914 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31915 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31916 * sysdeps/x86_64/multiarch/memmove.c: New file.
31917 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31918 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31919 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31920 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31921 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31922 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31923 Define.
31924 (index_Fast_Copy_Backward): Define.
31925 (HAS_ARCH_FEATURE): Define.
31926 (HAS_FAST_REP_STRING): Define.
31927 (HAS_FAST_COPY_BACKWARD): Define.
31928
4e733bac 319292010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
31930
31931 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31932 Restore proper fallback handling.
31933
63c4ed22
UD
319342010-06-19 Ulrich Drepper <drepper@redhat.com>
31935
ac2b484c
UD
31936 [BZ #11701]
31937 * posix/group_member.c (__group_member): Correct checking loop.
31938
63c4ed22
UD
31939 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31940 OOM in getpwuid_r correctly. Return error number when the caller
31941 should return, otherwise -1.
31942 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31943 call returning > 0 value.
31944 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31945
765ade4b
AS
319462010-06-07 Andreas Schwab <schwab@redhat.com>
31947
31948 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31949 libc_nonshared.a from targets in modules-names.
31950
80da2e09
KS
319512010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
31952
31953 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31954 requires it.
31955
158db122
LM
319562010-06-10 Luis Machado <luisgpm@br.ibm.com>
31957
31958 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31959 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31960 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31961 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31962
caa78cf8
AS
319632010-06-02 Andreas Schwab <schwab@redhat.com>
31964
31965 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31966
b2ef2c01
UD
319672010-06-14 Ulrich Drepper <drepper@redhat.com>
31968
31969 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31970 and F_GETPIPE_SZ.
31971 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31972 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31973 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31974 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31975 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31976 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31977
fbd643b6
RM
319782010-06-14 Roland McGrath <roland@redhat.com>
31979
31980 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31981
f32f2869
JJ
319822010-06-07 Jakub Jelinek <jakub@redhat.com>
31983
31984 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31985 __REDIRECT followed by __THROW.
31986 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31987 * posix/getopt.h (getopt): Likewise.
31988
2a50c078
EPM
319892010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31990
31991 * hurd/lookup-at.c (__file_name_lookup_at): Accept
31992 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
31993 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31994 in AT_FLAGS.
31995 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31996 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31997
eb5ad2eb
LM
319982010-05-28 Luis Machado <luisgpm@br.ibm.com>
31999
32000 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32001
3c88fe1e
L
320022010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32003
32004 [BZ #11640]
32005 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32006 Properly check family and model.
32007
d2f73151
TY
320082010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32009
32010 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32011
ebd2e13d
LM
320122010-05-24 Luis Machado <luisgpm@br.ibm.com>
32013
32014 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32015
b32b8b45
UD
320162010-05-21 Ulrich Drepper <drepper@redhat.com>
32017
32018 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32019 symbol reference.
32020
9acbe24d
AS
320212010-05-19 Andreas Schwab <schwab@redhat.com>
32022
32023 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32024 symbol reference.
32025
f0ccf6ea
AS
320262010-05-21 Andreas Schwab <schwab@redhat.com>
32027
3d04ff3a
AS
32028 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32029 and internal_recvmmsg.
32030 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32031 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32032 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32033 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32034
f0ccf6ea
AS
32035 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32036 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32037 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32038
5b08ac57
AS
320392010-05-20 Andreas Schwab <schwab@redhat.com>
32040
32041 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32042
4828935d
LM
320432010-05-17 Luis Machado <luisgpm@br.ibm.com>
32044
32045 POWER7 optimizations.
32046 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32047 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32048
373d545e
UD
320492010-05-19 Ulrich Drepper <drepper@redhat.com>
32050
32051 * version.h: Update for 2.13 development version.
32052
21a2b1ae
AS
320532010-05-12 Andrew Stubbs <ams@codesourcery.com>
32054
32055 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32056 exceptions. Return 0.
32057
3f7dcb2b
RM
320582010-05-07 Roland McGrath <roland@redhat.com>
32059
32060 * elf/ldconfig.c (main): Add a const.
32061
5f24d53a 320622010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 32063
a160f8d8
UD
32064 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32065 (args_options): Add no-idn option.
32066 (ahosts_keys_int): Add idn_flags to ai_flags.
32067 (parse_option): Handle 'i' option to clear idn_flags.
32068
5f24d53a
UD
32069 * malloc/malloc.c (_int_free): Possible race in the most recently
32070 added check. Only act on the data if no current modification
32071 happened.
265bb1ce
UD
32072
32073See ChangeLog.17 for earlier changes.