]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Make soft-float ARM use soft-fp fma/fmaf.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
1717da59
AK
12013-07-02 Andi Kleen <ak@linux.intel.com>
2
3 * config.h.in (ENABLE_LOCK_ELISION): Add.
4 * configure.in (--enable-lock-elision): Add option.
5 * manual/install.texi: Document --enable lock elision.
6 * configure: Regenerate
7 * INSTALL: Regenerate.
8
1c81621c
L
92013-07-02 H.J. Lu <hongjiu.lu@intel.com>
10
11 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
12 SSE4.2 strcasecmp for libc.a.
13 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14
77f01ab5
JM
152013-07-02 Joseph Myers <joseph@codesourcery.com>
16
17 [BZ #13304]
18 * soft-fp/op-common.h (_FP_FMA): New macro.
19 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
21 (_FP_MUL_MEAT_1_imm): ... here.
22 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
23 (_FP_MUL_MEAT_1_wide): ... here.
24 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
25 (_FP_MUL_MEAT_1_hard): ... here.
26 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
27 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
28 (_FP_MUL_MEAT_2_wide): ... here.
29 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
30 (_FP_MUL_MEAT_2_wide_3mul): ... here.
31 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
32 (_FP_MUL_MEAT_2_gmp): ... here.
33 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
34 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
35 (_FP_MUL_MEAT_4_wide): ... here.
36 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
37 (_FP_MUL_MEAT_4_gmp): ... here.
38 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
39 (_FP_WFRACBITS_DW_S): Likewise.
40 (_FP_WFRACXBITS_DW_S): Likewise.
41 (_FP_HIGHBIT_DW_S): Likewise.
42 (FP_FMA_S): Likewise.
43 (_FP_FRAC_HIGH_DW_S): Likewise.
44 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
45 (_FP_WFRACBITS_DW_D): Likewise.
46 (_FP_WFRACXBITS_DW_D): Likewise.
47 (_FP_HIGHBIT_DW_D): Likewise.
48 (FP_FMA_D): Likewise.
49 (_FP_FRAC_HIGH_DW_D): Likewise.
50 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
51 (_FP_WFRACBITS_DW_E): Likewise.
52 (_FP_WFRACXBITS_DW_E): Likewise.
53 (_FP_HIGHBIT_DW_E): Likewise.
54 (FP_FMA_E): Likewise.
55 (_FP_FRAC_HIGH_DW_E): Likewise.
56 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
57 (_FP_WFRACBITS_DW_Q): Likewise.
58 (_FP_WFRACXBITS_DW_Q): Likewise.
59 (_FP_HIGHBIT_DW_Q): Likewise.
60 (FP_FMA_Q): Likewise.
61 (_FP_FRAC_HIGH_DW_Q): Likewise.
62 * soft-fp/fmasf4.c: New file.
63 * soft-fp/fmadf4.c: Likewise.
64 * soft-fp/fmatf4.c: Likewise.
65
6308fd9a
LD
662013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
67
68 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
69 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
70 Silvermont.
71 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
72 macro.
73 (index_Slow_SSE4_2): Likewise.
74 (index_Prefer_PMINUB_for_stringop): Likewise.
75 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
76 bit_Slow_SSE4_2 is set.
77 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
78 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
79
89cd9569
RA
802013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
81
82 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
83 rtld_global._dl_hwcap2.
84 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
85 POWER8.
86 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
87 POWER8 feature descriptions defined in _dl_hwcap2.
88 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
89 string handling for POWER8 feature bits.
90 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
91 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
92 _dl_powerpc_cap_flags.
93 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
94 * sysdeps/powerpc/rtld-global-offsets.sym
95 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
96 _dl_hwcap2 in the rtld_global_ro structure.
97
1ae8bfe0
RA
982013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
99
100 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
101 hardware capabilities in support of AT_HWCAP2.
102 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
103 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
104 GLRO(dl_hwcap2).
105 (_dl_show_auxv): Add support for calling _dl_procinfo to display
106 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
107 explicitly the unknown a_type display mechanism is used.
108 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
109 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
110 struct member.
111 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
112 to macro prototype for AT_HWCAP2 support.
113 * sysdeps/i386/dl-procinfo.h: Likewise.
114 * sysdeps/s390/dl-procinfo.h: Likewise.
115 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
116 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
117 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
118 return -1 for unknown a_type display fallback.
119 * sysdeps/sparc/dl-procinfo.h: Likewise.
120 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
121 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
122
8fbec010
JM
1232013-06-28 Joseph Myers <joseph@codesourcery.com>
124
125 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
126 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
127
0432680e
PY
1282013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
129
130 [BZ #12492]
131 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
132 mprotect making __stack_prot writable.
133
ce61a2ad
NF
1342013-06-28 Nathan Froyd <froydnj@codesourcery.com>
135 Joseph Myers <joseph@codesourcery.com>
136
137 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
138 as being properly aligned.
139
f91f1c0f
MR
1402013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
141
3d0f5d0c
MR
142 * dlfcn/modstatic5.c: New file.
143 * dlfcn/tststatic5.c: New file.
144 * dlfcn/Makefile (tests): Add tststatic5.
145 (tests-static): Likewise.
146 (modules-names): Add modstatic5.
147 (tststatic5-ENV): New variable.
148 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
149
f91f1c0f
MR
150 [BZ #15022]
151 * elf/dl-support.c (_dl_main_map): New variable.
152 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
153 (_dl_nns, _dl_load_adds): Set to 1.
154 (_dl_initial_searchlist): Refer to _dl_main_map.
155 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
156 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
157 call to _dl_get_origin.
158 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
159 around call_map.
160 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
161 * dlfcn/modstatic3.c: New file.
162 * dlfcn/tststatic3.c: New file.
163 * dlfcn/tststatic4.c: New file.
164 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
165 (tests-static): Likewise.
166 (modules-names): Add modstatic3.
167 (tststatic3-ENV, tststatic4-ENV): New variables.
168 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
169 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
170
cbe7d24b
JM
1712013-06-26 Joseph Myers <joseph@codesourcery.com>
172
173 * configure.in (CC): Require GCC version 4.4 or later.
174 * configure: Regenerated.
175 * manual/install.texi (Tools for Compilation): Update GCC version
176 requirement.
177 * INSTALL: Regenerated.
178
11b8a0e1
LD
1792013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
180
181 [BZ #15674]
bb5bb87c
L
182 * string/test-memcmp.c (check2): New.
183 (main): Call check2.
184
11b8a0e1
LD
185 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
186
b0037103
MR
1872013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
188
189 [BZ #15022]
190 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
191 over to...
192 (dl_open_worker) [!SHARED]: ... here.
193
c18c701d
RA
1942013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
195
196 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
197
1d17fa5f
RH
1982013-06-25 Richard Henderson <rth@redhat.com>
199
200 * locale/programs/locarchive.c: Include <libc-internal.h>
201
8fcb833a
JM
2022013-06-25 Joseph Myers <joseph@codesourcery.com>
203
204 * manual/texinfo.tex: Update to version 2013-06-21.17, with
205 trailing whitespace removed.
206
17db6e8d
MF
2072013-06-24 Mike Frysinger <vapier@gentoo.org>
208
209 [BZ #10283]
17db6e8d
MF
210 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
211 * locale/programs/locarchive.c: Include libc-mmap.h.
212 (prepare_address_space): Take two new outputs (the mmap base and len).
213 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
214 values.
215 (create_archive): Declare new mmap base and len values for
216 prepare_address_space, and store the result in ah.
217 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
218 (enlarge_archive): If ah->mmap_base is not NULL, use that and
219 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
220 Declare new mmap base and len values for
221 prepare_address_space, and store the result in new_ah.
222 (open_archive): Declare new mmap base and len values for
223 prepare_address_space, and store the result in ah.
224 (close_archive): If ah->mmap_base is not NULL, use that and
225 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
226 * sysdeps/generic/libc-mmap.h: New file.
227
d605071e
MF
2282013-06-24 Mike Frysinger <vapier@gentoo.org>
229
230 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
231 (ALIGN_UP): Likewise.
232 (PTR_ALIGN_DOWN): Likewise.
233 (PTR_ALIGN_UP): Likewise.
234
2f063a6e
RA
2352013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
236
237 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
238 entry mapped to PPC_PLATFORM_POWER8.
239 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
240 POWER8.
241 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
242 (_dl_string_platform): Add case for exporting platform position for
243 POWER8.
244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
245 search path to sysdeps/powerpc/powerpc32/power8 directory.
246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
247 search path to sysdeps/powerpc/powerpc64/power8 directory.
248 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
249 power7 directories.
250 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
251 power7 directories.
252
a31ee4b3
SP
2532013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
254
a74ca98f
SP
255 * INSTALL: Regenerate.
256
a31ee4b3
SP
257 * nscd/connections.c (nscd_init): Fix comment.
258
695c378f
JM
2592013-06-22 Joseph Myers <joseph@codesourcery.com>
260
d8412221
JM
261 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
262
695c378f
JM
263 [BZ #15667]
264 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
265 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
266
d1d54715
MR
2672013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
268
269 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
270 DL_DST_REQ_STATIC.
271 (DL_DST_REQ_STATIC): Remove macro.
272
8fdda7af
JM
2732013-06-21 Joseph Myers <joseph@codesourcery.com>
274
275 [BZ #7006]
276 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
277 with a shift of 0 bits.
278
f3bc5e5a
MR
2792013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
280
281 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
282 $(tststatic-ENV).
283
be09e8c9
KK
2842013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
285
286 [BZ #15655]
287 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
288
85c2e611
AZ
2892013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
290
291 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
292 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
293 accepts -fno-tree-loop-distribute-patterns.
294 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
295 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
296 recursive call.
297 * string/memset.c (memset): Likewise.
298 * string/test-memmove.c (simple_memmove): Disable loop transformation
299 to library calls.
300 * string/test-memset.c (simple_memset): Likewise.
301 * benchtests/bench-memmove.c (simple_memmove): Likewise.
302 * benchtests/bench-memset.c (simple_memset): Likewise.
303 * configure: Regenerated.
304
c91e0825
JM
3052013-06-20 Joseph Myers <joseph@codesourcery.com>
306
b8c792af
JM
307 * math/test-misc.c (main): Ignore fesetround failure when failures
308 of subsequent rounding tests would be ignored.
309
c91e0825
JM
310 [BZ #15654]
311 * math/fedisblxcpt.c (fedisableexcept): Return 0.
312 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
313 * math/fegetenv.c (__fegetenv): Return 0.
314 * math/fegetexcept.c (fegetexcept): Return 0.
315 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
316 FE_TONEAREST.
317 * math/feholdexcpt.c (feholdexcept): Return 0.
318 * math/fesetenv.c (__fesetenv): Return 0.
319 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
320 argument FE_TONEAREST.
321 * math/feupdateenv.c (__feupdateenv): Return 0.
322 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
323
bfcacbde
RM
3242013-06-18 Roland McGrath <roland@hack.frob.com>
325
326 * elf/rtld-Rules (rtld-compile-command.S): New variable.
327 (rtld-compile-command.s, rtld-compile-command.c): New variables.
328 ($(objpfx)rtld-%.os rules): Use them.
329
e55a9b25
AZ
3302013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
331
332 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
333 fields.
334
346d65b3
RM
3352013-06-17 Roland McGrath <roland@hack.frob.com>
336
12086fb4
RM
337 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
338 length of target pattern, then descending length of dependency pattern.
339 * configure.in (AWK): Require gawk 3.1.2 or newer.
340 * manual/install.texi (Tools for Compilation): Say that we do.
341 * configure: Regenerated.
342
346d65b3
RM
343 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
344 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
345 * scripts/sysd-rules.awk: ... this new script.
346 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
347 than a glob-style pattern.
348
1a846317
JM
3492013-06-17 Joseph Myers <joseph@codesourcery.com>
350
351 * math/test-misc.c (main): Do not treat incorrectly rounded
352 conversions as failure unless ROUNDING_TESTS passes.
353
8fc75e6f
JM
3542013-06-15 Joseph Myers <joseph@codesourcery.com>
355
3711a167
JM
356 [BZ #15631]
357 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
358 restore exception state around main square root computation, then
359 check for inexactness explicitly.
360
8fc75e6f
JM
361 * math/libm-test.inc (fma_test_data): Add another test.
362
61dd6208
SP
3632013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
364
adf23d2c
SP
365 * manual/threads.texi (Non-POSIX Extensions): New document
366 node. Document pthread_getattr_default_np and
367 pthread_setattr_default_np.
368
61dd6208
SP
369 * Versions.def (libpthread): Add GLIBC_2.18.
370 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
372 Likewise.
373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
374 Likewise.
375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
376 Likewise.
377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
378 Likewise.
379 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
380 Likewise.
381 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
382 Likewise.
383 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
384 Likewise.
385 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
386 Likewise.
387 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
388 Likewise.
389
d086fc7b
LD
3902013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
391
392 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
393 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
394
747ef469
SP
3952013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
396 H.J. Lu <hjl.tools@gmail.com>
397
398 [BZ #15627]
399 * sysdeps/x86_64/rtld-memset.c: Remove file.
400 * sysdeps/x86_64/rtld-memset.S: New file.
401
1b2feed2
JM
4022013-06-14 Joseph Myers <joseph@codesourcery.com>
403
404 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
405 (test_in_one_mode): Take arguments for whether the rounding mode
406 is supported for each floating-point type.
407 (do_test): Pass new arguments to test_in_one_mode using
408 ROUNDING_TESTS.
409
a58ad3f8
RM
4102013-06-13 Roland McGrath <roland@hack.frob.com>
411
412 * posix/tst-waitid.c (do_test): Distinguish different instances of
413 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
414 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
415 before entering the kernel for waitpid.
416
c204ab28
SP
4172013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
418
419 * NEWS: Fix note on clock function precision. Text by Roland
420 McGrath.
421
f4a29fba
RM
4222013-06-13 Roland McGrath <roland@hack.frob.com>
423
424 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
425 it into place only when and if the sanity check passes.
426
1f24b9ad
JM
4272013-06-13 Joseph Myers <joseph@codesourcery.com>
428
429 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
430 output for whether conversion result is exact. Take argument
431 indicating whether type is IBM long double.
432 (round_for_all): Change need_exact field to ibm_ld.
433 * stdlib/tst-strtod-round.c (struct exactness): New type.
434 (struct test): Change bool ld_ok field to struct exactness exact.
435 (TEST): Update all definitions for change to field.
436 (tests): Regenerate array contents.
437 (test_in_one_mode): Take pointer to new field instead of old ld_ok
438 field value. Check for IBM long double here.
439 (do_test): Update calls to test_in_one_mode.
440
58206c68
SP
4412013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
442
443 [BZ #12515]
444 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
445 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
446
2d6f4c5b 4472013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
448
449 [BZ #15605]
450 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
451 generated by the compiler on loop optimizations.
452 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
453 general definitions.
454
94f2c076
JM
4552013-06-12 Joseph Myers <joseph@codesourcery.com>
456
457 * math/bug-nextafter.c: Include <math-tests.h>.
458 (main): Only test for exceptions if EXCEPTION_TESTS is true for
459 the relevant type.
460 * math/bug-nexttoward.c: Include <math-tests.h>.
461 (main): Only test for exceptions if EXCEPTION_TESTS is true for
462 the relevant type.
463 * math/test-misc.c: Include <math-tests.h>.
464 (main): Only test for exceptions if EXCEPTION_TESTS is true for
465 the relevant type.
466
e0e50a0a
AJ
4672013-06-12 Andreas Jaeger <aj@suse.de>
468
469 * po/ia.po: Update Interlingua translation from translation
470 project.
471
25061094
SP
4722013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
473
474 * include/fenv.h: Include stdbool.h.
475 (struct rm_ctx): New structure.
476 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
477 Define macro.
478 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
479 (SET_RESTORE_ROUNDF): Likewise.
480 (SET_RESTORE_ROUNDL): Likewise.
481 (SET_RESTORE_ROUND_NOEX): Likewise.
482 (SET_RESTORE_ROUND_NOEXF): Likewise.
483 (SET_RESTORE_ROUND_NOEXL): Likewise.
484 (SET_RESTORE_ROUND_53BIT): Likewise.
485 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
486 (libc_feresetround_noexf_ctx): Likewise.
487 (libc_feresetround_noexl_ctx): Likewise.
488 (libc_feholdsetround_53bit_ctx): Likewise.
489 (libc_feresetround_53bit_ctx): Likewise.
490 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
491 (libc_feholdexcept_setround_sse_ctx): New function.
492 (libc_fesetenv_sse_ctx): Likewise.
493 (libc_feupdateenv_sse_ctx): Likewise.
494 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
495 (libc_feholdexcept_setround_387_ctx): Likewise.
496 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
497 (libc_feholdsetround_387_prec_ctx): Likewise.
498 (libc_feholdsetround_387_ctx): Likewise.
499 (libc_feholdsetround_387_53bit_ctx): Likewise.
500 (libc_feholdsetround_sse_ctx): Likewise.
501 (libc_feresetround_sse_ctx): Likewise.
502 (libc_feresetround_387_ctx): Likewise.
503 (libc_feupdateenv_387_ctx): Likewise.
504 (libc_feholdexcept_setroundf_ctx): Define macro.
505 (libc_fesetenvf_ctx): Likewise.
506 (libc_feupdateenvf_ctx): Likewise.
507 (libc_feholdsetroundf_ctx): Likewise.
508 (libc_feresetroundf_ctx): Likewise.
509 (libc_feholdexcept_setround_ctx): Likewise.
510 (libc_fesetenv_ctx): Likewise.
511 (libc_feupdateenv_ctx): Likewise.
512 (libc_feholdsetround_ctx): Likewise.
513 (libc_feresetround_ctx): Likewise.
514 (libc_feholdexcept_setroundl_ctx): Likewise.
515 (libc_feupdateenvl_ctx): Likewise.
516 (libc_feholdsetroundl_ctx): Likewise.
517 (libc_feresetroundl_ctx): Likewise.
518 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
519 (libc_feresetround_53bit_ctx): Likewise.
520
59b30555
SP
5212013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
522
523 * locale/iso-639.def: Convert to UTF-8.
524
f1d73d30
JM
5252013-06-11 Joseph Myers <joseph@codesourcery.com>
526
527 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
528 (EXCEPTION_TESTS_double): Likewise.
529 (EXCEPTION_TESTS_long_double): Likewise.
530 (EXCEPTION_TESTS): Likewise.
531 * math/libm-test.inc (test_exceptions): Only test exceptions if
532 EXCEPTION_TESTS (FLOAT).
533
94aca5e7
SP
5342013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
535
536 * benchtests/Makefile (string-bench): Add strcpy_chk and
537 stpcpy_chk.
538 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
539 * benchtests/bench-stpcpy_chk.c: New file.
540 * benchtests/bench-strcpy_chk-ifunc.c: New file.
541 * benchtests/bench-strcpy_chk.c: New file.
542 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
543 code.
544 (do_test): Likewise.
545
fac0c5f2
RA
5462013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
547
548 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
549 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
550 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
551 with tabs where appropriate.
552 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
553 dl-procinfo.h.
554 [PPC_PLATFORM_PPC440]: Likewise.
555 [PPC_PLATFORM_PPC464]: Likewise.
556 [PPC_PLATFORM_PPC476]: Likewise.
557 (_dl_string_platform): Add support for detecting ppc405, ppc440,
558 ppc464, and ppc476 platform strings merging from ports/
559 dl-procinfo.h.
560
f22bc486
AS
5612013-06-11 Andreas Schwab <schwab@suse.de>
562
563 [BZ #14991]
564 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
565 (from_ucs4_idx): Regenerate.
566 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
567 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
568 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
569 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
570 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
571 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
572 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
573 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
574 from FROM_LOOP and TO_LOOP specific macros.
575 (BODY): Handle combining characters.
576 * iconvdata/BIG5HKSCS.irreversible: Update.
577 * iconvdata/BIG5HKSCS.precomposed: New file.
578 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
579 characters.
580 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
581
c1f75dc3
SP
5822013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
583
4eacded2
SP
584 * include/sys/time.h: Fix indentation and add copyright header.
585
fec799f8
SP
586 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
587 (do_test): Likewise.
588 * string/test-memchr.c (do_one_test): Likewise.
589 (do_test): Likewise.
590 * string/test-memcmp.c (do_one_test): Likewise.
591 (do_test): Likewise.
592 * string/test-memcpy.c (do_one_test): Likewise.
593 (do_test): Likewise.
594 * string/test-memmem.c (do_one_test): Likewise.
595 (do_test): Likewise.
596 (do_random_tests): Likewise.
597 * string/test-memmove.c (do_one_test): Likewise.
598 (do_test): Likewise.
599 * string/test-memset.c (do_one_test): Likewise.
600 (do_test): Likewise.
601 * string/test-rawmemchr.c (do_one_test): Likewise.
602 (do_test): Likewise.
603 * string/test-strcasecmp.c (do_one_test): Likewise.
604 (do_test): Likewise.
605 * string/test-strcasestr.c (do_one_test): Likewise.
606 (do_test): Likewise.
607 * string/test-strcat.c (do_one_test): Likewise.
608 (do_test): Likewise.
609 * string/test-strchr.c (do_one_test): Likewise.
610 (do_test): Likewise.
611 * string/test-strcmp.c (do_one_test): Likewise.
612 (do_test): Likewise.
613 * string/test-strcpy.c (do_one_test): Likewise.
614 (do_test): Likewise.
615 * string/test-string.h: Likewise.
616 (test_init): Likewise.
617 * string/test-strlen.c (do_one_test): Likewise.
618 (do_test): Likewise.
619 * string/test-strncasecmp.c (do_one_test): Likewise.
620 (do_test): Likewise.
621 * string/test-strncat.c (do_one_test): Likewise.
622 (do_test): Likewise.
623 * string/test-strncmp.c (do_one_test): Likewise.
624 (do_test_limit): Likewise.
625 (do_test): Likewise.
626 * string/test-strncpy.c (do_one_test): Likewise.
627 (do_test): Likewise.
628 * string/test-strnlen.c (do_one_test): Likewise.
629 (do_test): Likewise.
630 * string/test-strpbrk.c (do_one_test): Likewise.
631 (do_test): Likewise.
632 * string/test-strrchr.c (do_one_test): Likewise.
633 (do_test): Likewise.
634 * string/test-strspn.c (do_one_test): Likewise.
635 (do_test): Likewise.
636 * string/test-strstr.c (do_one_test): Likewise.
637 (do_test): Likewise.
638
97020474
SP
639 * benchtests/Makefile (string-bench): Add string benchmarks.
640 * benchtests/bench-bcopy-ifunc.c: New file.
641 * benchtests/bench-bcopy.c: New file.
642 * benchtests/bench-bzero-ifunc.c: New file.
643 * benchtests/bench-bzero.c: New file.
644 * benchtests/bench-memccpy-ifunc.c: New file.
645 * benchtests/bench-memccpy.c: New file.
646 * benchtests/bench-memchr-ifunc.c: New file.
647 * benchtests/bench-memchr.c: New file.
648 * benchtests/bench-memcmp-ifunc.c: New file.
649 * benchtests/bench-memcmp.c: New file.
650 * benchtests/bench-memmem-ifunc.c: New file.
651 * benchtests/bench-memmem.c: New file.
652 * benchtests/bench-memmove-ifunc.c: New file.
653 * benchtests/bench-memmove.c: New file.
654 * benchtests/bench-mempcpy-ifunc.c: New file.
655 * benchtests/bench-mempcpy.c: New file.
656 * benchtests/bench-memset-ifunc.c: New file.
657 * benchtests/bench-memset.c: New file.
658 * benchtests/bench-rawmemchr-ifunc.c: New file.
659 * benchtests/bench-rawmemchr.c: New file.
660 * benchtests/bench-stpcpy-ifunc.c: New file.
661 * benchtests/bench-stpcpy.c: New file.
662 * benchtests/bench-stpncpy-ifunc.c: New file.
663 * benchtests/bench-stpncpy.c: New file.
664 * benchtests/bench-strcasecmp-ifunc.c: New file.
665 * benchtests/bench-strcasecmp.c: New file.
666 * benchtests/bench-strcasestr-ifunc.c: New file.
667 * benchtests/bench-strcasestr.c: New file.
668 * benchtests/bench-strcat-ifunc.c: New file.
669 * benchtests/bench-strcat.c: New file.
670 * benchtests/bench-strchr-ifunc.c: New file.
671 * benchtests/bench-strchr.c: New file.
672 * benchtests/bench-strchrnul-ifunc.c: New file.
673 * benchtests/bench-strchrnul.c: New file.
674 * benchtests/bench-strcmp-ifunc.c: New file.
675 * benchtests/bench-strcmp.c: New file.
676 * benchtests/bench-strcpy-ifunc.c: New file.
677 * benchtests/bench-strcpy.c: New file.
678 * benchtests/bench-strcspn-ifunc.c: New file.
679 * benchtests/bench-strcspn.c: New file.
680 * benchtests/bench-strlen-ifunc.c: New file.
681 * benchtests/bench-strlen.c: New file.
682 * benchtests/bench-strncasecmp-ifunc.c: New file.
683 * benchtests/bench-strncasecmp.c: New file.
684 * benchtests/bench-strncat-ifunc.c: New file.
685 * benchtests/bench-strncat.c: New file.
686 * benchtests/bench-strncmp-ifunc.c: New file.
687 * benchtests/bench-strncmp.c: New file.
688 * benchtests/bench-strncpy-ifunc.c: New file.
689 * benchtests/bench-strncpy.c: New file.
690 * benchtests/bench-strnlen-ifunc.c: New file.
691 * benchtests/bench-strnlen.c: New file.
692 * benchtests/bench-strpbrk-ifunc.c: New file.
693 * benchtests/bench-strpbrk.c: New file.
694 * benchtests/bench-strrchr-ifunc.c: New file.
695 * benchtests/bench-strrchr.c: New file.
696 * benchtests/bench-strspn-ifunc.c: New file.
697 * benchtests/bench-strspn.c: New file.
698 * benchtests/bench-strstr-ifunc.c: New file.
699 * benchtests/bench-strstr.c: New file.
700
c1f75dc3
SP
701 * benchtests/Makefile: Disable parallel execution of targets.
702 (string-bench): Add memcpy.
703 (benchset): New variable to store a list of benchmark sets.
704 (bench-func): Renamed from bench.
705 (bench-set): New target.
706 (bench): Depend on bench-func and bench-set.
707 * benchtests/README: Add section on benchmark sets.
708 * benchtests/bench-memcpy-ifunc.c: New file.
709 * benchtests/bench-memcpy.c: New file.
710 * benchtests/bench-string.h: New file.
711
50fd745b
AS
7122013-06-11 Andreas Schwab <schwab@suse.de>
713
714 [BZ #15577]
715 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
716 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
717 values in the triple.
718 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
719 terminator in the group key.
720
3ee7e9fe
AJ
7212013-06-11 Andreas Jaeger <aj@suse.de>
722
723 * po/zh_TW.po: Update Chinese (traditional) translation from
724 translation project.
725
89fb6835
SP
7262013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
727
728 * include/time.h (__clock_gettime): Add libc_hidden_proto.
729 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
730 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
731 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
732 (clock_getcpuclockid): Likewise.
733 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
734 Add weak_alias and libc_hidden_def.
735 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
736 * rt/clock_gettime.c (clock_gettime): Rename to
737 __clock_gettime. Add weak_alias and libc_hidden_def.
738 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
739 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
740 __clock_nanosleep. Add weak_alias and libc_hidden_def.
741 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
742 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
743 Likewise.
744 * rt/clock_settime.c (clock_settime): Rename to
745 __clock_settime. Add weak_alias and libc_hidden_def.
746 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
747
0efa6f8b
JM
7482013-06-10 Joseph Myers <joseph@codesourcery.com>
749
b8c61b4b
JM
750 * mach/err_boot.sub: Remove trailing whitespace.
751 * mach/err_ipc.sub: Likewise.
752 * mach/err_mach.sub: Likewise.
753
0efa6f8b
JM
754 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
755 (ROUNDING_TESTS_double): Likewise.
756 (ROUNDING_TESTS_long_double): Likewise.
757 (ROUNDING_TESTS): Likewise.
758 * math/libm-test.inc: Include <math-tests.h>.
759 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
760 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
761 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
762 (IF_ROUND_INIT_FE_UPWARD): Likewise.
763
50b818bf
SP
7642013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
765
766 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
767 of assigning.
768
60d2f8f3
JM
7692013-06-08 Joseph Myers <joseph@codesourcery.com>
770
4902d2c3
JM
771 * sysdeps/gnu/errlist.awk: Do not generate space at end of
772 otherwise empty TRANS lines.
773 * sysdeps/gnu/errlist.c: Regenerated.
774
60d2f8f3
JM
775 * catgets/gencat.c (error_print): Use (void) in function
776 definition.
777 * crypt/crypt_util.c (__init_des): Likewise.
778 * crypt/speeds.c (Stop): Likewise.
779 (main): Likewise.
780 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
781 * inet/ruserpass.c (token): Likewise.
782 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
783 * intl/localealias.c (extend_alias_table): Likewise.
784 * intl/plural-exp.c (init_germanic_plural): Likewise.
785 * libio/fcloseall.c (__fcloseall): Likewise.
786 * libio/genops.c (_IO_flush_all): Likewise.
787 (_IO_flush_all_linebuffered): Likewise.
788 (_IO_cleanup): Likewise.
789 (_IO_iter_begin): Likewise.
790 (_IO_iter_end): Likewise.
791 (_IO_list_lock): Likewise.
792 (_IO_list_unlock): Likewise.
793 (_IO_list_resetlock): Likewise.
794 * libio/getchar.c (getchar): Likewise.
795 * libio/getchar_u.c (getchar_unlocked): Likewise.
796 * libio/getwchar.c (getwchar): Likewise.
797 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
798 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
799 * login/getpt.c (__getpt): Likewise.
800 * login/tst-utmp.c (main): Likewise.
801 * malloc/hooks.c (__malloc_check_init): Likewise.
802 * malloc/malloc.c (__malloc_stats): Likewise.
803 * malloc/mtrace.c (tr_break): Likewise.
804 (mtrace): Likewise.
805 (muntrace): Likewise.
806 * misc/fstab.c (endfsent): Likewise.
807 * misc/getclktck.c (__getclktck): Likewise.
808 * misc/getdtsz.c (__getdtablesize): Likewise.
809 * misc/gethostid.c (gethostid): Likewise.
810 * misc/getpagesize.c (__getpagesize): Likewise.
811 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
812 (__get_nprocs): Likewise.
813 (__get_phys_pages): Likewise.
814 (__get_avphys_pages): Likewise.
815 * misc/getttyent.c (getttyent): Likewise.
816 (setttyent): Likewise.
817 (endttyent): Likewise.
818 * misc/getusershell.c (getusershell): Likewise.
819 (endusershell): Likewise.
820 (setusershell): Likewise.
821 (initshells): Likewise.
822 * misc/hsearch.c (__hdestroy): Likewise.
823 * misc/sync.c (sync): Likewise.
824 * misc/syslog.c (closelog_internal): Likewise.
825 (closelog): Likewise.
826 * misc/ttyslot.c (ttyslot): Likewise.
827 * misc/vhangup.c (vhangup): Likewise.
828 * posix/fork.c (__fork): Likewise.
829 * posix/getegid.c (__getegid): Likewise.
830 * posix/geteuid.c (__geteuid): Likewise.
831 * posix/getgid.c (__getgid): Likewise.
832 * posix/getpid.c (__getpid): Likewise.
833 * posix/getppid.c (__getppid): Likewise.
834 * posix/getuid.c (__getuid): Likewise.
835 * posix/pause.c (pause): Likewise.
836 * posix/setpgrp.c (setpgrp): Likewise.
837 * posix/setsid.c (__setsid): Likewise.
838 * posix/test-vfork.c (noop): Likewise.
839 * resolv/gethnamaddr.c (_endhtent): Likewise.
840 (_gethtent): Likewise.
841 (ht_endhostent): Likewise.
842 (gethostent): Likewise.
843 (dns_service): Likewise.
844 * stdlib/drand48.c (drand48): Likewise.
845 * stdlib/lrand48.c (lrand48): Likewise.
846 * stdlib/mrand48.c (mrand48): Likewise.
847 * stdlib/rand.c (rand): Likewise.
848 * stdlib/random.c (__random): Likewise.
849 * stdlib/setenv.c (clearenv): Likewise.
850 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
851 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
852 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
853 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
854 (__get_nprocs): Likewise.
855 (__get_phys_pages): Likewise.
856 (__get_avphys_pages): Likewise.
857 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
858 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
859 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
860 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
861 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
862 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
863 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
864 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
865 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
866 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
867 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
868 * sysdeps/mach/hurd/sync.c (sync): Likewise.
869 * sysdeps/posix/clock.c (clock): Likewise.
870 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
871 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
872 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
873 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
874 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
875 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
876 (__get_nprocs_conf): Likewise.
877 (__get_phys_pages): Likewise.
878 (__get_avphys_pages): Likewise.
879 * time/clock.c (clock): Likewise.
880 * time/tzset.c (__tzname_max): Likewise.
881
2e09a79a
JM
8822013-06-07 Joseph Myers <joseph@codesourcery.com>
883
884 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
885 (__bswap_32): Do not use "register".
886 * crypt/crypt.c (_ufc_doit_r): Likewise.
887 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
888 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
889 * gmon/gmon.c (__monstartup): Likewise.
890 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
891 * hurd/hurdmalloc.c (more_memory): Likewise.
892 (malloc): Likewise.
893 (free): Likewise.
894 (realloc): Likewise.
895 (malloc_fork_prepare): Likewise.
896 (malloc_fork_parent): Likewise.
897 (malloc_fork_child): Likewise.
898 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
899 (_svcauth_des): Likewise.
900 * inet/inet_lnaof.c (inet_lnaof): Likewise.
901 * inet/inet_net.c (inet_network): Likewise.
902 * inet/inet_netof.c (inet_netof): Likewise.
903 * inet/rcmd.c (__validuser2_sa): Likewise.
904 * io/fts.c (fts_open): Likewise.
905 (fts_load): Likewise.
906 (fts_close): Likewise.
907 (fts_read): Likewise.
908 (fts_children): Likewise.
909 (fts_build): Likewise.
910 (fts_stat): Likewise.
911 (fts_sort): Likewise.
912 (fts_alloc): Likewise.
913 (fts_lfree): Likewise.
914 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
915 (_IO_file_xsgetn): Likewise.
916 (_IO_file_xsgetn_mmap): Likewise.
917 * libio/iofopncook.c (_IO_cookie_read): Likewise.
918 (_IO_cookie_write): Likewise.
919 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
920 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
921 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
922 * malloc/obstack.c (_obstack_begin): Likewise.
923 (_obstack_begin_1): Likewise.
924 (_obstack_newchunk): Likewise.
925 (_obstack_allocated_p): Likewise.
926 (obstack_free): Likewise.
927 (_obstack_memory_used): Likewise.
928 * misc/getttyent.c (getttynam): Likewise.
929 (getttyent): Likewise.
930 (skip): Likewise.
931 (value): Likewise.
932 * misc/getusershell.c (initshells): Likewise.
933 * misc/syslog.c (__vsyslog_chk): Likewise.
934 * misc/ttyslot.c (ttyslot): Likewise.
935 * nis/nis_hash.c (__nis_hash): Likewise.
936 * posix/fnmatch_loop.c (FCT): Likewise.
937 * posix/getconf.c (print_all): Likewise.
938 (main): Likewise.
939 * posix/getopt.c (exchange): Likewise.
940 * posix/glob.c (globfree): Likewise.
941 (prefix_array): Likewise.
942 (__glob_pattern_type): Likewise.
943 * resolv/arpa/nameser.h (NS_GET16): Likewise.
944 (NS_GET32): Likewise.
945 (NS_PUT16): Likewise.
946 (NS_PUT32): Likewise.
947 * resolv/gethnamaddr.c (getanswer): Likewise.
948 (gethostbyname2): Likewise.
949 (gethostbyaddr): Likewise.
950 (_gethtent): Likewise.
951 (_gethtbyname2): Likewise.
952 (_gethtbyaddr): Likewise.
953 * resolv/ns_print.c (dst_s_get_int16): Likewise.
954 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
955 * resolv/res_init.c (__res_vinit): Likewise.
956 (net_mask): Likewise.
957 * resolv/res_mkquery.c (outchar): Likewise.
958 (PRINT): Likewise.
959 * stdio-common/printf_fp.c (outchar): Likewise.
960 (PRINT): Likewise.
961 * stdio-common/printf_fphex.c (outchar): Likewise.
962 (PRINT): Likewise.
963 * stdio-common/printf_size.c (outchar): Likewise.
964 (PRINT): Likewise.
965 * stdio-common/test_rdwr.c (main): Likewise.
966 * stdio-common/tfformat.c (matches): Likewise.
967 * stdio-common/vfprintf.c (outchar): Likewise.
968 (printf_unknown): Likewise.
969 (buffered_vfprintf): Likewise.
970 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
971 * stdio-common/xbug.c (AppendToBuffer): Likewise.
972 (ReadFile): Likewise.
973 * stdlib/qsort.c (SWAP): Likewise.
974 (_quicksort): Likewise.
975 * stdlib/setenv.c (__add_to_environ): Likewise.
976 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
977 * stdlib/strtol_l.c (__strtol_l): Likewise.
978 * stdlib/tst-strtod.c (main): Likewise.
979 * stdlib/tst-strtol.c (main): Likewise.
980 * stdlib/tst-strtoll.c (main): Likewise.
981 * string/bits/string2.h (__strcmp_cc): Likewise.
982 (__strcmp_cg): Likewise.
983 (__strcspn_c1): Likewise.
984 (__strcspn_c2): Likewise.
985 (__strcspn_c3): Likewise.
986 (__strspn_c1): Likewise.
987 (__strspn_c2): Likewise.
988 (__strspn_c3): Likewise.
989 (__strsep_1c): Likewise.
990 (__strsep_2c): Likewise.
991 (__strsep_3c): Likewise.
992 * string/memccpy.c (__memccpy): Likewise.
993 * string/stpcpy.c (__stpcpy): Likewise.
994 * string/strcmp.c (strcmp): Likewise.
995 * string/strrchr.c (strrchr): Likewise.
996 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
997 Likewise.
998 * sysdeps/mach/hurd/getcwd.c
999 (_hurd_canonicalize_directory_name_internal): Likewise.
1000 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1001 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1002 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1003 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1004 Likewise, in both definitions.
1005 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1006 definitions.
1007 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1008 64] (__bswap_64): Likewise.
1009 * time/test_time.c (main): Likewise.
1010 * time/tzfile.c (__tzfile_read): Likewise.
1011 (__tzfile_compute): Likewise.
1012 * time/tzset.c (__tzset_parse_tz): Likewise.
1013 (tzset_internal): Likewise.
1014 (compute_change): Likewise.
1015 * wcsmbs/wcscat.c (__wcscat): Likewise.
1016 * wcsmbs/wcschr.c (wcschr): Likewise.
1017 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1018 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1019 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1020 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1021 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1022 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1023 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1024 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1025 * wcsmbs/wmemset.c (wmemset): Likewise.
1026
9e54314b
JM
10272013-06-06 Joseph Myers <joseph@codesourcery.com>
1028
1029 * scripts/config.guess: Update to version 2013-05-16.
1030 * scripts/config.sub: Update to version 2013-04-24.
1031 * scripts/install-sh: Update to version 2011-11-20.07.
1032 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1033 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1034
350635a5
OB
10352013-06-06 Ondřej Bílka <neleai@seznam.cz>
1036
1037 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1038 * elf/sln.c: Likewise.
1039 * hurd/hurd/ioctl.h: Likewise.
1040 * hurd/hurdmalloc.c: Likewise.
1041 * hurd/xattr.c: Likewise.
1042 * include/shlib-compat.h: Likewise.
1043 * inet/ruserpass.c: Likewise.
1044 * libio/iofgets_u.c: Likewise.
1045 * libio/iofgetws_u.c: Likewise.
1046 * locale/programs/ld-identification.c: Likewise.
1047 * locale/programs/ld-time.c: Likewise.
1048 * mach/msg-destroy.c: Likewise.
1049 * nss/nss_files/files-netgrp.c: Likewise.
1050 * resolv/res_data.c: Likewise.
1051 * soft-fp/op-1.h: Likewise.
1052 * soft-fp/op-2.h: Likewise.
1053 * soft-fp/op-4.h: Likewise.
1054 * soft-fp/op-common.h: Likewise.
1055 * stdio-common/printf_fphex.c: Likewise.
1056 * stdlib/strtod_l.c: Likewise.
1057 * sunrpc/rpc/clnt.h: Likewise.
1058 * sysdeps/generic/framestate.c: Likewise.
1059 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1060 * sysdeps/i386/bsd-setjmp.S: Likewise.
1061 * sysdeps/i386/__longjmp.S: Likewise.
1062 * sysdeps/i386/setjmp.S: Likewise.
1063 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1064 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1065 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1066 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1067 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1068 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1069 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1070 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1071 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1072 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1073 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1074 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1075 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1076 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1077 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1078 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1079 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1080 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1081 * sysdeps/ieee754/support.c: Likewise.
1082 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1083 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1084 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1085 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1086 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1087 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1088 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1089 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1090 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1091 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1092 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1093 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1094 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1095 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1096 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1097 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1098 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1100
44a988af
OB
11012013-06-05 Ondřej Bílka <neleai@seznam.cz>
1102
25506f09 1103 * posix/transbug.c: Remove executable mode.
44a988af 1104
9c84384c
JM
11052013-06-05 Joseph Myers <joseph@codesourcery.com>
1106
1107 * crypt/speeds.c: Remove trailing whitespace.
1108 * dlfcn/default.c: Likewise.
1109 * elf/ifuncdep2.c: Likewise.
1110 * elf/ifuncmain1.c: Likewise.
1111 * elf/ifuncmain1vis.c: Likewise.
1112 * elf/testobj.h: Likewise.
1113 * elf/tst-stackguard1.c: Likewise.
1114 * gmon/sys/gmon.h: Likewise.
1115 * hurd/hurdmsg.c: Likewise.
1116 * hurd/new-fd.c: Likewise.
1117 * hurd/ports-get.c: Likewise.
1118 * iconvdata/ibm1008_420.c: Likewise.
1119 * inet/tst-getni1.c: Likewise.
1120 * inet/tst-getni2.c: Likewise.
1121 * libio/ioungetc.c: Likewise.
1122 * libio/wfiledoalloc.c: Likewise.
1123 * manual/libm-err-tab.pl: Likewise.
1124 * math/w_dremf.c: Likewise.
1125 * misc/ftruncate.c: Likewise.
1126 * posix/bug-glob2.c: Likewise.
1127 * posix/tst-pcre.c: Likewise.
1128 * posix/wait4.c: Likewise.
1129 * resolv/README: Likewise.
1130 * resolv/res_debug.h: Likewise.
1131 * resolv/tst-inet_ntop.c: Likewise.
1132 * setjmp/bug269-setjmp.c: Likewise.
1133 * soft-fp/extended.h: Likewise.
1134 * soft-fp/op-1.h: Likewise.
1135 * soft-fp/op-2.h: Likewise.
1136 * soft-fp/op-4.h: Likewise.
1137 * soft-fp/op-8.h: Likewise.
1138 * soft-fp/testit.c: Likewise.
1139 * stdio-common/bug16.c: Likewise.
1140 * stdlib/random.c: Likewise.
1141 * sunrpc/rpcsvc/rquota.x: Likewise.
1142 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1143 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1144 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1145 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1146 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1147 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1148 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1149 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1150 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1151 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1152 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1153 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1154 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1155 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1156 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1157 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1158 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1159 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1160 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1161 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1162 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1163 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1164 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1165 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1166 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1167 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1168 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1169 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1170 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1171 * sysdeps/ieee754/s_lib_version.c: Likewise.
1172 * sysdeps/mach/hurd/check_fds.c: Likewise.
1173 * sysdeps/mach/hurd/getsockname.c: Likewise.
1174 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1175 * sysdeps/mach/hurd/recvfrom.c: Likewise.
1176 * sysdeps/powerpc/bits/link.h: Likewise.
1177 * sysdeps/powerpc/dl-procinfo.c: Likewise.
1178 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1179 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1180 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1181 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1182 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1183 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1184 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1185 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1186 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1187 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1188 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1189 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1190 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1191 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1192 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1193 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1194 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1195 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1196 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1197 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1198 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1199 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1200 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1201 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1202 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1203 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1204 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1205 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1206 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1207 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1208 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1209 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1210 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1211 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1212 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1213 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1214 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1215 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1216 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1217 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1218 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1219 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1220 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1221 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1222 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1223 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1224 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1225 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1226 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1227 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1228 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1229 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1230 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1231 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1232 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1233 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1234 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1235 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1236 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1237 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1238 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1239 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1240 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1241 * sysdeps/powerpc/sysdep.h: Likewise.
1242 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1243 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1244 * sysdeps/sh/dl-trampoline.S: Likewise.
1245 * sysdeps/sh/memset.S: Likewise.
1246 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1247 * sysdeps/sh/strlen.S: Likewise.
1248 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1249 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1250 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1251 * sysdeps/sparc/sparc32/rem.S: Likewise.
1252 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1253 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1254 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1255 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1256 * sysdeps/sparc/sparc32/urem.S: Likewise.
1257 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1258 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1259 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1260 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1261 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1262 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1263 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1264 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1265 * sysdeps/unix/bsd/times.c: Likewise.
1266 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1267 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1271 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1272 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1273 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1274 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1275 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1276 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1277 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1278 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1279 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1280 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1281 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1282 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1283 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1284 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1285 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1286 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1287 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1288 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1289 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1290 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1291 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1292 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1293 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1294 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1295 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1296 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1297 * sysdeps/x86_64/strcspn.S: Likewise.
1298
869378a5
RA
12992013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1300
1301 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1302 generated file. Regenerate properly from gen-translit.pl.
1303 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1304 locale/C-translit.h.
1305
840e2943
AS
13062013-06-05 Andreas Schwab <schwab@suse.de>
1307
1308 [BZ #15100]
1309 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1310 week as 6 instead of -1.
1311 * time/tst-strptime.c (day_tests): Add test case.
1312
4c60cb0c
SP
13132013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1314
1315 * sysdeps/generic/math_private.h
1316 (libc_feholdexcept_setround_53bit): Replace with
1317 libc_feholdsetround_53bit.
1318 (libc_feupdateenv_53bit): Replace with
1319 libc_feresetround_53bit.
1320 (SET_RESTORE_ROUND_53BIT): Adjust.
1321
d180203e
SP
13222013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1323
96df079a
SP
1324 * string/test-strchrnul.c: Add copyright header.
1325
d180203e
SP
1326 * posix/tst-getaddrinfo4.c: Increase test timeout.
1327
8b0ccb2d
CD
13282013-06-03 Carlos O'Donell <carlos@redhat.com>
1329
1330 [BZ #15536]
1331 * math/libm-test.inc (MAX_EXP): Remove
1332 (MIN_EXP): Define.
1333 (ulp): Use MIN_EXP - MANT_DIG.
1334 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1335
3b3c4d40
CD
13362013-05-31 Carlos O'Donell <carlos@redhat.com>
1337
1338 * po/be.po: Revert last change.
1339 * po/zh_CN.po: Likewise.
1340 * po/header.pot: Likewise.
1341
fab7ce3f
JM
13422013-05-31 Joseph Myers <joseph@codesourcery.com>
1343
1344 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1345 link-libc-deps to empty as target-specific variable.
1346 * Makerules (link-libc-args): New variable.
1347 (libc-for-link): Likewise.
1348 (link-libc-deps): Likewise.
1349 (lib%.so): Depend on $(link-libc-deps). Link with
1350 $(link-libc-args).
1351 (build-module): Link with $(link-libc-args).
1352 (build-module-asneeded): Likewise.
1353 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1354 list of objects.
1355 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1356 target-specific variable.
1357 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1358 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1359 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1360 libc.
1361 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1362 libc and ld.so.
1363 ($(objpfx)libpcprofile.so): Likewise.
1364 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1365 libc_nonshared.a.
1366 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1367 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1368 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1369 $(link-libc-deps).
1370 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1371 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1372 * login/Makefile ($(objpfx)libutil.so): Likewise.
1373 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1374 * math/Makefile ($(objpfx)libm.so): Likewise.
1375 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1376 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1377 variable instead of depending directly on libc.
1378 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1379 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1380 $(link-libc-deps).
1381 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1382 libc.
1383 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1384 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1385 ($(objpfx)libanl.so): Likewise.
1386 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1387 ld.so.
1388 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1389 $(link-libc-deps).
1390 * sysdeps/i386/fpu/Makefile: Remove file.
1391 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1392 ($(objpfx)libm.so): Remove dependency on ld.so.
1393
eca5920c
PF
13942013-05-30 Patsy Franklin <pfrankli@redhat.com>
1395
1396 [BZ # 15553]
1397 * nis/yp_xdr.c (XDRMAXNAME): Define.
1398 (XDRMAXRECORD): Define.
1399 (xdr_domainname): Use XDRMAXNAME.
1400 (xdr_mapname): Likewise.
1401 (xdr_peername): Likewise.
1402 (xdr_keydat): Use XDRMAXRECORD.
1403 (xdr_valdat): Likewise.
1404
14052013-05-30 Jeff Law <law@redhat.com>
96945714
JL
1406
1407 [BZ #14256]
1408 * manual/errno.texi (ESTALE): Update to account for more than
1409 just NFS file systems.
1410 * sysdeps/gnu/errlist.c: Regenerated.
1411
b9375348
SP
14122013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1413
1414 [BZ #15465]
1415 * elf/Makefile (tests): Add tst-null-argv.
1416 (modules-names): Add tst-null-argv-lib.
1417 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1418 (tst-null-argv-ENV): Set environment for tst-null-argv.
1419 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1420 (RTLD_PROGNAME): New macro.
1421 * elf/tst-null-argv.c: New test case.
1422 * elf/tst-null-argv-lib.c: Library for test case.
1423 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1424 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1425 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1426 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1427 * elf/dl-init.c (call_init): Likewise.
1428 (_dl_init): Likewise.
1429 * elf/dl-load.c (print_search_path): Likewise.
1430 (_dl_map_object): Likewise.
1431 * elf/dl-lookup.c (do_lookup_x): Likewise.
1432 (add_dependency): Likewise.
1433 (_dl_lookup_symbol_x): Likewise.
1434 (_dl_debug_bindings): Likewise.
1435 * elf/dl-open.c (_dl_show_scope): Likewise.
1436 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1437 * elf/dl-version.c (match_symbol): Likewise.
1438 (_dl_check_map_versions): Likewise.
1439 * elf/rtld.c (dl_main): Likewise.
1440 (print_unresolved): Use RTLD_PROGNAME.
1441 (print_missing_version): Likewise.
1442 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1443 (elf_machine_rela): Likewise.
1444 * sysdeps/powerpc/powerpc32/dl-machine.c
1445 (__process_machine_rela): Likewise.
1446 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1447 Likewise.
1448 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1449 Likewise.
1450 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1451 Likewise.
1452 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1453 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1454 Likewise.
1455 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1456 Likewise.
1457 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1458
8a9f20c8
CD
14592013-05-28 Carlos O'Donell <carlos@redhat.com>
1460
1461 * po/be.po: Add descriptive title.
1462 * po/zh_CN.po: Likewise.
1463 * po/header.pot: Likewise.
1464
0e60d68e
MF
14652013-05-28 Mike Frysinger <vapier@gentoo.org>
1466
1467 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1468 error message.
1469 (enlarge_archive): Likewise.
1470
56b672e9
BN
14712013-05-28 Ben North <ben@redfrontdoor.org>
1472
1473 * manual/arith.texi (frexp): It is the magnitude of the return
1474 value which lies in [0.5, 1), not the return value itself.
1475
5e056687
AZ
14762013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1477
1478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1479
2b66ef5d
TS
14802013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1481
528c2405
TS
1482 * stdio-common/bug26.c (main): Correct fscanf template.
1483
07b4c13d
TS
1484 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1485 declare _dl_skip_args.
1486
ec9dd97c
TS
1487 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1488 Don't declare.
1489
2b66ef5d
TS
1490 * manual/platform.texi: Add missing @end deftypefun.
1491
4f8dfe27
JM
14922013-05-24 Joseph Myers <joseph@codesourcery.com>
1493
0323d086
JM
1494 [BZ #15529]
1495 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1496 bit of mantissa of 2^16382.
1497 * math/libm-test.inc (hypot_test_data): Add more tests.
1498
dd4259b9
JM
1499 * math/libm-test.inc: Add drem and pow10 to list of tested
1500 functions.
1501 (pow10_test): New function.
1502 (drem_test): Likewise.
1503 (drem_test_tonearest): Likewise.
1504 (drem_test_towardzero): Likewise.
1505 (drem_test_downward): Likewise.
1506 (drem_test_upward): Likewise.
1507 (main): Call the new functions.
1508
4f8dfe27
JM
1509 * math/libm-test.inc (finite_test_data): Remove.
1510 (finite_test): Run tests from isfinite_test_data.
1511 (gamma_test_data): Remove.
1512 (gamma_test): Run tests from lgamma_test_data.
1513 * sysdeps/i386/fpu/libm-test-ulps: Update.
1514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1515
d116b7c4
AZ
15162013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1517
1518 * manual/platform.texi: Add PowerPC PPR function set documentation.
1519 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1520 implementation.
1521
e96e3767
CD
15222013-05-24 Carlos O'Donell <carlos@redhat.com>
1523
1524 * math/libm-test.inc (MAX_EXP): Define.
1525 (ULPDIFF): Define.
1526 (ulp): New function.
1527 (check_float_internal): Use ULPDIFF.
1528 (cpow_test): Disable failing test.
1529 (check_ulp): Test ulp() implemetnation.
1530 (main): Call check_ulp before starting tests.
1531
b679a606
JM
15322013-05-24 Joseph Myers <joseph@codesourcery.com>
1533
e8bdba36
JM
1534 * math/gen-libm-test.pl (generate_testfile): Do not handle
1535 START_DATA and END_DATA.
1536 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1537 END_DATA.
1538 (acos_tonearest_test_data): Likewise.
1539 (acos_towardzero_test_data): Likewise.
1540 (acos_downward_test_data): Likewise.
1541 (acos_upward_test_data): Likewise.
1542 (acosh_test_data): Likewise.
1543 (asin_test_data): Likewise.
1544 (asin_tonearest_test_data): Likewise.
1545 (asin_towardzero_test_data): Likewise.
1546 (asin_downward_test_data): Likewise.
1547 (asin_upward_test_data): Likewise.
1548 (asinh_test_data): Likewise.
1549 (atan_test_data): Likewise.
1550 (atanh_test_data): Likewise.
1551 (atan2_test_data): Likewise.
1552 (cabs_test_data): Likewise.
1553 (cacos_test_data): Likewise.
1554 (cacosh_test_data): Likewise.
1555 (carg_test_data): Likewise.
1556 (casin_test_data): Likewise.
1557 (casinh_test_data): Likewise.
1558 (catan_test_data): Likewise.
1559 (catanh_test_data): Likewise.
1560 (cbrt_test_data): Likewise.
1561 (ccos_test_data): Likewise.
1562 (ccosh_test_data): Likewise.
1563 (ceil_test_data): Likewise.
1564 (cexp_test_data): Likewise.
1565 (cimag_test_data): Likewise.
1566 (clog_test_data): Likewise.
1567 (clog10_test_data): Likewise.
1568 (conj_test_data): Likewise.
1569 (copysign_test_data): Likewise.
1570 (cos_test_data): Likewise.
1571 (cos_tonearest_test_data): Likewise.
1572 (cos_towardzero_test_data): Likewise.
1573 (cos_downward_test_data): Likewise.
1574 (cos_upward_test_data): Likewise.
1575 (cosh_test_data): Likewise.
1576 (cosh_tonearest_test_data): Likewise.
1577 (cosh_towardzero_test_data): Likewise.
1578 (cosh_downward_test_data): Likewise.
1579 (cosh_upward_test_data): Likewise.
1580 (cpow_test_data): Likewise.
1581 (cproj_test_data): Likewise.
1582 (creal_test_data): Likewise.
1583 (csin_test_data): Likewise.
1584 (csinh_test_data): Likewise.
1585 (csqrt_test_data): Likewise.
1586 (ctan_test_data): Likewise.
1587 (ctan_tonearest_test_data): Likewise.
1588 (ctan_towardzero_test_data): Likewise.
1589 (ctan_downward_test_data): Likewise.
1590 (ctan_upward_test_data): Likewise.
1591 (ctanh_test_data): Likewise.
1592 (ctanh_tonearest_test_data): Likewise.
1593 (ctanh_towardzero_test_data): Likewise.
1594 (ctanh_downward_test_data): Likewise.
1595 (ctanh_upward_test_data): Likewise.
1596 (erf_test_data): Likewise.
1597 (erfc_test_data): Likewise.
1598 (exp_test_data): Likewise.
1599 (exp_tonearest_test_data): Likewise.
1600 (exp_towardzero_test_data): Likewise.
1601 (exp_downward_test_data): Likewise.
1602 (exp_upward_test_data): Likewise.
1603 (exp10_test_data): Likewise.
1604 (exp2_test_data): Likewise.
1605 (expm1_test_data): Likewise.
1606 (fabs_test_data): Likewise.
1607 (fdim_test_data): Likewise.
1608 (finite_test_data): Likewise.
1609 (floor_test_data): Likewise.
1610 (fma_test_data): Likewise.
1611 (fma_towardzero_test_data): Likewise.
1612 (fma_downward_test_data): Likewise.
1613 (fma_upward_test_data): Likewise.
1614 (fmax_test_data): Likewise.
1615 (fmin_test_data): Likewise.
1616 (fmod_test_data): Likewise.
1617 (fpclassify_test_data): Likewise.
1618 (frexp_test_data): Likewise.
1619 (gamma_test_data): Likewise.
1620 (hypot_test_data): Likewise.
1621 (ilogb_test_data): Likewise.
1622 (isfinite_test_data): Likewise.
1623 (isgreater_test_data): Likewise.
1624 (isgreaterequal_test_data): Likewise.
1625 (isinf_test_data): Likewise.
1626 (isless_test_data): Likewise.
1627 (islessequal_test_data): Likewise.
1628 (islessgreater_test_data): Likewise.
1629 (isnan_test_data): Likewise.
1630 (isnormal_test_data): Likewise.
1631 (issignaling_test_data): Likewise.
1632 (isunordered_test_data): Likewise.
1633 (j0_test_data): Likewise.
1634 (j1_test_data): Likewise.
1635 (jn_test_data): Likewise.
1636 (ldexp_test_data): Likewise.
1637 (lgamma_test_data): Likewise.
1638 (lrint_test_data): Likewise.
1639 (lrint_tonearest_test_data): Likewise.
1640 (lrint_towardzero_test_data): Likewise.
1641 (lrint_downward_test_data): Likewise.
1642 (lrint_upward_test_data): Likewise.
1643 (llrint_test_data): Likewise.
1644 (llrint_tonearest_test_data): Likewise.
1645 (llrint_towardzero_test_data): Likewise.
1646 (llrint_downward_test_data): Likewise.
1647 (llrint_upward_test_data): Likewise.
1648 (log_test_data): Likewise.
1649 (log10_test_data): Likewise.
1650 (log1p_test_data): Likewise.
1651 (log2_test_data): Likewise.
1652 (logb_test_data): Likewise.
1653 (logb_downward_test_data): Likewise.
1654 (lround_test_data): Likewise.
1655 (llround_test_data): Likewise.
1656 (modf_test_data): Likewise.
1657 (nearbyint_test_data): Likewise.
1658 (nextafter_test_data): Likewise.
1659 (nexttoward_test_data): Likewise.
1660 (pow_test_data): Likewise.
1661 (pow_tonearest_test_data): Likewise.
1662 (pow_towardzero_test_data): Likewise.
1663 (pow_downward_test_data): Likewise.
1664 (pow_upward_test_data): Likewise.
1665 (remainder_test_data): Likewise.
1666 (remainder_tonearest_test_data): Likewise.
1667 (remainder_towardzero_test_data): Likewise.
1668 (remainder_downward_test_data): Likewise.
1669 (remainder_upward_test_data): Likewise.
1670 (remquo_test_data): Likewise.
1671 (rint_test_data): Likewise.
1672 (rint_tonearest_test_data): Likewise.
1673 (rint_towardzero_test_data): Likewise.
1674 (rint_downward_test_data): Likewise.
1675 (rint_upward_test_data): Likewise.
1676 (round_test_data): Likewise.
1677 (scalb_test_data): Likewise.
1678 (scalbn_test_data): Likewise.
1679 (scalbln_test_data): Likewise.
1680 (signbit_test_data): Likewise.
1681 (sin_test_data): Likewise.
1682 (sin_tonearest_test_data): Likewise.
1683 (sin_towardzero_test_data): Likewise.
1684 (sin_downward_test_data): Likewise.
1685 (sin_upward_test_data): Likewise.
1686 (sincos_test_data): Likewise.
1687 (sinh_test_data): Likewise.
1688 (sinh_tonearest_test_data): Likewise.
1689 (sinh_towardzero_test_data): Likewise.
1690 (sinh_downward_test_data): Likewise.
1691 (sinh_upward_test_data): Likewise.
1692 (sqrt_test_data): Likewise.
1693 (tan_test_data): Likewise.
1694 (tan_tonearest_test_data): Likewise.
1695 (tan_towardzero_test_data): Likewise.
1696 (tan_downward_test_data): Likewise.
1697 (tan_upward_test_data): Likewise.
1698 (tanh_test_data): Likewise.
1699 (tgamma_test_data): Likewise.
1700 (trunc_test_data): Likewise.
1701 (y0_test_data): Likewise.
1702 (y1_test_data): Likewise.
1703 (yn_test_data): Likewise.
1704 (significand_test_data): Likewise.
1705
b679a606
JM
1706 * math/gen-libm-test.pl (@functions): Remove variable.
1707 (generate_testfile): Don't handle START and END lines.
1708 * math/libm-test.inc (START): New macro.
1709 (END): Likewise.
1710 (END_COMPLEX): Likewise.
1711 (acos_test): Use END macro without arguments.
1712 (acos_test_tonearest): Likewise.
1713 (acos_test_towardzero): Likewise.
1714 (acos_test_downward): Likewise.
1715 (acos_test_upward): Likewise.
1716 (acosh_test): Likewise.
1717 (asin_test): Likewise.
1718 (asin_test_tonearest): Likewise.
1719 (asin_test_towardzero): Likewise.
1720 (asin_test_downward): Likewise.
1721 (asin_test_upward): Likewise.
1722 (asinh_test): Likewise.
1723 (atan_test): Likewise.
1724 (atanh_test): Likewise.
1725 (atan2_test): Likewise.
1726 (cabs_test): Likewise.
1727 (cacos_test): Use END_COMPLEX macro without arguments.
1728 (cacosh_test): Likewise.
1729 (carg_test): Use END macro without arguments.
1730 (casin_test): Use END_COMPLEX macro without arguments.
1731 (casinh_test): Likewise.
1732 (catan_test): Likewise.
1733 (catanh_test): Likewise.
1734 (cbrt_test): Use END macro without arguments.
1735 (ccos_test): Use END_COMPLEX macro without arguments.
1736 (ccosh_test): Likewise.
1737 (ceil_test): Use END macro without arguments.
1738 (cexp_test): Use END_COMPLEX macro without arguments.
1739 (cimag_test): Use END macro without arguments.
1740 (clog_test): Use END_COMPLEX macro without arguments.
1741 (clog10_test): Likewise.
1742 (conj_test): Likewise.
1743 (copysign_test): Use END macro without arguments.
1744 (cos_test): Likewise.
1745 (cos_test_tonearest): Likewise.
1746 (cos_test_towardzero): Likewise.
1747 (cos_test_downward): Likewise.
1748 (cos_test_upward): Likewise.
1749 (cosh_test): Likewise.
1750 (cosh_test_tonearest): Likewise.
1751 (cosh_test_towardzero): Likewise.
1752 (cosh_test_downward): Likewise.
1753 (cosh_test_upward): Likewise.
1754 (cpow_test): Use END_COMPLEX macro without arguments.
1755 (cproj_test): Likewise.
1756 (creal_test): Use END macro without arguments.
1757 (csin_test): Use END_COMPLEX macro without arguments.
1758 (csinh_test): Likewise.
1759 (csqrt_test): Likewise.
1760 (ctan_test): Likewise.
1761 (ctan_test_tonearest): Likewise.
1762 (ctan_test_towardzero): Likewise.
1763 (ctan_test_downward): Likewise.
1764 (ctan_test_upward): Likewise.
1765 (ctanh_test): Likewise.
1766 (ctanh_test_tonearest): Likewise.
1767 (ctanh_test_towardzero): Likewise.
1768 (ctanh_test_downward): Likewise.
1769 (ctanh_test_upward): Likewise.
1770 (erf_test): Use END macro without arguments.
1771 (erfc_test): Likewise.
1772 (exp_test): Likewise.
1773 (exp_test_tonearest): Likewise.
1774 (exp_test_towardzero): Likewise.
1775 (exp_test_downward): Likewise.
1776 (exp_test_upward): Likewise.
1777 (exp10_test): Likewise.
1778 (exp2_test): Likewise.
1779 (expm1_test): Likewise.
1780 (fabs_test): Likewise.
1781 (fdim_test): Likewise.
1782 (finite_test): Likewise.
1783 (floor_test): Likewise.
1784 (fma_test): Likewise.
1785 (fma_test_towardzero): Likewise.
1786 (fma_test_downward): Likewise.
1787 (fma_test_upward): Likewise.
1788 (fmax_test): Likewise.
1789 (fmin_test): Likewise.
1790 (fmod_test): Likewise.
1791 (fpclassify_test): Likewise.
1792 (frexp_test): Likewise.
1793 (gamma_test): Likewise.
1794 (hypot_test): Likewise.
1795 (ilogb_test): Likewise.
1796 (isfinite_test): Likewise.
1797 (isgreater_test): Likewise.
1798 (isgreaterequal_test): Likewise.
1799 (isinf_test): Likewise.
1800 (isless_test): Likewise.
1801 (islessequal_test): Likewise.
1802 (islessgreater_test): Likewise.
1803 (isnan_test): Likewise.
1804 (isnormal_test): Likewise.
1805 (issignaling_test): Likewise.
1806 (isunordered_test): Likewise.
1807 (j0_test): Likewise.
1808 (j1_test): Likewise.
1809 (jn_test): Likewise.
1810 (ldexp_test): Likewise.
1811 (lgamma_test): Likewise.
1812 (lrint_test): Likewise.
1813 (lrint_test_tonearest): Likewise.
1814 (lrint_test_towardzero): Likewise.
1815 (lrint_test_downward): Likewise.
1816 (lrint_test_upward): Likewise.
1817 (llrint_test): Likewise.
1818 (llrint_test_tonearest): Likewise.
1819 (llrint_test_towardzero): Likewise.
1820 (llrint_test_downward): Likewise.
1821 (llrint_test_upward): Likewise.
1822 (log_test): Likewise.
1823 (log10_test): Likewise.
1824 (log1p_test): Likewise.
1825 (log2_test): Likewise.
1826 (logb_test): Likewise.
1827 (logb_test_downward): Likewise.
1828 (lround_test): Likewise.
1829 (llround_test): Likewise.
1830 (modf_test): Likewise.
1831 (nearbyint_test): Likewise.
1832 (nextafter_test): Likewise.
1833 (nexttoward_test): Likewise.
1834 (pow_test): Likewise.
1835 (pow_test_tonearest): Likewise.
1836 (pow_test_towardzero): Likewise.
1837 (pow_test_downward): Likewise.
1838 (pow_test_upward): Likewise.
1839 (remainder_test): Likewise.
1840 (remainder_test_tonearest): Likewise.
1841 (remainder_test_towardzero): Likewise.
1842 (remainder_test_downward): Likewise.
1843 (remainder_test_upward): Likewise.
1844 (remquo_test): Likewise.
1845 (rint_test): Likewise.
1846 (rint_test_tonearest): Likewise.
1847 (rint_test_towardzero): Likewise.
1848 (rint_test_downward): Likewise.
1849 (rint_test_upward): Likewise.
1850 (round_test): Likewise.
1851 (scalb_test): Likewise.
1852 (scalbn_test): Likewise.
1853 (scalbln_test): Likewise.
1854 (signbit_test): Likewise.
1855 (sin_test): Likewise.
1856 (sin_test_tonearest): Likewise.
1857 (sin_test_towardzero): Likewise.
1858 (sin_test_downward): Likewise.
1859 (sin_test_upward): Likewise.
1860 (sincos_test): Likewise.
1861 (sinh_test): Likewise.
1862 (sinh_test_tonearest): Likewise.
1863 (sinh_test_towardzero): Likewise.
1864 (sinh_test_downward): Likewise.
1865 (sinh_test_upward): Likewise.
1866 (sqrt_test): Likewise.
1867 (tan_test): Likewise.
1868 (tan_test_tonearest): Likewise.
1869 (tan_test_towardzero): Likewise.
1870 (tan_test_downward): Likewise.
1871 (tan_test_upward): Likewise.
1872 (tanh_test): Likewise.
1873 (tgamma_test): Likewise.
1874 (trunc_test): Likewise.
1875 (y0_test): Likewise.
1876 (y1_test): Likewise.
1877 (yn_test): Likewise.
1878 (significand_test): Likewise.
1879
bae143d2
OB
18802013-05-24 Ondřej Bílka <neleai@seznam.cz>
1881
1882 [BZ #15381]
1883 * libio/genops.c (_IO_no_init): Initialize wide struct info.
1884
9323d39b
EM
18852013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
1886
d4ea44a0 1887 [BZ #14894]
9323d39b
EM
1888 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1889 __ppc_mdoio and __ppc_mdoom.
1890 * manual/platform.texi: Document new functions __ppc_yield,
1891 __ppc_mdoio and __ppc_mdoom.
1892
13e23af7
CD
18932013-05-22 Carlos O'Donell <carlos@redhat.com>
1894
1895 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1896 (main): Mention "tls" pseudo-hwcap is legacy.
1897 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1898
351fe550
JM
18992013-05-22 Joseph Myers <joseph@codesourcery.com>
1900
1901 * math/gen-libm-test.pl (parse_args): Output only string of
1902 arguments as text for test name, not full call or descriptions of
1903 tests for extra outputs.
1904 (generate_testfile): Do not pass function name to parse_args.
1905 Generate this_func variable from START.
1906 * math/libm-test.inc (struct test_f_f_data): Rename test_name
1907 field to arg_str.
1908 (struct test_ff_f_data): Likewise.
1909 (test_ff_f_data_nexttoward): Likewise.
1910 (struct test_fi_f_data): Likewise.
1911 (struct test_fl_f_data): Likewise.
1912 (struct test_if_f_data): Likewise.
1913 (struct test_fff_f_data): Likewise.
1914 (struct test_c_f_data): Likewise.
1915 (struct test_f_f1_data): Likewise. Remove field extra_name.
1916 (struct test_fF_f1_data): Likewise.
1917 (struct test_ffI_f1_data): Likewise.
1918 (struct test_c_c_data): Rename test_name field to arg_str.
1919 (struct test_cc_c_data): Likewise.
1920 (struct test_f_i_data): Likewise.
1921 (struct test_ff_i_data): Likewise.
1922 (struct test_f_l_data): Likewise.
1923 (struct test_f_L_data): Likewise.
1924 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
1925 and extra2_name.
1926 (COMMON_TEST_SETUP): New macro.
1927 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1928 (COMMON_TEST_CLEANUP): Likewise.
1929 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1930 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
1931 macros.
1932 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1933 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
1934 macros.
1935 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1936 (RUN_TEST_fff_f): Take argument string. Call new setup and
1937 cleanup macros.
1938 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1939 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
1940 macros.
1941 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1942 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
1943 macros.
1944 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1945 (RUN_TEST_fF_f1): Take argument string. Call new setup and
1946 cleanup macros.
1947 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1948 (RUN_TEST_fI_f1): Take argument string. Call new setup and
1949 cleanup macros.
1950 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1951 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
1952 cleanup macros.
1953 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1954 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
1955 macros.
1956 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
1957 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
1958 macros.
1959 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
1960 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
1961 macros.
1962 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
1963 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
1964 cleanup macros.
1965 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
1966 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
1967 cleanup macros.
1968 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
1969 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
1970 macros.
1971 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
1972 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
1973 cleanup macros.
1974 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
1975 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
1976 macros.
1977 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
1978 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
1979 macros.
1980 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
1981 (RUN_TEST_fFF_11): Take argument string. Call new setup and
1982 cleanup macros.
1983 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
1984
85118d4d
EBM
19852013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1986
1987 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
1988 to _sifields.sigfault.
1989 (si_addr_lsb): Define new macro.
1990 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1991 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1992 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
1993
7a44c18f
CD
19942013-05-03 Carlos O'Donell <carlos at redhat.com>
1995
1996 [BZ #15441]
1997 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
1998 returns -1.
1999 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2000 null return -1.
2001 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2002 loading the domain.
2003
b50a7181
JM
20042013-05-22 Joseph Myers <joseph@codesourcery.com>
2005
2006 * math/gen-libm-test.pl (parse_args): Do not include expected
2007 result in test name.
2008 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2009 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2010 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2011 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2012 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2014
051063c8
SP
20152013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2016
3ce9e010
SP
2017 * benchtests/Makefile: Sort function entries.
2018
051063c8
SP
2019 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2020 tanh, asinh, acosh, atanh.
2021 * benchtests/acos-inputs: New file.
2022 * benchtests/acosh-inputs: New file.
2023 * benchtests/asin-inputs: New file.
2024 * benchtests/asinh-inputs: New file.
2025 * benchtests/atanh-inputs: New file.
2026 * benchtests/cosh-inputs: New file.
2027 * benchtests/log-inputs: New file.
2028 * benchtests/sinh-inputs: New file.
2029 * benchtests/tanh-inputs: New file.
2030
47c22455
DL
20312013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2032
2033 [BZ #15339]
2034 * posix/tst-getaddrinfo4.c: New test.
2035 * posix/Makefile (tests): Add it.
2036
3d04f5db
SP
20372013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2038
2039 [BZ #15339]
2040 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2041 when no services were used.
2042 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2043 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2044
d5dd6189
AS
20452013-05-21 Andreas Schwab <schwab@suse.de>
2046
2047 [BZ #15014]
2048 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2049 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2050 successful.
2051 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2052 redundant variable declarations and reallocation of buffer when
2053 parsing as IPv6 address. Always set NSS status when called from
2054 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2055 buffer too small. Correct computation of needed size.
2056 * nss/Makefile (tests): Add test-digits-dots.
2057 * nss/test-digits-dots.c: New test.
2058
fef94eab
SP
20592013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2060
2061 * benchtests/Makefile: Remove instructions for adding
2062 benchmark tests.
2063 * benchtests/README: New file to explain how to execute and
2064 enhance the benchmark tests.
2065
e39adf43
AS
20662013-05-21 Andreas Schwab <schwab@suse.de>
2067
2068 [BZ #15493]
2069 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2070 * setjmp/tst-sigsetjmp.c: New test.
2071
b2b671b6
OB
20722013-05-20 Ondřej Bílka <neleai@seznam.cz>
2073
2074 * sysdeps/x86_64/memset.S (memset): New implementation.
2075 (__bzero): Likewise.
2076 (__memset_tail): New function.
2077
2d48b41c
OB
20782013-05-20 Ondřej Bílka <neleai@seznam.cz>
2079
2080 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2081 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2082 __memcpy_sse2_unaligned ifunc selection.
2083 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2084 Add memcpy-sse2-unaligned.S.
2085 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2086 Add: __memcpy_sse2_unaligned.
2087
f16cc3eb
JM
20882013-05-19 Joseph Myers <joseph@codesourcery.com>
2089
3e694268
JM
2090 [BZ #15490]
2091 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2092 math_force_eval before restoring floating-point envrionment.
2093 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2094 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2095 Likewise.
2096 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2097 <math_private.h>.
2098 (__nearbyintl): Use math_force_eval before restoring
2099 floating-point environment.
2100 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2101
db62a907
JM
2102 * math/gen-libm-test.pl (special_functions): Remove.
2103 (parse_args): Don't handle TEST_extra. Handle functions with no
2104 return value.
2105 * math/libm-test.inc (struct test_sincos_data): Replace with
2106 struct test_fFF_11_data.
2107 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2108 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2109 (sincos_test_data): Change element type to struct
2110 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2111 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2112 RUN_TEST_LOOP_sincos.
2113 * math/README.libm-test: Don't mention special handling of
2114 individual functions.
2115 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2116 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2117 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2118 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2119 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2121
f16cc3eb
JM
2122 * math/gen-libm-test.pl (get_variable): Remove function.
2123 (parse_args): Don't show pointer parameters to call in test
2124 names. Use "extra output N" in test names for extra outputs
2125 rather than naming variables.
2126
3779b5b6
JM
21272013-05-18 Joseph Myers <joseph@codesourcery.com>
2128
2ee094ff
JM
2129 [BZ #15488]
2130 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2131 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2132 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2133 double tests.
2134 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2135 disable.
2136 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2137 check_long_double.
2138
3779b5b6
JM
2139 * math/gen-libm-test.pl (@tests): Remove variable.
2140 ($count): Likewise.
2141 (new_test): Remove function.
2142 (show_exceptions): New function.
2143 (special_functions): Use show_exceptions instead of new_test.
2144 (parse_args): Likewise.
2145 (generate_testfile): Pass only function name in generated call to
2146 print_max_error or print_complex_max_error.
2147 (get_ulps): Do not handle complex tests specially.
2148 (output_test): Rename to ...
2149 (get_all_ulps_for_test): ... this. Return a string rather than
2150 printing to a file. Require ulps to be present.
2151 (output_ulps): Generate arrays rather than #defines.
2152 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2153 (struct ulp_data): New type.
2154 (BUILD_COMPLEX_ULP): Remove macro.
2155 (compare_ulp_data): New function.
2156 (find_ulps): Likewise.
2157 (find_test_ulps): Likewise.
2158 (find_function_ulps): Likewise.
2159 (find_complex_function_ulps): Likewise.
2160 (print_max_error): Determine allowed ulps using
2161 find_function_ulps.
2162 (print_complex_max_error): Determine allowed ulps using
2163 find_complex_function_ulps.
2164 (check_float_internal): Determine max ulps using find_test_ulps.
2165 (check_float): Do not take max_ulp parameter. Update call to
2166 check_float_internal.
2167 (check_complex): Likewise.
2168 (check_int): Do not take max_ulp parameter.
2169 (check_long): Likewise.
2170 (check_bool): Likewise.
2171 (check_longlong): Likewise.
2172 (struct test_f_f_data): Remove max_ulp field.
2173 (struct test_ff_f_data): Likewise.
2174 (struct test_ff_f_data_nexttoward): Likewise.
2175 (struct test_fi_f_data): Likewise.
2176 (struct test_fl_f_data): Likewise.
2177 (struct test_if_f_data): Likewise.
2178 (struct test_fff_f_data): Likewise.
2179 (struct test_c_f_data): Likewise.
2180 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2181 (struct test_fF_f1_data): Likewise.
2182 (struct test_ffI_f1_data): Likewise.
2183 (struct test_c_c_data): Remove max_ulp field.
2184 (struct test_cc_c_data): Likewise.
2185 (struct test_f_i_data): Likewise.
2186 (struct test_ff_i_data): Likewise.
2187 (struct test_f_l_data): Likewise.
2188 (struct test_f_L_data): Likewise.
2189 (struct test_sincos_data): Likewise.
2190 (RUN_TEST_f_f): Do not handle ulps.
2191 (RUN_TEST_LOOP_f_f): Likewise.
2192 (RUN_TEST_2_f): Likewise.
2193 (RUN_TEST_LOOP_2_f): Likewise.
2194 (RUN_TEST_fff_f): Likewise.
2195 (RUN_TEST_LOOP_fff_f): Likewise.
2196 (RUN_TEST_c_f): Likewise.
2197 (RUN_TEST_LOOP_c_f): Likewise.
2198 (RUN_TEST_f_f1): Likewise.
2199 (RUN_TEST_LOOP_f_f1): Likewise.
2200 (RUN_TEST_fF_f1): Likewise.
2201 (RUN_TEST_LOOP_fF_f1): Likewise.
2202 (RUN_TEST_fI_f1): Likewise.
2203 (RUN_TEST_LOOP_fI_f1): Likewise.
2204 (RUN_TEST_ffI_f1): Likewise.
2205 (RUN_TEST_LOOP_ffI_f1): Likewise.
2206 (RUN_TEST_c_c): Likewise.
2207 (RUN_TEST_LOOP_c_c): Likewise.
2208 (RUN_TEST_cc_c): Likewise.
2209 (RUN_TEST_LOOP_cc_c): Likewise.
2210 (RUN_TEST_f_i): Likewise.
2211 (RUN_TEST_LOOP_f_i): Likewise.
2212 (RUN_TEST_f_i_tg): Likewise.
2213 (RUN_TEST_LOOP_f_i_tg): Likewise.
2214 (RUN_TEST_ff_i_tg): Likewise.
2215 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2216 (RUN_TEST_f_b): Likewise.
2217 (RUN_TEST_LOOP_f_b): Likewise.
2218 (RUN_TEST_f_b_tg): Likewise.
2219 (RUN_TEST_LOOP_f_b_tg): Likewise.
2220 (RUN_TEST_f_l): Likewise.
2221 (RUN_TEST_LOOP_f_l): Likewise.
2222 (RUN_TEST_f_L): Likewise.
2223 (RUN_TEST_LOOP_f_L): Likewise.
2224 (RUN_TEST_sincos): Likewise.
2225 (RUN_TEST_LOOP_sincos): Likewise.
2226
8269107f
JM
22272013-05-17 Joseph Myers <joseph@codesourcery.com>
2228
bb38759d
JM
2229 [BZ #15480]
2230 [BZ #15485]
2231 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2232 main case of finite arguments, set rounding mode to FE_TONEAREST
2233 and discard exceptions.
2234 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2235 exceptions.
2236 (remainder_tonearest_test_data): New variable.
2237 (remainder_test_tonearest): New function.
2238 (remainder_towardzero_test_data): New variable.
2239 (remainder_test_towardzero): New function.
2240 (remainder_downward_test_data): New variable.
2241 (remainder_test_downward): New function.
2242 (remainder_upward_test_data): New variable.
2243 (remainder_test_upward): New function.
2244 (main): Call the new test functions.
2245
a00bdcf0
JM
2246 * math/libm-test.inc (struct test_f_f1_data): Remove field
2247 extra_init.
2248 (struct test_fF_f1_data): Likewise.
2249 (struct test_ffI_f1_data): Likewise.
2250 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2251 based on value of EXTRA_EXPECTED.
2252 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2253 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2254 EXTRA_VAR based on value of EXTRA_EXPECTED.
2255 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2256 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2257 EXTRA_VAR based on value of EXTRA_EXPECTED.
2258 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2259 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2260 EXTRA_VAR based on value of EXTRA_EXPECTED.
2261 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2262 * math/gen-libm-test.pl (parse_args): Don't output initializers
2263 for extra output values.
2264
de407f79
JM
2265 * math/libm-test.inc (check_int): Expect result to be exactly
2266 equal to expected value and do not handle ulps.
2267 (check_long): Likewise.
2268 (check_longlong): Likewise.
2269
8269107f
JM
2270 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2271 exceptions.
2272 (cimag_test_data): Likewise.
2273 (conj_test_data): Likewise.
2274 (copysign_test_data): Likewise.
2275 (cproj_test_data): Likewise.
2276 (creal_test_data): Likewise.
2277 (fabs_test_data): Likewise.
2278 (fdim_test_data): Likewise.
2279 (finite_test_data): Likewise.
2280 (floor_test_data): Likewise.
2281 (fmax_test_data): Likewise.
2282 (fmin_test_data): Likewise.
2283 (fmod_test_data): Likewise.
2284 (fpclassify_test_data): Likewise.
2285 (frexp_test_data): Likewise.
2286 (ilogb_test_data): Likewise.
2287 (isfinite_test_data): Likewise.
2288 (isgreater_test_data): Likewise.
2289 (isgreaterequal_test_data): Likewise.
2290 (isinf_test_data): Likewise.
2291 (isless_test_data): Likewise.
2292 (islessequal_test_data): Likewise.
2293 (islessgreater_test_data): Likewise.
2294 (isnan_test_data): Likewise.
2295 (isnormal_test_data): Likewise.
2296 (issignaling_test_data): Likewise.
2297 (isunordered_test_data): Likewise.
2298 (ldexp_test_data): Likewise.
2299 (lrint_test_data): Likewise.
2300 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2301 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2302 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2303 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2304 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2305 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2306 test input.
2307 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2308 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2309 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2310 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2311 that test input.
2312 (lrint_downward_test_data): Test for "inexact" exceptions.
2313 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2314 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2315 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2316 test input.
2317 (lrint_upward_test_data): Test for "inexact" exceptions.
2318 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2319 test input.
2320 (llrint_test_data): Test for "inexact" exceptions.
2321 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2322 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2323 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2324 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2325 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2326 (llrint_downward_test_data): Test for "inexact" exceptions.
2327 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2328 (llrint_upward_test_data): Test for "inexact" exceptions.
2329 (logb_test_data): Likewise.
2330 (logb_downward_test_data): Likewise.
2331 (nextafter_test_data): Likewise.
2332 (nexttoward_test_data): Likewise.
2333 (remainder_test_data): Likewise.
2334 (remquo_test_data): Likewise.
2335 (scalbn_test_data): Likewise.
2336 (scalbln_test_data): Likewise.
2337 (signbit_test_data): Likewise.
2338 (sqrt_test_data): Likewise.
2339 (significand_test_data): Likewise.
2340
48a18de1
SP
23412013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2342
2343 [BZ #15424]
2344 * benchtests/bench-modf.c (struct args): Mark arg0 as
2345 volatile.
2346 * scripts/bench.pl: Mark members of struct args as volatile.
2347
13d3b41a
AZ
23482013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2349
68191c1d 2350 [BZ # 15497]
13d3b41a
AZ
2351 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2352 negative infinity on POWER6 or lower.
2353 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2354
2848b105
MR
23552013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2356
2357 [BZ #15442]
2358 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2359 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2360 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2361 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2362 (_FP_SETQNAN): New macro.
2363 (_FP_SETQNAN_SEMIRAW): Likewise.
2364 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2365 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2366 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2367 (FP_EXTEND): Use _FP_FRAC_SNANP.
2368 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2369 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2370 into account.
2371 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2372 New macro.
2373 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2374 Likewise.
2375
323e5cb7
JM
23762013-05-16 Joseph Myers <joseph@codesourcery.com>
2377
c58b274f
JM
2378 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2379 with DIVIDE_BY_ZERO_EXCEPTION.
2380 (gamma_test_data): Likewise.
2381 (lgamma_test_data): Likewise.
2382 (log_test_data): Likewise.
2383 (log10_test_data): Likewise.
2384 (log2_test_data): Likewise.
2385 (tgamma_test_data): Likewise.
2386
0ab34904
JM
2387 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2388 (acos_test_tonearest): Likewise.
2389 (acos_test_towardzero): Likewise.
2390 (acos_test_downward): Likewise.
2391 (acos_test_upward): Likewise.
2392 (acosh_test): Likewise.
2393 (asin_test): Likewise.
2394 (asin_test_tonearest): Likewise.
2395 (asin_test_towardzero): Likewise.
2396 (asin_test_downward): Likewise.
2397 (asin_test_upward): Likewise.
2398 (asinh_test): Likewise.
2399 (atan_test): Likewise.
2400 (atanh_test): Likewise.
2401 (atan2_test): Likewise.
2402 (cabs_test): Likewise.
2403 (cacos_test): Likewise.
2404 (cacosh_test): Likewise.
2405 (casin_test): Likewise.
2406 (casinh_test): Likewise.
2407 (catan_test): Likewise.
2408 (catanh_test): Likewise.
2409 (cbrt_test): Likewise.
2410 (ccos_test): Likewise.
2411 (ccosh_test): Likewise.
2412 (cexp_test): Likewise.
2413 (clog_test): Likewise.
2414 (clog10_test): Likewise.
2415 (cos_test): Likewise.
2416 (cos_test_tonearest): Likewise.
2417 (cos_test_towardzero): Likewise.
2418 (cos_test_downward): Likewise.
2419 (cos_test_upward): Likewise.
2420 (cosh_test): Likewise.
2421 (cosh_test_tonearest): Likewise.
2422 (cosh_test_towardzero): Likewise.
2423 (cosh_test_downward): Likewise.
2424 (cosh_test_upward): Likewise.
2425 (cpow_test): Likewise.
2426 (csin_test): Likewise.
2427 (csinh_test): Likewise.
2428 (csqrt_test): Likewise.
2429 (ctan_test): Likewise.
2430 (ctan_test_tonearest): Likewise.
2431 (ctan_test_towardzero): Likewise.
2432 (ctan_test_downward): Likewise.
2433 (ctan_test_upward): Likewise.
2434 (ctanh_test): Likewise.
2435 (ctanh_test_tonearest): Likewise.
2436 (ctanh_test_towardzero): Likewise.
2437 (ctanh_test_downward): Likewise.
2438 (ctanh_test_upward): Likewise.
2439 (erf_test): Likewise.
2440 (erfc_test): Likewise.
2441 (exp_test): Likewise.
2442 (exp_test_tonearest): Likewise.
2443 (exp_test_towardzero): Likewise.
2444 (exp_test_downward): Likewise.
2445 (exp_test_upward): Likewise.
2446 (exp10_test): Likewise.
2447 (exp2_test): Likewise.
2448 (expm1_test): Likewise.
2449 (fmod_test): Likewise.
2450 (gamma_test): Likewise.
2451 (hypot_test): Likewise.
2452 (j0_test): Likewise.
2453 (j1_test): Likewise.
2454 (jn_test): Likewise.
2455 (lgamma_test): Likewise.
2456 (log_test): Likewise.
2457 (log10_test): Likewise.
2458 (log1p_test): Likewise.
2459 (log2_test): Likewise.
2460 (logb_test_downward): Likewise.
2461 (pow_test): Likewise.
2462 (pow_test_tonearest): Likewise.
2463 (pow_test_towardzero): Likewise.
2464 (pow_test_downward): Likewise.
2465 (pow_test_upward): Likewise.
2466 (remainder_test): Likewise.
2467 (remquo_test): Likewise.
2468 (sin_test): Likewise.
2469 (sin_test_tonearest): Likewise.
2470 (sin_test_towardzero): Likewise.
2471 (sin_test_downward): Likewise.
2472 (sin_test_upward): Likewise.
2473 (sincos_test): Likewise.
2474 (sinh_test): Likewise.
2475 (sinh_test_tonearest): Likewise.
2476 (sinh_test_towardzero): Likewise.
2477 (sinh_test_downward): Likewise.
2478 (sinh_test_upward): Likewise.
2479 (sqrt_test): Likewise.
2480 (tan_test): Likewise.
2481 (tan_test_tonearest): Likewise.
2482 (tan_test_towardzero): Likewise.
2483 (tan_test_downward): Likewise.
2484 (tan_test_upward): Likewise.
2485 (tanh_test): Likewise.
2486 (tgamma_test): Likewise.
2487 (y0_test): Likewise.
2488 (y1_test): Likewise.
2489 (yn_test): Likewise.
2490
323e5cb7
JM
2491 * math/gen-libm-test.pl (adjust_arg): Remove function.
2492 (special_function): Remove argument $in_func. Only handle
2493 generating output for tables of tests, not inside functions.
2494 (parse_args): Likewise.
2495 (generate_testfile): Remove variable $in_func. Update call to
2496 parse_args.
2497 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2498 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2499 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2500 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2501 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2502 (MAX_VALUE_INIT): Rename macro to max_value.
2503 (MIN_VALUE_INIT): Rename macro to min_value.
2504 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2505 (plus_zero): Remove variable.
2506 (minus_zero): Likewise.
2507 (plus_infty): Likewise.
2508 (minus_infty): Likewise.
2509 (qnan_value): Likewise.
2510 (max_value): Likewise.
2511 (min_value): Likewise.
2512 (min_subnorm_value): Likewise.
2513
e054f494
RA
25142013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2515
2516 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2517 uint64_t or uint32_t usage.
2518 * crypt/sha256-block.c: Likewise.
2519 * crypt/sha256-crypt.c: Likewise.
2520 * crypt/sha256.c: Likewise.
2521 * crypt/sha512-block.c: Likewise.
2522 * crypt/sha512-crypt.c: Likewise.
2523 * crypt/sha512.c: Likewise.
2524 * debug/backtrace-tst.c: Likewise.
2525 * debug/pcprofiledump.c: Likewise.
2526 * elf/cache.c: Likewise.
2527 * elf/dl-cache.c: Likewise.
2528 * elf/dl-misc.c: Likewise.
2529 * elf/dl-profile.c: Likewise.
2530 * elf/dl-support.c: Likewise.
2531 * elf/ldconfig.c: Likewise.
2532 * elf/sprof.c: Likewise.
2533 * iconv/dummy-repertoire.c: Likewise.
2534 * iconv/iconv_charmap.c: Likewise.
2535 * iconv/skeleton.c: Likewise.
2536 * iconvdata/8bit-generic.c: Likewise.
2537 * iconvdata/cp737.h: Likewise.
2538 * iconvdata/cp775.h: Likewise.
2539 * iconvdata/ibm1008.h: Likewise.
2540 * iconvdata/ibm1025.h: Likewise.
2541 * iconvdata/ibm1046.h: Likewise.
2542 * iconvdata/ibm1097.h: Likewise.
2543 * iconvdata/ibm1112.h: Likewise.
2544 * iconvdata/ibm1122.h: Likewise.
2545 * iconvdata/ibm1123.h: Likewise.
2546 * iconvdata/ibm1124.h: Likewise.
2547 * iconvdata/ibm1129.h: Likewise.
2548 * iconvdata/ibm1130.h: Likewise.
2549 * iconvdata/ibm1132.h: Likewise.
2550 * iconvdata/ibm1133.h: Likewise.
2551 * iconvdata/ibm1137.h: Likewise.
2552 * iconvdata/ibm1140.h: Likewise.
2553 * iconvdata/ibm1141.h: Likewise.
2554 * iconvdata/ibm1142.h: Likewise.
2555 * iconvdata/ibm1143.h: Likewise.
2556 * iconvdata/ibm1144.h: Likewise.
2557 * iconvdata/ibm1145.h: Likewise.
2558 * iconvdata/ibm1146.h: Likewise.
2559 * iconvdata/ibm1147.h: Likewise.
2560 * iconvdata/ibm1148.h: Likewise.
2561 * iconvdata/ibm1149.h: Likewise.
2562 * iconvdata/ibm1153.h: Likewise.
2563 * iconvdata/ibm1154.h: Likewise.
2564 * iconvdata/ibm1155.h: Likewise.
2565 * iconvdata/ibm1156.h: Likewise.
2566 * iconvdata/ibm1157.h: Likewise.
2567 * iconvdata/ibm1158.h: Likewise.
2568 * iconvdata/ibm1160.h: Likewise.
2569 * iconvdata/ibm1161.h: Likewise.
2570 * iconvdata/ibm1162.h: Likewise.
2571 * iconvdata/ibm1163.h: Likewise.
2572 * iconvdata/ibm1164.h: Likewise.
2573 * iconvdata/ibm1166.h: Likewise.
2574 * iconvdata/ibm1167.h: Likewise.
2575 * iconvdata/ibm12712.h: Likewise.
2576 * iconvdata/ibm1390.h: Likewise.
2577 * iconvdata/ibm1399.h: Likewise.
2578 * iconvdata/ibm16804.h: Likewise.
2579 * iconvdata/ibm4517.h: Likewise.
2580 * iconvdata/ibm4899.h: Likewise.
2581 * iconvdata/ibm4909.h: Likewise.
2582 * iconvdata/ibm4971.h: Likewise.
2583 * iconvdata/ibm5347.h: Likewise.
2584 * iconvdata/ibm803.h: Likewise.
2585 * iconvdata/ibm856.h: Likewise.
2586 * iconvdata/ibm901.h: Likewise.
2587 * iconvdata/ibm902.h: Likewise.
2588 * iconvdata/ibm9030.h: Likewise.
2589 * iconvdata/ibm9066.h: Likewise.
2590 * iconvdata/ibm921.h: Likewise.
2591 * iconvdata/ibm922.h: Likewise.
2592 * iconvdata/ibm9448.h: Likewise.
2593 * iconvdata/isiri-3342.h: Likewise.
2594 * iconvdata/jis0201.h: Likewise.
2595 * include/link.h: Likewise.
2596 * include/netdb.h: Likewise.
2597 * inet/check_native.c: Likewise.
2598 * inet/check_pf.c: Likewise.
2599 * inet/getipv4sourcefilter.c: Likewise.
2600 * inet/getnameinfo.c: Likewise.
2601 * inet/getsourcefilter.c: Likewise.
2602 * inet/htonl.c: Likewise.
2603 * inet/setipv4sourcefilter.c: Likewise.
2604 * inet/setsourcefilter.c: Likewise.
2605 * inet/test-inet6_opt.c: Likewise.
2606 * inet/tst-network.c: Likewise.
2607 * locale/C-collate.c: Likewise.
2608 * locale/C-ctype.c: Likewise.
2609 * locale/C-time.c: Likewise.
2610 * locale/C-translit.h: Likewise.
2611 * locale/loadarchive.c: Likewise.
2612 * locale/programs/3level.h: Likewise.
2613 * locale/programs/charmap.c: Likewise.
2614 * locale/programs/charmap.h: Likewise.
2615 * locale/programs/ld-address.c: Likewise.
2616 * locale/programs/ld-collate.c: Likewise.
2617 * locale/programs/ld-ctype.c: Likewise.
2618 * locale/programs/ld-identification.c: Likewise.
2619 * locale/programs/ld-measurement.c: Likewise.
2620 * locale/programs/ld-messages.c: Likewise.
2621 * locale/programs/ld-monetary.c: Likewise.
2622 * locale/programs/ld-name.c: Likewise.
2623 * locale/programs/ld-numeric.c: Likewise.
2624 * locale/programs/ld-paper.c: Likewise.
2625 * locale/programs/ld-telephone.c: Likewise.
2626 * locale/programs/ld-time.c: Likewise.
2627 * locale/programs/linereader.c: Likewise.
2628 * locale/programs/locale.c: Likewise.
2629 * locale/programs/locarchive.c: Likewise.
2630 * locale/programs/locfile.h: Likewise.
2631 * locale/programs/repertoire.c: Likewise.
2632 * locale/programs/simple-hash.c: Likewise.
2633 * locale/programs/simple-hash.h: Likewise.
2634 * malloc/memusage.c: Likewise.
2635 * malloc/memusagestat.c: Likewise.
2636 * nis/nis_defaults.c: Likewise.
2637 * nis/nis_hash.c: Likewise.
2638 * nis/nis_print.c: Likewise.
2639 * nis/nis_xdr.c: Likewise.
2640 * nscd/connections.c: Likewise.
2641 * nscd/hstcache.c: Likewise.
2642 * nscd/nscd_gethst_r.c: Likewise.
2643 * nscd/nscd_getserv_r.c: Likewise.
2644 * nscd/nscd_helper.c: Likewise.
2645 * nscd/servicescache.c: Likewise.
2646 * nss/makedb.c: Likewise.
2647 * nss/nss_db/db-XXX.c: Likewise.
2648 * nss/nss_db/db-initgroups.c: Likewise.
2649 * nss/nss_db/db-netgrp.c: Likewise.
2650 * nss/nss_files/files-network.c: Likewise.
2651 * nss/nss_files/files-parse.c: Likewise.
2652 * posix/bug-regex5.c: Likewise.
2653 * posix/fnmatch_loop.c: Likewise.
2654 * posix/regcomp.c: Likewise.
2655 * posix/regexec.c: Likewise.
2656 * posix/tst-rfc3484-2.c: Likewise.
2657 * posix/tst-rfc3484-3.c: Likewise.
2658 * posix/tst-rfc3484.c: Likewise.
2659 * resolv/nss_dns/dns-canon.c: Likewise.
2660 * resolv/nss_dns/dns-network.c: Likewise.
2661 * resolv/res_init.c: Likewise.
2662 * resolv/res_mkquery.c: Likewise.
2663 * resolv/tst-aton.c: Likewise.
2664 * stdlib/cxa_atexit.c: Likewise.
2665 * stdlib/cxa_finalize.c: Likewise.
2666 * stdlib/gen-fpioconst.c: Likewise.
2667 * stdlib/strtol_l.c: Likewise.
2668 * string/tst-endian.c: Likewise.
2669 * sunrpc/auth_des.c: Likewise.
2670 * sunrpc/clnt_udp.c: Likewise.
2671 * sunrpc/rtime.c: Likewise.
2672 * sunrpc/svcauth_des.c: Likewise.
2673 * sunrpc/xdr.c: Likewise.
2674 * sunrpc/xdr_intXX_t.c: Likewise.
2675 * sunrpc/xdr_rec.c: Likewise.
2676 * sysdeps/generic/ldconfig.h: Likewise.
2677 * sysdeps/generic/ldsodefs.h: Likewise.
2678 * sysdeps/generic/memusage.h: Likewise.
2679 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2680 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2681 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2682 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2683 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2684 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2685 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2686 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2687 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2688 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2689 * sysdeps/posix/getaddrinfo.c: Likewise.
2690 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2691 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2692 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2693 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2694 * sysdeps/powerpc/test-gettimebase.c: Likewise.
2695 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2696 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2697 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2698 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2699 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2700 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2701 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2702 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2703 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2704 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2705 * sysdeps/x86_64/dl-tls.h: Likewise.
2706 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2707 * time/alt_digit.c: Likewise.
2708 * time/era.c: Likewise.
2709 * wcsmbs/tst-c16c32-1.c: Likewise.
2710
8c75f674
JM
27112013-05-16 Joseph Myers <joseph@codesourcery.com>
2712
2713 * math/libm-test.inc (struct test_sincos_data): New type.
2714 (RUN_TEST_LOOP_sincos): New macro.
2715 (sincos_test_data): New variable.
2716 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2717
e6e49e59
RH
27182013-05-16 Richard Henderson <rth@redhat.com>
2719
2720 * math/atest-exp2.c (LIMB64): New macro.
2721 (CONSTSZ): New macro.
2722 (mp_exp1, mp_exp_m1, mp_log2): New variables.
2723 (hexdig): Move ...
2724 (print_mpn_fp): ... to function scope.
2725 (read_mpn_hex): Remove.
2726 (get_log2): Remove.
2727 (exp2_mpn): Use mp_log2.
2728 (main): Use mp_exp1.
2729
15c7c18d
JM
27302013-05-16 Joseph Myers <joseph@codesourcery.com>
2731
105a07df
JM
2732 * math/libm-test.inc: Remove comment about not testing "inexact"
2733 exceptions.
2734 (INEXACT_EXCEPTION): New macro.
2735 (NO_INEXACT_EXCEPTION): Likewise.
2736 (INVALID_EXCEPTION_OK): Update value.
2737 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2738 (OVERFLOW_EXCEPTION_OK): Likewise.
2739 (UNDERFLOW_EXCEPTION_OK): Likewise.
2740 (IGNORE_ZERO_INF_SIGN): Likewise.
2741 (ERRNO_UNCHANGED): Likewise.
2742 (ERRNO_EDOM): Likewise.
2743 (ERRNO_ERANGE): Likewise.
2744 (test_exceptions): Handle testing "inexact" exceptions.
2745 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2746 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2747 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2748 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2749 INEXACT_EXCEPTION.
2750 (rint_towardzero_test_data): Likewise.
2751 (rint_downward_test_data): Likewise.
2752 (rint_upward_test_data): Likewise.
2753
e9eee333
JM
2754 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2755 with OVERFLOW_EXCEPTION.
2756 (exp10_test_data): Likewise.
2757 (exp2_test_data): Likewise.
2758 (expm1_test_data): Likewise.
2759 (lgamma_test_data): Likewise.
2760 (pow_test_data): Likewise.
2761 (tgamma_test_data): Likewise.
2762 (yn_test_data): Remove duplicate test of overflow.
2763
1c38ff73
JM
2764 * math/libm-test.inc (struct test_cc_c_data): New type.
2765 (RUN_TEST_LOOP_cc_c): New macro.
2766 (cpow_test_data): New variable.
2767 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2768
15c7c18d
JM
2769 * math/libm-test.inc (struct test_f_L_data): New type.
2770 (RUN_TEST_LOOP_f_L): New macro.
2771 (llrint_test_data): New variable.
2772 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2773 (llrint_tonearest_test_data): New variable.
2774 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2775 (llrint_towardzero_test_data): New variable.
2776 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2777 (llrint_downward_test_data): New variable.
2778 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2779 (llrint_upward_test_data): New variable.
2780 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2781 (llround_test_data): New variable.
2782 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2783
f137ff13
PC
27842013-05-13 Peter Collingbourne <pcc@google.com>
2785
2786 * math/atest-exp2.c (get_log2): Remove const attribute.
2787
3608cb24
JM
27882013-05-15 Joseph Myers <joseph@codesourcery.com>
2789
2790 * math/libm-test.inc (struct test_f_l_data): New type.
2791 (RUN_TEST_LOOP_f_l): New macro.
2792 (lrint_test_data): New variable.
2793 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2794 (lrint_tonearest_test_data): New variable.
2795 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2796 (lrint_towardzero_test_data): New variable.
2797 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2798 (lrint_downward_test_data): New variable.
2799 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2800 (lrint_upward_test_data): New variable.
2801 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2802 (lround_test_data): New variable.
2803 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2804
39b1f617
PC
28052013-05-15 Peter Collingbourne <pcc@google.com>
2806
1deff3dc
PC
2807 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2808 (EXTRACT_WORDS64) Use where appropriate.
2809 (INSERT_WORDS64) Likewise.
2810
791f3ba0
PC
2811 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2812 constraints with x constraints.
2813 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2814
39b1f617
PC
2815 * malloc/obstack.c (_obstack_compat): Add initializer.
2816
12fba011
EM
28172013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
2818
2819 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2820 si_trapno and add si_addr_lsb to _sifields.sigfault.
2821 (si_trapno): Remove macro.
2822 (si_addr_lsb): Define new macro.
2823 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2824
d369f531
JM
28252013-05-15 Joseph Myers <joseph@codesourcery.com>
2826
b861c6c4
JM
2827 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2828 instead of TEST_f_l.
2829 (llrint_test_tonearest): Likewise.
2830 (llrint_test_towardzero): Likewise.
2831 (llrint_test_downward): Likewise.
2832 (llrint_test_upward): Likewise.
2833 (llround_test): Likewise.
2834
7abeee12
JM
2835 * math/libm-test.inc (struct test_f_i_data): Add comment.
2836 (RUN_TEST_LOOP_f_b): New macro.
2837 (RUN_TEST_LOOP_f_b_tg): Likewise.
2838 (finite_test_data): New variable.
2839 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2840 (isfinite_test_data): New variable.
2841 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2842 (isinf_test_data): New variable.
2843 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2844 (isnan_test_data): New variable.
2845 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2846 (isnormal_test_data): New variable.
2847 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2848 (issignaling_test_data): New variable.
2849 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2850 (signbit_test_data): New variable.
2851 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2852
cbe8c4d3
JM
2853 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2854 with INVALID_EXCEPTION.
2855 (acosh_test_data): Likewise.
2856 (asin_test_data): Likewise.
2857 (atanh_test_data): Likewise.
2858 (fmod_test_data): Likewise.
2859 (log_test_data): Likewise.
2860 (log10_test_data): Likewise.
2861 (log2_test_data): Likewise.
2862 (pow_test_data): Likewise.
2863 (sqrt_test_data): Likewise.
2864 (y0_test_data): Likewise.
2865 (y1_test_data): Likewise.
2866 (yn_test_data): Likewise.
2867
5575c0e5
JM
2868 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2869 function contents.
2870
d369f531
JM
2871 * math/libm-test.inc (struct test_ff_i_data): New type.
2872 (RUN_TEST_LOOP_ff_i_tg): New macro.
2873 (isgreater_test_data): New variable.
2874 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2875 (isgreaterequal_test_data): New variable.
2876 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2877 (isless_test_data): New variable.
2878 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2879 (islessequal_test_data): New variable.
2880 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2881 (islessgreater_test_data): New variable.
2882 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2883 (isunordered_test_data): New variable.
2884 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2885
781fd748
DM
28862013-05-14 David S. Miller <davem@davemloft.net>
2887
2888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2889
87aa21df
JM
28902013-05-14 Joseph Myers <joseph@codesourcery.com>
2891
5e908270
JM
2892 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2893
f71172e5
JM
2894 * math/libm-test.inc (struct test_fF_f1_data): Change type of
2895 extra_test to int.
2896 (struct test_f_i_data): Change type of max_ulp to int.
2897
8cfa635a
JM
2898 * math/libm-test.inc (test_ffI_f1_data): New type.
2899 (RUN_TEST_LOOP_ffI_f1): New macro.
2900 (remquo_test_data): New variable.
2901 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2902
2bcb36b2
JM
2903 * setjmp/tst-setjmp-fp.c: New file.
2904 * setjmp/Makefile (tests): Add tst-setjmp-fp.
2905 (link-libm): New variable.
2906 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2907
acbd839a
JM
2908 * math/libm-test.inc (struct test_f_i_data): New type.
2909 (RUN_TEST_LOOP_f_i): New macro.
2910 (RUN_TEST_LOOP_f_i_tg): Likewise.
2911 (fpclassify_test_data): New variable.
2912 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2913 (ilogb_test_data): New variable.
2914 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2915
e414d745
JM
2916 * math/libm-test.inc (scalbln_test): Correct function name in END
2917 call.
2918
d9c2a0fd
JM
2919 * math/libm-test.inc (struct test_f_f1_data): Add comment.
2920 (RUN_TEST_LOOP_fI_f1): New macro.
2921 (frexp_test_data): New variable.
2922 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2923
9dc9095d
JM
2924 * math/libm-test.inc (struct test_fF_f1_data): New type.
2925 (RUN_TEST_LOOP_fF_f1): New macro.
2926 (modf_test_data): New variable.
2927 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2928
87aa21df
JM
2929 * math/libm-test.inc (struct test_f_f1_data): New type.
2930 (RUN_TEST_LOOP_f_f1): New macro.
2931 (gamma_test_data): New variable.
2932 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2933 (lgamma_test_data): New variable.
2934 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2935
141af660
CD
29362013-05-13 Carlos O'Donell <carlos@redhat.com>
2937
2938 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2939 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2940 (main): Comment "tls" pseudo-hwcap.
2941
6d33265c
JM
29422013-05-13 Joseph Myers <joseph@codesourcery.com>
2943
68fc074c
JM
2944 * math/libm-test.inc (struct test_fl_f_data): New type.
2945 (RUN_TEST_LOOP_fl_f): New variable.
2946 (scalbln_test_data): New variable.
2947 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2948
243216e1
JM
2949 * math/libm-test.inc (struct test_fi_f_data): New type.
2950 (RUN_TEST_LOOP_fi_f): New macro.
2951 (ldexp_test_data): New variable.
2952 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2953 (scalbn_test_data): New variable.
2954 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2955
6a1992e2
JM
2956 * math/libm-test.inc (struct test_c_f_data): New type.
2957 (RUN_TEST_LOOP_c_f): New macro.
2958 (cabs_test_data): New variable.
2959 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
2960 (carg_test_data): New variable.
2961 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
2962 (cimag_test_data): New variable.
2963 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
2964 (creal_test_data): New variable.
2965 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
2966
0e400df5
JM
2967 * math/libm-test.inc (struct test_if_f_data): New type.
2968 (RUN_TEST_LOOP_if_f): New macro.
2969 (jn_test_data): New variable.
2970 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
2971 (yn_test_data): New variable.
2972 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
2973
6d33265c
JM
2974 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
2975
f98ece5f
AZ
29762013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2977
2978 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
2979 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
2980
0f7d347b
SP
29812013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2982
43fe811b
SP
2983 * benchtests/Makefile (CPPFLAGS-nonlib): Add
2984 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
2985 (bench-deps): Add bench-timing.h.
2986 * benchtests-bench-skeleton.c: Include bench-timing.h.
2987 (main): Use TIMING_* macros instead of clock_gettime.
2988 * benchtests/bench-timing.h: New file.
2989
0f7d347b
SP
2990 [BZ #14582]
2991 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
2992 Renamed from _LIB_VERSION.
2993 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
2994
601a3a5f
JM
29952013-05-12 Joseph Myers <joseph@codesourcery.com>
2996
4f184d30
JM
2997 * math/libm-test.inc (struct test_fff_f_data): New type.
2998 (RUN_TEST_LOOP_fff_f): New macro.
2999 (fma_test_data): New variable.
3000 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3001 (fma_towardzero_test_data): New variable.
3002 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3003 (fma_downward_test_data): New variable.
3004 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3005 (fma_upward_test_data): New variable.
3006 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3007
08198877
JM
3008 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3009 (struct test_c_c_data): New type.
3010 (RUN_TEST_LOOP_c_c): New macro.
3011 (cacos_test_data): New variable.
3012 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3013 (cacosh_test_data): New variable.
3014 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3015 (casin_test_data): New variable.
3016 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3017 (casinh_test_data): New variable.
3018 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3019 (catan_test_data): New variable.
3020 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3021 (catanh_test_data): New variable.
3022 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3023 (ccos_test_data): New variable.
3024 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3025 (ccosh_test_data): New variable.
3026 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3027 (cexp_test_data): New variable.
3028 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3029 (clog_test_data): New variable.
3030 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3031 (clog10_test_data): New variable.
3032 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3033 (conj_test_data): New variable.
3034 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3035 (cproj_test_data): New variable.
3036 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3037 (csin_test_data): New variable.
3038 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3039 (csinh_test_data): New variable.
3040 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3041 (csqrt_test_data): New variable.
3042 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3043 (ctan_test_data): New variable.
3044 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3045 (ctan_tonearest_test_data): New variable.
3046 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3047 (ctan_towardzero_test_data): New variable.
3048 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3049 (ctan_downward_test_data): New variable.
3050 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3051 (ctan_upward_test_data): New variable.
3052 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3053 (ctanh_test_data): New variable.
3054 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3055 (ctanh_tonearest_test_data): New variable.
3056 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3057 (ctanh_towardzero_test_data): New variable.
3058 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3059 (ctanh_downward_test_data): New variable.
3060 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3061 (ctanh_upward_test_data): New variable.
3062 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3063 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3064 of BUILD_COMPLEX.
3065
601a3a5f
JM
3066 * math/libm-test.inc (struct test_ff_f_data): New type.
3067 (struct test_ff_f_data_nexttoward): Likewise.
3068 (RUN_TEST_LOOP_2_f): New macro.
3069 (RUN_TEST_LOOP_ff_f): Likewise.
3070 (atan2_test_data): New variable.
3071 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3072 (copysign_test_data): New variable.
3073 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3074 (fdim_test_data): New variable.
3075 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3076 (fmax_test_data): New variable.
3077 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3078 (fmin_test_data): New variable.
3079 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3080 (fmod_test_data): New variable.
3081 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3082 (hypot_test_data): New variable.
3083 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3084 (nextafter_test_data): New variable.
3085 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3086 (nexttoward_test_data): New variable.
3087 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3088 (pow_test_data): New variable.
3089 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3090 (pow_tonearest_test_data): New variable.
3091 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3092 (pow_towardzero_test_data): New variable.
3093 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3094 (pow_downward_test_data): New variable.
3095 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3096 (pow_upward_test_data): New variable.
3097 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3098 (remainder_test_data): New variable.
3099 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3100 (scalb_test_data): New variable.
3101 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3102 * sysdeps/i386/fpu/libm-test-ulps: Update.
3103
74c57478
JM
31042013-05-11 Joseph Myers <joseph@codesourcery.com>
3105
8329e4da
JM
3106 * math/libm-test.inc (fma_test): Use max_value instead of local
3107 variable fltmax.
3108 (nextafter_test): Likewise.
3109
74c57478
JM
3110 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3111 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3112 (acos_downward_test_data): New variable.
3113 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3114 (acos_upward_test_data): New variable.
3115 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3116 (acosh_test_data): New variable.
3117 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3118 (asin_test_data): New variable.
3119 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3120 (asin_tonearest_test_data): New variable.
3121 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3122 (asin_towardzero_test_data): New variable.
3123 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3124 (asin_downward_test_data): New variable.
3125 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3126 (asin_upward_test_data): New variable.
3127 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3128 (asinh_test_data): New variable.
3129 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3130 (atan_test_data): New variable.
3131 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3132 (atanh_test_data): New variable.
3133 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3134 (cbrt_test_data): New variable.
3135 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3136 (ceil_test_data): New variable.
3137 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3138 (cos_test_data): New variable.
3139 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3140 (cos_tonearest_test_data): New variable.
3141 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3142 (cos_towardzero_test_data): New variable.
3143 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3144 (cos_downward_test_data): New variable.
3145 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3146 (cos_upward_test_data): New variable.
3147 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3148 (cosh_test_data): New variable.
3149 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3150 (cosh_tonearest_test_data): New variable.
3151 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3152 (cosh_towardzero_test_data): New variable.
3153 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3154 (cosh_downward_test_data): New variable.
3155 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3156 (cosh_upward_test_data): New variable.
3157 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3158 (erf_test_data): New variable.
3159 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3160 (erfc_test_data): New variable.
3161 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3162 (exp_test_data): New variable.
3163 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3164 (exp_tonearest_test_data): New variable.
3165 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3166 (exp_towardzero_test_data): New variable.
3167 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3168 (exp_downward_test_data): New variable.
3169 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3170 (exp_upward_test_data): New variable.
3171 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3172 (exp10_test_data): New variable.
3173 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3174 (exp2_test_data): New variable.
3175 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3176 (expm1_test_data): New variable.
3177 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3178 (fabs_test_data): New variable.
3179 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3180 (floor_test_data): New variable.
3181 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3182 (j0_test_data): New variable.
3183 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3184 (j1_test_data): New variable.
3185 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3186 (log_test_data): New variable.
3187 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3188 (log10_test_data): New variable.
3189 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3190 (log1p_test_data): New variable.
3191 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3192 (log2_test_data): New variable.
3193 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3194 (logb_test_data): New variable.
3195 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3196 (logb_downward_test_data): New variable.
3197 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3198 (nearbyint_test_data): New variable.
3199 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3200 (rint_test_data): New variable.
3201 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3202 (rint_tonearest_test_data): New variable.
3203 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3204 (rint_towardzero_test_data): New variable.
3205 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3206 (rint_downward_test_data): New variable.
3207 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3208 (rint_upward_test_data): New variable.
3209 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3210 (round_test_data): New variable.
3211 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3212 (sin_test_data): New variable.
3213 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3214 (sin_tonearest_test_data): New variable.
3215 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3216 (sin_towardzero_test_data): New variable.
3217 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3218 (sin_downward_test_data): New variable.
3219 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3220 (sin_upward_test_data): New variable.
3221 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3222 (sinh_test_data): New variable.
3223 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3224 (sinh_tonearest_test_data): New variable.
3225 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3226 (sinh_towardzero_test_data): New variable.
3227 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3228 (sinh_downward_test_data): New variable.
3229 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3230 (sinh_upward_test_data): New variable.
3231 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3232 (sqrt_test_data): New variable.
3233 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3234 (tan_test_data): New variable.
3235 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3236 (tan_tonearest_test_data): New variable.
3237 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3238 (tan_towardzero_test_data): New variable.
3239 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3240 (tan_downward_test_data): New variable.
3241 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3242 (tan_upward_test_data): New variable.
3243 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3244 (tanh_test_data): New variable.
3245 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3246 (tgamma_test_data): New variable.
3247 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3248 (trunc_test_data): New variable.
3249 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3250 (y0_test_data): New variable.
3251 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3252 (y1_test_data): New variable.
3253 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3254 (significand_test_data): New variable.
3255 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3256
7187d844
CG
32572013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3258
3259 [BZ #12387]
3260 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3261
f63fae73
PT
32622013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3263
3264 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3265
8a67a4b3
AJ
32662013-05-10 Andreas Jaeger <aj@suse.de>
3267
3268 [BZ #15448]
3269 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3270 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3271
51df539d
JM
32722013-05-10 Joseph Myers <joseph@codesourcery.com>
3273
3274 * math/gen-libm-test.pl (adjust_arg): New function.
3275 (special_functions): Handle generating output in both functions
3276 and arrays.
3277 (parse_args): Likewise.
3278 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3279 $in_func argument to parse_args.
3280 * math/libm-test.inc (struct test_f_f_data): New type.
3281 (IF_ROUND_INIT_): New macro.
3282 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3283 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3284 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3285 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3286 (ROUND_RESTORE_): Likewise.
3287 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3288 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3289 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3290 (ROUND_RESTORE_FE_UPWARD): Likewise.
3291 (RUN_TEST_LOOP_f_f): New macro.
3292 (acos_test_data): New variable.
3293 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3294 (acos_tonearest_test_data): New variable.
3295 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3296
5c637fe5
SP
32972013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3298
3299 * benchtests/bench-skeleton.c (startup): Fix coding style.
3300
ab2b9461
JM
33012013-05-10 Joseph Myers <joseph@codesourcery.com>
3302
3303 [BZ #6809]
3304 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3305 negative infinity argument.
3306 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3307 negative infinity argument.
3308 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3309 negative infinity argument.
3310 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3311 domain errors.
3312
4c0fe6fe
FW
33132013-05-10 Florian Weimer <fweimer@redhat.com>
3314
3315 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3316 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3317 * iconv/iconv_prog.c (main): Likewise.
3318 * locale/programs/charmap-dir.c (charmap_readdir)
3319 (fopen_uncompressed): Likewise.
3320 * locale/programs/locfile.c (siblings_uncached)
3321 (write_locale_data): Use lstat64 instead of lstat.
3322 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3323 stat.
3324
a3375d29
AJ
33252013-05-10 Andreas Jaeger <aj@suse.de>
3326
3327 [BZ #15395]
3328 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3329 localization.
3330 Include <locale.h>.
3331
36129722
CD
33322013-05-09 Carlos O'Donell <carlos@redhat.com>
3333
3334 * elf/dl-close.c (_dl_close_worker): Add comments.
3335
faa7f811
JM
33362013-05-09 Joseph Myers <joseph@codesourcery.com>
3337
ed41ffef
JM
3338 [BZ #15359]
3339 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3340 high part of pi/2.
3341 (__ieee754_rem_pio2l): Update comments.
3342
d0213cd0
JM
3343 [BZ #15429]
3344 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3345 high part of pi/2.
3346 (__ieee754_rem_pio2l): Update comments.
3347
0d3e777a
JM
3348 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3349 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3350
24f56066
JM
3351 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3352 M_PI_4l.
3353
faa7f811
JM
3354 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3355 (M_PI_34_LOG10El): Likewise.
3356 (M_PI2_LOG10El): Likewise.
3357 (M_PI4_LOG10El): Likewise.
3358 (M_PI_LOG10El): Likewise.
3359
e9a5e0fd
AZ
33602013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3361
3362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3363
d8cd06db
JM
33642013-05-08 Joseph Myers <joseph@codesourcery.com>
3365
a0d9f9d7
JM
3366 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3367 (MINUS_ZERO_INIT): Likewise.
3368 (PLUS_INFTY_INIT): Likewise.
3369 (MINUS_INFTY_INIT): Likewise.
3370 (QNAN_VALUE_INIT): Likewise.
3371 (MAX_VALUE_INIT): Likewise.
3372 (MIN_VALUE_INIT): Likewise.
3373 (MIN_SUBNORM_VALUE_INIT): Likewise.
3374 (plus_zero): Initialize with PLUS_ZERO_INIT.
3375 (minus_zero): Initialize with MINUS_ZERO_INIT.
3376 (plus_infty): Initialize with PLUS_INFTY_INIT.
3377 (minus_infty): Initialize with MINUS_INFTY_INIT.
3378 (qnan_value): Initialize with QNAN_VALUE_INIT.
3379 (max_value): Initialize with MAX_VALUE_INIT.
3380 (min_value): Initialize with MIN_VALUE_INIT.
3381 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3382
ae08db3b
JM
3383 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3384 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3385 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3386 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3387
f44bf14a
JM
3388 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3389 (RUN_TEST_2_f): Likewise.
3390 (RUN_TEST_ff_f): Likewise.
3391 (RUN_TEST_fi_f): Likewise.
3392 (RUN_TEST_fl_f): Likewise.
3393 (RUN_TEST_fff_f): Likewise.
3394 (RUN_TEST_c_f): Likewise.
3395 (RUN_TEST_f_f1): Likewise.
3396 (RUN_TEST_fF_f1): Likewise.
3397 (RUN_TEST_fI_f1): Likewise.
3398 (RUN_TEST_ffI_f1): Likewise.
3399 (RUN_TEST_c_c): Likewise.
3400 (RUN_TEST_cc_c): Likewise.
3401 (RUN_TEST_f_i): Likewise.
3402 (RUN_TEST_f_i_tg): Likewise.
3403 (RUN_TEST_ff_i_tg): Likewise.
3404 (RUN_TEST_f_b): Likewise.
3405 (RUN_TEST_f_b_tg): Likewise.
3406 (RUN_TEST_f_l): Likewise.
3407 (RUN_TEST_f_L): Likewise.
3408 (RUN_TEST_sincos): Likewise.
3409 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3410 whether to show exceptions. Do not include ");\n" in return
3411 value.
3412 (special_functions): Output call to RUN_TEST_sincos instead of
3413 check_float calls. Update calls to new_test.
3414 (parse_args): Output call to single RUN_TEST_* macro instead of
3415 check_* calls and other assignments. Update calls to new_test.
3416
d8cd06db
JM
3417 [BZ #2546]
3418 [BZ #2560]
3419 [BZ #5159]
3420 [BZ #15426]
3421 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3422 input to result for tgamma overflow.
3423 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3424 (gamma_coeff): New variable.
3425 (NCOEFF): New macro.
3426 (gamma_positive): New function.
3427 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3428 underflow here. Use gamma_positive instead of exp (lgamma) for
3429 other arguments.
3430 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3431 (gamma_coeff): New variable.
3432 (NCOEFF): New macro.
3433 (gammaf_positive): New function.
3434 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3435 underflow here. Use gamma_positive instead of exp (lgamma) for
3436 other arguments.
3437 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3438 (gamma_coeff): New variable.
3439 (NCOEFF): New macro.
3440 (gammal_positive): New function.
3441 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3442 underflow here. Use gamma_positive instead of exp (lgamma) for
3443 other arguments.
3444 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3445 (gamma_coeff): New variable.
3446 (NCOEFF): New macro.
3447 (gammal_positive): New function.
3448 (__ieee754_gammal_r): Handle positive infinity, overflow and
3449 underflow here. Handle NaN the same as positive infinity. Remove
3450 check x < 0xffffffff for negative integers. Use gamma_positive
3451 instead of exp (lgamma) for other arguments.
3452 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3453 (gamma_coeff): New variable.
3454 (NCOEFF): New macro.
3455 (gammal_positive): New function.
3456 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3457 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3458 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3459 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3460 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3461 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3462 * sysdeps/generic/math_private.h (__gamma_productf): New
3463 prototype.
3464 (__gamma_product): Likewise.
3465 (__gamma_productl): Likewise.
3466 * math/Makefile (libm-calls): Add gamma_product.
3467 * math/libm-test.inc (tgamma_test): Add more tests.
3468 * sysdeps/i386/fpu/libm-test-ulps: Update.
3469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3470
bb7cf681
OB
34712013-05-08 Ondřej Bílka <neleai@seznam.cz>
3472
3473 * benchtests/bench-skeleton.c (main): Preheat CPU.
3474
ba853947
AJ
34752013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3476
3477 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3478
8347c74c
RM
34792013-05-07 Roland McGrath <roland@hack.frob.com>
3480
3481 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3482 and _dl_skip_args_internal.
3483
e8dd4791
CD
34842013-05-07 Carlos O'Donell <carlos@redhat.com>
3485
3486 * manual/message.texi (Message Translation): Talk about users.
3487 Message to key mapping impacts design.
3488
c7405830
RM
34892013-05-06 Roland McGrath <roland@hack.frob.com>
3490
a9173057
RM
3491 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3492
976e2f03
RM
3493 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3494
9723ffc5
RM
3495 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3496 * sysdeps/wordsize-64/glob64.c: ... here.
3497
962e6658
RM
3498 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3499 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3500 New macros.
3501
ee586a6d
RM
3502 * debug/getlogin_r_chk.c: Moved to ...
3503 * login/getlogin_r_chk.c: ... here.
3504 * debug/Makefile (routines): Move getlogin_r_chk to ...
3505 * login/Makefile (routines): ... here.
3506 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3507 * login/Versions (libc: GLIBC_2.4): ... here.
3508
355f9165
RM
3509 * io/poll.c (__poll): Renamed from poll.
3510 Add libc_hidden_def.
3511 (poll): Define as weak alias.
3512
bd9ffde6
RM
3513 * debug/ptsname_r_chk.c: Moved to ...
3514 * login/ptsname_r_chk.c: ... here.
3515 * debug/Makefile (routines): Move ptsname_r_chk to ...
3516 * login/Makefile (routines): ... here.
3517 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3518 * login/Versions (libc: GLIBC_2.4): ... here.
3519
8fb16a04
RM
3520 * posix/getlogin.c: Moved to ...
3521 * login/getlogin.c: ... here.
3522 * posix/getlogin_r.c: Moved to ...
3523 * login/getlogin_r.c: ... here.
3524 * posix/getlogin_r.c: Moved to ...
3525 * login/getlogin_r.c: ... here.
3526 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3527 * login/Makefile (routines): ... here.
3528 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3529 * login/Versions (libc: GLIBC_2.0): ... here.
3530
b99b892f
RM
3531 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3532 (setrlimit): Define as weak alias.
3533
c7405830
RM
3534 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3535 Call __ names for open, ftruncate, and close.
3536 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3537 (truncate): Define as weak alias.
3538
5bf96de5
JM
35392013-05-06 Joseph Myers <joseph@codesourcery.com>
3540
9ea3513c
JM
3541 * math/gen-libm-test.pl (parse_args): Initialize x before each
3542 test of frexp, modf and remquo.
3543
5bf96de5
JM
3544 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3545 test signgam value.
3546
16e616a7
AZ
35472013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3548
3549 [BZ #15418]
3550 [BZ #15419]
3551 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3552 internal tests.
3553 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3554
d5e82754
RM
35552013-05-06 Roland McGrath <roland@hack.frob.com>
3556
3557 * elf/dl-writev.h: New file.
3558 * elf/dl-misc.c: Include it.
3559 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3560 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3561
a7548d41
JM
35622013-05-04 Joseph Myers <joseph@codesourcery.com>
3563
b7dab1e4
JM
3564 * math/libm-test.inc (noXFails): Remove variable.
3565 (noXPasses): Likewise.
3566 (BUILD_COMPLEX_INT): Remove macro.
3567 (print_screen): Remove xfail argument.
3568 (print_screen_max_error): Likewise.
3569 (update_stats): Likewise.
3570 (print_max_error): Likewise. Update calls to other affected
3571 functions.
3572 (print_complex_max_error): Likewise.
3573 (test_single_exception): Update calls to print_screen.
3574 (test_single_errno): Likewise.
3575 (check_float_internal): Remove xfail argument. Update calls to
3576 other affected functions.
3577 (check_float): Likewise.
3578 (check_complex): Likewise.
3579 (check_int): Likewise.
3580 (check_long): Likewise.
3581 (check_bool): Likewise.
3582 (check_longlong): Likewise.
3583 (main): Don't print noXFails and noXPasses.
3584 * math/gen-libm-test.pl (top level): Don't mention expected
3585 failure handling in comment.
3586 (new_test): Don't handle expected failures.
3587 (parse_args): Don't mention expected failure handling in comment.
3588 (generate_testfile): Don't handle expected failures.
3589 (parse_ulps): Likewise.
3590 (print_ulps_file): Likewise.
3591 (get_failure): Remove function.
3592 (output_test): Don't handle expected failures.
3593 * make/README.libm-test: Don't mention expected failure handling.
3594
a7548d41
JM
3595 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3596 (minus_zero): Likewise.
3597 (plus_infty): Likewise.
3598 (minus_infty): Likewise.
3599 (qnan_value): Likewise.
3600 (max_value): Likewise.
3601 (min_value): Likewise.
3602 (min_subnorm_value): Likewise.
3603 (initialize): Do not initialize those variables dynamically.
3604
60bfd54c
RM
36052013-05-03 Roland McGrath <roland@hack.frob.com>
3606
cc0e6ed8
RM
3607 * io/open.c (__open_2): Moved to ...
3608 * io/open_2.c: ... this new file.
3609 * io/open64.c (__open64_2): Moved to ...
3610 * io/open64_2.c: ... this new file.
3611 * io/openat.c (__openat_2): Moved to ...
3612 * io/openat_2.c: ... this new file.
3613 * io/openat64.c (__openat64_2): Moved to ...
3614 * io/openat64_2.c: ... this new file.
3615 * io/Makefile (routines): Add them.
3616 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3617 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3618 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3619 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3620 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3621 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3622 (__openat64): Add hidden_ver.
3623 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3624 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3625
60bfd54c
RM
3626 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3627 Separately conditionalize setting of GLRO(dl_sysinfo) so
3628 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3629 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3630
83e7640f
AZ
36312013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3632
3633 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3634 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3635 definition.
3636 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3637 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3638 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3639 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3640 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3641
d5dc2af3
JM
36422013-05-03 Joseph Myers <joseph@codesourcery.com>
3643
c31a5b1e
JM
3644 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3645 test signgam value.
3646
d5dc2af3
JM
3647 * math/libm-test.inc (hypot_test): Do not use
3648 IGNORE_ZERO_INF_SIGN.
3649
164fd39d
AJ
36502013-05-03 Andreas Jaeger <aj@suse.de>
3651
3652 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3653 Linux 3.9.
3654 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3655 (PF_MAX): Adjust for VSOCK change.
3656
8237f48c
AZ
36572013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3658
3659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3660
9df02941
CD
36612013-05-02 Carlos O'Donell <carlos@redhat.com>
3662
3663 [BZ #15264]
3664 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3665 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3666 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3667
d422395e
DM
36682013-05-02 David S. Miller <davem@davemloft.net>
3669
3670 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3671
a07c5731
OB
36722013-05-01 Ondřej Bílka <neleai@seznam.cz>
3673
3674 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3675
1324e37f
RM
36762013-05-01 Roland McGrath <roland@hack.frob.com>
3677
3678 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3679
0695940b
RS
36802013-05-01 Richard Smith <richard@metafoo.co.uk>
3681
bb5f27ad 3682 [BZ #14952]
0695940b
RS
3683 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3684 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3685 Use __attribute__ ((__gnu_inline__)).
3686 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3687 Don't use __attribute__ ((__gnu_inline__)).
3688
10de07f5
JM
36892013-05-01 Joseph Myers <joseph@codesourcery.com>
3690
3691 [BZ #15423]
3692 * math/s_catan.c (__catan): Handle small real or imaginary part of
3693 input specially to avoid spurious underflow.
3694 * math/s_catanf.c (__catanf): Likewise.
3695 * math/s_catanh.c (__catanh): Likewise.
3696 * math/s_catanhf.c (__catanhf): Likewise.
3697 * math/s_catanhl.c (__catanhl): Likewise.
3698 * math/s_catanl.c (__catanl): Likewise.
3699 * math/libm-test.inc (catan_test): Add more tests.
3700 (catanh_test): Likewise.
3701 * sysdeps/i386/fpu/libm-test-ulps: Update.
3702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3703
cb4d5414
AZ
37042013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3705
3706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3707
caf84319
JM
37082013-04-30 Joseph Myers <joseph@codesourcery.com>
3709
3710 [BZ #15416]
3711 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3712 accurately for denominator in atan2.
3713 * math/s_catanf.c (__catanf): Likewise.
3714 * math/s_catanh.c (__catanh): Likewise.
3715 * math/s_catanhf.c (__catanhf): Likewise.
3716 * math/s_catanhl.c (__catanhl): Likewise.
3717 * math/s_catanl.c (__catanl): Likewise.
3718 * math/libm-test.inc (catan_test): Add more tests.
3719 (catanh_test): Likewise.
3720 * sysdeps/i386/fpu/libm-test-ulps: Update.
3721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3722
d569c6ee
SP
37232013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3724
6dbe713d
SP
3725 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3726
f0ee064b
SP
3727 * benchtests/Makefile (bench): Remove slow benchmarks.
3728 * benchtests/atan-inputs: Add slow benchmark inputs.
3729 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3730 (BENCH_FUNC): Accept variant offset.
3731 (VARIANT): Define.
3732 * benchtests/bench-skeleton.c (main): Run benchmark for each
3733 variant.
3734 * benchtests/cos-inputs: Add slow benchmark inputs.
3735 * benchtests/exp-inputs: Likewise.
3736 * benchtests/pow-inputs: Likewise.
3737 * benchtests/sin-inputs: Likewise.
3738 * benchtests/slowatan-inputs: Remove.
3739 * benchtests/slowatan.c: Remove.
3740 * benchtests/slowcos-inputs: Remove.
3741 * benchtests/slowcos.c: Remove.
3742 * benchtests/slowexp-inputs: Remove.
3743 * benchtests/slowexp.c: Remove.
3744 * benchtests/slowpow-inputs: Remove.
3745 * benchtests/slowpow.c: Remove.
3746 * benchtests/slowsin-inputs: Remove.
3747 * benchtests/slowsin.c: Remove.
3748 * benchtests/slowtan-inputs: Remove.
3749 * benchtests/slowtan.c: Remove.
3750 * benchtests/tan-inputs: Add slow benchmark inputs.
3751 * scripts/bench.pl: Parse comments and directives.
3752
d569c6ee
SP
3753 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3754 in CPPFLAGS.
3755 ($(objpfx)bench-%.c): Remove *-ITER.
3756 * benchtests/bench-modf.c: Remove definition of ITER.
3757 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3758 (main): Loop for DURATION seconds instead of fixed number of
3759 iterations.
3760 * scripts/bench.pl: Don't expect iterations in parameters.
3761
a6a242fe
RM
37622013-04-29 Roland McGrath <roland@hack.frob.com>
3763
3764 * io/fchdir.c (__fchdir): Renamed from fchdir.
3765 (fchdir): Define as weak alias.
3766
f2da7793
JM
37672013-04-29 Joseph Myers <joseph@codesourcery.com>
3768
3769 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3770 (ERRNO_EDOM): Likewise.
3771 (ERRNO_ERANGE): Likewise.
3772 (noErrnoTests): New variable.
3773 (init_max_error): Set errno to 0.
3774 (test_single_errno): New function.
3775 (test_errno): Likewise.
3776 (check_float_internal): Call test_errno. Set errno to 0.
3777 (check_complex): Refer to errno tests in comment.
3778 (check_int): Call test_errno. Set errno to 0.
3779 (check_long): Likewise.
3780 (check_bool): Likewise.
3781 (check_longlong): Likewise.
3782 (cos_test): Use ERRNO_* flags for errno tests instead of
3783 check_int.
3784 (expm1_test): Likewise.
3785 (fmod_test): Likewise.
3786 (ilogb_test): Likewise.
3787 (lgamma_test): Likewise.
3788 (pow_test): Likewise.
3789 (remainder_test): Likewise.
3790 (sin_test): Likewise.
3791 (tan_test): Likewise.
3792 (yn_test): Likewise.
3793 (initialize): Set errno to 0.
3794 (main): Print number of errno tests.
3795 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3796
b1a36ceb
AJ
37972013-04-29 Andreas Jaeger <aj@suse.de>
3798
c3ed8088
AJ
3799 [BZ #15084]
3800 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3801 and RES_USEVC.
3802
f1a24198
AJ
3803 [BZ #15085]
3804 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3805 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3806 unimplemented.
3807
9ce3b2cb
AJ
3808 [BZ #15380]
3809 * stdlib/random.c (__initstate): Return NULL if
3810 __initstate fails.
3811
f1a24198 3812 [BZ #15086]
b1a36ceb
AJ
3813 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3814 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3815 RES_SNGLKUPREOP.
3816
7e7b6f36
AZ
38172013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3818
3819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3820
4d14f449
JM
38212013-04-29 Joseph Myers <joseph@codesourcery.com>
3822
3823 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3824 of individual tests.
3825 (casin_test): Likewise.
3826 (casinh_test): Likewise.
3827
5b4217d7
JM
38282013-04-27 Joseph Myers <joseph@codesourcery.com>
3829
3830 [BZ #15409]
3831 * math/s_catan.c (__catan): Handle arguments with large real or
3832 imaginary part separately without squaring.
3833 * math/s_catanf.c (__catanf): Likewise.
3834 * math/s_catanh.c (__catanh): Likewise.
3835 * math/s_catanhf.c (__catanhf): Likewise.
3836 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3837 and redefine.
3838 (__catanhl): Handle arguments with large real or imaginary part
3839 separately without squaring.
3840 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3841 and redefine.
3842 (__catanl): Handle arguments with large real or imaginary part
3843 separately without squaring.
3844 * math/libm-test.inc (catan_test): Add more tests.
3845 (catanh_test): Likewise.
3846 * sysdeps/i386/fpu/libm-test-ulps: Update.
3847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3848
4220c3ef
AJ
38492013-04-27 Andreas Jaeger <aj@suse.de>
3850
3851 [BZ #15007]
3852 * stdlib/stdlib.h: Update guards for qecvt.
3853 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3854 <stdlib.h>.
3855
4721b2d1
AM
38562013-04-27 Allan McRae <allan@archlinux.org>
3857
3858 * sysdeps/i386/fpu/libm-test-ulps: Update.
3859
f0302940
JM
38602013-04-26 Joseph Myers <joseph@codesourcery.com>
3861
9457fd95
JM
3862 [BZ #15406]
3863 * math/s_catan.c: Include <float.h>.
3864 (__catan): Ensure underflow exception occurs for underflowed
3865 result.
3866 * math/s_catanf.c: Include <float.h>.
3867 (__catanf): Ensure underflow exception occurs for underflowed
3868 result.
3869 * math/s_catanh.c: Include <float.h>.
3870 (__catanh): Ensure underflow exception occurs for underflowed
3871 result.
3872 * math/s_catanhf.c: Include <float.h>.
3873 (__catanhf): Ensure underflow exception occurs for underflowed
3874 result.
3875 * math/s_catanhl.c: Include <float.h>.
3876 (__catanhl): Ensure underflow exception occurs for underflowed
3877 result.
3878 * math/s_catanl.c: Include <float.h>.
3879 (__catanl): Ensure underflow exception occurs for underflowed
3880 result.
3881 * math/libm-test.inc (catan_test): Add more tests.
3882 (catanh_test): Likewise.
3883
f0302940
JM
3884 [BZ #15405]
3885 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3886 underflowed result.
3887 * math/s_ccoshf.c (__ccoshf): Likewise.
3888 * math/s_ccoshl.c (__ccoshl): Likewise.
3889 * math/s_csin.c (__csin): Likewise.
3890 * math/s_csinf.c (__csinf): Likewise.
3891 * math/s_csinh.c (__csinh): Likewise.
3892 * math/s_csinhf.c (__csinhf): Likewise.
3893 * math/s_csinhl.c (__csinhl): Likewise.
3894 * math/s_csinl.c (__csinl): Likewise.
3895 * math/libm-test.inc (ccos_test): Add more tests.
3896 (ccosh_test): Likewise.
3897 (csin_test): Likewise.
3898 (csinh_test): Likewise.
3899
aa630f59
AZ
39002013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3901
3902 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3903 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3904 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3905 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3906 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3907 powerpc/power5+/fpu folders.
3908 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3909
3910
1b835983
MT
39112013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3912
3913 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3914
73709b26
JM
39152013-04-25 Joseph Myers <joseph@codesourcery.com>
3916
3917 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3918 additions to variable.
3919 [$(config-machine) = x86_64] (modules-names): Likewise.
3920 ($(objpfx)tst-audit3): Remove dependency.
3921 ($(objpfx)tst-audit3.out): Likewise.
3922 ($(objpfx)tst-audit4): Likewise.
3923 ($(objpfx)tst-audit4.out): Likewise.
3924 ($(objpfx)tst-audit5): Likewise.
3925 ($(objpfx)tst-audit5.out): Likewise.
3926 ($(objpfx)tst-audit6): Likewise.
3927 ($(objpfx)tst-audit6.out): Likewise.
3928 ($(objpfx)tst-audit7): Likewise.
3929 ($(objpfx)tst-audit7.out): Likewise.
3930 (tst-audit3-ENV): Remove variable.
3931 (tst-audit4-ENV): Likewise.
3932 (tst-audit5-ENV): Likewise.
3933 (tst-audit6-ENV): Likewise.
3934 (tst-audit7-ENV): Likewise.
3935 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3936 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3937 addition to variable.
3938 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3939 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3940 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3941 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3942 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3943 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3944 tst-audit3, tst-audit4 and tst-audit5.
3945 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3946 tst-audit6 and tst-audit7.
3947 [$(subdir) = elf] (modules-names): Add audit modules for those
3948 tests.
3949 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3950 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3951 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3952 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3953 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3954 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3955 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3956 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
3957 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
3958 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
3959 [$(subdir) = elf] (tst-audit3-ENV): New variable.
3960 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
3961 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
3962 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
3963 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
3964 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
3965 Likewise.
3966 [$(subdir) = elf && $(config-cflags-avx) = yes]
3967 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
3968 [$(subdir) = elf && $(config-cflags-avx) = yes]
3969 (CFLAGS-tst-auditmod4a.c): Likewise.
3970 [$(subdir) = elf && $(config-cflags-avx) = yes]
3971 (CFLAGS-tst-auditmod4b.c): Likewise.
3972 [$(subdir) = elf && $(config-cflags-avx) = yes]
3973 (CFLAGS-tst-auditmod6b.c): Likewise.
3974 [$(subdir) = elf && $(config-cflags-avx) = yes]
3975 (CFLAGS-tst-auditmod6c.c): Likewise.
3976 [$(subdir) = elf && $(config-cflags-avx) = yes]
3977 (CFLAGS-tst-auditmod7b.c): Likewise.
3978 * elf/tst-audit3.c: Move to ...
3979 * sysdeps/x86_64/tst-audit3.c: ... here.
3980 * elf/tst-audit4.c: Move to ...
3981 * sysdeps/x86_64/tst-audit4.c: ... here.
3982 * elf/tst-audit5.c: Move to ...
3983 * sysdeps/x86_64/tst-audit5.c: ... here.
3984 * elf/tst-audit6.c: Move to ...
3985 * sysdeps/x86_64/tst-audit6.c: ... here.
3986 * elf/tst-audit7.c: Move to ...
3987 * sysdeps/x86_64/tst-audit7.c: ... here.
3988 * elf/tst-auditmod3a.c: Move to ...
3989 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
3990 * elf/tst-auditmod3b.c: Move to ...
3991 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
3992 * elf/tst-auditmod4a.c: Move to ...
3993 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
3994 * elf/tst-auditmod4b.c: Move to ...
3995 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
3996 * elf/tst-auditmod5a.c: Move to ...
3997 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
3998 * elf/tst-auditmod5b.c: Move to ...
3999 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4000 * elf/tst-auditmod6a.c: Move to ...
4001 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4002 * elf/tst-auditmod6b.c: Move to ...
4003 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4004 * elf/tst-auditmod6c.c: Move to ...
4005 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4006 * elf/tst-auditmod7a.c: Move to ...
4007 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4008 * elf/tst-auditmod7b.c: Move to ...
4009 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4010
1ef74943
PP
40112013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4012
4013 [BZ #15366]
4014 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4015 define unconditionally.
4016 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4017 define unconditionally.
4018 (INT8_C, INT16_C, etc.): Likewise.
4019
93fd48c5
MR
40202013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4021
ae9552cf
MR
4022 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4023 __ehdr_start with hidden visibility.
4024
93fd48c5
MR
4025 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4026
418601aa
CD
40272013-04-24 Carlos O'Donell <carlos@redhat.com>
4028
4029 * math/libm-test.inc (cos_test): Use accurate hex constants.
4030 (sincost_test): Likewise.
4031
2f38fbfe
JM
40322013-04-24 Joseph Myers <joseph@codesourcery.com>
4033
5e221800
JM
4034 * math/libm-test.inc (catan_test): Add more tests.
4035 (catanh_test): Likewise.
4036
77f143fd
JM
4037 * math/s_catanf.c (__catanf): Use suffixed floating-point
4038 constants.
4039 * math/s_catanhf.c (__catanhf): Likewise.
4040 * math/s_catanhl.c (__catanhl): Likewise.
4041 * math/s_catanl.c (__catanl): Likewise.
4042
2f38fbfe
JM
4043 [BZ #15394]
4044 * math/s_catan.c (__catan): Calculate imaginary part of result
4045 with log1p not log unless computing log of number close to 0.
4046 * math/s_catanf.c (__catanf): Likewise.
4047 * math/s_catanl.c (__catanl): Likewise.
4048 * math/s_catanh.c (__catanh): Calculate real part of result with
4049 log1p not log unless computing log of number close to 0.
4050 * math/s_catanhf.c (__catanhf): Likewise.
4051 * math/s_catanhl.c (__catanhl): Likewise.
4052 * math/libm-test.inc (catan_test): Add more tests.
4053 (catanh_test): Likewise.
4054 * sysdeps/i386/fpu/libm-test-ulps: Update.
4055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4056
45d69176
SP
40572013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4058
4059 * benchtests/Makefile: Mention files in which fast and slow
4060 paths of math functions are implemented.
4061
87f51853
RM
40622013-04-23 Roland McGrath <roland@hack.frob.com>
4063
4064 * sysdeps/posix/timespec_get.c: New file.
4065
3c026539
AZ
40662013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4067
4068 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4069 POWER.
4070 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4071 for POWER.
4072 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4073 powerpc/power5/fpu folders.
4074 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4075 * benchtests/Makefile: Add modf testcase.
4076 * benchtests/bench-modf.c: New file: Benchmark test for mo
4077
ff491d14
SP
40782013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4079
4080 [BZ #14888]
4081 * time/Makefile (tests): Add tst-strptime-whitespace.
4082 * time/strptime_l.c (get_number): Use ISSPACE.
4083 (__strptime_internal): Likewise.
4084 * time/tst-strptime-whitespace.c: New test case.
4085
7ed3f4e8
AS
40862013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4087
4088 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4089 member.
4090 (_nss_files_init): Set it here.
4091
5c95f7b6
HC
40922013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4093
4094 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4095 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4096 unsigned.
4097
d34c9158
JBG
40982013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4099
4100 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4101
2169712d
SP
41022013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4103
4104 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4105 size just once.
4106
29c5de99
DM
41072013-04-21 David S. Miller <davem@davemloft.net>
4108
4109 * po/ru.po: Update Russion translation from translation project.
4110
ccdad15d
AC
41112013-04-17 Adam Conrad <adconrad@0c3.net>
4112
4113 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4114 and setfsgid.
4115
0f122b8d
CD
41162013-04-17 Carlos O'Donell <carlos@redhat.com>
4117
5c5b07da 4118 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 4119 * configure: Regenerate.
5c5b07da 4120 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
4121 Add example to error message.
4122 * sysdeps/i386/configure: Regenerate.
4123
037714dd
SP
41242013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4125
4126 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4127 slowtan.
4128 * benchtests/cos-inputs: New file.
4129 * benchtests/slowcos-inputs: New file.
4130 * benchtests/slowcos.c: New file.
4131 * benchtests/slowtan-inputs: New file.
4132 * benchtests/slowtan.c: New file.
4133 * benchtests/tan-inputs: New file.
4134
e913141d
RM
41352013-04-16 Roland McGrath <roland@hack.frob.com>
4136
4137 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4138 considered kosher.
4139
a2964074
SP
41402013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4141
4856bcd2
SP
4142 * benchtests/Makefile: Include cppflags-iterator.mk to add
4143 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4144
a2964074
SP
4145 * Makefile.in (bench-clean): New target.
4146 * benchtests/Makefile (bench-clean): Likewise.
4147
9fbf9aca
DH
41482013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4149
4150 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4151
207d1e2a
TS
41522013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4153
4154 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4155
306dfba9
AS
41562013-04-15 Andreas Schwab <schwab@suse.de>
4157
4158 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4159 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4160 * nscd/pwdcache.c (cache_addpw): Likewise.
4161 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4162 more than recsize.
4163
206a6699
SP
41642013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4165
4166 * benchtests/Makefile (bench): Write all output to
4167 bench-out.tmp together.
4168
0582f6b3
AS
41692013-04-15 Andreas Schwab <schwab@suse.de>
4170
4171 * nscd/nscd.c (main): Don't fork again after closing files.
4172
acb4325f
SP
41732013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4174
5cb26d0a
SP
4175 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4176
acb4325f
SP
4177 * benchtests/Rules (bench-deps): Collect dependencies into a
4178 single variable. Add Makefile to dependencies.
4179 ($(objpfx)bench-%.c): Depend on bench-deps.
4180
47792506
RM
41812013-04-12 Roland McGrath <roland@hack.frob.com>
4182 Xavier Roche <roche+kml2@exalead.com>
4183
4184 [BZ #15361]
4185 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4186 just that it's a file descriptor.
4187 * manual/llio.texi (Synchronizing AIO Operations): Update description
4188 for EBADF error from aio_fsync.
4189
8fc1bee5
SP
41902013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4191
4192 * Rules (bench): Move target definition...
4193 * benchtests/Makefile: ... here.
4194
aba5e333
CD
41952013-04-11 Carlos O'Donell <carlos@redhat.com>
4196
4197 * math/libm-test.inc (cos_test): Fix PI/2 test.
4198 (sincos_test): Likewise.
4199 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4200 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4201
273cdee8
AS
42022013-04-11 Andreas Schwab <schwab@suse.de>
4203
6ecec3b6
AS
4204 [BZ #13988]
4205 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4206 accept exponent character only when digits were seen.
4207 * stdio-common/Makefile (tests): Add bug26.
4208 * stdio-common/bug26.c: New file.
4209
273cdee8
AS
4210 [BZ #14293]
4211 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4212 non-freeable.
4213
8da491f5
SP
42142013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4215
01dc6df9
SP
4216 * Makeconfig (rtld-prefix): Define built linker prefix.
4217 * Rules (run-bench): Use it.
4218 * math/Makefile (run-regen-ulps): Likewise.
4219
8da491f5
SP
4220 * Rules (bench): Remove eval.
4221
abe7f530
SP
42222013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4223 Roland McGrath <roland@hack.frob.com>
4224 Ondrej Bilka <neleai@seznam.cz>
4225
4226 [BZ #15346]
4227 * time/getdate.c: Include ctype.h and alloca.h.
4228 (__getdate_r): Trim leading and trailing spaces of input.
4229 * time/tst-getdate.c (tests): Add tests with leading and
4230 trailing spaces.
4231
61c23e62
RM
42322013-04-08 Roland McGrath <roland@hack.frob.com>
4233
4234 [BZ #14280]
4235 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4236 when computing value.
4237
7208a313
CD
42382013-04-06 Carlos O'Donell <carlos@redhat.com>
4239
085b2d41
CD
4240 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4241 Use testrun.sh to run libm tests.
4242
7208a313
CD
4243 [BZ #15309]
4244 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4245
872c0acd
MM
42462013-04-06 Marko Myllynen <myllynen@redhat.com>
4247
4248 [BZ #15264]
4249 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4250
26510bdd
CD
42512013-04-06 Carlos O'Donell <carlos@redhat.com>
4252
4253 * Makefile.in (regen-ulps): New target.
4254 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4255 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4256 [ifneq (no,$(PERL)] (regen-ulps): New target.
4257 [ifeq (no,$(PERL)] (regen-ulps): New target.
4258 * math/libm-test.inc (ulps_file_name): Define.
4259 (output_dir): New variable.
4260 (options): Add "output-dir" option.
4261 (parse_opt): Handle 'o' case.
4262 (main): If output_dir is non-NULL use it as a prefix
4263 otherwise use "".
4264 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4265
a01f19c8
CD
42662013-04-06 Carlos O'Donell <carlos@redhat.com>
4267
4268 [BZ #10060, #10062]
4269 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4270 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4271 fail configure if __sync_val_compare_and_swap is not inlined.
4272 * sysdeps/i386/configure: Regenerate.
4273 * configure.in: Build for i686 when configured for i386.
4274 * configure: Regenerate.
4275 * README: Remove i386 reference.
4276
b7a329a5
CD
42772013-04-06 Carlos O'Donell <carlos@redhat.com>
4278
4279 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4280 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4281
bf0f50df
TS
42822013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4283
ee091edf
TS
4284 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4285 (lmsnanval): New variables.
4286 (F): Add conversion tests.
4287 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4288 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4289
a8b792d6
TS
4290 * stdio-common/tstdiomisc.c (F): Properly collect individual
4291 tests' results.
4292
a1cbf437
TS
4293 [BZ #14686, #15336]
4294 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4295 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4296 Instead, use input NaN values or generate a qNaN by arithmetic
4297 operation. Also fix bugs to comply with the standard.
4298 * math/libm-test.inc (remainder_test): Add more tests.
4299
8b43a0c9
TS
4300 [BZ #15335, #15342]
4301 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4302 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4303 input NaN values or generate a qNaN by arithmetic operation.
4304
d91da4ce
TS
4305 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4306 unreachable code.
4307
bf0f50df
TS
4308 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4309 definitions.
4310
05e166c8
JM
43112013-04-03 Joseph Myers <joseph@codesourcery.com>
4312
4313 [BZ #14478]
4314 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4315 underflowed result.
4316 * math/s_cexpf.c (__cexpf): Likewise.
4317 * math/s_cexpl.c (__cexpl): Likewise.
4318 * math/libm-test.inc (cexp_test): Add more tests.
4319
1cef1b19
AS
43202013-04-03 Andreas Schwab <schwab@suse.de>
4321
4322 [BZ #15330]
4323 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4324 order arrays from heap if bigger than alloca cutoff.
4325
74d87055
TS
43262013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4327
4328 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4329 (SNAN_TESTS_double): Refer to GCC PR56831.
4330 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4331 GCC PR56828.
4332
d755bba4
SP
43332013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4334
90d5d5bb
SP
4335 * Rules (bench): Move bench.out after the run is complete.
4336
73e0cd5d
SP
4337 * Rules (bench): Echo currently running benchmark.
4338
64aabd4b
SP
4339 * benchtests/Makefile (bench): Add atan and slowatan.
4340 * benchtests/atan-inputs: New file.
4341 * benchtests/slowatan-inputs: New file.
4342 * benchtests/slowatan.c: New file.
4343
c871eccd
SP
4344 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4345 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4346 its value.
4347
d755bba4
SP
4348 [BZ #15305]
4349 * sysdeps/unix/sysv/linux/kernel-features.h
4350 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4351 __ASSUME_XFS_RESTRICTED_CHOWN.
4352 * sysdeps/unix/sysv/linux/pathconf.c
4353 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4354 Save and restore errno.
4355
52ce4860
JM
43562013-04-02 Joseph Myers <joseph@codesourcery.com>
4357
4358 [BZ #15327]
4359 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4360 arguments using __kernel_casinh.
4361 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4362 arguments using __kernel_casinhf.
4363 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4364 arguments using __kernel_casinhl.
4365 * math/libm-test.inc (cacosh_test): Add more tests.
4366 * sysdeps/i386/fpu/libm-test-ulps: Update.
4367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4368
81f311c2
SP
43692013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4370
e7906a47
SP
4371 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4372 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4373
92e3664b
SP
4374 * bench/Makefile (bench): Add sin and slowsin.
4375 * benchtests/sin-inputs: New file.
4376 * benchtests/slowsin-inputs: New file.
4377 * benchtests/slowsin.c: New file.
4378
81f311c2
SP
4379 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4380 (bench): Add slowexp and slowpow.
4381 (exp-ITER): Increase iterations.
4382 (pow-ITER): Likewise.
4383 * benchtests/exp-inputs: Change input.
4384 * benchtests/pow-inputs: Likewise.
4385 * benchtests/slowexp-inputs: New file.
4386 * benchtests/slowexp.c: New file.
4387 * benchtests/slowpow-inputs: New file.
4388 * benchtests/slowpow.c: New file.
4389
ab0f1aa9
AZ
43902013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4391
4392 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4393 instructions.
4394 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4395 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4396 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4397 * benchtests/Makefile: Add rint benchtest.
4398 * benchtests/rint-inputs: Input for rint benchtest.
4399
57267616
TS
44002013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4401
4402 * Versions.def (libm): Add GLIBC_2.18.
4403 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4404 hidden libm prototypes.
4405 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4406 * math/Makefile (libm-calls): Add s_issignaling.
4407 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4408 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4409 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4410 declaration.
4411 * math/math.h [__USE_GNU] (issignaling): New macro.
4412 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4413 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4414 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4415 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4416 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4417 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4418 * manual/arith.texi (issignaling): New section.
4419 * manual/libm-err-tab.pl (@all_functions): Update comment.
4420 * math/gen-libm-test.pl (parse_args): Apply special handling for
4421 issignaling.
4422 * math/libm-test.inc (print_float, issignaling_test): New
4423 functions.
4424 (check_float_internal): Add issignaling checks.
4425 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4426 default definition.
4427 * sysdeps/powerpc/math-tests.h: New file.
4428 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4429 tests.
4430 * math/test-snan.c (TEST_FUNC): Likewise.
4431
6142896d
DM
44322013-03-30 David S. Miller <davem@davemloft.net>
4433
4434 * po/de.po: Update from translation team.
4435
ccc8cadf
JM
44362013-03-30 Joseph Myers <joseph@codesourcery.com>
4437
4438 [BZ #10357]
4439 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4440 imaginary part less than 1.0 and real part less than 0.5
4441 specially.
4442 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4443 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4444 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4445 (cacos_test): Add more tests.
4446 (casin_test): Likewise.
4447 (casinh_test): Likewise.
4448 * sysdeps/i386/fpu/libm-test-ulps: Update.
4449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4450
0f6a8d4b
SP
44512013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4452
0d1029de
SP
4453 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4454 ONE with its value.
4455
c2d94018
SP
4456 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4457 (__pow_mp): Replace ONE and MONE with their values.
4458 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4459 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4460 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4461 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4462 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4463 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4464
27ec37f1
SP
4465 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4466
a64d7e0e
SP
4467 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4468 (__pow_mp): Replace ZERO and MZERO with their values.
4469 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4470 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4471 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4472 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4473 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4474 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4475 (__sqr): Likewise.
4476
d26dd3eb
SP
4477 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4478
0f6a8d4b
SP
4479 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4480
e57b0c61
RM
44812013-03-28 Roland McGrath <roland@hack.frob.com>
4482
4483 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4484 Declare with __attribute__ ((weak)).
4485 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4486 Call __call_tls_dtors only if it's not NULL.
4487
356b3480
RM
44882013-03-28 Roland McGrath <roland@hack.frob.com>
4489
288f7d79
RM
4490 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4491 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4492 magic __ehdr_start linker symbol if it's defined.
4493 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4494 them up here if it was already done.
4495
dc0a0263
RM
4496 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4497 (_dl_aux_init): Use const in cast when setting it.
4498 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4499 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4500 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4501
3d3436ae
RM
4502 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4503 Declare them here.
4504 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4505 * csu/libc-tls.c: Nor here.
4506 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4507
356b3480
RM
4508 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4509 (__libc_message): Never call vsyslog.
4510
b0f1246a
AM
45112013-03-28 Alan Modra <amodra@gmail.com>
4512
4513 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4514 Define as empty.
4515 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4516 Likewise.
4517
fbbe2b9a
AZ
45182013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4519
4520 [BZ #15214]
4521 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4522 underflow.
4523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4524
1728ab37
SP
45252013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4526
7a86be6e
SP
4527 [BZ #15304]
4528 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4529 Don't add gid passed as argument.
4530
1728ab37
SP
4531 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4532
3a7182a1
JM
45332013-03-27 Joseph Myers <joseph@codesourcery.com>
4534
4535 [BZ #15307]
4536 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4537 imaginary part between 1.0 and 1.5 and real part less than 0.5
4538 specially.
4539 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4540 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4541 * math/libm-test.inc (cacos_test): Add more tests.
4542 (casin_test): Likewise.
4543 (casinh_test): Likewise.
4544 * sysdeps/i386/fpu/libm-test-ulps: Update.
4545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4546
6f2e90e7
SP
45472013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4548
5739f705
SP
4549 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4550 constants.
4551 (norm): Likewise.
4552 (denorm): Likewise.
4553 (__dbl_mp): Likewise.
4554 (add_magnitudes): Likewise.
4555 (sub_magnitudes): Likewise.
4556 (__add): Likewise.
4557 (__sub): Likewise.
4558 (__mul): Likewise.
4559 (__sqr): Likewise.
4560 (__inv): Likewise.
4561 (__dvd): Likewise.
4562
e375e83d
SP
4563 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4564 commented code.
4565 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4566 (__dubcos): Likewise.
4567 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4568 (__ieee754_acos): Likewise.
4569 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4570 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4571 (__exp1): Likewise.
4572 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4573 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4574 (log1): Likewise.
4575 (my_log2): Likewise.
4576 (checkint): Likewise.
4577 * sysdeps/ieee754/dbl-64/e_remainder.c
4578 (__ieee754_remainder): Likewise.
4579 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4580 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4581 (bsloww): Likewise.
4582 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4583
6f2e90e7
SP
4584 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4585 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4586 MANTISSA_STORE_T to store computations on mantissa. Use
4587 macros for rounding and division.
4588 (denorm): Likewise.
4589 (__dbl_mp): Likewise.
4590 (add_magnitudes): Likewise.
4591 (sub_magnitudes): Likewise.
4592 (__mul): Likewise.
4593 (__sqr): Likewise.
4594 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4595 powers of two in terms of TWOPOW macro.
4596 (mp_no): Make type of mantissa as MANTISSA_T.
4597 [!RADIXI]: Define RADIXI.
4598 [!TWO52]: Define TWO52.
4599 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4600
fce14d4e
AZ
46012013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4602
4603 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4604 llroundl symbol when building for PPC32.
4605
9ad027fb
MW
46062013-03-24 Mark H Weaver <mhw@netris.org>
4607
4608 * manual/arith.texi (Normalization Functions): Fix prototypes for
4609 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4610
e42a38dd
AZ
46112013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4612
4613 [BZ #13889]
4614 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4615 high value to check if expl overflow.
4616 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4617 to check for underflow and overflow.
4618 * math/libm-test.inc: Add exp test.
4619
2e0fb521
DL
46202013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4621
4622 [BZ #11120]
4623 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4624 with NOT_IN_libc.
4625
b5784d95
AZ
46262013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4627
4628 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4629 symbol.
4630
5aa4a1a1
TS
46312013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4632
bdef0be7
TS
4633 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4634 wrap blocks consisting of several statements.
4635
5aa4a1a1
TS
4636 * sysdeps/generic/math-tests.h: New file.
4637 * sysdeps/i386/fpu/math-tests.h: Likewise.
4638 * math/test-snan.c: Include it.
4639 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4640
98c48fe5
JM
46412013-03-21 Joseph Myers <joseph@codesourcery.com>
4642
4643 [BZ #15285]
4644 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4645 (__ieee754_j0l): Do not improve calculations using cos of twice
4646 input for inputs above LDBL_MAX / 2.0L.
4647 (__ieee754_y0l): Likewise.
4648 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4649 (__ieee754_j1l): Do not improve calculations using cos of twice
4650 input for inputs above LDBL_MAX / 2.0L.
4651 (__ieee754_y1l): Likewise.
4652 * math/libm-test.inc (j0_test): Add another test.
4653 (j1_test): Likewise.
4654 (y0_test): Likewise.
4655 (y1_test): Likewise.
4656 * sysdeps/i386/fpu/libm-test-ulps: Update.
4657
3775a8bc
SP
46582013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4659
4660 * Rules ($(objpfx)bench-%.c): Include code from a C source
4661 file.
4662
0a1b2ae6
JM
46632013-03-21 Joseph Myers <joseph@codesourcery.com>
4664
4665 [BZ #15287]
4666 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4667 imaginary part 1.0 and real part less than 0.5 specially.
4668 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4669 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4670 * math/libm-test.inc (cacos_test): Add more tests.
4671 (casin_test): Likewise.
4672 (casinh_test): Likewise.
4673 * sysdeps/i386/fpu/libm-test-ulps: Update.
4674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4675
b33d4ce4
SP
46762013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4677
4678 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4679 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4680
bef0b507
JM
46812013-03-20 Joseph Myers <joseph@codesourcery.com>
4682
4683 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4684 * config.make.in (config-cflags-sse4): Remove variable.
4685 (config-cflags-avx): Likewise.
4686 (config-cflags-sse2avx): Likewise.
4687 (config-cflags-novzeroupper): Likewise.
4688 (config-asflags-i686): Likewise.
4689 (have-mfma4): Likewise.
4690 (have-as-vis3): Likewise.
4691 (MIG): Likewise.
4692 * configure.in (MIG): Do not AC_SUBST.
4693 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4694 (libc_cv_cc_sse4): Do not AC_SUBST.
4695 (libc_cv_cc_avx): Likewise.
4696 (libc_cv_cc_sse2avx): Likewise.
4697 (libc_cv_cc_novzeroupper): Likewise.
4698 (libc_cv_cc_fma4): Likewise.
4699 (libc_cv_as_i686): Likewise.
4700 (libc_cv_sparc_as_vis3): Likewise.
4701 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4702 LIBC_CONFIG_VAR.
4703 (config-asflags-i686): Likewise.
4704 (config-cflags-avx): Likewise.
4705 (config-cflags-sse2avx): Likewise.
4706 (have-mfma4): Likewise.
4707 (config-cflags-novzeroupper): Likewise.
4708 * sysdeps/mach/configure.in (MIG): Likewise.
4709 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4710 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4711 LIBC_CONFIG_VAR.
4712 (config-cflags-avx): Likewise.
4713 (config-cflags-sse2avx): Likewise.
4714 (have-mfma4): Likewise.
4715 (config-cflags-novzeroupper): Likewise.
4716 * configure: Regenerated.
4717 * sysdeps/i386/configure: Likewise.
4718 * sysdeps/mach/configure: Likewise.
4719 * sysdeps/sparc/configure: Likewise.
4720 * sysdeps/x86_64/configure: Likewise.
4721
912cc4b3
RM
47222013-03-20 Roland McGrath <roland@hack.frob.com>
4723
4724 [BZ #14812]
4725 * locale/programs/localedef.c (options): Put N_ translation marker
4726 on argument names, not just descriptions.
4727
04eed2b0
MS
47282013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4729
4730 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4731
a065ceff
OB
47322013-03-20 Ondřej Bílka <neleai@seznam.cz>
4733
9bb2a810 4734 [BZ #14176]
a065ceff
OB
4735 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4736
a600e5ce
RM
47372013-03-19 Roland McGrath <roland@hack.frob.com>
4738
4739 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4740 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4741 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4742 [!BEFORE_ABORT] (before_abort): New function.
4743 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4744 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4745 (writev_for_fatal): New function.
4746 (WRITEV_FOR_FATAL): New macro; call that.
4747 (backtrace_and_maps): New function.
4748 (BEFORE_ABORT): New macro; call that.
4749 (struct str_list): Type removed.
4750 (__libc_message, __libc_fatal): Functions removed.
4751 Include <sysdeps/posix/libc_fatal.c> instead.
4752
6b18bea6
JM
47532013-03-19 Joseph Myers <joseph@codesourcery.com>
4754
4755 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4756 constants.
4757 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4758 double constants.
4759
aaa8cb4b
AS
47602013-03-19 Andreas Schwab <schwab@suse.de>
4761
44673770
AS
4762 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4763 * sysdeps/gnu/configure: Regenerate.
4764
aaa8cb4b
AS
4765 * configure.in: Substitute libc_cv_rtlddir.
4766 * configure: Regenerate.
4767 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4768 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4769 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4770 * elf/Makefile (install-others, CFLAGS-interp.c)
4771 (ldso_install, common-ldd-rewrite): Likewise.
4772 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4773 $(inst_slibdir)/$(rtld-installed-name).
4774 * scripts/rellns-sh: Add -p option.
4775 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4776 for source.
4777
d3cfc668
SP
47782013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4779
4780 * manual/nptl.texi: Renamed to ...
4781 * manual/threads.texi: ... this.
4782 * manual/Makefile (chapters): Update.
4783
0e2b9cdd
RM
47842013-03-18 Roland McGrath <roland@hack.frob.com>
4785
4786 [BZ #14812]
4787 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4788 on argument names, not just descriptions.
0e2b9cdd
RM
4789 * malloc/memusagestat.c (options): Likewise.
4790 * nss/getent.c (options): Likewise.
63270c24
RM
4791
47922013-03-18 Benno Schulenberg <bensberg@justemail.net>
4793
4794 [BZ #14812]
4795 * iconv/iconv_prog.c (options): Put N_ translation marker
4796 on argument names, not just descriptions.
4797 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 4798
b2e1393c
OB
47992013-03-18 Ondrej Bilka <neleai@seznam.cz>
4800
4801 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4802 implementation which is faster on all x86_64 architectures.
4803 Tested on AMD, Intel Nehalem, SNB, IVB.
4804 * sysdeps/x86_64/strnlen.S: Likewise.
4805
4806 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4807 Remove all multiarch strlen and strnlen versions.
4808 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4809 Remove strlen and strnlen related parts.
4810
4811 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4812 Inline strlen part.
4813 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4814
4815 * sysdeps/x86_64/multiarch/strlen.S: Remove.
4816 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4817 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4818 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4819 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4820 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4821
ec4ff04d
CD
48222013-03-17 Carlos O'Donell <carlos@redhat.com>
4823
4824 * manual/memory.texi (Malloc Tunable Parameters):
4825 Sort parameters alphabetically. Add comments for missing entries.
4826
cd18e90a
DM
48272013-03-17 David S. Miller <davem@davemloft.net>
4828
4829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4830
2a185d32
JM
48312013-03-16 Joseph Myers <joseph@codesourcery.com>
4832
d2f9799e
JM
4833 [BZ #15283]
4834 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4835 for arguments at most half maximum finite value.
4836 * math/libm-test.inc (j0_test): Add more tests.
4837 (j1_test): Likewise.
4838 (y0_test): Likewise.
4839 (y1_test): Likewise.
4840 * sysdeps/i386/fpu/libm-test-ulps: Update.
4841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4842
2a185d32
JM
4843 [BZ #14155]
4844 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4845 1 / x and functions P and Q for arguments above 0x1p256L.
4846 (__ieee754_y0l): Likewise.
4847 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4848 (__ieee754_y1l): Likewise.
4849 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4850 (j1_test): Likewise.
4851 (y0_test): Likewise.
4852 (y1_test): Likewise.
4853
6cbec759
TS
48542013-03-16 Thomas Schwinge <thomas@codesourcery.com>
4855
4856 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4857 variable.
4858
bc16e260
RM
48592013-03-15 Roland McGrath <roland@hack.frob.com>
4860
aefc9b8c
RM
4861 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4862 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4863 zero since it's initialized to EXEC_PAGESIZE.
4864
bc16e260
RM
4865 * sysdeps/unix/sysv/linux/ldsodefs.h
4866 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4867 * sysdeps/generic/ldsodefs.h: ... here.
4868
a57da955
TS
48692013-03-15 Thomas Schwinge <thomas@codesourcery.com>
4870
af00a34d
TS
4871 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4872
495ded2c
TS
4873 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4874 math/test-snan.c.
4875 * math/test-snan.c: Renamed from
4876 sysdeps/powerpc/fpu/test-powerpc-snan.c.
4877 * math/Makefile (tests): Add test-snan.
4878 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4879 test-powerpc-snan.
4880
777b0332
TS
4881 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4882 SUFFIX. Initialize qNaN_var with __builtin_nan family of
4883 functions.
4884 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
4885 __builtin_nan family of functions.
4886 * math/libm-test.inc (initialize): Initialize qnan_value with
4887 __builtin_nan family of functions.
4888 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4889 Remove variables.
4890 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4891 Remove functions.
4892 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
4893 storage class. Initialize qNaN_var and sNaN_var with
4894 __builtin_nan and __builtin_nans families of functions,
4895 respectively.
4896
64d063b8
TS
4897 * math/libm-test.inc (acosh_test): Also test with qNaN input.
4898 (sqrt_test): Remove duplicate test with qNaN input.
4899 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4900 (round_test, signbit_test, significand_test): Note missing +/-Inf
4901 as well as qNaN tests.
4902
67e971f1
TS
4903 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4904 qNaN_var. Fix a few strings, too.
4905 * math/libm-test.inc (nan_value): Rename to qnan_value.
4906 * math/gen-libm-test.pl (%beautify): Adjust to that.
4907 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4908 * math/test-misc.c (main): Likewise.
4909 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4910 to __qnan_bytes, and __qnan_union, respectively.
4911 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4912 Likewise.
4913 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4914 and lqnanval, respectively.
4915 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4916 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4917 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4918 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4919
64487e12
TS
4920 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4921 * math/test-misc.c (main) [__x86_64__]: Enable test for long
4922 doubles.
4923
e015e27b
TS
4924 * math/test-misc.c (main): Fix copy'n'pastos.
4925 * misc/tst-efgcvt.c (special): Likewise.
4926
a57da955
TS
4927 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4928 Remove declarations.
4929
1e380345
SP
49302013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4931
4932 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4933 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4934 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4935 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4936
ef26eece
AZ
49372013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4938
4939 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4940 macro to return vdso values correctly in IFUNC implementations.
4941 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4942 Optimization by using IFUNC.
4943
8cfdb7e0
SP
49442013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4945 Richard Henderson <rth@redhat.com>
4946 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4947
4948 * Makefile.in (bench): New target.
4949 * NEWS: Mention the benchmark framework.
4950 * Rules (bench): Likewise.
4951 (binaries-bench): Generate binaries for functions to
4952 benchmark.
4953 * benchtests/Makefile: New makefile for benchmark tests.
4954 * benchtests/bench-skeleton.c: New skeleton file for benchmark
4955 programs.
4956 * benchtests/exp-inputs: New input file for EXP function.
4957 * benchtests/pow-inputs: New input file for POW function.
4958 * scripts/bench.pl: New script to generate source files for
4959 benchmark programs.
4960
bcda9880
SP
49612013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4962
d22ca8cd
SP
4963 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4964 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
4965 computations on mantissa. Use macros for rounding and
4966 division.
4967 (denorm): Likewise.
4968 (__dbl_mp): Likewise.
4969 (add_magnitudes): Likewise.
4970 (sub_magnitudes): Likewise.
4971 (__mul): Likewise.
4972 (__sqr): Likewise.
4973 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4974 powers of two in terms of TWOPOW macro.
4975 (mp_no): Make type of mantissa as MANTISSA_T.
4976 [!RADIXI]: Define RADIXI.
4977 [!TWO52]: Define TWO52.
4978 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4979
bcda9880
SP
4980 * manual/nptl.texi (cindex): Modify threads to pthreads.
4981
06d5adfb
JM
49822013-03-15 Joseph Myers <joseph@codesourcery.com>
4983
4984 * sysdeps/x86_64/preconfigure: Regenerated.
4985
41c7328e
JM
49862013-03-14 Joseph Myers <joseph@codesourcery.com>
4987
4988 [BZ #14155]
4989 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
4990 0x1p28 and above.
4991 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
4992 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
4993 0x1p28 and above.
4994 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
4995 * math/libm-test.inc (j0_test): Do not allow one spurious
4996 underflow exception.
4997 (y1_test): Likewise.
4998
e25cfa60
SP
49992013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5000
0409959c
SP
5001 * manual/Makefile (chapters): Add nptl.
5002 * manual/debug.texi (Debugging Support): Add link to Threads
5003 chapter.
5004 * manual/nptl.texi: New file.
5005
e25cfa60
SP
5006 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5007
58a1335e
PB
50082013-03-14 Petr Baudis <pasky@ucw.cz>
5009
5010 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5011 for non-NULL pointer before the memory validity test. Pointed
5012 out by Holger Brunck <holger.brunck@keymile.com>.
5013
9dc7c64f
AS
50142013-03-13 Andreas Schwab <schwab@suse.de>
5015
5016 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5017 instead of .os.
5018
54206aa6
JM
50192013-03-13 Joseph Myers <joseph@codesourcery.com>
5020
5021 * timezone/zic.c: Update from tzcode 2013b.
5022
e98cdb38
CD
50232013-03-12 Carlos O'Donell <carlos@redhat.com>
5024
5025 * manual/install.texi (Configuring and compiling):
5026 Mention i686 and i586.
5027 * INSTALL: Regenerate.
5028
9967e003
RM
50292013-03-12 Roland McGrath <roland@hack.frob.com>
5030
5031 * sysdeps/init_array/elf-init.c: New file.
5032 * csu/elf-init.c
5033 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5034 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5035
5036 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5037 __gmon_start__ as global, but as static with a .preinit_array pointer.
5038 * sysdeps/init_array/gmon-start.c: New file. Use that.
5039 * sysdeps/init_array/crti.S: New file, empty except for comments.
5040 * sysdeps/init_array/crtn.S: Likewise.
5041
e6b5a293 50422013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
5043
5044 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5045 definining bcopy.
80f844c9
OB
5046 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5047 Remove Prefer_SSE_for_memop.
5048 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5049 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5050 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
5051 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5052 memset-x86-64.
80f844c9 5053 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 5054 Remove bzero, memset ifunc support.
80f844c9
OB
5055 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5056 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5057 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5058 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5059
fb6b0fcb
AS
50602013-03-11 Andreas Schwab <schwab@suse.de>
5061
5062 [BZ #15234]
5063 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5064 by SHLIB_COMPAT.
5065 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5066 (GLIBC_2.16): Remove pthread_atfork.
5067
3e6bd4b1
PP
50682013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5069
5070 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5071 (ptestcases.h): Likewise.
5072
222d7f00
RM
50732013-03-08 Roland McGrath <roland@hack.frob.com>
5074
5075 * Makeconfig ($(common-objpfx)config.status): Depend on
5076 sysdeps/*/preconfigure{,.in} too.
5077
1ba4f030
JM
50782013-03-08 Joseph Myers <joseph@codesourcery.com>
5079
a222d91a
JM
5080 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5081 (__free_hook): Use void * instead of __malloc_ptr_t.
5082 (__malloc_hook): Likewise.
5083 (__realloc_hook): Likewise.
5084 (__memalign_hook): Likewise.
5085 (__after_morecore_hook): Likewise.
5086 * malloc/arena.c (save_malloc_hook): Likewise.
5087 (save_free_hook): Likewise.
5088 * malloc/hooks.c (malloc_hook_ini): Likewise.
5089 (realloc_hook_ini): Likewise.
5090 (memalign_hook_ini): Likewise.
5091 * malloc/malloc.c (malloc_hook_ini): Likewise.
5092 (realloc_hook_ini): Likewise.
5093 (memalign_hook_ini): Likewise.
5094 (__free_hook): Likewise.
5095 (__malloc_hook): Likewise.
5096 (__realloc_hook): Likewise.
5097 (__memalign_hook): Likewise.
5098 (__libc_malloc): Likewise.
5099 (__libc_free): Likewise.
5100 (__libc_realloc): Likewise.
5101 (__libc_memalign): Likewise.
5102 (__libc_valloc): Likewise.
5103 (__libc_pvalloc): Likewise.
5104 (__libc_calloc): Likewise.
5105 (__posix_memalign): Likewise.
5106 * malloc/morecore.c (__sbrk): Likewise.
5107 (__default_morecore): Likewise.
5108
5cc45e10
JM
5109 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5110
dd54b864
JM
5111 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5112 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5113 __malloc_ptrdiff_t.
5114
1ba4f030
JM
5115 * malloc/malloc.h (__malloc_size_t): Remove macro.
5116 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5117 __malloc_size_t.
5118 (old_memalign_hook): Likewise.
5119 (old_realloc_hook): Likewise.
5120 (struct hdr): Likewise.
5121 (flood): Likewise.
5122 (mallochook): Likewise.
5123 (memalignhook): Likewise.
5124 (reallochook): Likewise.
5125 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5126 (tr_old_realloc_hook): Likewise.
5127 (tr_old_memalign_hook): Likewise.
5128 (tr_mallochook): Likewise.
5129 (tr_reallochook): Likewise.
5130 (tr_memalignhook): Likewise.
5131
edf66e57
AZ
51322013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5133
5134 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5135 default_ldbl_pack and using as default implementation.
5136 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5137 implementation.
5138 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5139 redundant definition.
5140 (ldbl_insert_mantissa): Likewise.
5141 (ldbl_canonicalize): Likewise.
5142 (ldbl_nearbyint): Likewise.
5143 (ldbl_pack): Rename to ldbl_pack_ppc.
5144 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5145 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5146 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5147
6d9145d8
SP
51482013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5149
5150 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5151 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5152 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5153 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5154 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5155 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5156 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5157 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5158
4dd4e157
AJ
51592013-03-07 Andreas Jaeger <aj@suse.de>
5160
5161 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5162 bits/mman-linux.h.
5163
adbb8027
SP
51642013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5165
ce544b5b
SP
5166 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5167 Include mpa.h and declare __MPEXP.
5168 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5169 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5170 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5171 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5172 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5173 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5174 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5175
4cc149fd
SP
5176 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5177 (__slowpow): Use long double EXPL and LOGL functions to
5178 compute POW.
5179 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5180 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5181 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5182 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5183 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5184 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5185
e6ebd4a7
SP
5186 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5187 intermediate variable to calculate exponent.
5188 (__sqr): Likewise.
5189 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5190 Likewise.
5191 (__sqr): Likewise.
5192
82a9811d
SP
5193 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5194 [!NO__SQR]: Define __sqr.
5195 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5196 and NO__SQR. Remove all code except __mul and __sqr. Include
5197 sysdeps/ieee754/dbl-64/mpa.c.
5198 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5199
adbb8027
SP
5200 [BZ #12723]
5201 * posix/Makefile (tests): Add tst-pathconf.
5202 * posix/tst-pathconf.c: New test case.
5203 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5204 _PC_PIPE_BUF.
5205 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5206
39120df9
PF
52072013-03-06 Patsy Franklin <pfrankli@redhat.com>
5208
5209 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5210
67525cb8
AJ
52112013-03-06 Andreas Jaeger <aj@suse.de>
5212
664a9ce4
AJ
5213 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5214 definition via __MAP_ANONYMOUS.
5215
8e39047d
AJ
5216 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5217 it's not part of Linux headers.
5218
67525cb8
AJ
5219 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5220 (MAP_HUGE_MASK): Define.
5221
5222 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5223 Define.
5224 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5225 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5226 Define.
5227 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5228 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5229 Define.
5230 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5231 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5232 Define.
5233 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5234
5235 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5236 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5237 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5238 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5239 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5240 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5241
5242 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5243 Handle f2fs.
5244
5245 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5246 Handle f2fs and efivarfs.
5247
5248 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5249 f2fs.
5250
5251 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5252 (EFIVARFS_MAGIC): Add.
5253 (F2FS_LINK_MAX): Add.
5254
e1b42695
PP
52552013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5256
5257 * stdio-common/vfprintf.c: Replace __builtin_expect with
5258 __glibc_unlikely.
5259
2d67d91a
JM
52602013-03-06 Joseph Myers <joseph@codesourcery.com>
5261
5262 [BZ #13550]
5263 * sysdeps/generic/bp-sym.h: Remove file.
5264 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5265 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5266 <bp-sym.h> and <bp-asm.h>.
5267 (__longjmp): Don't use BP_SYM.
5268 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5269 and <bp-asm.h>.
5270 (memcpy): Don't use BP_SYM.
5271 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5272 <bp-sym.h> and <bp-asm.h>.
5273 (memcpy): Don't use BP_SYM.
5274 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5275 <bp-asm.h>.
5276 (memcpy): Don't use BP_SYM.
5277 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5278 <bp-asm.h>.
5279 (memset): Don't use BP_SYM.
5280 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5281 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5282 (__bzero): Don't use BP_SYM.
5283 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5284 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5285 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5286 <bp-sym.h> and <bp-asm.h>.
5287 (memcmp): Don't use BP_SYM. Remove comment about bounded
5288 pointers.
5289 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5290 <bp-sym.h> and <bp-asm.h>.
5291 (memcpy): Don't use BP_SYM.
5292 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5293 <bp-sym.h> and <bp-asm.h>.
5294 (memset): Don't use BP_SYM.
5295 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5296 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5297 (__bzero): Don't use BP_SYM.
5298 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5299 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5300 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5301 <bp-sym.h> and <bp-asm.h>.
5302 (strncmp): Don't use BP_SYM. Remove comment about bounded
5303 pointers.
5304 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5305 <bp-sym.h> and <bp-asm.h>.
5306 (memcpy): Don't use BP_SYM.
5307 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5308 <bp-sym.h> and <bp-asm.h>.
5309 (memset): Don't use BP_SYM.
5310 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5311 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5312 (__bzero): Don't use BP_SYM.
5313 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5314 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5315 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5316 <bp-sym.h> and <bp-asm.h>.
5317 (__memchr): Don't use BP_SYM.
5318 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5319 <bp-sym.h> and <bp-asm.h>.
5320 (memcmp): Don't use BP_SYM. Remove comment about bounded
5321 pointers.
5322 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5323 <bp-sym.h> and <bp-asm.h>.
5324 (memcpy): Don't use BP_SYM.
5325 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5326 <bp-sym.h> and <bp-asm.h>.
5327 (__mempcpy): Don't use BP_SYM.
5328 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5329 <bp-sym.h> and <bp-asm.h>.
5330 (__memrchr): Don't use BP_SYM.
5331 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5332 <bp-sym.h> and <bp-asm.h>.
5333 (memset): Don't use BP_SYM.
5334 (__bzero): Likewise.
5335 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5336 <bp-sym.h> and <bp-asm.h>.
5337 (__rawmemchr): Don't use BP_SYM.
5338 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5339 <bp-sym.h> and <bp-asm.h>.
5340 (__STRCMP): Don't use BP_SYM.
5341 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5342 <bp-sym.h> and <bp-asm.h>.
5343 (strchr): Don't use BP_SYM.
5344 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5345 <bp-sym.h> and <bp-asm.h>.
5346 (__strchrnul): Don't use BP_SYM.
5347 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5348 <bp-sym.h> and <bp-asm.h>.
5349 (strlen): Don't use BP_SYM.
5350 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5351 <bp-sym.h> and <bp-asm.h>.
5352 (strncmp): Don't use BP_SYM. Remove comment about bounded
5353 pointers.
5354 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5355 <bp-sym.h> and <bp-asm.h>.
5356 (__strnlen): Don't use BP_SYM.
5357 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5358 <bp-sym.h> and <bp-asm.h>.
5359 (__GI__setjmp): Don't use BP_SYM.
5360 (_setjmp): Likewise.
5361 (__sigsetjmp): Likewise.
5362 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5363 (L(start_addresses)): Don't use BP_SYM.
5364 (_start): Likewise.
5365 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5366 <bp-asm.h>.
5367 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5368 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5369 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5370 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5371 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5372 <bp-asm.h>.
5373 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5374 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5375 about bounded pointers.
5376 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5377 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5378 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5379 <bp-asm.h>.
5380 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5381 about bounded pointers. Remove GKM FIXME comments.
5382 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5383 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5384 <bp-asm.h>.
5385 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5386 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5387 Remove GKM FIXME comments.
5388 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5389 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5390 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5391 <bp-asm.h>.
5392 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5393 about bounded pointers. Remove GKM FIXME comment.
5394 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5395 and <bp-asm.h>.
5396 (strncmp): Don't use BP_SYM. Remove comment about bounded
5397 pointers.
5398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5399 <bp-sym.h> and <bp-asm.h>.
5400 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5402 <bp-sym.h> and <bp-asm.h>.
5403 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5404 comment.
5405
cdcf361f
PP
54062013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5407
5408 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5409 call free(NULL).
5410
3c4a2b15
DM
54112013-03-05 David S. Miller <davem@davemloft.net>
5412
5413 * po/es.po: Update from translation team.
5414
cdcf361f 54152013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
5416
5417 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5418 <bits/mman-linux.h>.
5419 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5420 is fine.
5421 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5422 <bits/mman-linux.h> to end of file.
5423 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5424 is fine.
5425 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5426 <bits/mman-linux.h> to end of file.
5427 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5428 is fine.
5429 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5430 <bits/mman-linux.h> to end of file.
5431
5432 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5433 (MCL_CURRENT, MCL_FUTURE): Define here.
5434
5f67c04f
AK
54352013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5436
8a4473cc 5437 [BZ #15232]
5f67c04f
AK
5438 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5439 attribute_hidden.
5440 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5441
c3e94a95
AK
54422013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5443
5444 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5445 fourth parameter needed for rt_sigprocmask syscall.
5446 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5447 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5448 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5449 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5450 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5451 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5452
cfb6382a
JM
54532013-03-04 Joseph Myers <joseph@codesourcery.com>
5454
5455 [BZ #13550]
5456 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5457 comment about bounded pointers.
5458 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5459 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5460
539d8e01
AJ
54612013-03-04 Andreas Jaeger <aj@suse.de>
5462
5463 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5464 common definitions.
5465
5466 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5467 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5468 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5469 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5470 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
5471 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5472
2e167a70 54732013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
5474
5475 [BZ #15055]
5476 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5477 __ieee754_sqrl instead of __sqrl.
5478
68508633
JM
54792013-03-01 Joseph Myers <joseph@codesourcery.com>
5480
5481 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5482 * sysdeps/powerpc/fpu_control.h: ... here.
5483 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5484 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5485 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5486 * sysdeps/powerpc/bits/mathinline.h: ... here.
5487
7775448e
RM
54882013-03-01 Roland McGrath <roland@hack.frob.com>
5489
5490 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5491 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5492 to just [NEED_DL_SYSINFO_DSO].
5493 * elf/dl-support.c: Likewise.
5494 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5495 * elf/rtld.c (dl_main): Likewise.
5496 * elf/setup-vdso.h (setup_vdso): Likewise.
5497 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5498 * sysdeps/unix/sysv/linux/dl-sysdep.c
5499 (_dl_discover_osversion): Likewise.
5500
4e9b5995
CD
55012013-03-01 Carlos O'Donell <carlos@redhat.com>
5502
5503 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5504 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5505
e23872c8
SP
55062013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5507
e5c74c63
SP
5508 * NEWS: Mention libm performance improvements and non-x86 PI
5509 futex support.
5510
e23872c8
SP
5511 * csu/libc-start.c (__pthread_initialize_minimal): Change
5512 function arguments.
5513 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5514
b5510883
JM
55152013-02-28 Joseph Myers <joseph@codesourcery.com>
5516
5517 [BZ #13550]
5518 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5519 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5520 <bp-sym.h> and <bp-asm.h>.
5521 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5522 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5523 and <bp-asm.h>.
5524 (memcpy): Don't use BP_SYM.
5525 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5526 <bp-asm.h>.
5527 (__mpn_add_n): Don't use BP_SYM.
5528 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5529 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5530 and <bp-asm.h>.
5531 (__mpn_addmul_1): Don't use BP_SYM.
5532 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5533 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5534 <bp-sym.h>.
5535 (_setjmp): Don't use BP_SYM.
5536 (__novmx_setjmp): Likewise.
5537 (__GI__setjmp): Likewise.
5538 (__vmx_setjmp): Likewise.
5539 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5540 <bp-sym.h>.
5541 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5542 (__bzero): Don't use BP_SYM.
5543 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5544 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5545 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5546 <bp-sym.h> and <bp-asm.h>.
5547 (memcpy): Don't use BP_SYM.
5548 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5549 <bp-sym.h> and <bp-asm.h>.
5550 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5551 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5552 <bp-sym.h> and <bp-asm.h>.
5553 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5554 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5555 <bp-asm.h>.
5556 (__mpn_lshift): Don't use BP_SYM.
5557 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5558 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5559 <bp-asm.h>.
5560 (memset): Don't use BP_SYM.
5561 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5562 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5563 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5564 <bp-asm.h>.
5565 (__mpn_mul_1): Don't use BP_SYM.
5566 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5567 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5568 <bp-sym.h> and <bp-asm.h>.
5569 (memcmp): Don't use BP_SYM.
5570 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5571 <bp-sym.h> and <bp-asm.h>.
5572 (memcpy): Don't use BP_SYM.
5573 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5574 <bp-sym.h> and <bp-asm.h>.
5575 (memset): Don't use BP_SYM.
5576 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5577 <bp-sym.h> and <bp-asm.h>.
5578 (strncmp): Don't use BP_SYM.
5579 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5580 <bp-sym.h> and <bp-asm.h>.
5581 (memcpy): Don't use BP_SYM.
5582 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5583 <bp-sym.h> and <bp-asm.h>.
5584 (memset): Don't use BP_SYM.
5585 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5586 <bp-sym.h> and <bp-asm.h>.
5587 (__memchr): Don't use BP_SYM.
5588 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5589 <bp-sym.h> and <bp-asm.h>.
5590 (memcmp): Don't use BP_SYM.
5591 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5592 <bp-sym.h> and <bp-asm.h>.
5593 (memcpy): Don't use BP_SYM.
5594 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5595 <bp-sym.h> and <bp-asm.h>.
5596 (__mempcpy): Don't use BP_SYM.
5597 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5598 <bp-sym.h> and <bp-asm.h>.
5599 (__memrchr): Don't use BP_SYM.
5600 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5601 <bp-sym.h> and <bp-asm.h>.
5602 (memset): Don't use BP_SYM.
5603 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5604 <bp-sym.h> and <bp-asm.h>.
5605 (__rawmemchr): Don't use BP_SYM.
5606 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5607 <bp-sym.h> and <bp-asm.h>.
5608 (__STRCMP): Don't use BP_SYM.
5609 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5610 <bp-sym.h> and <bp-asm.h>.
5611 (strchr): Don't use BP_SYM.
5612 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5613 <bp-sym.h> and <bp-asm.h>.
5614 (__strchrnul): Don't use BP_SYM.
5615 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5616 <bp-sym.h> and <bp-asm.h>.
5617 (strlen): Don't use BP_SYM.
5618 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5619 <bp-sym.h> and <bp-asm.h>.
5620 (strncmp): Don't use BP_SYM.
5621 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5622 <bp-sym.h> and <bp-asm.h>.
5623 (__strnlen): Don't use BP_SYM.
5624 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5625 <bp-asm.h>.
5626 (__mpn_rshift): Don't use BP_SYM.
5627 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5628 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5629 <bp-sym.h> and <bp-asm.h>.
5630 (__sigsetjmp): Don't use BP_SYM.
5631 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5632 (L(start_addresses)): Don't use BP_SYM.
5633 (_start): Likewise.
5634 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5635 <bp-asm.h>.
5636 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5637 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5638 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5639 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5640 <bp-asm.h>.
5641 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5642 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5643 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5644 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5645 <bp-asm.h>.
5646 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5647 comments.
5648 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5649 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5650 <bp-asm.h>.
5651 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5652 FIXME comments.
5653 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5654 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5655 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5656 <bp-asm.h>.
5657 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5658 comment.
5659 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5660 and <bp-asm.h>.
5661 (strncmp): Don't use BP_SYM,
5662 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5663 <bp-asm.h>.
5664 (__mpn_sub_n): Don't use BP_SYM.
5665 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5666 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5667 and <bp-asm.h>.
5668 (__mpn_submul_1): Don't use BP_SYM.
5669 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5671 <bp-sym.h> and <bp-asm.h>.
5672 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5674 <bp-sym.h> and <bp-asm.h>.
5675 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5676 comment.
5677
8d19fe64
SP
56782013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5679
5680 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5681 Use ZK to minimize writes to Z.
5682 (sub_magnitudes): Simplify code a bit.
5683 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5684 Use ZK to minimize writes to Z.
5685 (sub_magnitudes): Simplify code a bit.
5686
85bd816a
RM
56872013-02-27 Roland McGrath <roland@hack.frob.com>
5688
5689 * csu/gmon-start.c: Add special exception to license text.
5690
b5977bf2
RH
56912013-02-27 Richard Henderson <rth@redhat.com>
5692
5693 * scripts/config.guess: Update from config.git.
5694 * scripts/config.sub: Likewise.
5695
11d6e2f2
SP
56962013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5697
09c14ed2
SP
5698 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5699
a688864e
SP
5700 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5701
6295157a
SP
5702 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5703
b8de2202
SP
5704 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5705
11d6e2f2
SP
5706 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5707
7e80ddb8
RM
57082013-02-26 Roland McGrath <roland@hack.frob.com>
5709
5710 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5711 [$(build-shared = yes].
7e80ddb8 5712
7da6d9ed
SP
57132013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5714
45f05884
SP
5715 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5716 (__mul): Reduce iterations for calculating mantissa.
5717
2236d359
SP
5718 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5719 MPTWO.
5720 (__mpranred): Likewise.
5721
7da6d9ed
SP
5722 [BZ #15160]
5723 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5724 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5725
b7688c42
PE
57262013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5727
5728 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5729 Define __attribute__.
5730
53a5c423
SP
57312013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5732
5733 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5734 unused.
5735 * posix/regex_internal.h (__attribute): Remove.
5736 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5737 (re_string_context_at): Likewise.
5738 (bitset_not): Use __attribute__ and mark function as possibly
5739 unused.
5740 (bitset_merge): Likewise.
5741 (bitset_mask): Likewise.
5742 (re_string_char_size_at): Likewise.
5743 (re_string_wchar_at): Likewise.
5744 (re_string_elem_size_at): Likewise.
5745
60f5a8b5
SP
57462013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5747
2a983a2e
SP
5748 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5749 code.
5750 (cc32): Likewise.
5751
e69804d1
SP
5752 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5753 (__acr): Likewise.
5754 (__cpy): Likewise.
5755 (norm): Likewise.
5756 (denorm): Likewise.
5757 (__dbl_mp): Likewise.
5758 (add_magnitudes): Likewise.
5759 (sub_magnitudes): Likewise.
5760 (__mul): Likewise.
5761 (__inv): Likewise.
5762
2f22a1e8
SP
5763 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5764 style.
5765
8930ddc7
SP
5766 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5767 style.
5768
dc60cb11
SP
5769 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5770 code.
5771
60f5a8b5
SP
5772 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5773 up changes with default code.
5774 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5775 Likewise.
5776
b4d1fd33
AM
57772013-02-24 Allan McRae <allan@archlinux.org>
5778
faf6f8bc
AM
5779 * manual/socket.texi (The Internet Namespace): Order menu items
5780 to match that in the file.
5781
b4d1fd33
AM
5782 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5783 node listing of the info page menu.
5784
2366713d
JM
57852013-02-21 Joseph Myers <joseph@codesourcery.com>
5786
5787 [BZ #13550]
5788 * sysdeps/i386/bp-asm.h: Remove file.
5789 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5790 (PARMS): Do not use macros from bp-asm.h.
5791 (S1): Likewise.
5792 (S2): Likewise.
5793 (SIZE): Likewise.
5794 (__mpn_add_n): Do not use BP_SYM
5795 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5796 "bp-asm.h".
5797 (PARMS): Do not use macros from bp-asm.h.
5798 (S1): Likewise.
5799 (SIZE): Likewise.
5800 (__mpn_addmul_1): Do not use BP_SYM
5801 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5802 "bp-asm.h".
5803 (PARMS): Do not use macros from bp-asm.h.
5804 (SIGMSK): Likewise.
5805 (_setjmp): Likewise. Do not use BP_SYM.
5806 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5807 "bp-asm.h".
5808 (PARMS): Do not use macros from bp-asm.h.
5809 (SIGMSK): Likewise.
5810 (setjmp): Likewise. Do not use BP_SYM.
5811 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5812 "bp-asm.h".
5813 (PARMS): Do not use macros from bp-asm.h.
5814 (__frexp): Do not use BP_SYM.
5815 (frexp): Likewise.
5816 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5817 "bp-asm.h".
5818 (PARMS): Do not use macros from bp-asm.h.
5819 (__frexpf): Do not use BP_SYM.
5820 (frexpf): Likewise.
5821 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5822 "bp-asm.h".
5823 (PARMS): Do not use macros from bp-asm.h.
5824 (__frexpl): Do not use BP_SYM.
5825 (frexpl): Likewise.
5826 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5827 "bp-asm.h".
5828 (PARMS): Do not use macros from bp-asm.h.
5829 (__remquo): Do not use BP_SYM.
5830 (remquo): Likewise.
5831 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5832 "bp-asm.h".
5833 (PARMS): Do not use macros from bp-asm.h.
5834 (__remquof): Do not use BP_SYM.
5835 (remquof): Likewise.
5836 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5837 "bp-asm.h".
5838 (PARMS): Do not use macros from bp-asm.h.
5839 (__remquol): Do not use BP_SYM.
5840 (remquol): Likewise.
5841 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5842 "bp-asm.h".
5843 (PARMS): Do not use macros from bp-asm.h.
5844 (DEST): Likewise.
5845 (SRC): Likewise.
5846 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
5847 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5848 "bp-asm.h".
5849 (PARMS): Do not use macros from bp-asm.h.
5850 (strlen): Do not use BP_SYM.
5851 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5852 "bp-asm.h".
5853 (PARMS): Do not use macros from bp-asm.h.
5854 (S1): Likewise.
5855 (S2): Likewise.
5856 (SIZE): Likewise.
5857 (__mpn_add_n): Do not use BP_SYM.
5858 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5859 "bp-asm.h".
5860 (PARMS): Do not use macros from bp-asm.h.
5861 (S1): Likewise.
5862 (SIZE): Likewise.
5863 (__mpn_addmul_1): Do not use BP_SYM.
5864 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5865 weak_alias.
5866 (bzero): Likewise.
5867 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5868 "bp-asm.h".
5869 (PARMS): Do not use macros from bp-asm.h.
5870 (S): Likewise.
5871 (SIZE): Likewise.
5872 (__mpn_lshift): Do not use BP_SYM.
5873 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5874 "bp-asm.h".
5875 (PARMS): Do not use macros from bp-asm.h.
5876 (DEST): Likewise.
5877 (SRC): Likewise.
5878 (LEN): Likewise.
5879 (memcpy): Likewise. Do not use BP_SYM.
5880 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5881 libc_hidden_def and weak_alias.
5882 (mempcpy): Do not use BP_SYM in weak_alias.
5883 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5884 "bp-asm.h".
5885 (PARMS): Do not use macros from bp-asm.h.
5886 (DEST): Likewise.
5887 (LEN): Likewise.
5888 [!BZERO_P] (CHR): Likewise.
5889 (memset): Likewise. Do not use BP_SYM.
5890 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5891 "bp-asm.h".
5892 (PARMS): Do not use macros from bp-asm.h.
5893 (S1): Likewise.
5894 (SIZE): Likewise.
5895 (__mpn_mul_1): Do not use BP_SYM.
5896 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5897 "bp-asm.h".
5898 (PARMS): Do not use macros from bp-asm.h.
5899 (S): Likewise.
5900 (SIZE): Likewise.
5901 (__mpn_rshift): Do not use BP_SYM.
5902 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5903 "bp-asm.h".
5904 (PARMS): Do not use macros from bp-asm.h.
5905 (STR): Likewise.
5906 (CHR): Likewise.
5907 (strchr): Likewise. Do not use BP_SYM.
5908 (index): Do not use BP_SYM in weak_alias.
5909 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5910 "bp-asm.h".
5911 (PARMS): Do not use macros from bp-asm.h.
5912 (DEST): Likewise.
5913 (SRC): Likewise.
5914 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
5915 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5916 "bp-asm.h".
5917 (PARMS): Do not use macros from bp-asm.h.
5918 (strlen): Do not use BP_SYM.
5919 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5920 "bp-asm.h".
5921 (PARMS): Do not use macros from bp-asm.h.
5922 (S1): Likewise.
5923 (S2): Likewise.
5924 (SIZE): Likewise.
5925 (__mpn_sub_n): Do not use BP_SYM.
5926 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
5927 "bp-asm.h".
5928 (PARMS): Do not use macros from bp-asm.h.
5929 (S1): Likewise.
5930 (SIZE): Likewise.
5931 (__mpn_submul_1): Do not use BP_SYM.
5932 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5933 "bp-asm.h".
5934 (PARMS): Do not use macros from bp-asm.h.
5935 (S1): Likewise.
5936 (S2): Likewise.
5937 (SIZE): Likewise.
5938 (__mpn_add_n): Do not use BP_SYM.
5939 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5940 weak_alias.
5941 (bzero): Likewise.
5942 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5943 "bp-asm.h".
5944 (PARMS): Do not use macros from bp-asm.h.
5945 (BLK2): Likewise.
5946 (LEN): Likewise.
5947 (memcmp): Do not use BP_SYM.
5948 (bcmp): Do not use BP_SYM in weak_alias.
5949 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5950 "bp-asm.h".
5951 (PARMS): Do not use macros from bp-asm.h.
5952 (DEST): Likewise.
5953 (SRC): Likewise.
5954 (LEN): Likewise.
5955 (memcpy): Likewise. Do not use BP_SYM.
5956 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
5957 "bp-asm.h".
5958 (PARMS): Do not use macros from bp-asm.h.
5959 (DEST): Likewise.
5960 (SRC): Likewise.
5961 (LEN): Likewise.
5962 (memmove): Likewise. Do not use BP_SYM.
5963 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
5964 "bp-asm.h".
5965 (PARMS): Do not use macros from bp-asm.h.
5966 (DEST): Likewise.
5967 (SRC): Likewise.
5968 (LEN): Likewise.
5969 (__mempcpy): Likewise. Do not use BP_SYM.
5970 (mempcpy): Do not use BP_SYM in weak_alias.
5971 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
5972 "bp-asm.h".
5973 (PARMS): Do not use macros from bp-asm.h.
5974 (DEST): Likewise.
5975 (LEN): Likewise.
5976 [!BZERO_P] (CHR): Likewise.
5977 (memset): Likewise. Do not use BP_SYM.
5978 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
5979 "bp-asm.h".
5980 (PARMS): Do not use macros from bp-asm.h.
5981 (STR2): Likewise.
5982 (strcmp): Do not use BP_SYM.
5983 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
5984 "bp-asm.h".
5985 (PARMS): Do not use macros from bp-asm.h.
5986 (STR): Likewise.
5987 (DELIM): Likewise.
5988 [USE_AS_STRTOK_R] (SAVE): Likewise.
5989 (FUNCTION): Likewise. Do not use BP_SYM.
5990 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
5991 aliases.
5992 (strtok_r): Likewise.
5993 (__GI___strtok_r): Likewise.
5994 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5995 (PARMS): Do not use macros from bp-asm.h.
5996 (S): Likewise.
5997 (SIZE): Likewise.
5998 (__mpn_lshift): Do not use BP_SYM.
5999 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6000 (PARMS): Do not use macros from bp-asm.h.
6001 (STR): Likewise.
6002 (CHR): Likewise.
6003 (__memchr): Do not use BP_SYM.
6004 (memchr): Do not use BP_SYM in weak_alias.
6005 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6006 (PARMS): Do not use macros from bp-asm.h.
6007 (BLK2): Likewise.
6008 (LEN): Likewise.
6009 (memcmp): Do not use BP_SYM.
6010 (bcmp): Do not use BP_SYM in weak_alias.
6011 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6012 (PARMS): Do not use macros from bp-asm.h.
6013 (S1): Likewise.
6014 (SIZE): Likewise.
6015 (__mpn_mul_1): Do not use BP_SYM.
6016 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6017 "bp-asm.h".
6018 (PARMS): Do not use macros from bp-asm.h.
6019 (STR): Likewise.
6020 (CHR): Likewise.
6021 (__rawmemchr): Do not use BP_SYM.
6022 (rawmemchr): Do not use BP_SYM in weak_alias.
6023 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6024 (PARMS): Do not use macros from bp-asm.h.
6025 (S): Likewise.
6026 (SIZE): Likewise.
6027 (__mpn_rshift): Do not use BP_SYM.
6028 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6029 (PARMS): Do not use macros from bp-asm.h.
6030 (SIGMSK): Likewise.
6031 (__sigsetjmp): Likewise. Do not use BP_SYM.
6032 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6033 (_start): Do not use BP_SYM.
6034 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6035 (PARMS): Do not use macros from bp-asm.h.
6036 (DEST): Likewise.
6037 (SRC): Likewise.
6038 (__stpcpy): Likewise. Do not use BP_SYM.
6039 (stpcpy): Do not use BP_SYM in weak_alias.
6040 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6041 "bp-asm.h".
6042 (PARMS): Do not use macros from bp-asm.h.
6043 (DEST): Likewise.
6044 (SRC): Likewise.
6045 (LEN): Likewise.
6046 (__stpncpy): Likewise. Do not use BP_SYM.
6047 (stpncpy): Do not use BP_SYM in weak_alias.
6048 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6049 (PARMS): Do not use macros from bp-asm.h.
6050 (STR): Likewise.
6051 (CHR): Likewise.
6052 (strchr): Likewise. Do not use BP_SYM.
6053 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6054 "bp-asm.h".
6055 (PARMS): Do not use macros from bp-asm.h.
6056 (STR): Likewise.
6057 (CHR): Likewise.
6058 (__strchrnul): Likewise. Do not use BP_SYM.
6059 (strchrnul): Do not use BP_SYM in weak_alias.
6060 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6061 "bp-asm.h".
6062 (PARMS): Do not use macros from bp-asm.h.
6063 (STOP): Likewise.
6064 (strcspn): Do not use BP_SYM.
6065 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6066 "bp-asm.h".
6067 (PARMS): Do not use macros from bp-asm.h.
6068 (STR): Likewise.
6069 (STOP): Likewise.
6070 (strpbrk): Likewise. Do not use BP_SYM.
6071 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6072 "bp-asm.h".
6073 (PARMS): Do not use macros from bp-asm.h.
6074 (STR): Likewise.
6075 (CHR): Likewise.
6076 (strrchr): Likewise. Do not use BP_SYM.
6077 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6078 (PARMS): Do not use macros from bp-asm.h.
6079 (SKIP): Likewise.
6080 (strspn): Do not use BP_SYM.
6081 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6082 (PARMS): Do not use macros from bp-asm.h.
6083 (STR): Likewise.
6084 (DELIM): Likewise.
6085 (SAVE): Likewise.
6086 (FUNCTION): Likewise. Do not use BP_SYM.
6087 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6088 aliases.
6089 (strtok_r): Likewise.
6090 (__GI___strtok_r): Likewise.
6091 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6092 (PARMS): Do not use macros from bp-asm.h.
6093 (S1): Likewise.
6094 (S2): Likewise.
6095 (SIZE): Likewise.
6096 (__mpn_sub_n): Do not use BP_SYM.
6097 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6098 "bp-asm.h".
6099 (PARMS): Do not use macros from bp-asm.h.
6100 (S1): Likewise.
6101 (SIZE): Likewise.
6102 (__mpn_submul_1): Do not use BP_SYM.
6103 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6104 <bp-sym.h>.
6105 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6106 and <bp-asm.h>.
6107 (PARMS): Do not use macros from bp-asm.h.
6108 (FLAGS): Likewise.
6109 (PTID): Likewise.
6110 (TLS): Likewise.
6111 (CTID): Likewise.
6112 (__clone): Do not use BP_SYM.
6113 (clone): Do not use BP_SYM in weak_alias.
6114 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6115 and <bp-asm.h>.
6116 (PARMS): Do not use macros from bp-asm.h.
6117 (LEN): Likewise.
6118 (__mmap64): Do not use BP_SYM.
6119 (mmap64): Do not use BP_SYM in weak_alias.
6120 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6121 <bp-sym.h> and <bp-asm.h>.
6122 (PARMS): Do not use macros from bp-asm.h.
6123 (__posix_fadvise64_l64): Do not use BP_SYM.
6124 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6125 (PARMS): Do not use macros from bp-asm.h.
6126 (NSOPS): Likewise.
6127 (semtimedop): Do not use BP_SYM.
6128 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6129 and <bp-asm.h>.
6130
582a3cff
AM
61312013-02-21 Allan McRae <allan@archlinux.org>
6132
6133 * manual/message.texi (Charset conversion in gettext):
6134 Move @end statement to beginning of line.
6135
bab8a695
SP
61362013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6137
80945231
SP
6138 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6139 static.
6140 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6141 Likewise.
6142
bab8a695
SP
6143 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6144 (denorm): Likewise.
6145 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6146 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6147
e21d7aa7
AK
61482013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6149
6150 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6151 tail-call to the resolved function if pltexit isn't needed.
6152
4c7a4263
SP
61532013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6154
6155 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6156 or Y being zero as being unlikely.
6157 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6158 Likewise.
6159
41f49342
CD
61602013-02-20 Carlos O'Donell <carlos@redhat.com>
6161
6162 * manual/nss.texi (System Databases and Name Service Switch):
6163 Remove frobnicate @pxref.
6164
50022a93
TS
61652013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6166
6167 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6168 __attribute__ ((unused)) to __attribute__ ((__unused__)).
6169
08cbd996
PM
61702013-02-20 Petr Machata <pmachata@redhat.com>
6171
6172 * elf/elf.h (R_ARM_TARGET1): New macro.
6173 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6174 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6175 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6176 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6177 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6178 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6179 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6180 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6181 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6182 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6183 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6184 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6185 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6186 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6187 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6188 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6189 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6190 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6191 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6192 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6193 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6194 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6195 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6196 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6197 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6198 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6199 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6200 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6201 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6202 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6203 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6204 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6205 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6206 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6207 (R_ARM_THM_GOT_BREL12): Likewise.
6208 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6209 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6210 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6211 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6212 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6213 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6214 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6215 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6216 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6217
c7b275d6
TS
62182013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6219
6220 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6221 __attribute_used__ to __attribute__ ((unused)).
6222
20cd7fb3
SP
62232013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6224
6225 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6226 powerpc mpa.c.
6227 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6228 comment formatting.
6229 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6230
92945b52
JM
62312013-02-19 Joseph Myers <joseph@codesourcery.com>
6232
6233 [BZ #13550]
6234 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6235 Remove macro.
6236 (ENTER): Remove both macro definitions.
6237 (LEAVE): Likewise.
6238 (CHECK_BOUNDS_LOW): Likewise.
6239 (CHECK_BOUNDS_HIGH): Likewise.
6240 (CHECK_BOUNDS_BOTH): Likewise.
6241 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6242 (RETURN_BOUNDED_POINTER): Likewise.
6243 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6244 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6245 (POP_ERRNO_LOCATION_RETURN): Likewise.
6246 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6247 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6248 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6249 macros.
6250 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6251 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6252 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6253 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6254 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6255 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6256 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6257 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6258 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6259 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6260 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6261 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6262 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6263 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6264 removed macros.
6265 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6266 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6267 macros.
6268 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6269 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6270 * sysdeps/i386/i586/memset.S (memset): Likewise.
6271 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6272 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6273 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6274 macros.
6275 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6276 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6277 Change uses of L(2) to L(out).
6278 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6279 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6280 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6281 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6282 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6283 removed macros.
6284 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6285 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6286 macros.
6287 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6288 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6289 (RETURN): Do not use macro LEAVE.
6290 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6291 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6292 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6293 * sysdeps/i386/i686/memset.S (memset): Likewise.
6294 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6295 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6296 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6297 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6298 Likewise.
6299 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6300 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6301 L(1_2) and L(1_3) into L(1).
6302 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6303 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6304 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6305 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6306 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6307 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6308 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6309 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6310 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6311 macros.
6312 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6313 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6314 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6315 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6316 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6317 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6318 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6319 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6320 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6321 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6322 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6323 * sysdeps/i386/strspn.S (strspn): Likewise.
6324 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6325 conditional code.
6326 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6327 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6328 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6329 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6330 L(1_3) into L(1_1).
6331 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6332 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6333 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6334 macros.
6335 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6336
2389741a
JJ
63372013-02-19 Jakub Jelinek <jakub@redhat.com>
6338
6339 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6340 macro.
6341
2016b3cd
SP
63422013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6343
e4f22324
SP
6344 * math/atest-exp.c (exp_mpn): Remove ROUND.
6345 * math/atest-exp2.c (exp_mpn): Likewise.
6346 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6347
2016b3cd
SP
6348 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6349 * stdlib/tst-tls-atexit-lib.c: Likewise.
6350 * stdlib/tst-tls-atexit.c: Likewise.
6351
4be9b544
MF
63522013-02-18 Mike Frysinger <vapier@gentoo.org>
6353
6354 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6355 and __attribute_alloc_size__.
6356
2f62b9ee
MF
63572013-02-18 Mike Frysinger <vapier@gentoo.org>
6358
6359 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6360 __attribute_alloc_size__.
6361 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6362 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6363
6ff444c4
MF
63642013-02-18 Mike Frysinger <vapier@gentoo.org>
6365
6366 * include/programs/xmalloc.h: New file.
6367 * catgets/gencat.c: Include it.
6368 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6369 * elf/pldd.c: Likewise.
6370 * iconv/iconv_charmap.c: Likewise.
6371 * iconv/iconvconfig.c: Likewise.
6372 * iconv/strtab.c: Likewise.
6373 * locale/programs/locale.c: Likewise.
6374 * locale/programs/localedef.h: Likewise.
6375 * locale/programs/simple-hash.c: Likewise.
6376 * nscd/nscd.h: Likewise.
6377 * nss/makedb.c: Likewise.
6378 * sysdeps/generic/ldconfig.h: Likewise.
6379
be179c8a
SP
63802013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6381
ba384f6e
SP
6382 * Versions.def: Add GLIBC_2.18.
6383 * include/link.h (struct link_map): New member l_tls_dtor_count.
6384 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6385 (__call_tls_dtors): Likewise.
6386 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6387 __cxa_thread_atexit_impl.
6388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6389 Likewise.
6390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6391 Likewise.
6392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6393 Likewise.
6394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6395 Likewise.
6396 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6398 Likewise.
6399 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6400 Likewise.
6401 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6403 Likewise.
6404 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6405 (tests): Add test case tst-tls-atexit.
6406 (modules-names): Add shared library for tst-tls-atexit.
6407 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
6408 (GLIBC_PRIVATE): Add __call_tls_dtors.
6409 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6410 for libstdc++.
6411 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6412 * stdlib/tst-tls-atexit.c: New test case.
6413 * stdlib/tst-tls-atexit-lib.c: New test case.
6414
ffaa74cf 6415 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 6416
be179c8a
SP
6417 * elf/Versions (ld): Add _dl_find_dso_for_object.
6418 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6419 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6420 (dl_open_worker): Use _dl_find_dso_for_object.
6421 * elf/dl-sym.c (do_sym): Likewise.
6422 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6423
f78b5caa
AK
64242013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6425
6426 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6427 Syntactic changes only.
6428 (_dl_runtime_profile): Do a tail-call to the resolved function.
6429
29691210
JM
64302013-02-17 Joseph Myers <joseph@codesourcery.com>
6431
6432 [BZ #13550]
6433 * sysdeps/x86_64/bp-asm.h: Remove file.
6434 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6435 <bp-sym.h> and <bp-asm.h>.
6436 (__clone): Do not use BP_SYM.
6437 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6438 <bp-sym.h> and <bp-asm.h>.
6439 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6440 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6441 "bp-asm.h".
6442 (_setjmp): Do not use BP_SYM.
6443 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6444 "bp-asm.h".
6445 (setjmp): Do not use BP_SYM.
6446 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6447 libc_hidden_def.
6448 (mempcpy): Do not use BP_SYM in weak_alias.
6449 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6450 "bp-asm.h".
6451 (strchr): Do not use BP_SYM.
6452 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6453 "bp-asm.h".
6454 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6455 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6456 (_start): Do not use BP_SYM.
6457 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6458 "bp-asm.h".
6459 (strcat): Do not use BP_SYM.
6460 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6461 "bp-asm.h".
6462 (STRCMP): Do not use BP_SYM.
6463 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6464 "bp-asm.h".
6465 (STRCPY): Do not use BP_SYM.
6466 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6467 "bp-asm.h".
6468 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6469 "bp-asm.h".
6470 (FUNCTION): Do not use BP_SYM.
6471 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6472 weak_alias.
6473 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6474
f238fd19
AJ
64752013-02-17 Andreas Jaeger <aj@suse.de>
6476
6477 * time/Versions: Sort entries.
6478 * string/Versions: Likewise.
6479 * resolv/Versions: Likewise.
6480 * posix/Versions: Likewise.
6481 * iconv/Versions: Likewise.
6482 * elf/Versions: Likewise.
6483 * wcsmbs/Versions: Likewise.
6484
bd07f23c 64852013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 6486
22af19f9
SP
6487 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6488 loop termination condition.
6489
4709fe76
SP
6490 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6491 variable to calculate EZ.
6492 (__sqr): Likewise.
2d0e0f29
SP
6493
6494 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6495 the lower precision input.
6496
daaa7713
JM
64972013-02-15 Joseph Myers <joseph@codesourcery.com>
6498
6499 [BZ #13550]
6500 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6501 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6502 (run-via-rtld-prefix): Do not handle %-bp tests.
6503 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6504 (all-object-suffixes): Remove .ob.
6505 (bppfx): Remove variable.
6506 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6507 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6508 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6509 [$(build-bounded) = yes] (libtype.ob): Likewise.
6510 * Makerules (elide-routines.ob): Remove variable.
6511 (do-tests-clean): Do not handle *-bp.out.
6512 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6513 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6514 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6515 (tests): Do not include $(tests-bp.out).
6516 (xtests): Do not include $(xtests-bp.out).
6517 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6518 [$(build-bounded) = yes] ($(addprefix
6519 $(objpfx),$(binaries-bounded))): Remove rule.
6520 ($(objpfx)%-bp.out): Remove rule.
6521 * config.make.in (build-bounded): Remove variable.
6522 * crypt/Makefile [$(build-bounded) = yes]
6523 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6524 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6525 append to variable.
6526 [$(build-bounded) = yes] (install-lib): Likewise.
6527 [$(build-bounded) = yes] (generated): Likewise.
6528 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6529 Remove rule.
6530 * intl/Makefile [$(build-bounded) = yes]
6531 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6532 * math/Makefile [$(build-bounded) = yes]
6533 ($(tests:%=$(objpfx)%-bp): Likewise.
6534 * misc/Makefile [$(build-bounded) = yes]
6535 ($(objpfx)tst-tsearch-bp): Likewise.
6536 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6537 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6538 Remove dependency.
6539 * string/Makefile (o-objects.ob): Remove variable.
6540 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6541 (CFLAGS-.ob): Remove variable.
6542 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6543 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6544 both definitions of variable.
6545 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6546 (ASFLAGS-.ob): Remove variable.
6547
e97ed6dd
JM
65482013-02-14 Joseph Myers <joseph@codesourcery.com>
6549
2bdd4ca6
JM
6550 [BZ #13550]
6551 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6552 Remove __BOUNDED_POINTERS__ from condition.
6553 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6554 * string/bits/string2.h [!__NO_STRING_INLINES &&
6555 !__BOUNDED_POINTERS__]: Likewise.
6556 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6557 Likewise.
6558 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6559 Remove conditional code.
6560 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6561 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6562 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6563 condition.
6564
e97ed6dd
JM
6565 [BZ #13550]
6566 * csu/libc-start.c: Do not include <bp-sym.h>.
6567 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6568 * elf/dl-open.c: Do not include <bp-sym.h>.
6569 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6570 * math/fegetenv.c: Do not include <bp-sym.h>.
6571 (fegetenv): Do not use BP_SYM in versioned symbols.
6572 * nptl/sysdeps/pthread/bits/libc-lockP.h
6573 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6574 <bp-sym.h>.
6575 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6576 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6577 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6578 (__pthread_mutex_destroy): Likewise.
6579 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6580 (__pthread_mutex_lock): Likewise.
6581 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6582 (__pthread_mutex_trylock): Likewise.
6583 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6584 (__pthread_mutex_unlock): Likewise.
6585 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6586 (__pthread_mutexattr_init): Likewise.
6587 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6588 (__pthread_mutexattr_destroy): Likewise.
6589 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6590 (__pthread_mutexattr_settype): Likewise.
6591 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6592 (__pthread_rwlock_init): Likewise.
6593 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6594 (__pthread_rwlock_destroy): Likewise.
6595 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6596 (__pthread_rwlock_rdlock): Likewise.
6597 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6598 (__pthread_rwlock_tryrdlock): Likewise.
6599 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6600 (__pthread_rwlock_wrlock): Likewise.
6601 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6602 (__pthread_rwlock_trywrlock): Likewise.
6603 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6604 (__pthread_rwlock_unlock): Likewise.
6605 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6606 (__pthread_key_create): Likewise.
6607 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6608 (__pthread_setspecific): Likewise.
6609 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6610 (__pthread_getspecific): Likewise.
6611 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6612 Likewise.
6613 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6614 (_pthread_cleanup_push_defer): Likewise.
6615 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6616 (_pthread_cleanup_pop_restore): Likewise.
6617 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6618 (pthread_setcancelstate): Likewise.
6619 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6620 <bp-sym.h>.
6621 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6622 (memchr): Do not use BP_SYM in weak_alias.
6623 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6624 (fegetenv): Do not use BP_SYM in versioned symbols.
6625 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6626 (fesetenv): Do not use BP_SYM in versioned symbols.
6627 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6628 (feupdateenv): Do not use BP_SYM in versioned symbols.
6629 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6630 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6631 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6632 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6633 (open64): Do not use BP_SYM in weak_alias.
6634 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6635 (fegetenv): Do not use BP_SYM in versioned symbols.
6636 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6637 (fesetenv): Do not use BP_SYM in versioned symbols.
6638 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6639 (feupdateenv): Do not use BP_SYM in versioned symbols.
6640 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6641 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6642 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6643 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6644 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6645 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6646 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6647 <bp-sym.h>.
6648 (__libc_start_main): Do not use BP_SYM.
6649
d6752ccd
SP
66502013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6651
cb57ce60
SP
6652 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6653 redundant return line.
6654 (norm): Likewise.
6655 (denorm): Likewise.
6656 (dbl_mp): Likewise.
6657 (sub_magnitudes): Likewise.
6658 (__add): Likewise.
6659 (__sub): Likewise.
6660 (__mul): Likewise.
6661 (__inv): Likewise.
6662 (__dvd): Likewise.
6663 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6664 (norm): Likewise.
6665 (denorm): Likewise.
6666 (dbl_mp): Likewise.
6667 (sub_magnitudes): Likewise.
6668 (__add): Likewise.
6669 (__sub): Likewise.
6670 (__mul): Likewise.
6671 (__inv): Likewise.
6672 (__dvd): Likewise.
6673
f414520d
SP
6674 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6675 instead of __mul.
6676 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6677 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6678 (cc32): Likewise.
6679
d6752ccd
SP
6680 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6681 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6682 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6683 of __mul for squares.
6684 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6685 function
6686 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6687 Likewise.
6688 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6689 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6690
70d9946a
JM
66912013-02-13 Joseph Myers <joseph@codesourcery.com>
6692
6693 [BZ #13550]
6694 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6695 code.
6696 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6697 prototype or function definition. Rename ubp_* variables and
6698 parameters. Remove argv definitions conditional on
6699 [__BOUNDED_POINTERS__].
6700 * debug/backtrace.c (__backtrace): Do not use __unbounded.
6701 * elf/dl-runtime.c (_dl_fixup): Likewise.
6702 * include/set-hooks.h (RUN_HOOK): Likewise.
6703 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6704 definition.
6705 * string/strcpy.c (strcpy): Do not use __unbounded.
6706 * sysdeps/generic/frame.h (struct layout): Likewise.
6707 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6708 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6709 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6710 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6711 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6712 (__backtrace): Likewise.
6713 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6714 use __ptrvalue.
6715 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6716 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6717 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6718 Likewise.
6719 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6720 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6721 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6722 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6723 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6724 Do not use __unbounded.
6725 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6726 Rename __unboundedrlimits parameter to rlimits in prototype.
6727 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6728 Do not use __unbounded.
6729 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6730 not use __ptrvalue.
6731 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6732 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6733 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6734 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6735 __ptrvalue or __unbounded.
6736 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6737 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6738 use __unbounded.
6739 (__new_msgctl): Do not use __ptrvalue.
6740 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6741 __unbounded.
6742 (__libc_msgrcv): Do not use __ptrvalue.
6743 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6744 startup_info): Do not use __unbounded.
6745 (__libc_start_main): Likewise. Rename ubp_* variables and
6746 parameters. Remove argv definitions conditional on
6747 [__BOUNDED_POINTERS__].
6748 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6749 __ptrvalue.
6750 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6751 use __unbounded.
6752 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6753 or __ptrvalue.
6754 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6755 use __unbounded.
6756 (__new_shmctl): Do not use __ptrvalue.
6757 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6758 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6759 Likewise.
6760 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6761 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6762 (__libc_sigaction): Likewise.
6763 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6764 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6765 Likewise.
6766 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6767
cc7834d6
OB
67682013-02-13 Ondřej Bílka <neleai@seznam.cz>
6769
ffb1ec7b 6770 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
6771
6772 * string/mempcpy.c: Implement by calling memcpy.
6773
bdf02814
SP
67742013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6775
c2af38aa
SP
6776 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6777
4e92d59e
SP
6778 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6779 evaluation.
6780
909279a5
SP
6781 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6782 values in the mantissa.
6783
bdf02814
SP
6784 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6785 minimize writes to Z.
6786 (sub_magnitudes): Simplify code a bit.
6787
cd525923
RM
67882013-02-12 Roland McGrath <roland@hack.frob.com>
6789
6790 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6791 from the message. The linker prefixes all warnings with that already.
6792
7e2f0d2d
AS
67932013-02-12 Andreas Schwab <schwab@suse.de>
6794
a445af0b
AS
6795 [BZ #15078]
6796 * posix/regexec.c (extend_buffers): Add parameter min_len.
6797 (check_matching): Pass minimum needed length.
6798 (clean_state_log_if_needed): Likewise.
6799 (get_subexp): Likewise.
6800 * posix/Makefile (tests): Add bug-regex34.
6801 (bug-regex34-ENV): Define.
6802 * posix/bug-regex34.c: New file.
6803
7e2f0d2d
AS
6804 [BZ #11561]
6805 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6806 elements compare against the byte sequence of it, not its name.
6807 * posix/Makefile (tests): Add bug-regex35.
6808 (bug-regex35-ENV): Define.
6809 * posix/bug-regex35.c: New file.
6810
a175b684
TV
68112013-02-11 Tom de Vries <tom@codesourcery.com>
6812
6813 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
6814 comment.
6815 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6816 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6817 (CHECK_EOL): Add undef.
6818
310998fe 68192013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
6820
6821 * bits/stdlib-bsearch.h: New file.
6822 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 6823 * stdlib/stdlib.h: Likewise.
41eda41d 6824
8ded91fb
RM
68252013-02-11 Roland McGrath <roland@hack.frob.com>
6826
6827 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6828 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6829 declaration.
6830 * manual/search.texi (Array Search Function): Add missing const in
6831 lfind prototype.
6832 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6833 declaration to use rlim_t.
6834 (Basic Scheduling Functions): Remove erroneous const from
6835 sched_getparam prototype. Remove erroneous * from
6836 sched_get_priority_max and sched_get_priority_min prototypes.
6837 (Resource Usage): Fix summary @comment on vtimes to refer to
6838 sys/vtimes.h rather than vtimes.h.
6839 Add missing *s in vtimes prototype.
6840 (Limits on Resources): Fix ulimit prototype to return long int.
6841 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6842 prototypes to use long int rather than double.
6843 (BSD Random): Fix initstate and setstate to use char *, not void *.
6844 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6845 prototype to make second argument 'struct aiocb64 *const[]'.
6846 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6847 (Status of AIO Operations): Remove erroneous const in aio_return and
6848 aio_return64 prototypes.
6849 (Synchronizing I/O): Fix sync prototype to return void.
6850 * manual/startup.texi (Suboptions): Remove an erroneous const in
6851 getsubopt prototype.
6852 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6853 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6854 use size_t rather than int.
6855 (Scanning All Users): Likewise for getpwent_r.
6856 (Setting Groups): Add missing const to setgroups prototype.
6857 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6858 * manual/socket.texi (Host Names): Fix gethostbyaddr and
6859 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6860 'const void *' rather than 'const char *'.
6861 (Host Address Functions): Likewise for inet_ntop.
6862 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6863 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6864 ssize_t for return value.
6865 (Sending Data): Likewise for send, sendto, sendmsg.
6866 (Socket Option Functions): Add a missing const in setsockopt prototype.
6867 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6868 use wchar_t for the argument.
6869 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6870 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6871 take no arguments.
6872 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6873 double/float/long double for second argument.
6874 Fix return types of significand, significandf, significandl.
6875 * manual/filesys.texi (Setting Permissions): Use mode_t for second
6876 argument in fchmod prototype.
6877 (File Owner): Use uid_t and gid_t in fchown prototype.
6878 (File Times): Add const to utimes, futimes, and lutimes prototypes.
6879 (Making Special Files): Use mode_t and dev_t in mknod prototype.
6880 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6881 use 'const struct dirent **' as argument types to CMP function pointer
6882 argument.
6883 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6884 (File Times): Fix summary magic @comment for struct utimbuf and utime
6885 to refer to utime.h, not time.h.
6886 * manual/string.texi (Argz Functions): Add missing const in
6887 argz_extract and argz_next prototypes.
6888 (Finding Tokens in a String): Likewise for basename.
6889 (String/Array Comparison): Fix typo in wcscasecmp prototype.
6890 (Copying and Concatenation): Fix typo in wmemmove prototype.
6891 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6892 (Signal Stack): Remove erroneous const in sigstack prototype.
6893 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6894 prototype.
6895 (Simple Calendar Time): Likewise for stime.
6896 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6897 prototype.
6898 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6899 say sys/sysctl.h instead.
6900 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6901 and vsyslog prototypes.
6902
fe77fe6d
TV
69032013-02-11 Tom de Vries <tom@codesourcery.com>
6904
6905 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6906 Remove.
6907
3a09b620
RM
69082013-02-11 Roland McGrath <roland@hack.frob.com>
6909
6910 * misc/sys/mman.h: Fix typo in mremap comment.
6911
550a0b89
RM
69122013-02-08 Roland McGrath <roland@hack.frob.com>
6913
6914 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6915 the '\0' terminator.
6916
a2da1673
JM
69172013-02-08 Joseph Myers <joseph@codesourcery.com>
6918
6919 [BZ #13550]
6920 * debug/segfault.c: Don't include <bp-checks.h>.
6921 * sysdeps/generic/bp-checks.h: Remove file.
6922 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6923 (__GETDENTS): Don't use CHECK_N.
6924 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6925 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6926 (__getgroups): Don't use CHECK_N.
6927 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6928 (setgroups): Don't use CHECK_N.
6929 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6930 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6931 (__libc_msgrcv): Don't use CHECK_N.
6932 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6933 (__libc_msgsnd): Don't use CHECK_N.
6934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6935 <bp-checks.h>.
6936 (__libc_pread): Don't use CHECK_N.
6937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6938 include <bp-checks.h>.
6939 (__libc_pread64): Don't use CHECK_N.
6940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6941 include <bp-checks.h>.
6942 (__libc_pwrite): Don't use CHECK_N.
6943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6944 include <bp-checks.h>.
6945 (__libc_pwrite64): Don't use CHECK_N.
6946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6947 <bp-checks.h>.
6948 (__libc_pread): Don't use CHECK_N.
6949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6950 include <bp-checks.h>.
6951 (__libc_pread64): Don't use CHECK_N.
6952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6953 include <bp-checks.h>.
6954 (__libc_pwrite): Don't use CHECK_N.
6955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6956 include <bp-checks.h>.
6957 (__libc_pwrite64): Don't use CHECK_N.
6958 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
6959 (do_pread): Don't use CHECK_N.
6960 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
6961 (do_pread64): Don't use CHECK_N.
6962 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
6963 (do_pwrite): Don't use CHECK_N.
6964 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
6965 (do_pwrite64): Don't use CHECK_N.
6966 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
6967 (__libc_readv): Don't use CHECK_N.
6968 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
6969 (semop): Don't use CHECK_N.
6970 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
6971 <bp-checks.h>.
6972 (semtimedop): Don't use CHECK_N.
6973 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
6974 (__libc_pread): Don't use CHECK_N.
6975 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
6976 <bp-checks.h>.
6977 (__libc_pread64): Don't use CHECK_N.
6978 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
6979 <bp-checks.h>.
6980 (__libc_pwrite): Don't use CHECK_N.
6981 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
6982 <bp-checks.h>.
6983 (__libc_pwrite64): Don't use CHECK_N.
6984 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
6985 <bp-checks.h>.
6986 (__libc_msgrcv): Don't use CHECK_N.
6987 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
6988 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
6989 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
6990 (__libc_writev): Don't use CHECK_N.
6991
b84660a8
RM
69922013-02-08 Roland McGrath <roland@hack.frob.com>
6993
7f3e75f8
RM
6994 * string/strcpy.c: Removed unused variable.
6995
b84660a8
RM
6996 * Makeconfig (+sysdep-includes): Define with := rather than =.
6997 Use an existing include/ subdir of each sysdeps dir before it.
6998
471514d3
CD
69992013-02-08 Carlos O'Donell <carlos@redhat.com>
7000
7001 * nscd/connection.c (register_traced_file): Comment function.
7002 [HAVE_INOTIFY] (union __inev): Define.
7003 [HAVE_INOTIFY] (inotify_check_files): New function.
7004 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7005 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7006 clear_db_cache.
7007 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7008
b2d3c3be
CD
70092013-02-08 Carlos O'Donell <carlos@redhat.com>
7010
7011 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7012 loaded if not already and that a failure is permanent.
7013
b39949d2
CD
70142013-02-08 Carlos O'Donell <carlos@redhat.com>
7015
ddacd1db 7016 [BZ #15006]
b39949d2
CD
7017 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7018 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7019
b2c9eff4
JM
70202013-02-08 Joseph Myers <joseph@codesourcery.com>
7021
f3aae3f3
JM
7022 [BZ #13550]
7023 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7024 (CHECK_1_NULL_OK): Likewise.
7025 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7026 (__fxstat): Do not use CHECK_1.
7027 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7028 <bp-checks.h>.
7029 (___fxstat64): Do not use CHECK_1.
7030 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7031 <bp-checks.h>.
7032 (__fxstatat): Do not use CHECK_1.
7033 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7034 <bp-checks.h>.
7035 (__fxstatat64): Do not use CHECK_1.
7036 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7037 <bp-checks.h>.
7038 (__fxstat): Do not use CHECK_1.
7039 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7040 <bp-checks.h>.
7041 (__fxstatat): Do not use CHECK_1.
7042 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7043 <bp-checks.h>.
7044 (__getresgid): Do not use CHECK_1.
7045 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7046 <bp-checks.h>.
7047 (__getresuid): Do not use CHECK_1.
7048 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7049 <bp-checks.h>.
7050 (__lxstat): Do not use CHECK_1.
7051 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7052 <bp-checks.h>.
7053 (__old_msgctl): Do not use CHECK_1.
7054 (__new_msgctl): Likewise.
7055 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7056 <bp-checks.h>.
7057 (__new_setrlimit): Do not use CHECK_1.
7058 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7059 <bp-checks.h>.
7060 (__old_shmctl): Do not use CHECK_1.
7061 (__new_shmctl): Likewise.
7062 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7063 <bp-checks.h>.
7064 (__xstat): Do not use CHECK_1.
7065 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7066 (__lxstat): Do not use CHECK_1.
7067 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7068 <bp-checks.h>.
7069 (___lxstat64): Do not use CHECK_1.
7070 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7071 (__old_msgctl): Do not use CHECK_1.
7072 (__new_msgctl): Likewise.
7073 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7074 <bp-checks.h>.
7075 (__gettimeofday): Do not use CHECK_1.
7076 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7077 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7078 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7079 <bp-checks.h>.
7080 (__gettimeofday): Do not use CHECK_1.
7081 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7082 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7083 (__new_shmctl): Do not use CHECK_1.
7084 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7085 <bp-checks.h>.
7086 (do_sigtimedwait): Do not use CHECK_1.
7087 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7088 <bp-checks.h>.
7089 (do_sigwaitinfo): Do not use CHECK_1.
7090 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7091 <bp-checks.h>.
7092 (msgctl): Do not use CHECK_1.
7093 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7094 <bp-checks.h>.
7095 (shmctl): Do not use CHECK_1.
7096 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7097 (ustat): Do not use CHECK_1.
7098 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7099 <bp-checks.h>.
7100 (__fxstat): Do not use CHECK_1.
7101 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7102 <bp-checks.h>.
7103 (__fxstatat): Do not use CHECK_1.
7104 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7105 <bp-checks.h>.
7106 (__lxstat): Do not use CHECK_1.
7107 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7108 <bp-checks.h>.
7109 (__xstat): Do not use CHECK_1.
7110 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7111 (__xstat): Do not use CHECK_1.
7112 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7113 (___xstat64): Do not use CHECK_1.
7114
b2c9eff4
JM
7115 [BZ #13550]
7116 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7117 definitions.
7118 (CHECK_BOUNDS_HIGH): Likewise.
7119 * string/strcpy.c: Do not include <bp-checks.h>.
7120 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7121
f1d70dad
RM
71222013-02-07 Roland McGrath <roland@hack.frob.com>
7123
7124 * nscd/nscd-client.h (__nscd_drop_map_ref):
7125 Add __attribute__ ((unused)).
7126 * nis/nss-nisplus.h (niserr2nss): Likewise.
7127
7128 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7129 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7130
7131 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7132 Remove inline keyword.
7133 * include/rounding-mode.h (round_away): Likewise.
7134 * libio/wfileops.c (adjust_wide_data): Likewise.
7135 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7136 (__m128i_strloadu_tolower): Likewise.
7137 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7138 (__m128i_strloadu_tolower): Likewise.
7139 * time/mktime.c (ydhms_diff): Likewise.
7140 * locale/elem-hash.h (elem_hash): Likewise.
7141 * locale/setlocale.c (setdata): Likewise.
7142 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7143 (re_string_wchar_at): Likewise.
7144 (bitset_not, bitset_merge, bitset_mask): Likewise.
7145 [!(__GNUC__ > 3)] (inline): Remove macro.
7146 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7147 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7148 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7149 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7150 * string/memcmp.c (memcmp_bytes): Likewise.
7151 * locale/programs/locarchive.c (compute_hashval): Likewise.
7152 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7153 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7154 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7155 * nss/getent.c (print_rpc, print_protocols): Likewise.
7156 (print_passwd, print_group, print_aliases): Likewise.
7157 * nis/nss-nisplus.h (niserr2nss): Likewise.
7158 * nscd/connections.c (restart_p): Likewise.
7159 Change return type to bool.
7160
eab55bfb
RM
71612013-02-05 Roland McGrath <roland@hack.frob.com>
7162
7bd642f5
RM
7163 * Makeconfig (all-Depend-files): Add existing
7164 $(sorted-subdirs:=/Depend) files.
7165 (all-subdirs): Remove nss.
7166 * sysdeps/unix/inet/Subdirs: Add it here instead.
7167 * hesiod/Depend: New file.
7168
573c29b2
RM
7169 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7170 instead of calling alloca.
7171
b2e25af0
RM
7172 * io/lseek.c (__lseek): Rename to __libc_lseek.
7173 Define __lseek as an alias.
7174
eab55bfb
RM
7175 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7176
9a0d1941
CD
71772013-02-04 Carlos O'Donell <carlos@redhat.com>
7178
7179 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7180 else clause and remove check for non-standard endianness.
7181
b83bbec4
DM
71822013-02-04 David S. Miller <davem@davemloft.net>
7183
7184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7185
6277fdab
JM
71862013-02-04 Joseph Myers <joseph@codesourcery.com>
7187
7188 [BZ #13550]
7189 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7190 (__ubp_memchr): Remove prototype.
7191 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7192 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7193 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7194 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7195 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7196 Remove alias.
7197 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7198 (__ubp_memchr): Likewise.
7199 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7200 (__ubp_memchr): Likewise.
7201 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7202 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7203 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7204 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7205 CHECK_STRING.
7206 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7207 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7208 (__getcwd): Do not use CHECK_STRING.
7209 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7210 <bp-checks.h>.
7211 (__real_chown): Do not use CHECK_STRING.
7212 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7213 <bp-checks.h>.
7214 (fchownat): Do not use CHECK_STRING.
7215 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7216 CHECK_STRING.
7217 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7218 <bp-checks.h>.
7219 (__lchown): Do not use CHECK_STRING.
7220 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7221 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7222 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7223 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7225 include <bp-checks.h>.
7226 (truncate64): Do not use CHECK_STRING.
7227 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7228 <bp-checks.h>.
7229 (__real_chown): Do not use CHECK_STRING.
7230 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7231 <bp-checks.h>.
7232 (__lchown): Do not use CHECK_STRING.
7233 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7234 <bp-checks.h>.
7235 (__chown): Do not use CHECK_STRING.
7236 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7237 <bp-checks.h>.
7238 (truncate64): Do not use CHECK_STRING.
7239 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7240 Likewise.
7241 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7242 (__xmknod): Do not use CHECK_STRING.
7243 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7244 <bp-checks.h>.
7245 (__xmknodat): Do not use CHECK_STRING.
7246 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7247 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7248
903ae060
AS
72492013-02-04 Andreas Schwab <schwab@suse.de>
7250
7251 [BZ #14142]
7252 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7253 * include/netdb.h: Likewise for h_errno.
7254 * elf/tst-stackguard1.c: Include <tls.h>.
7255
542f9466
JK
72562013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7257
7258 * elf/link.h (struct link_map): Extend the l_addr comment.
7259 * include/link.h (struct link_map): Likewise.
7260
e782a927
JM
72612013-02-01 Joseph Myers <joseph@codesourcery.com>
7262
7263 [BZ #13550]
7264 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7265 (BOUNDED_1): Remove macro.
7266 * debug/backtrace.c: Don't include <bp-checks.h>.
7267 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7268 (__backtrace): Likewise.
7269 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7270 <bp-checks.h>.
7271 (__backtrace): Don't use BOUNDED_1.
7272 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7273 <bp-checks.h>.
7274 (__backtrace): Don't use BOUNDED_1.
7275 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7276 (__backtrace): Don't use BOUNDED_1.
7277 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7278 (shmat): Don't use BOUNDED_N.
7279
8cf28c5e
JM
72802013-01-31 Joseph Myers <joseph@codesourcery.com>
7281
3a7ac8a0
JM
7282 [BZ #13550]
7283 * sysdeps/generic/bp-start.h: Remove file.
7284 * csu/libc-start.c: Don't include <bp-start.h>.
7285 (LIBC_START_MAIN): Set up __environ directly instead of using
7286 INIT_ARGV_and_ENVIRON.
7287 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7288 <bp-start.h>.
7289
f3499f95
JM
7290 [BZ #13550]
7291 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7292 definitions.
7293 (CHECK_FCNTL): Likewise.
7294 (CHECK_N_PAGES): Likewise.
7295
32a45bea
JM
7296 [BZ #13550]
7297 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7298 definitions.
7299 (CHECK_SIGSET_NULL_OK): Likewise.
7300 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7301 <bp-checks.h>.
7302 (sigpending): Don't use CHECK_SIGSET.
7303 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7304 <bp-checks.h>.
7305 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7306 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7307 <bp-checks.h>.
7308 (do_sigsuspend): Don't use CHECK_SIGSET.
7309 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7310 use CHECK_SIGSET.
7311 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7312 (do_sigwait): Don't use CHECK_SIGSET.
7313 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7314 use CHECK_SIGSET.
7315 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7316 include <bp-checks.h>.
7317 (sigpending): Don't use CHECK_SIGSET.
7318 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7319 include <bp-checks.h>.
7320 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7321 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7322 <bp-checks.h>.
7323 (sigpending): Don't use CHECK_SIGSET.
7324 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7325 <bp-checks.h>.
7326 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7327
2e8a5c8c
JM
7328 [BZ #13550]
7329 * sysdeps/generic/bp-semctl.h: Remove file.
7330 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7331 <bp-checks.h> and <bp-semctl.h>.
7332 (__old_semctl): Don't use CHECK_SEMCTL.
7333 (__new_semctl): Likewise.
7334 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7335 and <bp-semctl.h>.
7336 (__old_semctl): Don't use CHECK_SEMCTL.
7337 (__new_semctl): Likewise.
7338 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7339 <bp-checks.h> and <bp-semctl.h>.
7340 (__old_semctl): Don't use CHECK_SEMCTL.
7341 (__new_semctl): Likewise.
7342 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7343 <bp-checks.h> and <bp-semctl.h>.
7344 (semctl): Don't use CHECK_SEMCTL.
7345
c2d54929
JM
7346 [BZ #13550]
7347 * Makerules (elide-bp-thunks): Remove variable.
7348 (elide-routines.oS): Don't use $(elide-bp-thunks).
7349 (elide-routines.os): Likewise.
7350 (elide-routines.o): Likewise.
7351 (elide-routines.op): Likewise.
7352 (elide-routines.og): Likewise.
7353 (objects): Don't use $(bp-thunks).
7354 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7355 include.
7356 (common-generated): Do not add s-proto-bp.d.
7357 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7358 (int): Likewise.
7359 (typ): Likewise.
7360 Do not generate makefile rules for bounded-pointer thunks.
7361 * sysdeps/generic/bp-thunks.h: Remove file.
7362 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7363 * sysdeps/unix/s-proto-bp.S: Likewise.
7364
8cf28c5e
JM
7365 [BZ #15062]
7366 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7367 parts of result separately when argument is not close to line from
7368 -i to i and one part of argument is small.
7369 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7370 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7371 * math/libm-test.inc (cacos_test): Add more tests.
7372 (casin_test): Likewise.
7373 (casinh_test): Likewise.
7374 * sysdeps/i386/fpu/libm-test-ulps: Update.
7375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7376
c4e33b8d
DM
73772013-01-31 David S. Miller <davem@davemloft.net>
7378
7379 * po/de.po: Update from translation team.
7380
3b60b421
MK
73812013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7382
7383 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7384
bb931195
TS
73852013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7386
b5a5da23
TS
7387 * configure.in (_AC_PROG_CC_C89): New definition.
7388 * configure: Regenerate.
7389
bb931195
TS
7390 * configure.in (AC_PROG_CPP): New definition.
7391 * configure: Regenerate.
7392
8c53a12c
JM
73932013-01-23 Joseph Myers <joseph@codesourcery.com>
7394
7395 * debug/tst-backtrace.h: New file.
7396 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7397 (ret): Remove variable.
7398 (x): Likewise.
7399 (FAIL): Remove macro.
7400 (NO_INLINE): Likewise.
7401 (fn1): Use match function instead of strstr.
7402 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7403 (ret): Remove variable.
7404 (x): Likewise.
7405 (FAIL): Remove macro.
7406 (NO_INLINE): Likewise.
7407 (fn): Use match function instead of strstr.
7408 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7409 (ret): Remove variable.
7410 (x): Likewise.
7411 (FAIL): Remove macro.
7412 (NO_INLINE): Likewise.
7413 (handle_signal): Use match function instead of strstr.
7414 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7415 (ret): Remove variable.
7416 (x): Likewise.
7417 (FAIL): Remove macro.
7418 (NO_INLINE): Likewise.
7419 (handle_signal): Use match function instead of strstr.
7420
4858fa2a
RM
74212013-01-23 Roland McGrath <roland@hack.frob.com>
7422
7423 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7424
bae8e7f5
DM
74252013-01-23 David S. Miller <davem@davemloft.net>
7426
7427 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7428 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7429 argument of CAS if possible.
7430 * sysdeps/sparc/sparc64/bits/atomic.h
7431 (__arch_compare_and_exchange_val_32_acq): Likewise.
7432 (__arch_compare_and_exchange_val_64_acq): Likewise.
7433
9cbbc4ae
PT
74342013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7435
7436 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7437 * sysdeps/posix/ulimit.c: ... this.
92a601b8 7438 Include <limits.h>.
67b3f58c 7439 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 7440
5655a0b5
AC
74412013-01-23 Adam Conrad <adconrad@0c3.net>
7442
7443 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7444 (LDFLAGS-tst-array5): Likewise.
7445
052aff95
JM
74462013-01-23 Joseph Myers <joseph@codesourcery.com>
7447
7448 [BZ #15036]
7449 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7450 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7451 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7452 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7453
7c1e01aa
DM
74542013-01-21 David S. Miller <davem@davemloft.net>
7455
7456 * sysdeps/sparc/backtrace.c: New file.
7457 * sysdeps/sparc/sparc32/backtrace.h: New file.
7458 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7459 * sysdeps/sparc/sparc64/backtrace.h: New file.
7460 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7461 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7462 -funwind-tables.
7463
ab087e0a
AS
74642013-01-21 Andreas Schwab <schwab@suse.de>
7465
7466 [BZ #15020]
7467 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7468 closed its stdout.
7469
ed689c2f
AS
74702013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7471
7472 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7473 "mpa2.h".
7474 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7475
31d470ac
JM
74762013-01-18 Joseph Myers <joseph@codesourcery.com>
7477 Mark Mitchell <mark@codesourcery.com>
7478 Tom de Vries <tom@codesourcery.com>
7479 Paul Pluzhnikov <ppluzhnikov@google.com>
7480
7481 * debug/tst-backtrace2.c: New file.
7482 * debug/tst-backtrace3.c: Likewise.
7483 * debug/tst-backtrace4.c: Likewise.
7484 * debug/tst-backtrace5.c: Likewise.
7485 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7486 (CFLAGS-tst-backtrace3.c): Likewise.
7487 (CFLAGS-tst-backtrace4.c): Likewise.
7488 (CFLAGS-tst-backtrace5.c): Likewise.
7489 (LDFLAGS-tst-backtrace2): Likewise.
7490 (LDFLAGS-tst-backtrace3): Likewise.
7491 (LDFLAGS-tst-backtrace4): Likewise.
7492 (LDFLAGS-tst-backtrace5): Likewise.
7493 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7494 tst-backtrace4 and tst-backtrace5.
7495
90567f30 74962013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
7497 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7498
7499 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7500 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7501 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7502 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7504 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7505 "+r" and remove output regs list as redundant. Add explicit inline
7506 asm to specify register of return val to work around compiler codegen
7507 bug. Remove (int) cast on return value. Add return type parameter to
7508 use in macro so that this macro does not truncate return value for
7509 64-bit values.
7510 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7511 pass to INTERNAL_VSYSCALL_NCS.
7512 (INLINE_VSYSCALL): Add 'long int' as return type to
7513 INTERNAL_VSYSCALL_NCS macro invocation.
7514 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7515 INTERNAL_VSYSCALL_NCS macro invocation.
7516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7517
d3b9ea61
SP
75182013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7519
0b57daeb
SP
7520 [BZ #14496]
7521 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7522 Fix application of SIMD FP exception mask.
7523
caa99d06
SP
7524 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7525 mp_no from a power of two.
7526 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7527 __mpexp_twomm1. Use __pow_mp.
7528
d3b9ea61
SP
7529 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7530 multiplication.
7531
1dbaee3c
DM
75322013-01-17 David S. Miller <davem@davemloft.net>
7533
7534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7535
728d7b43
JM
75362013-01-17 Joseph Myers <joseph@codesourcery.com>
7537
7538 [BZ #15023]
7539 * include/complex.h: Condition contents on [!_COMPLEX_H].
7540 (__kernel_casinhf): New prototype.
7541 (__kernel_casinh): Likewise.
7542 (__kernel_casinhl): Likewise.
7543 * math/Makefile (libm_calls): Add k_casinh.
7544 * math/k_casinh.c: New file.
7545 * math/k_casinhf.c: Likewise.
7546 * math/k_casinhl.c: Likewise.
7547 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7548 finite nonzero arguments.
7549 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7550 finite nonzero arguments.
7551 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7552 finite nonzero arguments.
7553 * math/s_casinh.c: Do not include <float.h>.
7554 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7555 * math/s_casinhf.c: Do not include <float.h>.
7556 (__casinhf): Move code for finite nonzero arguments to
7557 k_casinhf.c.
7558 * math/s_casinhl.c: Do not include <float.h>.
7559 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7560 redefine.
7561 (__casinhl): Move code for finite nonzero arguments to
7562 k_casinhl.c.
7563 * math/libm-test.inc (cacos_test): Add more tests.
7564 * sysdeps/i386/fpu/libm-test-ulps: Update.
7565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7566
2a26ef3a
PT
75672013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7568
7569 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7570 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7571 [!HAVE_MREMAP]: Remove [defined linux] case.
7572 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7573
a897655d
SP
75742013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7575
7576 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7577
881ebe89 75782013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
7579
7580 * elf/elf.h (R_386_SIZE32): New relocation.
7581 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7582 R_386_SIZE32.
7583 (elf_machine_rela): Likewise.
7584 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7585 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7586
59981e9b
JM
75872013-01-17 Joseph Myers <joseph@codesourcery.com>
7588
7589 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7590 (FP_FAST_FMA): Do not define.
7591 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7592 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7593 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7594 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7595 !_SOFT_FLOAT]: Likewise.
7596 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7597 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7598 value.
7599 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7600 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7601 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7602 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7603 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7604 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7605 file.
7606
cfa8054f
AS
76072013-01-16 Andreas Schwab <schwab@suse.de>
7608
7609 [BZ #14327]
7610 * include/stdlib.h (__mktemp): Add declaration.
7611 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7612 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7613
dd930cc5
SP
76142013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7615
881ebe89
SP
7616 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7617 definitions.
7618 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7619 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7620 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7621 definitions here.
7622 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7623 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7624 definitions.
7625 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7626 and ONE.
7627 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7628 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7629 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7630 definitions.
7631 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7632 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7633 definitions.
7634 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 7635
dd930cc5
SP
7636 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7637
c19a9f89
DM
76382013-01-15 David S. Miller <davem@davemloft.net>
7639
1aa61767
DM
7640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7641 trunc{,f} to libm-sysdep_routes.
7642 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7644 file.
7645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7647 file.
7648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7649 file.
7650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7652 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7653 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7654 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7655 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7656 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7657 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7658
c42d5e98
DM
7659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7660 nearbyint{,f} to libm-sysdep_routes.
7661 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7663 New file.
7664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7665 file.
7666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7667 New file.
7668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7669 file.
7670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7672 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7673 file.
7674 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7675 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7676 file.
7677 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7678 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7679 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7680
c19a9f89
DM
7681 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7682 libc_feholdexcept and libc_fesetenv.
7683
357679d2
MF
76842013-01-15 Mike Frysinger <vapier@gentoo.org>
7685
7686 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7687
65a82e3d
DM
76882013-01-14 David S. Miller <davem@davemloft.net>
7689
8b954ab9
DM
7690 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7691 (SPARC_ASM_VIS2_IFUNC): Likewise.
7692 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7694 use of 'siam' instruction.
7695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7696 Likewise.
7697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7698 Likewise.
7699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7700 Likewise.
7701 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7702 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7703 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7704 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7706 file.
7707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7708 file.
7709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7710 file.
7711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7712 file.
7713 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7714 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7715 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7716 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7718 new VIS2 routines.
7719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7722 Likewise.
7723 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7724 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7725 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7726 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7728 routines to libm-sysdep_routines.
7729 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7730
65a82e3d
DM
7731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7732 fdim/fdimf to libm-sysdep_routines.
7733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7734 file.
7735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7737 file.
7738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7741 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7742 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7743 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7744 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7745
e34ab705
SP
77462013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7747
2a91b573
SP
7748 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7749 to optimize copies.
7750
1066a534
SP
7751 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7752 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7753 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7754
e34ab705
SP
7755 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7756 local variable MPTWO.
7757 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7758 Likewise.
7759
aba5e596
MF
77602013-01-13 Mike Frysinger <vapier@gentoo.org>
7761
7762 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7763 GLOB_NOESCAPE.
7764
e557e9e5
MF
77652013-01-13 Mike Frysinger <vapier@gentoo.org>
7766
7767 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7768
0428cec9
MF
77692013-01-13 Mike Frysinger <vapier@gentoo.org>
7770
7771 * manual/pattern.texi (glob_t): Document gl_flags.
7772 (glob64_t): Likewise.
7773
8794a964
DM
77742013-01-11 David S. Miller <davem@davemloft.net>
7775
66438c3f
RM
7776 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7777 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7778 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
7779 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7780 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7781 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7782 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7783 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7784 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7785 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7786 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7787 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7788 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7789
4ae4244d
DM
7790 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7791 sparc V9 rather than using V8 code.
7792 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7793 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7794
8794a964
DM
7795 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7796 Move to...
7797 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7798 Here.
7799
6270516e
RM
78002013-01-11 Roland McGrath <roland@hack.frob.com>
7801
7802 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7803 not in the main loop.
7804 * configure: Regenerated.
7805
6a57d931
JM
78062013-01-11 Joseph Myers <joseph@codesourcery.com>
7807
7808 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7809 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7810 to just #else.
7811 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7812 [!__GLIBC_HAVE_LONG_LONG] case.
7813 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7814 condition to just #else.
7815 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7816 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7817 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7818 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7819 unconditional.
7820 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7821 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7822 #elif condition to just #else.
7823 * sysdeps/unix/sysv/linux/sys/sysmacros.h
7824 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7825 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7826 #elif condition to just #else.
7827
0e8529e9
SE
78282013-01-11 Steve Ellcey <sellcey@mips.com>
7829
7830 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7831 (EF_MIPS_ARCH_64): Fix value.
7832 (EF_MIPS_ARCH_32R2): New.
7833 (EF_MIPS_ARCH_64R2): New.
7834
740b3dbe
L
78352013-01-11 H.J. Lu <hongjiu.lu@intel.com>
7836
7837 * Makeconfig (+link-pie-before-libc): New.
7838 (+link-pie-after-libc): Likewise.
7839 (+link-pie-tests): Likewise.
7840 (+link-pie): Rewritten.
7841 (link-before-libc): Remove $(config-LDFLAGS).
7842 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7843 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7844 (config-LDFLAGS): Renamed to ...
7845 (rtld-LDFLAGS): This.
7846 (rtld-tests-LDFLAGS): New macro.
7847 (link-libc-rpath-link): Likewise.
7848 (link-libc-tests-rpath-link): Likewise.
7849 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7850 (link-libc): Prepand $(link-libc-rpath-link).
7851 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7852 (test-program-prefix): New macro.
7853 (test-via-rtld-prefix): Likewise.
7854 (test-program-cmd): Likewise.
7855 (host-test-program-cmd): Likewise.
7856 * Makefile ($(common-objpfx)testrun.sh): Replace
7857 $(run-program-prefix) with $(test-program-prefix).
7858 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7859 $(rtld-LDFLAGS).
7860 ($(common-objpfx)shlib.lds): Likewise.
7861 (build-module-helper): Likewise.
7862 ($(common-objpfx)format.lds): Likewise.
7863 * Rules (binaries-pie-tests): New.
7864 (binaries-pie-notests): Likewise.
7865 (binaries-pie): Rewritten.
7866 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7867 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7868 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7869 (make-test-out): Replace $(host-built-program-cmd) with
7870 $(host-test-program-cmd).
7871 * config.make.in (build-hardcoded-path-in-tests): New variable.
7872 * configure.in (--enable-hardcoded-path-in-tests): New configure
7873 option.
7874 (hardcoded_path_in_tests): New AC_SUBST.
7875 * configure: Regenerated.
7876 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7877 $(built-program-cmd) with $(test-program-cmd).
7878 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7879 (test_program_cmd): This.
7880 * elf/Makefile ($(objpfx)order.out): Run test with
7881 $(test-program-prefix).
7882 ($(objpfx)order2.out): Likewise.
7883 ($(objpfx)tst-initorder.out): Likewise.
7884 ($(objpfx)tst-initorder2.out): Likewise.
7885 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7886 $(test-program-cmd).
7887 ($(objpfx)tst-array1-static.out): Likewise.
7888 ($(objpfx)tst-array2.out): Likewise.
7889 ($(objpfx)tst-array3.out): Likewise.
7890 ($(objpfx)tst-array4.out): Likewise.
7891 ($(objpfx)tst-array5.out): Likewise.
7892 ($(objpfx)tst-array5-static.out): Likewise.
7893 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7894 $(test-program-cmd).
7895 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7896 $(run-program-prefix) with $(test-program-prefix).
7897 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7898 (test_program_prefix): This.
7899 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7900 $(run-program-prefix) with $(test-program-prefix).
7901 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7902 (test_program_prefix): This.
7903 * iconvdata/tst-tables.sh: Likewise.
7904 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7905 $(run-program-prefix) with $(test-program-prefix).
7906 ($(objpfx)tst-translit.out): Likewise.
7907 ($(objpfx)tst-gettext2.out): Likewise.
7908 ($(objpfx)tst-gettext4.out): Likewise.
7909 ($(objpfx)tst-gettext6.out): Likewise.
7910 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7911 (test_program_prefix): This.
7912 * intl/tst-gettext2.sh: Likewise.
7913 * intl/tst-gettext4.sh Likewise.
7914 * intl/tst-gettext6.sh: Likewise.
7915 * intl/tst-translit.sh: Likewise.
7916 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7917 with $(test-program-cmd).
7918 * libio/Makefile ($(objpfx)test-freopen.out): Replace
7919 $(run-program-prefix) with $(test-program-prefix).
7920 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7921 (test_program_prefix): This.
7922 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7923 $(run-program-prefix) with $(test-program-prefix).
7924 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7925 (test_program_prefix): This.
7926 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7927 * posix/Makefile ($(objpfx)globtest.out): Replace
7928 $(run-via-rtld-prefix) and $(test-wrapper) with
7929 $(test-program-prefix) and $(test-via-rtld-prefix).
7930 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7931 $(test-program-prefix).
7932 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7933 $(host-test-program-cmd).
7934 (tst-spawn-ARGS): Likewise.
7935 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7936 $(test-program-prefix).
7937 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7938 (test_via_rtld_prefix): This.
7939 (test_wrapper): Renamed to ...
7940 (test_program_prefix): This.
7941 (run_program_prefix): Replaced by test_program_prefix.
7942 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7943 (test_program_prefix): This.
7944 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7945 with $(host-test-program-cmd).
7946 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7947 $(run-program-prefix) with $(test-program-prefix).
7948 ($(objpfx)tst-printf.out): Likewise.
7949 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7950 $(test-program-cmd).
7951 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7952 (test_program_prefix): This.
7953 * stdio-common/tst-unbputc.sh: Likewise.
7954 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7955 $(run-program-prefix) with $(test-program-prefix).
7956 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
7957 (test_program_prefix): This.
7958 * string/Makefile ($(objpfx)tst-svc.out): Replace
7959 $(built-program-cmd) with $(test-program-cmd).
7960
c6fe55cf
AJ
79612013-01-11 Andreas Jaeger <aj@suse.de>
7962
7963 [BZ #15003]
7964 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
7965 value. Sync with Linux 3.7.
7966
9e6919c8
DM
79672013-01-10 David S. Miller <davem@davemloft.net>
7968
7969 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
7970 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7971 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7972
1c9f1a02
RM
79732013-01-10 Roland McGrath <roland@hack.frob.com>
7974
7975 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
7976 never set.
7977 * configure: Regenerated.
7978
b9de2dde
DM
79792013-01-10 David S. Miller <davem@davemloft.net>
7980
7981 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7982 sparc V9 rather than using V8 code.
7983 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7984 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7985
e7f68ef4
RM
79862013-01-10 Roland McGrath <roland@hack.frob.com>
7987
7988 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
7989 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
7990 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
7991 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
7992 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
7993 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
7994 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
7995 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
7996 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
7997 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
7998 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
7999 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8000 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8001 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8002 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8003 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8004 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8005 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8006 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8007 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8008 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8009 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8010 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8011 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8012 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8013 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8014 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8015
5a47cc9c
DM
80162013-01-10 David S. Miller <davem@davemloft.net>
8017
8018 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8019
4cf8f209
L
80202013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8021
8022 * posix/Makefile (tests-static): New variable.
8023 (tests): Add $(tests-static).
8024 (tst-exec-static-ARGS): New variable.
8025 (tst-spawn-static-ARGS): Likewise.
8026 * posix/tst-exec-static.c: New file.
8027 * posix/tst-spawn-static.c: Likewise.
8028 * posix/tst-exec.c: Support run directly.
8029 * posix/tst-spawn.c: Likewise.
8030
fed0faa1
JM
80312013-01-10 Joseph Myers <joseph@codesourcery.com>
8032
828beb13
JM
8033 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8034 long.
8035 * math/bits/mathcalls.h (llrint): Likewise.
8036 (llround): Likewise.
8037 * stdlib/stdlib.h (struct drand48_data): Likewise.
8038 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8039 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8040 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8041 Likewise.
8042 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8043 Likewise.
8044 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8045 (elf_greg_t): Likewise.
8046 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8047 (__jmp_buf): Likewise.
8048 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8049 definitions.
8050 (llrint): Likewise, for all definitions.
8051 (llrintl): Likewise.
8052
fed0faa1
JM
8053 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8054 Remove [__GNUC__] condition.
8055 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8056 condition to just [__USE_ISOC99].
8057 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8058
1a20cb20
L
80592013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8060
8061 [BZ #14200]
8062 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8063 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8064 defined.
8065 (_POSIX_V6_ILP32_OFF32): Likewise.
8066 (_XBS5_ILP32_OFF32): Likewise.
8067 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8068 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8069
751b85f7
SP
80702013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8071
7490eb81
SP
8072 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8073
751b85f7
SP
8074 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8075 doubles __mpexp_twomm1. Adjust usage.
8076 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8077 Remove.
8078
988197f0
AS
80792013-01-10 Andreas Schwab <schwab@suse.de>
8080
8081 [BZ #14964]
8082 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8083 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8084
e83d7298
DM
80852013-01-09 David S. Miller <davem@davemloft.net>
8086
034ed64b 8087 [BZ #15003]
e83d7298
DM
8088 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8089 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8090 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8091 TCP_FASTOPEN): Define.
8092 (tcp_repair_opt): New structure.
8093 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8094 enum values.
8095 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8096 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8097 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8098 (tcp_cookie_transactions): New structure.
8099
d5e0b9bd
AB
81002013-01-09 Anton Blanchard <anton@samba.org>
8101
8102 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8103 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8104 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8105 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8106
0c07e3ea
JM
81072013-01-09 Joseph Myers <joseph@codesourcery.com>
8108
8109 * include/features.h (__USE_ANSI): Remove.
8110
232f7002
RM
81112013-01-09 Roland McGrath <roland@hack.frob.com>
8112
ad98e30c
RM
8113 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8114
232f7002
RM
8115 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8116
950c99ca
SP
81172013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8118
b5792741
SP
8119 * sysdeps/s390/fpu/libm-test-ulps: Update.
8120
47cf2278
SP
8121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8122
950c99ca
SP
8123 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8124 (__acr): Likewise.
8125 (__cpy): Likewise.
8126 (norm): Likewise.
8127 (denorm): Likewise.
8128 (__mp_dbl): Likewise.
8129 (__dbl_mp): Likewise.
8130 (add_magnitudes): Likewise.
8131 (sub_magnitudes): Likewise.
8132 (__add): Likewise.
8133 (__sub): Likewise.
8134 (__mul): Likewise.
8135 (__inv): Likewise.
8136 (__dvd): Likewise.
8137 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8138 (__acr): Likewise.
8139 (__cpy): Likewise.
8140 (norm): Likewise.
8141 (denorm): Likewise.
8142 (__mp_dbl): Likewise.
8143 (__dbl_mp): Likewise.
8144 (add_magnitudes): Likewise.
8145 (sub_magnitudes): Likewise.
8146 (__add): Likewise.
8147 (__sub): Likewise.
8148 (__mul): Likewise.
8149 (__inv): Likewise.
8150 (__dvd): Likewise.
8151 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8152 (__acr): Likewise.
8153 (__cpy): Likewise.
8154 (norm): Likewise.
8155 (denorm): Likewise.
8156 (__mp_dbl): Likewise.
8157 (__dbl_mp): Likewise.
8158 (add_magnitudes): Likewise.
8159 (sub_magnitudes): Likewise.
8160 (__add): Likewise.
8161 (__sub): Likewise.
8162 (__mul): Likewise.
8163 (__inv): Likewise.
8164 (__dvd): Likewise.
8165
eede9df9
JM
81662013-01-08 Joseph Myers <joseph@codesourcery.com>
8167
8168 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8169 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8170 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8171 2 && __USE_EXTERN_INLINES]: Likewise.
8172
c40ea3d9
AJ
81732013-01-08 Andreas Jaeger <aj@suse.de>
8174
8175 [BZ# 14985]
8176 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8177 Remove.
8178 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8179 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8180
2ccdea26
AB
81812013-01-07 Anton Blanchard <anton@samba.org>
8182
8183 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8184 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8185 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8186 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8187 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8188 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8189 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8190 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8191 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8192 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8193 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8194 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8195 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8196 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8197 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8198 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8199 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8200 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8201 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8202 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8203 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8204 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8205 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8206 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8207 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8208 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8209 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8210 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8211 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8212 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8213 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8214 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8215 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8216 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8217 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8218 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8219 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8220 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8221 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8222 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8223 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8224 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8225 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8226
a9708fed
JM
82272013-01-07 Joseph Myers <joseph@codesourcery.com>
8228
375607b9
JM
8229 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8230 (__MALLOC_PMT): Likewise.
8231 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8232 [__GNUC__], only on [_LIBC].
8233 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8234 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8235 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8236 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8237 forward declaration.
8238 (realloc_hook_ini): Likewise.
8239 (memalign_hook_ini): Likewise.
8240 (__libc_memalign): Do not use __MALLOC_PMT in variable
8241 declaration.
8242 (__libc_valloc): Likewise.
8243 (__libc_pvalloc): Likewise.
8244 (__libc_calloc): Likewise.
8245 (__posix_memalign): Likewise.
8246
a9708fed
JM
8247 [BZ #14996]
8248 * math/s_casinh.c: Include <float.h>.
8249 (__casinh): Do not do computation with squaring and square root
8250 for large arguments.
8251 * math/s_casinhf.c: Include <float.h>.
8252 (__casinhf): Do not do computation with squaring and square root
8253 for large arguments.
8254 * math/s_casinhl.c: Include <float.h>.
8255 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8256 (__casinhl): Do not do computation with squaring and square root
8257 for large arguments.
8258 * math/libm-test.inc (casin_test): Add more tests.
8259 (casinh_test): Likewise.
8260 * sysdeps/i386/fpu/libm-test-ulps: Update.
8261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8262
afec409a
L
82632013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8264
8265 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8266 (__x86_64_raw_data_cache_size): Likewise.
8267 (__x86_64_data_cache_size_half): Likewise.
8268 (__x86_64_raw_data_cache_size_half): Likewise.
8269 (__x86_64_shared_cache_size): Likewise.
8270 (__x86_64_raw_shared_cache_size): Likewise.
8271 (__x86_64_shared_cache_size_half): Likewise.
8272 (__x86_64_raw_shared_cache_size_half): Likewise.
8273 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8274 to ...
8275 (__x86_data_cache_size): This.
8276 (__x86_64_raw_data_cache_size): Renamed to ...
8277 (__x86_raw_data_cache_size): This.
8278 (__x86_64_data_cache_size_half): Renamed to ...
8279 (__x86_data_cache_size_half): This.
8280 (__x86_64_raw_data_cache_size_half): Renamed to ...
8281 (__x86_raw_data_cache_size_half): This.
8282 (__x86_64_shared_cache_size): Renamed to ...
8283 (__x86_shared_cache_size): This.
8284 (__x86_64_raw_shared_cache_size): Renamed to ...
8285 (__x86_raw_shared_cache_size): This.
8286 (__x86_64_shared_cache_size_half): Renamed to ...
8287 (__x86_shared_cache_size_half): This.
8288 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8289 (__x86_raw_shared_cache_size_half): This.
8290 * sysdeps/x86_64/memcpy.S: Updated.
8291 * sysdeps/x86_64/memset.S: Likewise.
8292 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8293 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8294 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8295
0b3986d0
DM
82962013-01-04 David S. Miller <davem@davemloft.net>
8297
8298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8299
e47686e9
AS
83002013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8301
d643bac1
AS
8302 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8303 1 to avoid redefinition warning.
8304 (__USE_GNU): Don't define.
8305 (init_signaling_nan): Protoize.
8306
e47686e9
AS
8307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8308
b18decba
SP
83092013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8310
fffb407f
SP
8311 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8312 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8313 (__cpymn): Likewise.
8314 (norm): Remove commented code.
8315 (denorm): Likewise.
8316 (__mp_dbl): Likewise.
8317 (__inv): Likewise.
8318 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8319 (__cpymn): Likewise.
8320 (norm): Remove commented code.
8321 (denorm): Likewise.
8322 (__mp_dbl): Likewise.
8323 (__inv): Likewise.
8324
b18decba
SP
8325 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8326 mp_no value for 1.0 and 2.0.
8327 (norm): Use RADIXI instead of radixi.d.
8328 (denorm): Likewise.
8329 (__mul): Use 0.0 instead of zero.d.
8330 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8331 mp_no value for 1.0 and 2.0.
8332 (norm): Use RADIXI instead of radixi.d.
8333 (denorm): Likewise.
8334 (__mul): Use 0.0 instead of zero.d.
8335
cdc1c96f
JM
83362013-01-04 Joseph Myers <joseph@codesourcery.com>
8337
8338 [BZ #14994]
8339 * math/s_casinh.c (__casinh): Reduce finite argument to first
8340 quadrant then set signs of results at the end.
8341 * math/s_casinhf.c (__casinhf): Likewise.
8342 * math/s_casinhl.c (__casinhl): Likewise.
8343 * math/libm-test.inc (casin_test): Add more tests.
8344 (casinh_test): Likewise.
8345 * sysdeps/i386/fpu/libm-test-ulps: Update.
8346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8347
302913e1
SP
83482013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8349
6420d207
SP
8350 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8351
a9e48ab4
SP
8352 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8353
b7837264
SP
8354 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8355 declarations.
8356 (denorm): Likewise.
8357 (__mp_dbl): Likewise.
8358 (__inv): Likewise.
8359
f8af25d2
SP
8360 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8361 and adjust the header comment.
8362
302913e1
SP
8363 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8364 variable name from declaration.
8365
5d7dd1ca
L
83662013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8367
8368 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8369 Initialize COMMON_CPUID_INDEX_7 element.
8370 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8371 (CPUID_RTM): Likewise.
8372 (HAS_RTM): Likewise.
8373 (COMMON_CPUID_INDEX_7): New enum.
8374
2f5f40f4
AS
83752013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8376
8377 [BZ #14981]
8378 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8379 size is zero, record memory as freed.
8380
4056f4a0
AJ
83812013-01-03 Andreas Jaeger <aj@suse.de>
8382
8383 * po/ia.po: Add new Interlingua translation.
8384
ab15736f 83852012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
8386
8387 * locale/programs/localedef.c: Fix description of '--posix' flag.
8388
568035b7
JM
83892013-01-02 Joseph Myers <joseph@codesourcery.com>
8390
e6898b8d
JM
8391 * NEWS: Update dates in second copyright notice.
8392 * README: Update copyright dates in example.
8393 * manual/libc.texinfo: Update copyright dates.
8394 * scripts/test-installation.pl: Update copyright date in --version
8395 output.
8396
0e2f9562
JM
8397 * hurd/ctty-input.c: Fix copyright notice formatting.
8398 * hurd/ctty-output.c: Likewise.
8399 * hurd/dtable.c: Likewise.
8400 * hurd/hurd-raise.c: Likewise.
8401 * hurd/hurdprio.c: Likewise.
8402 * hurd/msgportdemux.c: Likewise.
8403 * misc/sys/file.h: Likewise.
8404 * misc/sys/ioctl.h: Likewise.
8405 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8406 * sysdeps/mach/hurd/chdir.c: Likewise.
8407 * sysdeps/mach/hurd/fchdir.c: Likewise.
8408 * sysdeps/mach/hurd/rename.c: Likewise.
8409 * sysdeps/mach/hurd/rmdir.c: Likewise.
8410 * sysdeps/mach/hurd/seekdir.c: Likewise.
8411 * sysdeps/mach/hurd/setsid.c: Likewise.
8412 * sysdeps/posix/wait3.c: Likewise.
8413
568035b7
JM
8414 * All files with FSF copyright notices: Update copyright dates
8415 using scripts/update-copyrights.
8416 * intl/plural.c: Regenerated.
8417 * locale/programs/charmap-kw.h: Likewise.
8418 * locale/programs/locfile-kw.h: Likewise.
8419
da08f647
SP
84202013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8421
0f5477af
SP
8422 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8423 four values.
8424
44e0d4c2
SP
8425 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8426 calculation loop and add branch prediction.
8427
4d55b4e5
SP
8428 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8429 check access beyond bounds of m1np.
8430
da08f647
SP
8431 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8432 MPTWO.
8433 (__inv): Remove local variable MPTWO to use the global
8434 constant.
8435 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8436 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8437 variable MPTWO.
8438 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8439 MP3HALFS static const.
8440
8e051029
DM
84412013-01-01 David S. Miller <davem@davemloft.net>
8442
8443 * po/ca.po: Update from translation team.
8444
f4cf5f2d
JM
84452013-01-01 Joseph Myers <joseph@codesourcery.com>
8446
8447 * scripts/update-copyrights: New file.
8448 * Makeconfig: Reformat copyright notice.
8449 * ctype/ctype.h: Likewise.
8450 * debug/swprintf_chk.c: Likewise.
8451 * elf/dl-cache.c: Likewise.
8452 * elf/dl-debug.c: Likewise.
8453 * elf/dl-object.c: Likewise.
8454 * grp/initgroups.c: Likewise.
8455 * hurd/Makefile: Likewise.
8456 * hurd/hurd/signal.h: Likewise.
8457 * hurd/hurdfault.c: Likewise.
8458 * hurd/hurdioctl.c: Likewise.
8459 * hurd/hurdlookup.c: Likewise.
8460 * hurd/intr-msg.c: Likewise.
8461 * iconv/gconv_open.c: Likewise.
8462 * libio/swprintf.c: Likewise.
8463 * locale/lc-ctype.c: Likewise.
8464 * locale/nl_langinfo.c: Likewise.
8465 * mach/Machrules: Likewise.
8466 * mach/Makefile: Likewise.
8467 * malloc/obstack.h: Likewise.
8468 * manual/Makefile: Likewise.
8469 * manual/tsort.awk: Likewise.
8470 * misc/bits/stab.def: Likewise.
8471 * nis/nis_print_group_entry.c: Likewise.
8472 * nis/nis_table.c: Likewise.
8473 * nis/nss_compat/compat-pwd.c: Likewise.
8474 * nis/nss_compat/compat-spwd.c: Likewise.
8475 * po/Makefile: Likewise.
8476 * posix/fnmatch.c: Likewise.
8477 * posix/regex.h: Likewise.
8478 * resolv/Makefile: Likewise.
8479 * resolv/nss_dns/dns-network.c: Likewise.
8480 * resolv/res_hconf.c: Likewise.
8481 * scripts/gen-sorted.awk: Likewise.
8482 * soft-fp/soft-fp.h: Likewise.
8483 * stdio-common/printf.h: Likewise.
8484 * stdlib/monetary.h: Likewise.
8485 * stdlib/random.c: Likewise.
8486 * stdlib/random_r.c: Likewise.
8487 * sysdeps/generic/Makefile: Likewise.
8488 * sysdeps/gnu/Makefile: Likewise.
8489 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8490 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8491 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8492 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8493 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8494 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8495 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8496 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8497 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8498 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8499 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8500 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8501 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8502 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8503 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8504 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8505 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8506 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8507 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8508 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8509 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8510 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8511 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8512 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8513 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8514 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8515 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8516 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8517 * sysdeps/mach/hurd/errnos.awk: Likewise.
8518 * sysdeps/mach/hurd/fork.c: Likewise.
8519 * sysdeps/mach/hurd/getcwd.c: Likewise.
8520 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8521 * sysdeps/mach/hurd/mmap.c: Likewise.
8522 * sysdeps/mach/hurd/utimes.c: Likewise.
8523 * sysdeps/mach/hurd/xmknod.c: Likewise.
8524 * sysdeps/posix/profil.c: Likewise.
8525 * sysdeps/posix/readdir_r.c: Likewise.
8526 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8527 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8528 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8529 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8530 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8531 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8532 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8533 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8534 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8535 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8536 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8537 * sysdeps/pthread/lio_listio.c: Likewise.
8538 * sysdeps/sparc/dl-procinfo.h: Likewise.
8539 * sysdeps/unix/i386/sysdep.S: Likewise.
8540 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8541 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8542 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8543 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8545 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8546 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8547 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8548 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8549 * sysdeps/wordsize-32/divdi3.c: Likewise.
8550 * time/sys/time.h: Likewise.
8551 * wcsmbs/Makefile: Likewise.
8552
0549fbba
DM
85532013-01-01 David S. Miller <davem@davemloft.net>
8554
a141f1a7
DM
8555 * po/fr.po: Update from translation team.
8556
0549fbba
DM
8557 * catgets/gencat.c: Update copyright year.
8558 * csu/version.c: Likewise.
8559 * debug/catchsegv.sh: Likewise.
8560 * debug/pcprofiledump.c: Likewise.
8561 * debug/xtrace.sh: Likewise.
8562 * elf/ldconfig.c: Likewise.
8563 * elf/ldd.bash.in: Likewise.
8564 * elf/pldd.c: Likewise.
8565 * elf/sotruss.ksh: Likewise.
8566 * elf/sprof.c: Likewise.
8567 * iconv/iconv_prog.c: Likewise.
8568 * iconv/iconvconfig.c: Likewise.
8569 * locale/programs/locale.c: Likewise.
8570 * locale/programs/localedef.c: Likewise.
8571 * login/programs/pt_chown.c: Likewise.
8572 * malloc/memusage.sh: Likewise.
8573 * malloc/memusagestat.c: Likewise.
8574 * malloc/mtrace.pl: Likewise.
8575 * nscd/nscd.c: Likewise.
8576 * nss/getent.c: Likewise.
8577 * nss/makedb.c: Likewise.
8578 * posix/getconf.c: Likewise.
8579
18ea052c
SP
85802012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8581
8582 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8583 numbers.
8584
9c89fca6
MF
85852012-12-30 Mike Frysinger <vapier@gentoo.org>
8586
8587 * math/bits/mathcalls.h (modf): Use __nonnull.
8588
085ec079
SP
85892012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8590
8591 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8592 (split): Use macro CN instead of the bare value.
8593 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8594 could be used.
8595 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8596 instead of the bare value.
8597 (power1): Likewise.
8598
6d9f97e1
SP
85992012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8600
d63f73be
SP
8601 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8602 __ATAN_TWOM.
8603 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8604
6d9f97e1
SP
8605 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8606 their values.
8607 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8608 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8609 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8610 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8611
4c4febf5
AJ
86122012-12-28 Andreas Jaeger <aj@suse.de>
8613
af5843ef
AJ
8614 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8615 values are from Linux 3.7.
8616
4c4febf5
AJ
8617 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8618 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8619
99136f82
SP
86202012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8621
2f216c3c 8622 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
8623 TRUE case.
8624
99136f82
SP
8625 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8626 (norm): Likewise.
8627 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8628 variables with preprocessor constants.
8629 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8630 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8631 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8632
7fffbdff
BH
86332012-12-27 Bruno Haible <bruno@clisp.org>
8634
8635 [BZ #14317]
8636 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8637 only if needed.
8638
b76eb5f0
SP
86392012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8640
31a7fe5c
SP
8641 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8642 and use variable directly.
8643 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8644
b76eb5f0
SP
8645 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8646 MPONE.
8647 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8648 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8649 variable MPONE.
8650 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8651 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8652 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8653 include directive. Remove local variable MPONE.
8654 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8655 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8656 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8657
2c8bfe7d
DM
86582012-12-25 David S. Miller <davem@davemloft.net>
8659
8660 * version.h (RELEASE): Set to "development".
8661 (VERSION): Set to "2.17.90".
8662 * NEWS: Add 2.18 section.
8663
147d03b0
DM
86642012-12-21 David S. Miller <davem@davemloft.net>
8665
8666 * po/hr.po: Update from translation team.
8667
a8ebb2b9
AK
86682012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8669
8670 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8671
95b4f1b6
SE
86722012-12-19 Steve Ellcey <sellcey@mips.com>
8673
b2d94007 8674 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 8675
cedb2a90
MS
86762012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8677
8678 * manual/contrib.texi (Contributors): Spelling correction.
8679
bbf527d6
DM
86802012-12-15 David S. Miller <davem@davemloft.net>
8681
8682 * po/ru.po: Update from translation team.
8683
bc38c906
DM
86842012-12-13 David S. Miller <davem@davemloft.net>
8685
85429b1a
DM
8686 * NEWS: Mention IFUNC testsuite enhancements.
8687
d283e353
DM
8688 * po/pl.po: Update from translation team.
8689 * po/bg.po: Likewise.
8690
bc38c906
DM
8691 * manual/contrib.texi (Contributors): Update entries for Hongjiu
8692 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
8693
a181b0d7
DM
86942012-12-11 David S. Miller <davem@davemloft.net>
8695
4641d57e
DM
8696 * po/sv.po: Update from translation team.
8697
f7bc6495
DM
8698 * po/vi.po: Update from translation team.
8699
6fc9048f
DM
8700 * po/cs.po: Update from translation team.
8701
a181b0d7
DM
8702 * po/de.po: Update from translation team.
8703 * po/eo.po: Likewise.
8704 * po/nl.po: Likewise.
8705
f70bfe80
SP
87062012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8707
3c8b4190
SP
8708 [BZ #14246]
8709 * manual/argp.texi (Argp Helper Functions): Move node to follow
8710 Argp Parsing State.
8711
f70bfe80
SP
8712 [BZ #14872]
8713 * manual/conf.texi (Limits on File System Capacity): Mention if
8714 terminating null is included in the max size.
8715
188f0adf
AJ
87162012-12-10 Andreas Jaeger <aj@suse.de>
8717
8718 * po/cs.po: Update from translation team.
8719
56e7d3ad
SP
87202012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8721
8722 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8723 void pointer and cast to uintptr_t.
8724 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8725 path.
8726 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8727 * sysdeps/s390/s390-64/memset.S: Likewise.
8728
76f2d2ea 87292012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
8730
8731 [BZ #14833]
8732 * menual/message.texi (Message Translation): Fix typos.
8733 (Helper programs for gettext): Likewise.
8734
67cbf9a2
AS
87352012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8736
8737 [BZ #14898]
8738 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8739 Change to -1.
8740
682d0e9a
DM
87412012-12-07 David S. Miller <davem@davemloft.net>
8742
8743 * po/libc.pot: Update.
8744
573cd484
RH
87452012-12-07 Richard Henderson <rth@redhat.com>
8746
7e9da188 8747 [BZ #10114]
573cd484
RH
8748 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8749 normal/normal case to before the switch.
8750 (_FP_DIV): Likewise.
8751
e933a943
MF
87522012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8753 Mike Frysinger <vapier@gentoo.org>
8754
8755 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8756 check for __NR_fadvise64_64.
8757
82123268
CM
87582012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8759
8760 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8761 0, not just to plain "0" as a statement.
8762 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8763 with cw.
8764
d9814526
JM
87652012-12-06 Joseph Myers <joseph@codesourcery.com>
8766
8767 * NEWS: Use sourceware.org in Bugzilla URL.
8768
7728c574
SP
87692012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8770
f16946dd
SP
8771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8772 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8773
5704bbcb
SP
8774 * stdio-common/tst-put-error.c (do_test): Add newline to the
8775 padded test to ensure flush.
8776
17aa0516
JL
87772012-12-05 Jeff Law <law@redhat.com>
8778
8779 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8780
363313b5
JM
87812012-12-05 Joseph Myers <joseph@codesourcery.com>
8782
effbd42a
JM
8783 * README: Don't refer to ports add-on as distributed separately.
8784 Mention AArch64 in list of systems supported in the ports add-on.
8785
87600365
JM
8786 * LICENSES: Add more non-FSF copyright and license notices.
8787
a0d7066a
JM
8788 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8789 ((unused)).
8790
66ca5a5b
JM
8791 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8792
363313b5
JM
8793 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8794 10000 as width of padded output.
8795
b37984ad
JM
87962012-12-04 Joseph Myers <joseph@codesourcery.com>
8797
9003570a
JM
8798 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8799
b37984ad
JM
8800 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8801 variable LX with __attribute__ ((unused)).
8802 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8803 Likewise.
8804 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8805 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8806 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8807 with __attribute__ ((unused)).
8808
c8df52ec
DM
88092012-12-04 David S. Miller <davem@abraco.davemloft.net>
8810
8811 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8812
b3b099af
JM
88132012-12-04 Joseph Myers <joseph@codesourcery.com>
8814
c33aa6e3
JM
8815 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8816 (CFLAGS-nldbl-acos.c): New variable.
8817 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8818 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8819 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8820 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8821 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8822 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8823 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8824 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8825 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8826 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8827 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8828 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8829 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8830 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8831 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8832 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8833 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8834 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8835 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8836 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8837 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8838 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8839 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8840 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8841 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8842 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8843 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8844 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8845 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8846 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8847 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8848 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8849 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8850 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8851 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8852 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8853 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8854 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8855 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8856 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8857 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8858 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8859 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8860 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8861 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8862 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8863 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8864 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8865 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8866 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8867 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8868 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8869 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8870 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8871 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8872 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8873 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8874 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8875 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8876 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8877 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8878 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8879 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8880 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8881 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8882 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8883 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8884 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8885 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8886 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8887 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8888 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8889 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8890 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8891 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8892 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8893 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8894 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8895 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8896 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8897 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8898 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8899 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8900 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8901 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8902 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8903 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8904 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8905 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8906 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8907 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8908 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8909 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8910 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8911 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8912 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8913 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8914
20f0018d
JM
8915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8916 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8917
b3b099af
JM
8918 [BZ #14914]
8919 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8920 whole low double instead of just low 47 bits when splitting values
8921 into two parts.
8922
029264d1
AM
89232012-12-03 Allan McRae <allan@archlinux.org>
8924
8925 * manual/stdio.texi (Predefined Printf Handlers): Remove
8926 @hsep and @vsep usage.
8927
c9d6789e
MF
89282012-12-03 Mike Frysinger <vapier@gentoo.org>
8929
8930 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8931 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8932
4b7634a5
JL
89332012-12-03 Jeff Law <law@redhat.com>
8934
8935 * time/sys/time.h (settimeofday): Do not mark TV argument
8936 as __nonnull.
8937
eb6cbd24
MF
89382012-12-01 Mike Frysinger <vapier@gentoo.org>
8939
8940 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8941 when currently writing and seek to current position when not.
8942 * libio/Makefile (tests): Remove bug-fclose1.
8943 * libio/bug-fclose1.c: Delete.
8944
f638872a
JM
89452012-12-01 Joseph Myers <joseph@codesourcery.com>
8946
8947 * manual/arith.texi (feenableexcept): Fix typo.
8948 (fedisableexcept): Likewise.
8949
48085d14
RM
89502012-11-30 Roland McGrath <roland@hack.frob.com>
8951
8952 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8953 second, differently-typed declaration, rather than a cast.
8954
1a538b9f
SP
89552012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8956
8957 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
8958 * include/rpc/svc.h: ... here.
8959
d07f2ff1 89602012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
8961
8962 [BZ #13013]
8963 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
8964 depending n and resplen2 to catch cases where answer
8965 equals answerp2.
8966
c93ec1f0
CD
89672012-11-29 Carlos O'Donell <carlos@systemhalted.org>
8968
8969 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
8970 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
8971
37db69de
MF
89722012-11-29 Mike Frysinger <vapier@gentoo.org>
8973
8974 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
8975
e10c4e4f
RM
89762012-11-29 Roland McGrath <roland@hack.frob.com>
8977
8978 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8979
2af1b328
JL
89802012-11-28 Jeff Law <law@redhat.com>
8981
8982 [BZ #13761]
8983 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
8984 dataset_temporary. Track alloca usage into alloca_used.
8985 If dataset is large allocate and release it via malloc/free.
8986
111db5b1
FW
89872012-06-04 Florian Weimer <fweimer@redhat.com>
8988
f06cc227 8989 [BZ #14197]
111db5b1
FW
8990 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
8991
dd694abd
DM
89922012-11-28 David S. Miller <davem@davemloft.net>
8993
8994 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8995
9984dd01
JM
89962012-11-28 Joseph Myers <joseph@codesourcery.com>
8997
8998 [BZ #14803]
8999 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9000 of pi/2 rounded to nearest to 64 bits.
9001 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9002 nearest to 64 bits.
9003 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9004 bits.
9005
14bc93a9
JL
90062012-11-28 Jeff Law <law@redhat.com>
9007 Martin Osvald <mosvald@redhat.com>
9008
9009 [BZ #14889]
9010 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9011 * sunrpc/svc.c: Include time.h.
9012 (__svc_accept_failed): New function.
9013 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9014 any reason other than EINTR, call __svc_accept_failed.
9015 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9016 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9017
e3c6aa3a
AS
90182012-11-28 Andreas Schwab <schwab@suse.de>
9019
9020 * scripts/abilist.awk: Also handle indirect functions in .opd
9021 section.
9022
1bead169
JM
90232012-11-28 Joseph Myers <joseph@codesourcery.com>
9024
9025 [BZ #13881]
9026 * sysdeps/x86/fpu/powl_helper.c: New file.
9027 * sysdeps/x86/fpu/Makefile: Likewise.
9028 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9029 (p3): New object.
9030 (__ieee754_powl): Use __powl_helper for finite arguments except
9031 integer exponents below 8.
9032 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9033 (p3): New object.
9034 (__ieee754_powl): Use __powl_helper for finite arguments except
9035 integer exponents below 8.
9036 * math/libm-test.inc (pow_test): Add more tests and enable some
9037 previously disabled tests.
9038 * sysdeps/i386/fpu/libm-test-ulps: Update.
9039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9040
0817d63d
SP
90412012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9042 Carlos O'Donell <carlos_odonell@mentor.com>
9043
9044 * nss/makedb.c (is_prime): Assert that input is odd and greater
9045 than 4. Note that fact in a comment too.
9046 (next_prime): Add 4 to input.
9047
de2fd463
SP
90482012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9049
9050 [BZ #11741]
9051 * libio/Makefile (tests): Add test case tst-fwrite-error.
9052 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9053 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9054 * libio/tst-fwrite-error.c: New test case.
9055
c515fb51
L
90562012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9057
9058 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9059 before casting to void *.
9060 * include/libc-internal.h (__pointer_type): New macro.
9061 (__integer_if_pointer_type_sub): Likewise.
9062 (__integer_if_pointer_type): Likewise.
9063 (cast_to_integer): Likewise.
9064 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9065 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9066 before casting to atomic64_t.
9067 (atomic_exchange_acq): Likewise.
9068 (__arch_exchange_and_add_body): Likewise.
9069 (__arch_add_body): Likewise.
9070 (atomic_add_negative): Likewise.
9071 (atomic_add_zero): Likewise.
9072
4cf77aa9
JM
90732012-11-26 Joseph Myers <joseph@codesourcery.com>
9074
9075 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9076 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9077 (add_fdes): Likewise.
9078 (linear_search_fdes): Likewise.
9079 (binary_search_unencoded_fdes): Likewise.
9080
d260b3b4
AS
90812012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9082
9083 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9084
67060746
AC
90852012-11-24 Adam Conrad <adconrad@0c3.net>
9086
9087 * configure.in: Autodetect C++ header directories.
9088 * configure: Regenerated.
9089
800938a1
MF
90902012-11-23 Mike Frysinger <vapier@gentoo.org>
9091
9092 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9093
4e6e34e6
AS
90942012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9095
9096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9097
7c7feb47
JM
90982012-11-22 Joseph Myers <joseph@codesourcery.com>
9099
7184dcdf
JM
9100 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9101 LDBL_MANT_DIG == 106]: Disable some tests.
9102 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9103 Likewise.
9104 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9105 Likewise.
9106
0a42601f
JM
9107 [BZ #14871]
9108 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9109 input for small inputs. Return +/- pi/2 for large inputs.
9110 * math/libm-test.inc (atan_test): Add more tests.
9111
79c9b9fe
JM
9112 * sysdeps/generic/unwind-dw2-fde-glibc.c
9113 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9114 __attribute__ ((unused)).
9115
c60d3bf2
JM
9116 [BZ #14645]
9117 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9118 x * y if x and y are nonzero and z is zero.
9119
ef1e0867
JM
9120 [BZ #14811]
9121 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9122 nonzero exponents with absolute value below 0x1p-117 to +/-
9123 0x1p-117.
9124
1468ded3
JM
9125 [BZ #14869]
9126 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9127 up arguments below 2**-450, not just those below 2**-500.
9128 * math/libm-test.inc (hypot_test): Add another test.
9129
8e27e3cc
JM
9130 [BZ #14868]
9131 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9132 Return a+b for ratio over 2**120, not 2**60.
9133 * math/libm-test.inc (hypot_test): Add another test.
9134
c9c0279b
JM
9135 * math/libm-test.inc (clog_test): Use
9136 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9137 (clog10_test): Likewise.
9138
7c7feb47
JM
9139 [BZ #6778]
9140 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9141
fff1530e
AS
91422012-11-22 Andreas Schwab <schwab@suse.de>
9143
9144 * sysdeps/i386/fpu/libm-test-ulps: Update.
9145
94558d30
PT
91462012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9147
9148 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9149 printf output with newline.
9150
7e1be741
L
91512012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9152
6bfea974
L
9153 [BZ #14865]
9154 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9155 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9156 -z nodlopen, -z initfirst and -z execstack support.
9157 * configure: Regenerated.
9158
7e1be741
L
9159 * elf/elf.h (DF_1_NODIRECT): New macro.
9160 (DF_1_IGNMULDEF): Likewise.
9161 (DF_1_NOKSYMS): Likewise.
9162 (DF_1_NOHDR): Likewise.
9163 (DF_1_EDITED): Likewise.
9164 (DF_1_NORELOC): Likewise.
9165 (DF_1_SYMINTPOSE): Likewise.
9166 (DF_1_GLOBAUDIT): Likewise.
9167 (DF_1_SINGLETON): Likewise.
9168 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9169 DT_1_SUPPORTED_MASK bits.
9170 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9171
105ce2ce
CD
91722012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
9173
9174 * sysdeps/unix/make-syscalls.sh: Document prefixes.
9175
123be9de
TS
91762012-11-20 Thomas Schwinge <thomas@codesourcery.com>
9177
d072f3f7
TS
9178 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9179 macro.
9180
123be9de
TS
9181 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9182 (sendmmsg): Move declarations...
9183 * socket/sys/socket.h: ... here.
9184 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9185 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9186 include it from...
9187 * socket/recvmmsg.c: ... this new file.
9188 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9189 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9190 definition of __sendmmsg hidden.
9191 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9192 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9193 Move ENOSYS stub into and include it from...
9194 * socket/sendmmsg.c: ... this new file.
9195 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9196 (sysdep_routines): Move recvmmsg and sendmmsg...
9197 * socket/Makefile (routines): ... here.
9198 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9199 (GLIBC_PRIVATE): Add __sendmmsg.
9200 * include/sys/socket.h (__sendmmsg): Add declarations.
9201 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9202 sendmmsg.
9203
cf9a5d18
JM
92042012-11-20 Joseph Myers <joseph@codesourcery.com>
9205
9206 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9207 variable I1 with __attribute__ ((unused)).
9208 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9209
ecd4caf9
JM
92102012-11-19 Joseph Myers <joseph@codesourcery.com>
9211
be14d48f
JM
9212 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9213 DUMMY variables with __attribute__ ((unused)).
9214
ecd4caf9
JM
9215 * bits/byteswap.h: Include <bits/types.h>.
9216 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9217
986cab95
PT
92182012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9219
9220 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9221 string_t. Do not manually set errno.
9222 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9223 length with __strnlen. Make sure to both set errno and return it on
9224 failure.
9225
6d33cc9d
DM
92262012-11-19 David S. Miller <davem@davemloft.net>
9227
9228 With help from Joseph Myers.
9229 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9230 very large arguments properly.
9231 * math/libm-test.inc (atan_test): New tests.
9232 (atan2_test): New tests.
9233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9234 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9235
ee663277
JM
92362012-11-19 Joseph Myers <joseph@codesourcery.com>
9237
877f2d8e
JM
9238 [BZ #14856]
9239 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9240 Define to 3.
9241
116fc08a
JM
9242 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9243 [POSIX] (EADDRNOTAVAIL): Likewise.
9244 [POSIX] (EAFNOSUPPORT): Likewise.
9245 [POSIX] (EALREADY): Likewise.
9246 [POSIX] (ECONNABORTED): Likewise.
9247 [POSIX] (ECONNREFUSED): Likewise.
9248 [POSIX] (ECONNRESET): Likewise.
9249 [POSIX] (EDESTADDRREQ): Likewise.
9250 [POSIX] (EDQUOT): Likewise.
9251 [POSIX] (EHOSTUNREACH): Likewise.
9252 [POSIX] (EIDRM): Likewise.
9253 [POSIX] (EISCONN): Likewise.
9254 [POSIX] (ELOOP): Likewise.
9255 [POSIX] (EMULTIHOP): Likewise.
9256 [POSIX] (ENETDOWN): Likewise.
9257 [POSIX] (ENETUNREACH): Likewise.
9258 [POSIX] (ENOBUFS): Likewise.
9259 [POSIX] (ENODATA): Likewise.
9260 [POSIX] (ENOLINK): Likewise.
9261 [POSIX] (ENOMSG): Likewise.
9262 [POSIX] (ENOPROTOOPT): Likewise.
9263 [POSIX] (ENOSR): Likewise.
9264 [POSIX] (ENOSTR): Likewise.
9265 [POSIX] (ENOTCONN): Likewise.
9266 [POSIX] (ENOTSOCK): Likewise.
9267 [POSIX] (EOPNOTSUPP): Likewise.
9268 [POSIX] (EOVERFLOW): Likewise.
9269 [POSIX] (EPROTO): Likewise.
9270 [POSIX] (EPROTONOSUPPORT): Likewise.
9271 [POSIX] (EPROTOTYPE): Likewise.
9272 [POSIX] (ESTALE): Likewise.
9273 [POSIX] (ETIME): Likewise.
9274 [POSIX] (ETXTBSY): Likewise.
9275 [POSIX] (EWOULDBLOCK): Likewise.
9276 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9277 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9278 [POSIX] (SEEK_CUR): Likewise.
9279 [POSIX] (SEEK_END): Likewise.
9280 [POSIX || UNIX98] (mode_t): Do not require.
9281 [POSIX] (off_t): Likewise.
9282 [POSIX] (pid_t): Likewise.
9283 [POSIX] (sys/stat.h): Do not allow header.
9284 [POSIX] (unistd.h): Likewise.
9285 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9286 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9287 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9288 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9289 require.
9290 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9291 sigevent): Specify elements.
9292 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9293 entry.
9294 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9295 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9296
a483863f
JM
9297 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9298 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9299 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9300 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9301 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9302 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9303 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9304 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9305 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9306 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9307 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9308 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9309 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9310 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9311 Likewise.
9312 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9313 Likewise.
9314 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9315 Likewise.
9316 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9317 Likewise.
9318 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9319 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9320 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9321 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9322 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9323 Specify lower bound on value.
9324 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9325 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9326 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9327 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9328 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9329 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9330 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9331 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9332 value.
9333 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9334 as optional.
9335 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9336 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9337 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9338 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9339 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9340 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9341 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9342 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9343 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9344 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9345 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9346 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9347 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9348 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9349 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9350 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9351 entry.
9352 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9353 optional.
9354 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9355 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9356 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9357 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9358 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9359 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9360 Likewise.
9361 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9362 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9363 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9364 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9365 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9366 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9367 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9368 as optional.
9369 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9370 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9371 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9372 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9373 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9374 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9375 specify as optional.
9376 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9377 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9378 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9379 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9380 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9381 [XPG3] (NL_LANGMAX): Likewise.
9382 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9383 [POSIX || XPG3] (NL_NMAX): Likewise.
9384 [POSIX || XPG3] (NL_SETMAX): Likewise.
9385 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9386 [XPG3] (NZERO): Likewise.
9387 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9388 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9389 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9390 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9391 (REG_ERANGE): Expect.
9392 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9393 optional-constant.
9394 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9395 Use (void) in prototype.
9396 [POSIX] (*_t): Allow.
9397 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9398 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9399 (WRDE_BADVAL): Expect.
9400
5ba924e3
JM
9401 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9402 expect.
9403 [XPG3 || XPG4] (O_RSYNC): Likewise.
9404 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9405 Likewise.
9406 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9407 [XPG3 || XPG4] (sigqueue): Likewise.
9408 [XPG3 || XPG4] (sigtimedwait): Likewise.
9409 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9410 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9411 [XPG3 || XPG4] (vsnprintf): Likewise.
9412 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9413 Likewise.
9414 [XPG3 || XPG4] (blksize_t): Likewise.
9415 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9416 Likewise.
9417 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9418 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9419 [XPG3 || XPG4] (struct itimerspec): Likewise.
9420 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9421 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9422 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9423 [XPG3 || XPG4] (clockid_t): Likewise.
9424 [XPG3 || XPG4] (timer_t): Likewise.
9425 [XPG3 || XPG4] (clock_getres): Likewise.
9426 [XPG3 || XPG4] (clock_gettime): Likewise.
9427 [XPG3 || XPG4] (clock_settime): Likewise.
9428 [XPG3 || XPG4] (nanosleep): Likewise.
9429 [XPG3 || XPG4] (timer_create): Likewise.
9430 [XPG3 || XPG4] (timer_delete): Likewise.
9431 [XPG3 || XPG4] (timer_gettime): Likewise.
9432 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9433 [XPG3 || XPG4] (timer_settime): Likewise.
9434 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9435 [XPG3 || XPG4] (getlogin_r): Likewise.
9436 [XPG3 || XPG4] (pread): Likewise.
9437 [XPG3 || XPG4] (pthread_atfork): Likewise.
9438 [XPG3 || XPG4] (pwrite): Likewise.
9439
ee663277
JM
9440 [BZ #14835]
9441 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9442 <bits/siginfo.h>.
9443
942caa16
PT
94442012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9445
e19af380
PT
9446 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9447 finalizing MALLSTREAM.
9448
942caa16
PT
9449 * sysdeps/mach/hurd/syncfs.c: New file.
9450
cfde9b46
SP
94512012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9452
9453 [BZ #14719]
9454 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9455 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9456 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9457 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9458 (_nss_dns_gethostbyname4_r): Likewise.
9459 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9460 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9461
f6da27e5
PH
94622012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9463
9464 [BZ #13763]
9465 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9466
6665d4a2
SM
94672012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9468
1f51ee92
SM
9469 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9470 * elf/cache.c (print_entry): Print ",AArch64" for
9471 FLAG_AARCH64_LIB64
9472
6665d4a2
SM
9473 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9474 * elf/cache.c (print_entry): Print ",hard-float" for
9475 FLAG_ARM_LIBHF.
9476
05b227bd
DM
94772012-11-18 David S. Miller <davem@davemloft.net>
9478
9479 With help from Joseph Myers.
9480 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9481 cutoff to 2**-13.
9482 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9483 cutoff to 2**-25.
9484 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9485 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9486 small.
9487 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9488 * math/libm-test.inc (y0_test): New tests.
9489 (y1_test): New tests.
9490 * sysdeps/i386/fpu/libm-test-ulps: Update.
9491 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9493
786b0b67
AS
94942012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9495
9496 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9497 64-bit targets.
9498 * configure: Regenerated.
9499
8e18b86d
DM
95002012-11-17 David S. Miller <davem@davemloft.net>
9501
9502 [BZ #14811]
9503 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9504 nonzero exponents with absolute value below 0x1p-128 to +/-
9505 0x1p-128.
9506
531f1ae0
JM
95072012-11-17 Joseph Myers <joseph@codesourcery.com>
9508
12df29e2
JM
9509 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9510
150dc1a0
JM
9511 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9512
531f1ae0
JM
9513 * posix/getconf-speclist.c: New file.
9514 * posix/posix-envs.def: Likewise.
9515 * posix/confstr.c (START_ENV_GROUP): New macro.
9516 (END_ENV_GROUP): Likewise.
9517 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9518 (KNOWN_PRESENT_ENV_STRING): Likewise.
9519 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9520 (UNKNOWN_ENVIRONMENT): Likewise.
9521 (confstr): Include posix-envs.def instead of handling
9522 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9523 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9524 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9525 (END_ENV_GROUP): Likewise.
9526 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9527 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9528 (UNKNOWN_ENVIRONMENT): Likewise.
9529 (__sysconf): Include posix-envs.def instead of handling associated
9530 cases directly here.
9531 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9532 preprocessing getconf-speclist.c rather than running getconf or
9533 generating empty file.
9534
a93f9cbc
PT
95352012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9536
9537 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9538
d64d9f87
AL
95392012-11-16 Andrej Lajovic <natrij@gmail.com>
9540
9541 [BZ #14672]
9542 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9543
447885eb
DM
95442012-11-16 David S. Miller <davem@davemloft.net>
9545
9546 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9547 smaller than LDBL_EPSILON/2.0L, just return xm1.
9548
bcbf9830
L
95492012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9550
9551 * elf/tst-array1.c (init): Set constructor priority to 1000.
9552 (fini): Set destructor priority to 1000.
9553 * elf/tst-array2dep.c: Likewise.
9554
2b766585
SP
95552012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9556
9557 [BZ #11741]
9558 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9559 (_IO_new_file_xsputn): Also return EOF if none of the input
9560 data was written when overflow failed.
9561 * libio/iopadn.c (_IO_padn): Likewise.
9562 * libio/iowpadn.c (_IO_wpadn): Likewise.
9563 * stdio-common/tst-put-error.c: Add copyright notice.
9564 (do_test): Add case for printing padded string.
9565 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9566 _IO_padn returned error.
9567 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9568 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9569 return EOF.
9570
b1848fde
SP
95712012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9572
9573 * libio/libioP.h: Add comment note that the references to C++
9574 bits are now obsolete.
9575
2fd89785
MS
95762012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9577
9578 * math/libm-test.inc (check_complex): Use asprintf.
9579
e3ea5409
JM
95802012-11-14 Joseph Myers <joseph@codesourcery.com>
9581
9582 * debug/pcprofiledump.c (print_version): Update copyright year.
9583 * malloc/memusagestat.c (print_version): Likewise.
9584
2e64d265
L
95852012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9586
9587 [BZ #14831]
9588 * elf/Makefile (tests): Add tst-audit8.
9589 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9590 ($(objpfx)tst-audit8.out): New target.
9591 (tst-audit8-ENV): New variable.
9592 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9593 audit if l_reloc_result is NULL.
9594 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9595 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9596 * elf/tst-audit8.c: New file.
9597
c485e4d2
MS
95982012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9599
9600 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9601 * misc/Makefile (CFLAGS-select.c): Define.
9602 * posix/Makefile (CFLAGS-pause.c): Define.
9603
3a0d900a
DM
96042012-11-13 David S. Miller <davem@davemloft.net>
9605
9606 * crypt/Makefile: Move test targets after toplevel Rules
9607 inclusion. Grab any necessary sysdep routines when linking.
9608 * crypt/md5.c (md5_process_block): Remove define, we will always
9609 name it __md5_process_block.
9610 (md5_finish_ctx): Update md5_process_block call.
9611 (md5_stream): Likewise.
9612 (md5_process_bytes): Likewise.
9613 (md5_process_block): Rename to __md5_process_block and move to ...
9614 * crypt/md5-block.c: ... here.
9615 * crypt/sha256.c (sha256_process_block): Move to ...
9616 * crypt/sha256-block.c: ... here.
9617 * crypt/sha512.c (sha512_process_block): Move to ...
9618 * crypt/sha512-block.c: ... here.
9619 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9620 path.
9621 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9622 * sysdeps/sparc/sparc64/multiarch/Makefile
9623 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9624 crypt subdir.
9625 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9626 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9627 multiarch changes.
9628 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9629 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9630 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9631 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9632 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9633 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9634 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9635 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9636 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9637 file.
9638 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9639 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9640 file.
9641 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9642
8ca89318
JM
96432012-11-13 Joseph Myers <joseph@codesourcery.com>
9644
e27d476a
JM
9645 * timezone/tzselect.ksh: Update from tzcode git revision
9646 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9647 * timezone/zdump.c: Likewise.
9648 * timezone/zic.c: Likewise.
9649 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9650 in TZVERSION setting, not $(PKGVERSION).
9651 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9652 REPORT_BUGS_TO settings.
9653
8ca89318
JM
9654 [BZ #14838]
9655 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9656 macro.
9657
47594329
MS
96582012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9659
9660 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9661 detection to immediately after _FP_ROUND().
9662 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9663 bits are 0.
9664
640ac3f1
DM
96652012-11-11 David S. Miller <davem@davemloft.net>
9666
9667 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9668 inttypes.h
9669 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9670 __close rather than their public counterparts.
9671
3d2577bb
JM
96722012-11-10 Joseph Myers <joseph@codesourcery.com>
9673
9674 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9675 file.
9676 [UNIX98] (sem_timedwait): Do not expect.
9677 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9678 [XPG4 || UNIX98] (sockatmark): Do not expect.
9679 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9680 (clock_getcpuclockid): Do not expect.
9681 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9682 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9683 Do not expect.
9684 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9685 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9686 [UNIX98] (vwscanf): Likewise.
9687 [UNIX98] (vswscanf): Likewise.
9688
fb1ae1ee
JM
96892012-11-09 Joseph Myers <joseph@codesourcery.com>
9690
9ec6f8bd
JM
9691 * timezone/version.h: Remove file.
9692 * timezone/README: Do not refer to version.h.
9693 * timezone/Makefile ($(objpfx)zic.o): New dependency on
9694 $(objpfx)version.h.
9695 ($(objpfx)zdump.o): Likewise.
c3f81911 9696 ($(objpfx)version.h): New target.
9ec6f8bd 9697
0aa8f8a1
JM
9698 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9699 2012i.
9700 * timezone/README: Don't mention modification to tzselect.ksh.
9701 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9702 work on unmodified tzselect.ksh. Substitute version numbers in
9703 tzselect.ksh.
9704
4e87147f
JM
9705 * Makefile (format-me): Remove.
9706 (INSTALL): Adjust indentation. Use commands directly instead of
9707 using $(format-me).
9708
8b748aed
JM
9709 * aclocal.m4 (ACX_PKGVERSION): New macro.
9710 (ACX_BUGURL): Likewise.
9711 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9712 (PKGVERSION): New AC_DEFINE_UNQUOTED.
9713 (REPORT_BUGS_TO): Likewise.
9714 * configure: Regenerated.
9715 * config.h.in (PKGVERSION): New macro.
9716 (REPORT_BUGS_TO): Likewise.
9717 * config.make.in (PKGVERSION): New variable.
9718 (PKGVERSION_TEXI): Likewise.
9719 (REPORT_BUGS_TO): Likewise.
9720 (REPORT_BUGS_TEXI): Likewise.
9721 * Makefile (format-me): Use -I$(common-objpfx)manual.
9722 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9723 ($(common-objpfx)manual/%): New target.
9724 (manual/%): Remove target.
9725 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9726 (print_version): Use PKGVERSION.
9727 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9728 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9729 and REPORT_BUGS_TO.
9730 ($(objpfx)xtrace): Likewise.
9731 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9732 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9733 (print_version): Use PKGVERSION.
9734 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9735 (do_version): Use PKGVERSION.
9736 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9737 REPORT_BUGS_TO.
9738 (common-ldd-rewrite): Likewise.
9739 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9740 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9741 (print_version): Use PKGVERSION.
9742 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9743 * elf/pldd.c (argp_program_bug_address): Remove variable.
9744 (more_help): New function.
9745 (argp): Use more_help.
9746 (print_version): Use PKGVERSION.
9747 * elf/sln.c (main): Use PKGVERSION.
9748 (usage): Use REPORT_BUGS_TO.
9749 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9750 (top level): Use PKGVERSION.
9751 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9752 (print_version): Use PKGVERSION.
9753 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9754 (print_version): Use PKGVERSION.
9755 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9756 (print_version): Use PKGVERSION.
9757 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9758 (print_version): Use PKGVERSION.
9759 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9760 (print_version): Use PKGVERSION.
9761 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9762 (print_version): Use PKGVERSION.
9763 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9764 and BUGURL.
9765 ($(objpfx)memusage): Likewise.
9766 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9767 (do_version): Use PKGVERSION.
9768 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9769 (print_version): Use PKGVERSION.
9770 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9771 ($PKGVERSION): New variable.
9772 ($REPORT_BUGS_TO): Likewise.
9773 (usage): Use $REPORT_BUGS_TO.
9774 (top level): Use $PKGVERSION.
9775 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9776 ($(objpfx)pkgvers.texi): New rule.
9777 ($(objpfx)stamp-pkgvers): Likewise.
9778 * manual/install.texi: Include pkgvers.texi.
9779 (--with-pkgversion): Document new configure option.
9780 (--with-bugurl): Likewise.
9781 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9782 than necessarily for this particular distribution. Use
9783 REPORT_BUGS_TO for where to report bugs.
9784 * INSTALL: Regenerated.
9785 * manual/libc.texinfo: Include pkgvers.texi.
9786 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9787 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9788 (print_version): Use PKGVERSION.
9789 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9790 (print_version): Use PKGVERSION.
9791 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9792 (print_version): Use PKGVERSION.
9793 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9794 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9795 macro.
9796 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9797 (print_version): Use PKGVERSION.
9798 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9799 (print_version): Use PKGVERSION.
9800 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9801 and PKGVERSION.
9802
92e4b6a9
JM
9803 * timezone/checktab.awk: Update from tzcode 2012i.
9804 * timezone/ialloc.c: Likewise.
9805 * timezone/private.h: Likewise.
9806 * timezone/scheck.c: Likewise.
9807 * timezone/tzfile.h: Likewise.
9808 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9809 (TZVERSION): Hardcode tzcode version number.
9810 * timezone/zdump.c: Update from tzcode 2012i.
9811 * timezone/zic.c: Likewise.
9812 * timezone/version.h: New file.
9813 * timezone/README: Describe version.h. Update upstream location.
9814
9bde902c
JM
9815 [BZ #14824]
9816 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9817 (mktemp): Enable declaration.
9818 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9819 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9820 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9821 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9822 Likewise.
9823 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9824 Likewise.
9825 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9826 Likewise.
9827 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9828 Likewise.
9829 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9830 Likewise.
9831 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9832 Likewise.
9833
fb1ae1ee
JM
9834 [BZ #14821]
9835 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9836 offset in buffer as u_int32_t not u_long. Consistently use memcpy
9837 for copies of such integer values.
9838 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9839 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9840
2c1adbcb
AJ
98412012-11-09 Andreas Jaeger <aj@suse.de>
9842
9843 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9844 definitions and declarations that are provided by
9845 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9846
d0f8457e
AK
98472012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9848
3a235abb 9849 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
9850 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9851 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9852 definition.
9853
57241e26
MS
98542012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9855
9856 * elf/elf.h: Update comment before AArch64 relocations.
9857
60e8270d
DM
98582012-11-07 David S. Miller <davem@davemloft.net>
9859
9860 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9861 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9862 (__start_context): Declare.
9863 (__makecontext_ret): Delete.
9864 (__makecontext): Hook up __start_context instead of
9865 __makecontext_ret.
9866 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9867 (sysdep_routines): Add __start_context when in stdlib.
9868
0fbb0fbc
JM
98692012-11-07 Joseph Myers <joseph@codesourcery.com>
9870
9871 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9872 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9873 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
9874 hardcoded "nm".
9875 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
9876 (READELF): New variable. Use it instead of hardcoded "readelf".
9877
eb48db7e
L
98782012-11-07 H.J. Lu <hongjiu.lu@intel.com>
9879
9880 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9881 * sysdeps/x86/Makefile: Here.
9882 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9883 * sysdeps/x86/tst-xmmymm.sh: This.
9884
05bcf62a
JM
98852012-11-07 Joseph Myers <joseph@codesourcery.com>
9886
c4b6cf53
JM
9887 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9888 expectations.
9889 [UNIX98] (pthread_barrier_t): Do not expect.
9890 [UNIX98] (pthread_barrierattr_t): Likewise.
9891 [UNIX98] (pthread_spinlock_t): Likewise.
9892 [UNIX98] (pthread_barrier_destroy): Likewise.
9893 [UNIX98] (pthread_barrier_init): Likewise.
9894 [UNIX98] (pthread_barrier_wait): Likewise.
9895 [UNIX98] (pthread_barrierattr_destroy): Likewise.
9896 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9897 [UNIX98] (pthread_barrierattr_init): Likewise.
9898 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9899 [UNIX98] (pthread_getcpuclockid): Likewise.
9900 [UNIX98] (pthread_mutex_timedlock): Likewise.
9901 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9902 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9903 [UNIX98] (pthread_sigmask): Likewise.
9904 [UNIX98] (pthread_spin_destroy): Likewise.
9905 [UNIX98] (pthread_spin_init): Likewise.
9906 [UNIX98] (pthread_spin_lock): Likewise.
9907 [UNIX98] (pthread_spin_trylock): Likewise.
9908 [UNIX98] (pthread_spin_unlock): Likewise.
9909 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9910 Do not expect.
9911 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9912 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9913 [XPG3 || XPG4] (pthread_cond_t): Likewise.
9914 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9915 [XPG3 || XPG4] (pthread_key_t): Likewise.
9916 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9917 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9918 [XPG3 || XPG4] (pthread_once_t): Likewise.
9919 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9920 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9921 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9922 [XPG3 || XPG4] (pthread_t): Likewise.
9923
cbe6e120
JM
9924 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9925 not expect.
9926 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9927
1b126443
JM
9928 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9929 Change function return type to int.
9930
b961a573
JM
9931 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9932 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9933 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9934 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9935 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9936 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9937 [!POSIX] (posix_madvise): Likewise.
9938 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9939 && !UNIX98].
9940 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9941 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9942 (mode_t): Likewise.
9943 (posix_mem_offset): Likewise.
9944 (posix_typed_mem_get_info): Likewise.
9945 (posix_typed_mem_open): Likewise.
9946
9e188909
JM
9947 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9948 Change condition to [XOPEN2K8].
9949
05bcf62a
JM
9950 * conform/conformtest.pl: Preprocess allow-header data with -x c
9951 instead of from stdin.
9952 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9953 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9954 [C99-based standards] (cerfc): Likewise.
9955 [C99-based standards] (cexp2): Likewise.
9956 [C99-based standards] (cexpm1): Likewise.
9957 [C99-based standards] (clog10): Likewise.
9958 [C99-based standards] (clog1p): Likewise.
9959 [C99-based standards] (clog2): Likewise.
9960 [C99-based standards] (clgamma): Likewise.
9961 [C99-based standards] (ctgamma): Likewise.
9962 [C99-based standards] (cerff): Likewise.
9963 [C99-based standards] (cerfcf): Likewise.
9964 [C99-based standards] (cexp2f): Likewise.
9965 [C99-based standards] (cexpm1f): Likewise.
9966 [C99-based standards] (clog10f): Likewise.
9967 [C99-based standards] (clog1pf): Likewise.
9968 [C99-based standards] (clog2f): Likewise.
9969 [C99-based standards] (clgammaf): Likewise.
9970 [C99-based standards] (ctgammaf): Likewise.
9971 [C99-based standards] (cerfl): Likewise.
9972 [C99-based standards] (cerfcl): Likewise.
9973 [C99-based standards] (cexp2l): Likewise.
9974 [C99-based standards] (cexpm1l): Likewise.
9975 [C99-based standards] (clog10l): Likewise.
9976 [C99-based standards] (clog1pl): Likewise.
9977 [C99-based standards] (clog2l): Likewise.
9978 [C99-based standards] (clgammal): Likewise.
9979 [C99-based standards] (ctgammal): Likewise.
9980 * conform/data/inttypes.h-data [C99-based standards]: Include
9981 stdint.h-data. Remove all expectations for stdint.h contents.
9982 [C99-based standards] (PRI*): Do not allow.
9983 [C99-based standards] (SCN*): Likewise.
9984 [C99-based standards] (*_t): Likewise.
9985 [C99-based-standards] (PRId8): Expect macro.
9986 [C99-based-standards] (PRIi8): Likewise.
9987 [C99-based-standards] (PRIo8): Likewise.
9988 [C99-based-standards] (PRIu8): Likewise.
9989 [C99-based-standards] (PRIx8): Likewise.
9990 [C99-based-standards] (PRIX8): Likewise.
9991 [C99-based-standards] (SCNd8): Likewise.
9992 [C99-based-standards] (SCNi8): Likewise.
9993 [C99-based-standards] (SCNo8): Likewise.
9994 [C99-based-standards] (SCNu8): Likewise.
9995 [C99-based-standards] (SCNx8): Likewise.
9996 [C99-based-standards] (PRIdLEAST8): Likewise.
9997 [C99-based-standards] (PRIiLEAST8): Likewise.
9998 [C99-based-standards] (PRIoLEAST8): Likewise.
9999 [C99-based-standards] (PRIuLEAST8): Likewise.
10000 [C99-based-standards] (PRIxLEAST8): Likewise.
10001 [C99-based-standards] (PRIXLEAST8): Likewise.
10002 [C99-based-standards] (SCNdLEAST8): Likewise.
10003 [C99-based-standards] (SCNiLEAST8): Likewise.
10004 [C99-based-standards] (SCNoLEAST8): Likewise.
10005 [C99-based-standards] (SCNuLEAST8): Likewise.
10006 [C99-based-standards] (SCNxLEAST8): Likewise.
10007 [C99-based-standards] (PRIdFAST8): Likewise.
10008 [C99-based-standards] (PRIiFAST8): Likewise.
10009 [C99-based-standards] (PRIoFAST8): Likewise.
10010 [C99-based-standards] (PRIuFAST8): Likewise.
10011 [C99-based-standards] (PRIxFAST8): Likewise.
10012 [C99-based-standards] (PRIXFAST8): Likewise.
10013 [C99-based-standards] (SCNdFAST8): Likewise.
10014 [C99-based-standards] (SCNiFAST8): Likewise.
10015 [C99-based-standards] (SCNoFAST8): Likewise.
10016 [C99-based-standards] (SCNuFAST8): Likewise.
10017 [C99-based-standards] (SCNxFAST8): Likewise.
10018 [C99-based-standards] (PRId16): Likewise.
10019 [C99-based-standards] (PRIi16): Likewise.
10020 [C99-based-standards] (PRIo16): Likewise.
10021 [C99-based-standards] (PRIu16): Likewise.
10022 [C99-based-standards] (PRIx16): Likewise.
10023 [C99-based-standards] (PRIX16): Likewise.
10024 [C99-based-standards] (SCNd16): Likewise.
10025 [C99-based-standards] (SCNi16): Likewise.
10026 [C99-based-standards] (SCNo16): Likewise.
10027 [C99-based-standards] (SCNu16): Likewise.
10028 [C99-based-standards] (SCNx16): Likewise.
10029 [C99-based-standards] (PRIdLEAST16): Likewise.
10030 [C99-based-standards] (PRIiLEAST16): Likewise.
10031 [C99-based-standards] (PRIoLEAST16): Likewise.
10032 [C99-based-standards] (PRIuLEAST16): Likewise.
10033 [C99-based-standards] (PRIxLEAST16): Likewise.
10034 [C99-based-standards] (PRIXLEAST16): Likewise.
10035 [C99-based-standards] (SCNdLEAST16): Likewise.
10036 [C99-based-standards] (SCNiLEAST16): Likewise.
10037 [C99-based-standards] (SCNoLEAST16): Likewise.
10038 [C99-based-standards] (SCNuLEAST16): Likewise.
10039 [C99-based-standards] (SCNxLEAST16): Likewise.
10040 [C99-based-standards] (PRIdFAST16): Likewise.
10041 [C99-based-standards] (PRIiFAST16): Likewise.
10042 [C99-based-standards] (PRIoFAST16): Likewise.
10043 [C99-based-standards] (PRIuFAST16): Likewise.
10044 [C99-based-standards] (PRIxFAST16): Likewise.
10045 [C99-based-standards] (PRIXFAST16): Likewise.
10046 [C99-based-standards] (SCNdFAST16): Likewise.
10047 [C99-based-standards] (SCNiFAST16): Likewise.
10048 [C99-based-standards] (SCNoFAST16): Likewise.
10049 [C99-based-standards] (SCNuFAST16): Likewise.
10050 [C99-based-standards] (SCNxFAST16): Likewise.
10051 [C99-based-standards] (PRId32): Likewise.
10052 [C99-based-standards] (PRIi32): Likewise.
10053 [C99-based-standards] (PRIo32): Likewise.
10054 [C99-based-standards] (PRIu32): Likewise.
10055 [C99-based-standards] (PRIx32): Likewise.
10056 [C99-based-standards] (PRIX32): Likewise.
10057 [C99-based-standards] (SCNd32): Likewise.
10058 [C99-based-standards] (SCNi32): Likewise.
10059 [C99-based-standards] (SCNo32): Likewise.
10060 [C99-based-standards] (SCNu32): Likewise.
10061 [C99-based-standards] (SCNx32): Likewise.
10062 [C99-based-standards] (PRIdLEAST32): Likewise.
10063 [C99-based-standards] (PRIiLEAST32): Likewise.
10064 [C99-based-standards] (PRIoLEAST32): Likewise.
10065 [C99-based-standards] (PRIuLEAST32): Likewise.
10066 [C99-based-standards] (PRIxLEAST32): Likewise.
10067 [C99-based-standards] (PRIXLEAST32): Likewise.
10068 [C99-based-standards] (SCNdLEAST32): Likewise.
10069 [C99-based-standards] (SCNiLEAST32): Likewise.
10070 [C99-based-standards] (SCNoLEAST32): Likewise.
10071 [C99-based-standards] (SCNuLEAST32): Likewise.
10072 [C99-based-standards] (SCNxLEAST32): Likewise.
10073 [C99-based-standards] (PRIdFAST32): Likewise.
10074 [C99-based-standards] (PRIiFAST32): Likewise.
10075 [C99-based-standards] (PRIoFAST32): Likewise.
10076 [C99-based-standards] (PRIuFAST32): Likewise.
10077 [C99-based-standards] (PRIxFAST32): Likewise.
10078 [C99-based-standards] (PRIXFAST32): Likewise.
10079 [C99-based-standards] (SCNdFAST32): Likewise.
10080 [C99-based-standards] (SCNiFAST32): Likewise.
10081 [C99-based-standards] (SCNoFAST32): Likewise.
10082 [C99-based-standards] (SCNuFAST32): Likewise.
10083 [C99-based-standards] (SCNxFAST32): Likewise.
10084 [C99-based-standards] (PRId64): Likewise.
10085 [C99-based-standards] (PRIi64): Likewise.
10086 [C99-based-standards] (PRIo64): Likewise.
10087 [C99-based-standards] (PRIu64): Likewise.
10088 [C99-based-standards] (PRIx64): Likewise.
10089 [C99-based-standards] (PRIX64): Likewise.
10090 [C99-based-standards] (SCNd64): Likewise.
10091 [C99-based-standards] (SCNi64): Likewise.
10092 [C99-based-standards] (SCNo64): Likewise.
10093 [C99-based-standards] (SCNu64): Likewise.
10094 [C99-based-standards] (SCNx64): Likewise.
10095 [C99-based-standards] (PRIdLEAST64): Likewise.
10096 [C99-based-standards] (PRIiLEAST64): Likewise.
10097 [C99-based-standards] (PRIoLEAST64): Likewise.
10098 [C99-based-standards] (PRIuLEAST64): Likewise.
10099 [C99-based-standards] (PRIxLEAST64): Likewise.
10100 [C99-based-standards] (PRIXLEAST64): Likewise.
10101 [C99-based-standards] (SCNdLEAST64): Likewise.
10102 [C99-based-standards] (SCNiLEAST64): Likewise.
10103 [C99-based-standards] (SCNoLEAST64): Likewise.
10104 [C99-based-standards] (SCNuLEAST64): Likewise.
10105 [C99-based-standards] (SCNxLEAST64): Likewise.
10106 [C99-based-standards] (PRIdFAST64): Likewise.
10107 [C99-based-standards] (PRIiFAST64): Likewise.
10108 [C99-based-standards] (PRIoFAST64): Likewise.
10109 [C99-based-standards] (PRIuFAST64): Likewise.
10110 [C99-based-standards] (PRIxFAST64): Likewise.
10111 [C99-based-standards] (PRIXFAST64): Likewise.
10112 [C99-based-standards] (SCNdFAST64): Likewise.
10113 [C99-based-standards] (SCNiFAST64): Likewise.
10114 [C99-based-standards] (SCNoFAST64): Likewise.
10115 [C99-based-standards] (SCNuFAST64): Likewise.
10116 [C99-based-standards] (SCNxFAST64): Likewise.
10117 [C99-based-standards] (PRIdMAX): Likewise.
10118 [C99-based-standards] (PRIiMAX): Likewise.
10119 [C99-based-standards] (PRIoMAX): Likewise.
10120 [C99-based-standards] (PRIuMAX): Likewise.
10121 [C99-based-standards] (PRIxMAX): Likewise.
10122 [C99-based-standards] (PRIXMAX): Likewise.
10123 [C99-based-standards] (SCNdMAX): Likewise.
10124 [C99-based-standards] (SCNiMAX): Likewise.
10125 [C99-based-standards] (SCNoMAX): Likewise.
10126 [C99-based-standards] (SCNuMAX): Likewise.
10127 [C99-based-standards] (SCNxMAX): Likewise.
10128 [C99-based-standards] (PRIdPTR): Likewise.
10129 [C99-based-standards] (PRIiPTR): Likewise.
10130 [C99-based-standards] (PRIoPTR): Likewise.
10131 [C99-based-standards] (PRIuPTR): Likewise.
10132 [C99-based-standards] (PRIxPTR): Likewise.
10133 [C99-based-standards] (PRIXPTR): Likewise.
10134 [C99-based-standards] (SCNdPTR): Likewise.
10135 [C99-based-standards] (SCNiPTR): Likewise.
10136 [C99-based-standards] (SCNoPTR): Likewise.
10137 [C99-based-standards] (SCNuPTR): Likewise.
10138 [C99-based-standards] (SCNxPTR): Likewise.
10139 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10140 allow.
10141 * conform/data/stdint.h-data: Update comments to clarify
10142 requirements.
10143 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10144 type.
10145 [C99-based standards] (INT8_MAX): Likewise.
10146 [C99-based standards] (INT16_MIN): Likewise.
10147 [C99-based standards] (INT16_MAX): Likewise.
10148 [C99-based standards] (INT32_MIN): Likewise.
10149 [C99-based standards] (INT32_MAX): Likewise.
10150 [C99-based standards] (INT64_MIN): Likewise.
10151 [C99-based standards] (INT64_MAX): Likewise.
10152 [C99-based standards] (UINT8_MAX): Likewise.
10153 [C99-based standards] (UINT16_MAX): Likewise.
10154 [C99-based standards] (UINT32_MAX): Likewise.
10155 [C99-based standards] (UINT64_MAX): Likewise.
10156 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10157 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10158 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10159 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10160 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10161 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10162 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10163 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10164 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10165 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10166 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10167 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10168 [C99-based standards] (INT_FAST8_MIN): Likewise.
10169 [C99-based standards] (INT_FAST8_MAX): Likewise.
10170 [C99-based standards] (INT_FAST16_MIN): Likewise.
10171 [C99-based standards] (INT_FAST16_MAX): Likewise.
10172 [C99-based standards] (INT_FAST32_MIN): Likewise.
10173 [C99-based standards] (INT_FAST32_MAX): Likewise.
10174 [C99-based standards] (INT_FAST64_MIN): Likewise.
10175 [C99-based standards] (INT_FAST64_MAX): Likewise.
10176 [C99-based standards] (UINT_FAST8_MAX): Likewise.
10177 [C99-based standards] (UINT_FAST16_MAX): Likewise.
10178 [C99-based standards] (UINT_FAST32_MAX): Likewise.
10179 [C99-based standards] (UINT_FAST64_MAX): Likewise.
10180 [C99-based standards] (INTPTR_MIN): Likewise.
10181 [C99-based standards] (INTPTR_MAX): Likewise.
10182 [C99-based standards] (UINTPTR_MAX): Likewise.
10183 [C99-based standards] (INTMAX_MIN): Likewise.
10184 [C99-based standards] (INTMAX_MAX): Likewise.
10185 [C99-based standards] (UINTMAX_MAX): Likewise.
10186 [C99-based standards] (PTRDIFF_MIN): Likewise.
10187 [C99-based standards] (PTRDIFF_MAX): Likewise.
10188 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10189 [C99-based standards] (SIZE_MAX): Likewise.
10190 [C99-based standards] (WCHAR_MAX): Likewise.
10191 [C99-based standards] (WINT_MAX): Likewise.
10192 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10193 constraint on value.
10194 [C99-based standards] (WCHAR_MIN): Likewise.
10195 [C99-based standards] (WINT_MIN): Likewise.
10196 [C99-based standards] (*_t): Allow.
10197 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10198 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10199 Include math.h-data and complex.h-data. Remove all expectations
10200 of math.h and complex.h contents.
10201 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10202 at end of line.
10203 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10204 (struct tm): Expect tag.
10205 [C99-based-standards] (wcstof): Expect function.
10206 [C99-based-standards] (wcstold): Likewise.
10207 [C99-based-standards] (wcstoll): Likewise.
10208 [C99-based-standards] (wcstoull): Likewise.
10209 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10210 macro-int-constant. Specify type.
10211 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10212 constraint on value.
10213 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10214 Specify type.
10215 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10216 Specify value.
10217 [ISO C standards]: Do not allow headers.
10218 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10219 wcs[abcdefghijklmnopqrstuvwxyz]*.
10220 [ISO C standards] (*_t): Do not allow.
10221 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10222 Expect function.
10223 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10224 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10225 Specify type.
10226 [ISO C standards]: Do not allow headers.
10227 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10228 is[abcdefghijklmnopqrstuvwxyz]*.
10229 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10230 to[abcdefghijklmnopqrstuvwxyz]*.
10231 [ISO C standards] (*_t): Do not allow.
10232 * conform/data/stdalign.h-data: New file.
10233 * conform/data/stdbool.h-data: Likewise.
10234 * conform/data/stdnoreturn.h-data: Likewise.
10235
7514feb8
RM
102362012-11-07 Roland McGrath <roland@hack.frob.com>
10237
10238 [BZ #14815]
10239 * manual/filesys.texi (Directory Entries): Typo fix.
10240 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10241
19b2ecfc
MS
102422012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10243
10244 * elf/elf.h (EM_AARCH64): New macro.
10245 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10246 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10247 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10248 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10249 (R_AARCH64_TLSDESC): Likewise.
10250 (NT_ARM_TLS): Likewise.
10251 (NT_ARM_HW_BREAK): Likewise.
10252 (NT_ARM_HW_WATCH): Likewise.
10253
60e235ee
JM
102542012-11-07 Joseph Myers <joseph@codesourcery.com>
10255
10256 [BZ #14811]
10257 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10258 (__ieee754_powl): Saturate nonzero exponents with absolute value
10259 below 0x1p-79 to +/- 0x1p-79.
10260 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10261 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10262 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10263 nonzero exponents with absolute value below 0x1p-32 to +/-
10264 0x1p-32.
10265 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10266 (__ieee754_powl): Saturate nonzero exponents with absolute value
10267 below 0x1p-79 to +/- 0x1p-79.
10268 * math/libm-test.inc (pow_test): Add more tests.
10269
0ab234b7
AK
102702012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10271
10272 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10273 _dl_s390_cap_flags with kernel. Increase string length.
10274 (_dl_s390_platforms): Add z196 and zEC12.
10275
45832f74
JM
102762012-11-07 Joseph Myers <joseph@codesourcery.com>
10277
10278 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10279 Change XOPEN21K to XOPEN2K.
10280
19218757
MK
102812012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10282
10283 * string/memmove.c: Use memcpy when possible.
10284
c5f45721
AJ
102852012-11-06 Andreas Jaeger <aj@suse.de>
10286
10287 * po/eo.po: Update from translation team.
10288
82477c28
JM
102892012-11-06 Joseph Myers <joseph@codesourcery.com>
10290
10291 [BZ #14793]
10292 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10293 exponent and small x and y exponents, scale x or y up. Increase
10294 by 2 the exponent used in scaling up.
10295 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10296 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10297 * math/libm-test.inc (fma_test): Add more tests.
10298 (fma_test_towardzero): Likewise.
10299 (fma_test_downward): Likewise.
10300 (fma_test_upward): Likewise.
10301
99252c8c
JM
103022012-11-05 Joseph Myers <joseph@codesourcery.com>
10303
acfa885f
JM
10304 [BZ #14805]
10305 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10306 fenv_t *.
10307
99252c8c
JM
10308 [BZ #14801]
10309 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10310 namespace for names of struct fields.
10311 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10312 fenv_t fields.
10313 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10314 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10315
d6d98dea
ST
103162012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10317
10318 [BZ #3665]
10319 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10320
e10bb107
TS
103212012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10322
10323 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10324 PTR_DEMANGLE.
10325
10326 [BZ #5246]
10327 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10328 PTR_DEMANGLE.
10329
a0c2940d
JM
103302012-11-04 Joseph Myers <joseph@codesourcery.com>
10331
10332 [BZ #14797]
10333 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10334 definitely overflow as x * y not x * y + z.
10335 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10336 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10337 * math/libm-test.inc (fma_test): Add more tests.
10338 (fma_test_towardzero): Likewise.
10339 (fma_test_downward): Likewise.
10340 (fma_test_upward): Likewise.
10341
b830319d
TS
103422012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10343
10344 [BZ #157]
10345
10346 * include/stub-tag.h: Remove file.
10347 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10348 '#include' of it.
10349 * manual/maint.texi (Porting): Don't reference it.
10350 * Makerules ($(objpfx)stubs): Likewise.
10351 * dirent/closedir.c: Don't include <stub-tag.h>.
10352 * dirent/dirfd.c: Likewise.
10353 * dirent/fdopendir.c: Likewise.
10354 * dirent/getdents.c: Likewise.
10355 * dirent/getdents64.c: Likewise.
10356 * dirent/opendir.c: Likewise.
10357 * dirent/readdir.c: Likewise.
10358 * dirent/readdir64.c: Likewise.
10359 * dirent/readdir64_r.c: Likewise.
10360 * dirent/readdir_r.c: Likewise.
10361 * dirent/rewinddir.c: Likewise.
10362 * dirent/seekdir.c: Likewise.
10363 * dirent/telldir.c: Likewise.
10364 * gmon/profil.c: Likewise.
10365 * grp/setgroups.c: Likewise.
10366 * inet/if_index.c: Likewise.
10367 * io/access.c: Likewise.
10368 * io/chdir.c: Likewise.
10369 * io/chmod.c: Likewise.
10370 * io/chown.c: Likewise.
10371 * io/close.c: Likewise.
10372 * io/dup.c: Likewise.
10373 * io/dup2.c: Likewise.
10374 * io/dup3.c: Likewise.
10375 * io/euidaccess.c: Likewise.
10376 * io/faccessat.c: Likewise.
10377 * io/fchdir.c: Likewise.
10378 * io/fchmod.c: Likewise.
10379 * io/fchmodat.c: Likewise.
10380 * io/fchown.c: Likewise.
10381 * io/fchownat.c: Likewise.
10382 * io/fcntl.c: Likewise.
10383 * io/flock.c: Likewise.
10384 * io/fstatfs.c: Likewise.
10385 * io/fstatfs64.c: Likewise.
10386 * io/fstatvfs.c: Likewise.
10387 * io/fstatvfs64.c: Likewise.
10388 * io/futimens.c: Likewise.
10389 * io/fxstat.c: Likewise.
10390 * io/fxstat64.c: Likewise.
10391 * io/fxstatat.c: Likewise.
10392 * io/fxstatat64.c: Likewise.
10393 * io/getcwd.c: Likewise.
10394 * io/isatty.c: Likewise.
10395 * io/lchmod.c: Likewise.
10396 * io/lchown.c: Likewise.
10397 * io/link.c: Likewise.
10398 * io/linkat.c: Likewise.
10399 * io/lseek.c: Likewise.
10400 * io/lseek64.c: Likewise.
10401 * io/lxstat64.c: Likewise.
10402 * io/mkdir.c: Likewise.
10403 * io/mkdirat.c: Likewise.
10404 * io/mkfifo.c: Likewise.
10405 * io/mkfifoat.c: Likewise.
10406 * io/open.c: Likewise.
10407 * io/open64.c: Likewise.
10408 * io/openat.c: Likewise.
10409 * io/openat64.c: Likewise.
10410 * io/pipe.c: Likewise.
10411 * io/pipe2.c: Likewise.
10412 * io/poll.c: Likewise.
10413 * io/posix_fadvise.c: Likewise.
10414 * io/posix_fadvise64.c: Likewise.
10415 * io/posix_fallocate.c: Likewise.
10416 * io/posix_fallocate64.c: Likewise.
10417 * io/read.c: Likewise.
10418 * io/readlink.c: Likewise.
10419 * io/readlinkat.c: Likewise.
10420 * io/rmdir.c: Likewise.
10421 * io/sendfile.c: Likewise.
10422 * io/sendfile64.c: Likewise.
10423 * io/statfs.c: Likewise.
10424 * io/statfs64.c: Likewise.
10425 * io/statvfs.c: Likewise.
10426 * io/statvfs64.c: Likewise.
10427 * io/symlink.c: Likewise.
10428 * io/symlinkat.c: Likewise.
10429 * io/ttyname.c: Likewise.
10430 * io/ttyname_r.c: Likewise.
10431 * io/umask.c: Likewise.
10432 * io/unlink.c: Likewise.
10433 * io/unlinkat.c: Likewise.
10434 * io/utime.c: Likewise.
10435 * io/utimensat.c: Likewise.
10436 * io/write.c: Likewise.
10437 * io/xmknod.c: Likewise.
10438 * io/xmknodat.c: Likewise.
10439 * io/xstat.c: Likewise.
10440 * io/xstat64.c: Likewise.
10441 * login/getpt.c: Likewise.
10442 * login/grantpt.c: Likewise.
10443 * login/unlockpt.c: Likewise.
10444 * math/e_acoshl.c: Likewise.
10445 * math/e_acosl.c: Likewise.
10446 * math/e_asinl.c: Likewise.
10447 * math/e_atan2l.c: Likewise.
10448 * math/e_atanhl.c: Likewise.
10449 * math/e_coshl.c: Likewise.
10450 * math/e_expl.c: Likewise.
10451 * math/e_fmodl.c: Likewise.
10452 * math/e_gammal_r.c: Likewise.
10453 * math/e_hypotl.c: Likewise.
10454 * math/e_j0l.c: Likewise.
10455 * math/e_j1l.c: Likewise.
10456 * math/e_jnl.c: Likewise.
10457 * math/e_lgammal_r.c: Likewise.
10458 * math/e_log10l.c: Likewise.
10459 * math/e_log2l.c: Likewise.
10460 * math/e_logl.c: Likewise.
10461 * math/e_powl.c: Likewise.
10462 * math/e_rem_pio2l.c: Likewise.
10463 * math/e_sinhl.c: Likewise.
10464 * math/e_sqrtl.c: Likewise.
10465 * math/fclrexcpt.c: Likewise.
10466 * math/fedisblxcpt.c: Likewise.
10467 * math/feenablxcpt.c: Likewise.
10468 * math/fegetenv.c: Likewise.
10469 * math/fegetexcept.c: Likewise.
10470 * math/fegetround.c: Likewise.
10471 * math/feholdexcpt.c: Likewise.
10472 * math/fesetenv.c: Likewise.
10473 * math/fesetround.c: Likewise.
10474 * math/feupdateenv.c: Likewise.
10475 * math/fgetexcptflg.c: Likewise.
10476 * math/fraiseexcpt.c: Likewise.
10477 * math/fsetexcptflg.c: Likewise.
10478 * math/ftestexcept.c: Likewise.
10479 * math/k_cosl.c: Likewise.
10480 * math/k_rem_pio2l.c: Likewise.
10481 * math/k_sinl.c: Likewise.
10482 * math/k_tanl.c: Likewise.
10483 * math/s_asinhl.c: Likewise.
10484 * math/s_atanl.c: Likewise.
10485 * math/s_cbrtl.c: Likewise.
10486 * math/s_erfl.c: Likewise.
10487 * math/s_expm1l.c: Likewise.
10488 * math/s_log1pl.c: Likewise.
10489 * math/s_tanhl.c: Likewise.
10490 * misc/acct.c: Likewise.
10491 * misc/brk.c: Likewise.
10492 * misc/chflags.c: Likewise.
10493 * misc/chroot.c: Likewise.
10494 * misc/fchflags.c: Likewise.
10495 * misc/fgetxattr.c: Likewise.
10496 * misc/flistxattr.c: Likewise.
10497 * misc/fremovexattr.c: Likewise.
10498 * misc/fsetxattr.c: Likewise.
10499 * misc/fsync.c: Likewise.
10500 * misc/ftruncate.c: Likewise.
10501 * misc/futimes.c: Likewise.
10502 * misc/futimesat.c: Likewise.
10503 * misc/getdomain.c: Likewise.
10504 * misc/getdtsz.c: Likewise.
10505 * misc/gethostid.c: Likewise.
10506 * misc/gethostname.c: Likewise.
10507 * misc/getloadavg.c: Likewise.
10508 * misc/getpagesize.c: Likewise.
10509 * misc/getsysstats.c: Likewise.
10510 * misc/getxattr.c: Likewise.
10511 * misc/gtty.c: Likewise.
10512 * misc/ioctl.c: Likewise.
10513 * misc/lgetxattr.c: Likewise.
10514 * misc/listxattr.c: Likewise.
10515 * misc/llistxattr.c: Likewise.
10516 * misc/lremovexattr.c: Likewise.
10517 * misc/lsetxattr.c: Likewise.
10518 * misc/lutimes.c: Likewise.
10519 * misc/madvise.c: Likewise.
10520 * misc/mincore.c: Likewise.
10521 * misc/mlock.c: Likewise.
10522 * misc/mlockall.c: Likewise.
10523 * misc/mmap.c: Likewise.
10524 * misc/mprotect.c: Likewise.
10525 * misc/msync.c: Likewise.
10526 * misc/munlock.c: Likewise.
10527 * misc/munlockall.c: Likewise.
10528 * misc/munmap.c: Likewise.
10529 * misc/preadv.c: Likewise.
10530 * misc/preadv64.c: Likewise.
10531 * misc/ptrace.c: Likewise.
10532 * misc/pwritev.c: Likewise.
10533 * misc/pwritev64.c: Likewise.
10534 * misc/readv.c: Likewise.
10535 * misc/reboot.c: Likewise.
10536 * misc/remap_file_pages.c: Likewise.
10537 * misc/removexattr.c: Likewise.
10538 * misc/revoke.c: Likewise.
10539 * misc/select.c: Likewise.
10540 * misc/setdomain.c: Likewise.
10541 * misc/setegid.c: Likewise.
10542 * misc/seteuid.c: Likewise.
10543 * misc/sethostid.c: Likewise.
10544 * misc/sethostname.c: Likewise.
10545 * misc/setregid.c: Likewise.
10546 * misc/setreuid.c: Likewise.
10547 * misc/setxattr.c: Likewise.
10548 * misc/sstk.c: Likewise.
10549 * misc/stty.c: Likewise.
10550 * misc/swapoff.c: Likewise.
10551 * misc/swapon.c: Likewise.
10552 * misc/sync.c: Likewise.
10553 * misc/syncfs.c: Likewise.
10554 * misc/syscall.c: Likewise.
10555 * misc/truncate.c: Likewise.
10556 * misc/ualarm.c: Likewise.
10557 * misc/usleep.c: Likewise.
10558 * misc/ustat.c: Likewise.
10559 * misc/utimes.c: Likewise.
10560 * misc/vhangup.c: Likewise.
10561 * misc/writev.c: Likewise.
10562 * posix/_exit.c: Likewise.
10563 * posix/alarm.c: Likewise.
10564 * posix/execve.c: Likewise.
10565 * posix/fexecve.c: Likewise.
10566 * posix/fork.c: Likewise.
10567 * posix/fpathconf.c: Likewise.
10568 * posix/getaddrinfo.c: Likewise.
10569 * posix/getegid.c: Likewise.
10570 * posix/geteuid.c: Likewise.
10571 * posix/getgid.c: Likewise.
10572 * posix/getgroups.c: Likewise.
10573 * posix/getlogin.c: Likewise.
10574 * posix/getlogin_r.c: Likewise.
10575 * posix/getpgid.c: Likewise.
10576 * posix/getpid.c: Likewise.
10577 * posix/getppid.c: Likewise.
10578 * posix/getresgid.c: Likewise.
10579 * posix/getresuid.c: Likewise.
10580 * posix/getsid.c: Likewise.
10581 * posix/getuid.c: Likewise.
10582 * posix/glob64.c: Likewise.
10583 * posix/nanosleep.c: Likewise.
10584 * posix/pathconf.c: Likewise.
10585 * posix/pause.c: Likewise.
10586 * posix/posix_madvise.c: Likewise.
10587 * posix/pread.c: Likewise.
10588 * posix/pread64.c: Likewise.
10589 * posix/pwrite.c: Likewise.
10590 * posix/pwrite64.c: Likewise.
10591 * posix/sched_getaffinity.c: Likewise.
10592 * posix/sched_getp.c: Likewise.
10593 * posix/sched_gets.c: Likewise.
10594 * posix/sched_primax.c: Likewise.
10595 * posix/sched_primin.c: Likewise.
10596 * posix/sched_rr_gi.c: Likewise.
10597 * posix/sched_setaffinity.c: Likewise.
10598 * posix/sched_setp.c: Likewise.
10599 * posix/sched_sets.c: Likewise.
10600 * posix/sched_yield.c: Likewise.
10601 * posix/setgid.c: Likewise.
10602 * posix/setlogin.c: Likewise.
10603 * posix/setpgid.c: Likewise.
10604 * posix/setresgid.c: Likewise.
10605 * posix/setresuid.c: Likewise.
10606 * posix/setsid.c: Likewise.
10607 * posix/setuid.c: Likewise.
10608 * posix/sleep.c: Likewise.
10609 * posix/spawni.c: Likewise.
10610 * posix/sysconf.c: Likewise.
10611 * posix/times.c: Likewise.
10612 * posix/wait.c: Likewise.
10613 * posix/wait3.c: Likewise.
10614 * posix/wait4.c: Likewise.
10615 * posix/waitpid.c: Likewise.
10616 * resolv/gai_sigqueue.c: Likewise.
10617 * resource/getpriority.c: Likewise.
10618 * resource/getrlimit.c: Likewise.
10619 * resource/getrusage.c: Likewise.
10620 * resource/nice.c: Likewise.
10621 * resource/setpriority.c: Likewise.
10622 * resource/setrlimit.c: Likewise.
10623 * resource/ulimit.c: Likewise.
10624 * rt/aio_cancel.c: Likewise.
10625 * rt/aio_fsync.c: Likewise.
10626 * rt/aio_read.c: Likewise.
10627 * rt/aio_sigqueue.c: Likewise.
10628 * rt/aio_suspend.c: Likewise.
10629 * rt/aio_write.c: Likewise.
10630 * rt/clock_getres.c: Likewise.
10631 * rt/clock_gettime.c: Likewise.
10632 * rt/clock_nanosleep.c: Likewise.
10633 * rt/clock_settime.c: Likewise.
10634 * rt/lio_listio.c: Likewise.
10635 * rt/mq_close.c: Likewise.
10636 * rt/mq_getattr.c: Likewise.
10637 * rt/mq_notify.c: Likewise.
10638 * rt/mq_open.c: Likewise.
10639 * rt/mq_receive.c: Likewise.
10640 * rt/mq_send.c: Likewise.
10641 * rt/mq_setattr.c: Likewise.
10642 * rt/mq_timedreceive.c: Likewise.
10643 * rt/mq_timedsend.c: Likewise.
10644 * rt/mq_unlink.c: Likewise.
10645 * rt/shm_open.c: Likewise.
10646 * rt/shm_unlink.c: Likewise.
10647 * rt/timer_create.c: Likewise.
10648 * rt/timer_delete.c: Likewise.
10649 * rt/timer_getoverr.c: Likewise.
10650 * rt/timer_gettime.c: Likewise.
10651 * rt/timer_settime.c: Likewise.
10652 * setjmp/__longjmp.c: Likewise.
10653 * setjmp/setjmp.c: Likewise.
10654 * signal/kill.c: Likewise.
10655 * signal/killpg.c: Likewise.
10656 * signal/raise.c: Likewise.
10657 * signal/sigaction.c: Likewise.
10658 * signal/sigaltstack.c: Likewise.
10659 * signal/sigblock.c: Likewise.
10660 * signal/sigignore.c: Likewise.
10661 * signal/sigintr.c: Likewise.
10662 * signal/signal.c: Likewise.
10663 * signal/sigpause.c: Likewise.
10664 * signal/sigpending.c: Likewise.
10665 * signal/sigqueue.c: Likewise.
10666 * signal/sigreturn.c: Likewise.
10667 * signal/sigset.c: Likewise.
10668 * signal/sigsetmask.c: Likewise.
10669 * signal/sigstack.c: Likewise.
10670 * signal/sigsuspend.c: Likewise.
10671 * signal/sigtimedwait.c: Likewise.
10672 * signal/sigvec.c: Likewise.
10673 * signal/sigwait.c: Likewise.
10674 * signal/sigwaitinfo.c: Likewise.
10675 * signal/sysv_signal.c: Likewise.
10676 * socket/accept.c: Likewise.
10677 * socket/accept4.c: Likewise.
10678 * socket/bind.c: Likewise.
10679 * socket/connect.c: Likewise.
10680 * socket/getpeername.c: Likewise.
10681 * socket/getsockname.c: Likewise.
10682 * socket/getsockopt.c: Likewise.
10683 * socket/isfdtype.c: Likewise.
10684 * socket/listen.c: Likewise.
10685 * socket/recv.c: Likewise.
10686 * socket/recvfrom.c: Likewise.
10687 * socket/recvmsg.c: Likewise.
10688 * socket/send.c: Likewise.
10689 * socket/sendmsg.c: Likewise.
10690 * socket/sendto.c: Likewise.
10691 * socket/setsockopt.c: Likewise.
10692 * socket/shutdown.c: Likewise.
10693 * socket/sockatmark.c: Likewise.
10694 * socket/socket.c: Likewise.
10695 * socket/socketpair.c: Likewise.
10696 * stdio-common/ctermid.c: Likewise.
10697 * stdio-common/cuserid.c: Likewise.
10698 * stdio-common/remove.c: Likewise.
10699 * stdio-common/rename.c: Likewise.
10700 * stdio-common/renameat.c: Likewise.
10701 * stdio-common/tempname.c: Likewise.
10702 * stdlib/getcontext.c: Likewise.
10703 * stdlib/makecontext.c: Likewise.
10704 * stdlib/setcontext.c: Likewise.
10705 * stdlib/swapcontext.c: Likewise.
10706 * stdlib/system.c: Likewise.
10707 * streams/fattach.c: Likewise.
10708 * streams/fdetach.c: Likewise.
10709 * streams/getmsg.c: Likewise.
10710 * streams/getpmsg.c: Likewise.
10711 * streams/putmsg.c: Likewise.
10712 * streams/putpmsg.c: Likewise.
10713 * sysdeps/unix/bsd/getpt.c: Likewise.
10714 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10715 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10716 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10718 Likewise.
10719 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10720 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10721 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10722 * sysvipc/msgctl.c: Likewise.
10723 * sysvipc/msgget.c: Likewise.
10724 * sysvipc/msgrcv.c: Likewise.
10725 * sysvipc/msgsnd.c: Likewise.
10726 * sysvipc/semctl.c: Likewise.
10727 * sysvipc/semget.c: Likewise.
10728 * sysvipc/semop.c: Likewise.
10729 * sysvipc/semtimedop.c: Likewise.
10730 * sysvipc/shmat.c: Likewise.
10731 * sysvipc/shmctl.c: Likewise.
10732 * sysvipc/shmdt.c: Likewise.
10733 * sysvipc/shmget.c: Likewise.
10734 * termios/tcdrain.c: Likewise.
10735 * termios/tcflow.c: Likewise.
10736 * termios/tcflush.c: Likewise.
10737 * termios/tcgetattr.c: Likewise.
10738 * termios/tcgetpgrp.c: Likewise.
10739 * termios/tcsendbrk.c: Likewise.
10740 * termios/tcsetattr.c: Likewise.
10741 * termios/tcsetpgrp.c: Likewise.
10742 * time/adjtime.c: Likewise.
10743 * time/clock.c: Likewise.
10744 * time/getitimer.c: Likewise.
10745 * time/gettimeofday.c: Likewise.
10746 * time/setitimer.c: Likewise.
10747 * time/settimeofday.c: Likewise.
10748 * time/stime.c: Likewise.
10749 * time/time.c: Likewise.
10750
107512012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 10752
a20492cf
PT
10753 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10754 /usr/old/bin.
10755
72e182e3
PT
10756 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10757 instead of spaces.
10758 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10759
fbeafede
JM
107602012-11-03 Joseph Myers <joseph@codesourcery.com>
10761
5b5b04d6
JM
10762 [BZ #14796]
10763 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10764 FE_TONEAREST before applying Dekker multiplication and Knuth
10765 addition. Clear inexact exceptions and check for exact zero
10766 results afterwards.
10767 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10768 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10769 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10770 * math/libm-test.inc (fma_test): Add more tests.
10771 (fma_test_towardzero): Likewise.
10772 (fma_test_downward): Likewise.
10773 (fma_test_upward): Likewise.
10774 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10775 function.
10776 (libc_fesetround): New macro.
10777 (libc_fesetroundf): Likewise.
10778 (libc_fesetroundl): Likewise.
10779 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10780 function.
10781 (libc_fesetround_387): Likewise.
10782 (libc_fesetroundf): New macro.
10783 (libc_fesetround): Likewise.
10784 (libc_fesetroundl): Likewise.
10785 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10786 function.
10787 (libc_fesetroundf): New macro.
10788 (libc_fesetround): Likewise.
10789 (libc_fesetroundl): Likewise.
10790 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10791 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10792 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10793 libm_hidden_ver.
10794 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10795 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10796 libm_hidden_def.
10797 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10798 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10799 libm_hidden_ver.
10800 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10801 libm_hidden_def.
10802
fbeafede
JM
10803 [BZ #3439]
10804 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10805 integer constant usable in #if and use that to give value to enum
10806 constant.
10807 (FE_DIVBYZERO): Likewise.
10808 (FE_UNDERFLOW): Likewise.
10809 (FE_OVERFLOW): Likewise.
10810 (FE_INVALID): Likewise.
10811 (FE_INVALID_SNAN): Likewise.
10812 (FE_INVALID_ISI): Likewise.
10813 (FE_INVALID_IDI): Likewise.
10814 (FE_INVALID_ZDZ): Likewise.
10815 (FE_INVALID_IMZ): Likewise.
10816 (FE_INVALID_COMPARE): Likewise.
10817 (FE_INVALID_SOFTWARE): Likewise.
10818 (FE_INVALID_SQRT): Likewise.
10819 (FE_INVALID_INTEGER_CONVERSION): Likewise.
10820 (FE_TONEAREST): Likewise.
10821 (FE_TOWARDZERO): Likewise.
10822 (FE_UPWARD): Likewise.
10823 (FE_DOWNWARD): Likewise.
10824 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10825 (FE_DIVBYZERO): Likewise.
10826 (FE_OVERFLOW): Likewise.
10827 (FE_UNDERFLOW): Likewise.
10828 (FE_INEXACT): Likewise.
10829 (FE_TONEAREST): Likewise.
10830 (FE_DOWNWARD): Likewise.
10831 (FE_UPWARD): Likewise.
10832 (FE_TOWARDZERO): Likewise.
10833 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10834 (FE_UNDERFLOW): Likewise.
10835 (FE_OVERFLOW): Likewise.
10836 (FE_DIVBYZERO): Likewise.
10837 (FE_INVALID): Likewise.
10838 (FE_TONEAREST): Likewise.
10839 (FE_TOWARDZERO): Likewise.
10840 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10841 (FE_OVERFLOW): Likewise.
10842 (FE_UNDERFLOW): Likewise.
10843 (FE_DIVBYZERO): Likewise.
10844 (FE_INEXACT): Likewise.
10845 (FE_TONEAREST): Likewise.
10846 (FE_TOWARDZERO): Likewise.
10847 (FE_UPWARD): Likewise.
10848 (FE_DOWNWARD): Likewise.
10849 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10850 (FE_DIVBYZERO): Likewise.
10851 (FE_OVERFLOW): Likewise.
10852 (FE_UNDERFLOW): Likewise.
10853 (FE_INEXACT): Likewise.
10854 (FE_TONEAREST): Likewise.
10855 (FE_DOWNWARD): Likewise.
10856 (FE_UPWARD): Likewise.
10857 (FE_TOWARDZERO): Likewise.
10858
105ca950
CM
108592012-11-02 Chris Metcalf <cmetcalf@tilera.com>
10860
10861 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10862
a542b389
AS
108632012-11-03 Andreas Schwab <schwab@linux-m68k.org>
10864
10865 * scripts/cross-test-ssh.sh (command): Use newlines to separate
10866 commands. Quote $PWD.
10867 (blacklist_exports): Don't use remove_newlines. Replace "declare
10868 -x" by "export".
10869 (remove_newlines): Remove.
10870
f62c8abc
L
108712012-11-02 H.J. Lu <hongjiu.lu@intel.com>
10872
10873 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10874 * stdlib/stdlib.h (atof): Moved to ...
10875 * include/bits/stdlib-float.h: Here. New file.
10876 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10877 * stdlib/bits/stdlib-float.h: New file.
10878 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10879 -mno-sse -mno-mmx.
10880 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10881 <xmmintrin.h>.
10882
0155d5b2
JM
108832012-11-02 Joseph Myers <joseph@codesourcery.com>
10884
a68d0680
JM
10885 * conform/conformtest.pl (@headers): Add fenv.h.
10886 * conform/data/fenv.h-data: New file.
10887 * include/fenv.h [_ISOMAC]: Disable all contents of file except
10888 include of <math/fenv.h>.
10889
caf7f573
JM
10890 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10891 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10892 && !UNIX98]. Enables tests for XOPEN2K8.
10893 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10894 POSIX2008]: Likewise.
10895
6c073ad6
JM
10896 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10897 (struct rusage): Do not expect type or its members.
10898
0155d5b2
JM
10899 [BZ #3439]
10900 * math/math.h (FP_NAN): Define macro to integer constant usable in
10901 #if and use that to give value to enum constant.
10902 (FP_INFINITE): Likewise.
10903 (FP_ZERO): Likewise.
10904 (FP_SUBNORMAL): Likewise.
10905 (FP_NORMAL): Likewise.
10906
b5dcacb4
AS
109072012-11-02 Andreas Schwab <schwab@linux-m68k.org>
10908
10909 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10910 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10911 arguments.
10912
f7934be8
RM
109132012-11-02 Roland McGrath <roland@hack.frob.com>
10914
10915 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10916 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10917 autoconf-time if not.
10918 * configure.in: Remove AC_PREREQ.
10919
d7d08bde
TMQMF
109202012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10921
10922 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10923 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10924 of the internal implementation.
10925
dcdae19a
JM
109262012-11-02 Joseph Myers <joseph@codesourcery.com>
10927
10928 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10929 except include of <misc/sys/syslog.h>.
10930
d6cffd3e
AS
109312012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10932
10933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10934 function returns with a NULL context exit with zero.
10935
b3563932
TMQMF
109362012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10937
10938 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10939
b288a93d
L
109402012-11-01 H.J. Lu <hongjiu.lu@intel.com>
10941
10942 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10943 (run_program_cmd): This.
10944 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10945 (tst_langinfo): New variable. Use it.
10946
a2421a68
SAS
109472012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
10948
10949 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10950 floating point opcodes.
10951
6f796e1b
TS
109522012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10953
7402596b
TS
10954 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10955 variable.
10956
d0d4f868
TS
10957 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
10958
6f796e1b
TS
10959 * sysdeps/mach/hurd/powerpc: Remove directory.
10960 * sysdeps/mach/powerpc: Likewise.
10961
4da224a2
AS
109622012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10963
10964 * scripts/check-local-headers.sh: Ignore c++ headers.
10965
341dd673
TS
109662012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10967
10968 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
10969 __libc_cleanup_region_start argument.
10970
473611b2
JM
109712012-11-01 Joseph Myers <joseph@codesourcery.com>
10972
10973 [BZ #14784]
10974 [BZ #14785]
10975 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
10976 x * y using scaling, not as x * y + z.
10977 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10978 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10979 * math/libm-test.inc (fma_test): Add more tests.
10980 (fma_test_towardzero): Likewise.
10981 (fma_test_downward): Likewise.
10982 (fma_test_upward): Likewise.
10983
4078da3d
TS
109842012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10985
10986 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
10987
903252aa
JM
109882012-10-31 Joseph Myers <joseph@codesourcery.com>
10989
10990 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
10991 New variable.
10992
cbc818d0
TS
109932012-10-31 Thomas Schwinge <thomas@codesourcery.com>
10994
10995 * rt/tst-shm.c (worker): Correct checking for mmap failure.
10996
5a03cb1e
AS
109972012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10998
10999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11000 Fix sort order.
11001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11002 Likewise.
11003
90aff2ff
TMQMF
110042012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11005
11006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11007 Fix the order of the list for glibc 2.17.
11008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11009 Likewise.
11010
1818fcb7
AS
110112012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11012
11013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11014
ef82f4da
JM
110152012-10-31 Joseph Myers <joseph@codesourcery.com>
11016
16a0e2ec
JM
11017 [BZ #14610]
11018 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11019 for low part of x being zero before using __atanl (y).
11020 * math/libm-test.inc (atan2_test): Add another test.
11021
0eb69512
JM
11022 * manual/install.texi (Configuring and compiling): Document
11023 general use of test-wrapper and test-wrapper-env.
11024 * INSTALL: Regenerated.
11025
ef82f4da
JM
11026 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11027 (__fma): Do not extract and scale down low bits on after-rounding
11028 systems when result rounded to normal precision would have normal
11029 exponent.
11030 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11031 (__fmal): Do not extract and scale down low bits on after-rounding
11032 systems when result rounded to normal precision would have normal
11033 exponent.
11034 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11035 (__fmal): Do not extract and scale down low bits on after-rounding
11036 systems when result rounded to normal precision would have normal
11037 exponent.
11038 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11039 macro.
11040 (fma_test): Add more tests.
11041 (fma_test_towardzero): Likewise.
11042 (fma_test_downward): Likewise.
11043 (fma_test_upward): Likewise.
11044
954ef0d9
L
110452012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11046
11047 * sysdeps/i386/tininess.h: Renamed to ...
11048 * sysdeps/x86/tininess.h: This.
11049 * sysdeps/x86_64/tininess.h: Removed.
11050
df61ffb2
JM
110512012-10-30 Joseph Myers <joseph@codesourcery.com>
11052
11053 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11054 input. Use $(build-program-cmd).
11055 ($(objpfx)tst-array1-static.out): Likewise.
11056 ($(objpfx)tst-array2.out): Likewise.
11057 ($(objpfx)tst-array3.out): Likewise.
11058 ($(objpfx)tst-array4.out): Likewise.
11059 ($(objpfx)tst-array5.out): Likewise.
11060 ($(objpfx)tst-array5-static.out): Likewise.
11061
01767843
CM
110622012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11063
47cc1490
CM
11064 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11065 if defined.
11066
01767843
CM
11067 * nss/nsswitch.h (nss_interface_function): Provide new
11068 macro for use with NSS functions.
11069 * grp/initgroups.c: Use new macro.
11070 * nss/getXXbyYY.c: Likewise.
11071 * nss/getXXbyYY_r.c: Likewise.
11072 * nss/getXXent.c: Likewise.
11073 * nss/getXXent_r.c: Likewise.
11074 * sysdeps/posix/getaddrinfo.c: Likewise.
11075
8321aa97
AJ
110762012-10-30 Andreas Jaeger <aj@suse.de>
11077
11078 * po/ru.po: Update Russion translation from translation project.
11079
2a27fd6d
JM
110802012-10-30 Joseph Myers <joseph@codesourcery.com>
11081
8627a232
JM
11082 [BZ #14152]
11083 [BZ #14783]
11084 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11085 result and shift together with sticky bit instead of replicating
11086 round-to-nearest rounding.
11087 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11088 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11089 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11090 missing underflow exceptions.
11091 (fma_test_towardzero): Add more tests.
11092 (fma_test_downward): Likewise.
11093 (fma_test_upward): Likewise.
11094
2a27fd6d
JM
11095 [BZ #14047]
11096 * sysdeps/generic/tininess.h: New file.
11097 * sysdeps/i386/tininess.h: Likewise.
11098 * sysdeps/sh/tininess.h: Likewise.
11099 * sysdeps/x86_64/tininess.h: Likewise.
11100 * stdlib/tst-strtod-underflow.c: Likewise.
11101 * stdlib/tst-tininess.c: Likewise.
11102 * stdlib/strtod_l.c: Include <tininess.h>.
11103 (round_and_return): Do not set errno for exact underflow cases.
11104 Force an underflow exception when setting errno for underflow.
11105 Determine underflow based on rounding to normal precision if
11106 TININESS_AFTER_ROUNDING.
11107 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11108 ERANGE for exact underflow cases.
11109 * stdlib/Makefile (tests): Add tst-tininess and
11110 tst-strtod-underflow.
11111 ($(objpfx)tst-tininess): Use $(link-libm).
11112 ($(objpfx)tst-strtod-underflow): Likewise.
11113
e7170363
AJ
111142012-10-30 Andreas Jaeger <aj@suse.de>
11115
e5088dc6
AJ
11116 [BZ#14767]
11117 * elf/Makefile (tests): Remove conditional for have-initfini-array
11118 since this is now always required and the variable does not exist
11119 anymore.
11120 (tests-static): Likewise.
11121 (modules-names): Likewise.
11122
e7170363 11123 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
11124
11125 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11126 merged with constructor/destructor.
11127 (init_array): Likewise.
11128 * elf/tst-array2dep.c (fini_array): Likewise.
11129 (init_array): Likewise.
11130
60457d8a
MF
111312012-10-29 Mike Frysinger <vapier@gentoo.org>
11132
11133 * manual/message.texi: Delete @cartouche tags.
11134
8bece752
PT
111352012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11136
94ce799f
PT
11137 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11138 EOPNOTSUPP.
11139 * sysdeps/mach/hurd/fsync.c: Likewise.
11140
8bece752
PT
11141 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11142 [_POSIX_REALTIME_SIGNALS]: Change condition to
11143 [_POSIX_REALTIME_SIGNALS > 0].
11144
86ebe6b1
AJ
111452012-10-27 Andreas Jaeger <aj@suse.de>
11146
11147 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11148 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11149 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11150 [__WORDSIZE != 64]: Likewise.
11151
54399c08
L
111522012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11153
11154 * iconvdata/tst-table.sh: Remove ${SHELL}.
11155 * iconvdata/tst-tables.sh: Likewise.
11156
e2211bed
DM
111572012-10-25 David S. Miller <davem@davemloft.net>
11158
11159 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11160 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11161 of strtoull.
11162
f303f97c
DM
11163 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11164 ifunc-impl-list.c
11165 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11166 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11167 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11168 file.
11169
1e9d84cd
RM
111702012-10-25 Roland McGrath <roland@hack.frob.com>
11171
11172 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11173 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11174 __getdirentries.
11175
df381762
JM
111762012-10-25 Joseph Myers <joseph@codesourcery.com>
11177 Jim Blandy <jimb@codesourcery.com>
11178
11179 * scripts/cross-test-ssh.sh: New file.
11180 * manual/install.texi (Configuring and compiling): Document use of
11181 cross-test-ssh.sh.
11182 * INSTALL: Regenerated.
11183
bff64913
PT
111842012-10-25 Pino Toscano <toscano.pino@tiscali.it>
11185
11186 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11187 EOPNOTSUPP.
11188
25fe8932
JM
111892012-10-25 Joseph Myers <joseph@codesourcery.com>
11190
11191 * Makeconfig (run-program-prefix): Fix comment.
11192
cc1290d0
JM
111932012-10-24 Joseph Myers <joseph@codesourcery.com>
11194 Jim Blandy <jimb@codesourcery.com>
11195
11196 * Makeconfig (test-wrapper): New variable,
11197 (test-wrapper-env): Likewise.
11198 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11199 (run-built-tests): Define to yes.
11200 (run-program-prefix): Use $(test-wrapper).
11201 (built-program-cmd): Likewise.
11202 * Rules (make-test-out): Use $(test-wrapper-env) and
11203 $(host-built-program-cmd).
11204 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11205 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11206 tst-pathopt.sh.
11207 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11208 $(test-wrapper-env) to tst-rtld-load-self.sh.
11209 ($(objpfx)order2.out): Use $(test-wrapper).
11210 ($(objpfx)tst-initorder.out): Likewise.
11211 ($(objpfx)tst-initorder2.out): Likewise.
11212 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11213 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11214 (test_wrapper_env): New variable. Use it to run ld.so.
11215 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11216 Use it to run ld.so.
11217 (test_wrapper_env): Likewise.
11218 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11219 $(test-wrapper) to run-iconv-test.sh.
11220 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11221 (ICONV): Use $test_wrapper.
11222 * posix/Makefile ($(objpfx)globtest.out): Pass
11223 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11224 globtest.sh, not $(run-program-prefix).
11225 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11226 (test_wrapper): Likewise.
11227 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11228 set together with run_via_rtld_prefix.
11229 (run_program_prefix): Define in terms of test_wrapper and
11230 run_via_rtld_prefix.
11231
6e6249d0
RM
112322012-10-24 Roland McGrath <roland@hack.frob.com>
11233
11234 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11235 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11236 Targets removed.
11237
11238 [BZ #14743]
11239 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11240 Declare __clock_getres, __clock_gettime, __clock_settime,
11241 __clock_nanosleep, and __clock_getcpuclockid.
11242 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11243 Remove librt_hidden_def (clock_gettime).
11244 * sysdeps/unix/clock_gettime.c: Likewise.
11245 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11246 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11247 * rt/clock_getres.c: Define __clock_getres as an alias.
11248 * sysdeps/posix/clock_getres.c: Likewise.
11249 * rt/clock_settime.c: Define __clock_settime as an alias.
11250 * sysdeps/unix/clock_settime.c: Likewise.
11251 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11252 * sysdeps/unix/clock_nanosleep.c: Likewise.
11253 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11254 * rt/clock-compat.c: New file.
11255 * rt/Makefile (librt-routines): Add clock-compat and move
11256 $(clock-routines) to ...
11257 (routines): ... here, new variable.
11258 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11259 Don't add get_clockfreq here.
11260 * rt/Versions (libc: GLIBC_2.17): New version set.
11261 Add clock_* symbols here.
11262 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11263 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11264 (GLIBC_2.17): Add clock_* symbols.
11265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11266 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11267 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11269 Likewise.
11270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11271 Likewise.
11272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11273 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11276 * NEWS: Mention the move.
11277
11278 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11279 Use __open, __read, __close rather than their public counterparts.
11280 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11281 (__get_clockfreq_via_cpuinfo): Likewise.
11282 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11283 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11284
11285 * config.h.in (HAVE_IFUNC): New #undef.
11286 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11287 was successful.
11288 * configure: Regenerated.
11289
0cae3f4b
MF
112902012-10-24 Mike Frysinger <vapier@gentoo.org>
11291
11292 * configure.in: Move READELF check to start of file.
11293 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11294 libc_cv_asm_gnu_indirect_function in the process.
11295 * configure: Regenerated.
11296
8175a253
MF
112972012-10-24 Mike Frysinger <vapier@gentoo.org>
11298
11299 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11300 send the output to /dev/null.
11301 (libc_cv_cc_with_libunwind): Likewise.
11302 (libc_cv_as_noexecstack): Likewise.
11303 * configure: Regenerate.
11304
0708a7d1
JM
113052012-10-24 Joseph Myers <joseph@codesourcery.com>
11306
10b40d85
JM
11307 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11308
0708a7d1
JM
11309 * posix/globtest.sh (TMPDIR): Do not set.
11310 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11311 (testout): Likewise.
11312
9fddec1a
AJ
113132012-10-24 Andreas Jaeger <aj@suse.de>
11314
3a8db22f
AJ
11315 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11316 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11317 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11318 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11319 posix_fadvise64, posix_fallocate64.
11320
9fddec1a
AJ
11321 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11322 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11323 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11324 Likewise.
11325 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11326 Likewise.
11327 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11328
11329 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11330 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11331 <bits/fcntl-linux.h>.
11332 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11333
11334 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11335 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11336 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11337 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11338 [__WORDSIZE != 64]: Likewise.
11339
ebfd1bbd
JM
113402012-10-23 Joseph Myers <joseph@codesourcery.com>
11341
03ac099f
JM
11342 * Makeconfig (run-built-tests): New variable.
11343 * Rules [$(cross-compiling) = yes]: Change condition to
11344 [$(run-built-tests) = no].
11345 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11346 to [$(run-built-tests) = yes].
11347 * elf/Makefile [$(cross-compiling) = no]: Likewise
11348 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11349 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11350 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11351 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11352 * io/Makefile [$(cross-compiling) = no]: Likewise.
11353 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11354 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11355 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11356 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11357 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11358 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11359 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11360 * string/Makefile [$(cross-compiling) = no]: Likewise.
11361
ebfd1bbd
JM
11362 * posix/Makefile ($(objpfx)globtest.out): Pass
11363 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11364 $(rtld-installed-name).
11365 * posix/globtest.sh (elf_objpfx): Remove variable.
11366 (rtld_installed_name): Likewise.
11367 (library_path): Likewise.
11368 (run_program_prefix): New variable. Use for running globtest
11369 binary.
11370
166bca24
JB
113712012-10-23 Jim Blandy <jimb@codesourcery.com>
11372 Joseph Myers <joseph@codesourcery.com>
11373
11374 * Makeconfig (host-built-program-cmd): New variable.
11375 * elf/Makefile (tst-stackguard1-ARGS): Use
11376 $(host-built-program-cmd).
11377 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11378 (tst-spawn-ARGS): Likewise.
11379 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11380
88866099
JM
113812012-10-23 Joseph Myers <joseph@codesourcery.com>
11382 Jim Blandy <jimb@codesourcery.com>
11383
11384 * Makeconfig (run-via-rtld-prefix): New variable.
11385 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11386 (built-program-cmd): Likewise.
11387
b4b4c296
AJ
113882012-10-22 Andreas Jaeger <aj@suse.de>
11389
11390 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11391 __O_RSYNC if it exists, otherwise to O_SYNC.
11392
6fb54a22
JB
113932012-10-22 Jim Blandy <jimb@codesourcery.com>
11394 Joseph Myers <joseph@codesourcery.com>
11395
11396 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11397 /dev/null.
11398 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11399 from /dev/null
11400 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11401 /dev/null.
11402
481b90b9
AJ
114032012-10-22 Andreas Jaeger <aj@suse.de>
11404
2a0e2669
AJ
11405 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11406 Define always.
11407 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11408
76e38f9a
AJ
11409 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11410 bits/fcntl-linux.h.
11411
7cd37b43
AJ
11412 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11413 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11414
481b90b9
AJ
11415 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11416 to __O_LARGEFILE.
11417 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11418 to __O_LARGEFILE.
11419
aba75984
JB
114202012-10-21 Jim Blandy <jimb@codesourcery.com>
11421 Joseph Myers <joseph@codesourcery.com>
11422
11423 * config.make.in (NM): New variable.
11424
88d4247f
AJ
114252012-10-21 Andreas Jaeger <aj@suse.de>
11426
11427 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11428 definitions and declarations that are provided by
11429 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11430
f2eed205
L
114312012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11432
11433 [BZ #14683]
11434 * elf/Makefile (tests-static): Add tst-leaks1-static.
11435 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11436 ($(objpfx)tst-leaks1-static): New rule.
11437 ($(objpfx)tst-leaks1-static-mem): Likewise.
11438 (tst-leaks1-static-ENV): New macro.
11439 * elf/dl-open.c (dl_open_worker): Check the main application
11440 only if SHARED is defined.
11441 * elf/tst-leaks1-static.c: New file.
11442
335e6931
AJ
114432012-10-20 Andreas Jaeger <aj@suse.de>
11444
11445 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11446 generic values for Linux.
11447 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11448 and declarations that are provided by <bits/fcntl-linux.h> and
11449 include <bits/fcntl-linux.h>.
11450 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11451 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11452
ac5c94d3
RM
114532012-10-20 Roland McGrath <roland@hack.frob.com>
11454
11455 * io/fcntl.h: Move include of <bits/types.h> to the top and
11456 include it unconditionally.
11457
de54b33a
L
114582012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11459
228cfb01
L
11460 * wcsmbs/Makefile (tests-ifunc): New variable.
11461 (tests): Add $(tests-ifunc).
11462 * wcsmbs/test-wcschr-ifunc.c: New file.
11463 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11464 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11465 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11466 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11467 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11468
69f07e5f
L
11469 * string/Makefile (tests-ifunc): New variable.
11470 (tests): Add $(tests-ifunc).
11471 * string/test-memccpy.c (TEST_NAME): New macro.
11472 * string/test-memchr.c (TEST_NAME): Likewise.
11473 * string/test-memcmp.c (TEST_NAME): Likewise.
11474 * string/test-memcpy.c (TEST_NAME): Likewise.
11475 * string/test-memmem.c (TEST_NAME): Likewise.
11476 * string/test-memmove.c (TEST_NAME): Likewise.
11477 * string/test-memset.c (TEST_NAME): Likewise.
11478 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11479 * string/test-stpcpy.c (TEST_NAME): Likewise.
11480 * string/test-stpncpy.c (TEST_NAME): Likewise.
11481 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11482 * string/test-strcasestr.c (TEST_NAME): Likewise.
11483 * string/test-strcat.c (TEST_NAME): Likewise.
11484 * string/test-strchr.c (TEST_NAME): Likewise.
11485 * string/test-strcmp.c(TEST_NAME): Likewise.
11486 * string/test-strcpy.c (TEST_NAME): Likewise.
11487 * string/test-strcspn.c (TEST_NAME): Likewise.
11488 * string/test-strlen.c (TEST_NAME): Likewise.
11489 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11490 * string/test-strncmp.c (TEST_NAME): Likewise.
11491 * string/test-strncpy.c (TEST_NAME): Likewise.
11492 * string/test-strnlen.c (TEST_NAME): Likewise.
11493 * string/test-strpbrk.c (TEST_NAME): Likewise.
11494 * string/test-strrchr.c (TEST_NAME): Likewise.
11495 * string/test-strspn.c (TEST_NAME): Likewise.
11496 * string/test-strstr.c (TEST_NAME): Likewise.
11497 * string/test-bcopy-ifunc.c: New file.
11498 * string/test-bzero-ifunc.c: Likewise.
11499 * string/test-memccpy-ifunc.c: Likewise.
11500 * string/test-memchr-ifunc.c: Likewise.
11501 * string/test-memcmp-ifunc.c: Likewise.
11502 * string/test-memcpy-ifunc.c: Likewise.
11503 * string/test-memmem-ifunc.c: Likewise.
11504 * string/test-memmove-ifunc.c: Likewise.
11505 * string/test-mempcpy-ifunc.c: Likewise.
11506 * string/test-memset-ifunc.c: Likewise.
11507 * string/test-rawmemchr-ifunc.c: Likewise.
11508 * string/test-stpcpy-ifunc.c: Likewise.
11509 * string/test-stpncpy-ifunc.c: Likewise.
11510 * string/test-strcasecmp-ifunc.c: Likewise.
11511 * string/test-strcasestr-ifunc.c: Likewise.
11512 * string/test-strcat-ifunc.c: Likewise.
11513 * string/test-strchr-ifunc.c: Likewise.
11514 * string/test-strchrnul-ifunc.c: Likewise.
11515 * string/test-strcmp-ifunc.c: Likewise.
11516 * string/test-strcpy-ifunc.c: Likewise.
11517 * string/test-strcspn-ifunc.c: Likewise.
11518 * string/test-strlen-ifunc.c: Likewise.
11519 * string/test-strncasecmp-ifunc.c: Likewise.
11520 * string/test-strncat-ifunc.c: Likewise.
11521 * string/test-strncmp-ifunc.c: Likewise.
11522 * string/test-strncpy-ifunc.c: Likewise.
11523 * string/test-strnlen-ifunc.c: Likewise.
11524 * string/test-strpbrk-ifunc.c: Likewise.
11525 * string/test-strrchr-ifunc.c: Likewise.
11526 * string/test-strspn-ifunc.c: Likewise.
11527 * string/test-strstr-ifunc.c: Likewise.
11528
de54b33a
L
11529 * debug/Makefile (tests-ifunc): New variable.
11530 (tests): Add $(tests-ifunc).
11531 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11532 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11533 * debug/test-stpcpy_chk-ifunc.c: New file.
11534 * debug/test-strcpy_chk-ifunc.c: Likewise.
11535
88481c16
SP
115362012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11537
11538 [BZ #13601]
11539 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11540 header is not read in.
11541
135948bd
JM
115422012-10-19 Joseph Myers <joseph@codesourcery.com>
11543
89f1c388
JM
11544 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11545 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11546 directly. Pass built executable to script as
11547 $(built-program-cmd).
11548 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11549 $testprogram without using LD_LIBRARY_PATH and $ldso.
11550
e40a0d21
JM
11551 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11552 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11553 $(rtld-installed-name).
11554 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11555 (rtld_installed_name): Likewise.
11556 (library_path): Likewise.
11557 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11558 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11559 $(run-program-prefix) to tst-tables.sh.
11560 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11561 it to run tst-table-from and tst-table-to.
11562 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11563 Pass it to tst-table.sh.
11564 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11565 $(run-program-prefix) to tst-gettext.sh.
11566 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11567 tst-translit.sh.
11568 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11569 tst-gettext2.sh.
11570 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11571 to run tst-gettext.
11572 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11573 to run tst-gettext2.
11574 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11575 to run tst-translit.
11576 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11577 $(run-program-prefix) to tst-mtrace.sh.
11578 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11579 to run tst-mtrace.
11580 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11581 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11582 $(rtld-installed-name).
11583 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11584 (rtld_installed_name): Likewise.
11585 (run_program_prefix): New variable. Use it to run wordexp-test.
11586
728e272a
JM
11587 * Makeconfig (ARCH): Remove all definitions.
11588 (machine): Likewise.
11589 [ARCH]: Remove conditional code.
11590 [!objdir]: Give error.
11591 [!objdir] (objpfx): Remove.
11592 [!objdir] (common-objpfx): Likewise.
11593 [!objdir] (common-objdir): Likewise.
11594 * configure.in (config_makefile): Remove. Hardcode Makefile in
11595 AC_CONFIG_FILES call.
11596 * configure: Regenerated.
11597
d528cdcf
JM
11598 [BZ #13888]
11599 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11600 or TMPDIR.
11601 (testout): Likewise.
11602
135948bd
JM
11603 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11604 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11605 $(rtld-installed-name).
11606 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11607 (rtld_installed_name): Likwise.
11608 (runit): Remove function.
11609 (run_getconf): New variable, Use it for running getconf binary.
11610
38c78296
L
116112012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11612
11613 [BZ #14716]
11614 * string/test-memmem.c (check_result): New function.
11615 (do_one_test): Use it.
11616 (check1): New function.
11617 (test_main): Use it.
11618
d077f65f
MT
116192012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11620
11621 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11622
ced52c71
JM
116232012-10-18 Joseph Myers <joseph@codesourcery.com>
11624
11625 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11626 (_G_LSEEK64): Likewise.
11627 (_G_MMAP64): Likewise.
11628 (_G_FSTAT64): Likewise.
11629 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11630 (_G_LSEEK64): Likewise.
11631 (_G_MMAP64): Likewise.
11632 (_G_FSTAT64): Likewise.
11633 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11634 unconditional. Call __mmap64 directly.
11635 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11636 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11637 __lseek64 directly.
11638 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11639 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11640 __mmap64 directly.
11641 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11642 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11643 __lseek64 directly.
11644 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11645 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11646 __lseek64 directly.
11647 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11648 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11649 __lseek64 directly.
11650 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11651 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11652 __fxstat64 directly.
11653 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11654 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11655 unconditional.
11656 (freopen64) [!_G_OPEN64]: Remove conditional code.
11657 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11658 unconditional.
11659 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11660 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11661 unconditional.
11662 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11663 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11664 unconditional.
11665 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11666 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11667 unconditional.
11668 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11669 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11670 unconditional.
11671 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11672 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11673 unconditional.
11674 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11675 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11676 unconditional.
11677 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11678
b741de23
SP
116792012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11680
11681 [BZ #12140]
11682 * manual/memory.texi (Malloc Tunable Parameters): Add note
11683 about free list pointers overwriting some perturb bytes.
11684 Wording suggested by Roland McGrath.
11685
f9b9d9c9
JM
116862012-10-17 Joseph Myers <joseph@codesourcery.com>
11687
11688 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11689 (lgamma_test): Likewise.
11690 (tgamma_test): Likewise.
11691
172a631a
FW
116922012-10-16 Florian Weimer <fweimer@redhat.com>
11693
11694 [BZ #14700]
11695 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11696 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11697
e9f37252
MK
116982012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
11699
11700 * NEWS: Mention BZ #14716.
11701 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11702 when removing AVAILABLE1_USES_J macro.
11703
d394eb74
L
117042012-10-12 H.J. Lu <hongjiu.lu@intel.com>
11705
11706 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11707 (__bswap_64): __uint64_t for unsigned 64-bit int.
11708
ca38dc17
AS
117092012-10-12 Andreas Schwab <schwab@linux-m68k.org>
11710
11711 * include/string.h (memmem): Declare libc hidden alias.
11712 * string/memmem.c (memmem): Define libc hidden alias.
11713 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11714 __read, __close instead of open, read, close.
11715
9a387d1f
L
117162012-10-11 H.J. Lu <hongjiu.lu@intel.com>
11717
ac49ecaf
L
11718 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11719 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11720 global and hidden.
11721 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11722 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11723 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11724 Likewise.
11725 (__rawmemchr_sse2): Likewise.
11726 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11727 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11728 (__strchr_sse2): Likewise.
11729 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11730 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11731 (__strcasecmp_sse2): Likewise.
11732 (__strncasecmp_sse2): Likewise.
11733 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11734 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11735 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11736 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11737 (__strrchr_sse2): Likewise.
11738 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11739 ifunc-impl-list.c.
11740 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11741 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11742 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11743 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11744 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11745 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11746 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11747 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11748 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11749 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11750 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11751 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11752 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11753 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11754 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11755 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11756 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11757 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11758 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11759 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11760 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11761 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11762 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11763 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11764 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11765 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11766 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11767 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11768 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11769 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11770
b090e8ea
L
11771 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11772 global and hidden.
11773 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11774 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11775 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11776 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11777 Likewise.
11778 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11779 Likewise.
11780 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11781 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11782 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11783 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11784 ifunc-impl-list.c.
11785 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11786 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11787 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11788 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11789 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11790 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11791 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11792 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11793 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11794 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11795 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11796 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11797 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11798 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11799 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11800 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11801 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11802 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11803 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11804 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11805 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11806 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11807 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11808 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11809 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11810 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11811 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11812 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11813 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11814 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11815 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11816 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11817 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11818 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11819 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11820 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11821 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11822 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11823 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11824 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11825 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11826
11dd4af6
L
11827 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11828 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11829 * include/ifunc-impl-list.h: New file.
11830 * misc/ifunc-impl-list.c: Likewise.
11831 * misc/Makefile (routines): Add ifunc-impl-list.
11832 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11833 * string/test-string.h: Include <ifunc-impl-list.h>.
11834 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11835 impl_array): New variables.
11836 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11837 are defined.
11838 (test_init): Call __libc_ifunc_impl_list to initialize
11839 func_list if TEST_IFUNC and TEST_NAME are defined.
11840
9a387d1f
L
11841 * string/Makefile (strop-tests): Add bcopy and bzero.
11842 * string/test-bcopy.c: New file.
11843 * string/test-bzero.c: Likewise.
11844 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11845 defined.
11846 * string/test-memset.c: Support bzero test if TEST_BZERO is
11847 defined.
11848 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11849 __libc_memmove.
11850 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11851 __libc_memset.
11852 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11853 of memset.
11854
472371b9
JM
118552012-10-10 Joseph Myers <joseph@codesourcery.com>
11856
1e4a9536
JM
11857 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11858 * configure: Regenerated.
11859
d173d12e
JM
11860 * Makeconfig (+link-static-before-libc): Don't include
11861 $(link-static-libc).
11862
472371b9
JM
11863 * libio/libio.h (_IO_pos_t): Remove.
11864
89a3ad0b
AO
118652012-10-10 Alexandre Oliva <aoliva@redhat.com>
11866
11867 * NEWS: Add note about FIPS mode. Wording suggested by Roland
11868 McGrath.
11869
e7451425
AO
118702012-10-10 Alexandre Oliva <aoliva@redhat.com>
11871
11872 * crypt/crypt-entry.c: Include fips-private.h.
11873 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11874 * crypt/md5c-test.c (main): Tolerate disabled MD5.
11875 * sysdeps/unix/sysv/linux/fips-private.h: New file.
11876 * sysdeps/generic/fips-private.h: New file, dummy fallback.
11877
4ba74a35
AO
118782012-10-10 Alexandre Oliva <aoliva@redhat.com>
11879
11880 * crypt/crypt-private.h: Include stdbool.h.
11881 (_ufc_setup_salt_r): Return bool.
11882 * crypt/crypt-entry.c: Include errno.h.
11883 (__crypt_r): Return NULL with EINVAL for bad salt.
11884 * crypt/crypt_util.c (bad_for_salt): New.
11885 (_ufc_setup_salt_r): Check that salt is long enough and within
11886 the specified alphabet.
11887 * crypt/badsalttest.c: New file.
11888 * crypt/Makefile (tests): Add it.
11889 ($(objpfx)badsalttest): New.
11890
f96f1242
MK
118912012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
11892
11893 * NEWS: Add entry for BZ #14602.
11894
0e8e0c1c
JM
118952012-10-09 Joseph Myers <joseph@codesourcery.com>
11896
11897 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11898 type-generic.
11899 * math/libm-test.inc: Update comment listing what functions and
11900 macros are tested.
11901 (isgreater_test): New function.
11902 (isgreaterequal_test): Likewise.
11903 (isless_test): Likewise.
11904 (islessequal_test): Likewise.
11905 (islessgreater_test): Likewise.
11906 (isunordered_test): Likewise.
11907 (main): Call the new functions.
11908
273edc5e
RM
119092012-10-09 Roland McGrath <roland@hack.frob.com>
11910
b8493de0
RM
11911 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11912 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11913 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11914 * sysdeps/i386/configure: Regenerated.
11915 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11916 * sysdeps/mach/configure: Regenerated.
11917 * sysdeps/mach/hurd/configure: Regenerated.
11918 * sysdeps/powerpc/configure: Regenerated.
11919 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11920 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11921 * sysdeps/s390/s390-32/configure: Regenerated.
11922 * sysdeps/s390/s390-64/configure: Regenerated.
11923 * sysdeps/sh/configure: Regenerated.
11924 * sysdeps/sparc/configure: Regenerated.
11925 * sysdeps/unix/sysv/linux/configure: Regenerated.
11926 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11927 * sysdeps/x86_64/configure: Regenerated.
11928
273edc5e
RM
11929 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11930 defined. Don't check if MAP is NULL.
11931
c8450f70
JM
119322012-10-09 Joseph Myers <joseph@codesourcery.com>
11933
11934 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11935 (_G_stat64): Likewise.
11936 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11937 (_G_stat64): Likewise.
11938 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11939 instead of struct _G_stat64.
11940 * libio/fileops.c (mmap_remap_check): Likewise.
11941 (decide_maybe_mmap): Likewise.
11942 (_IO_new_file_seekoff): Likewise.
11943 (_IO_file_stat): Likewise.
11944 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11945 _G_off64_t.
11946 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11947 instead of struct _G_stat64.
11948 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11949
57e605ba
MK
119502012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
11951
11952 [BZ #14602]
11953 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11954 Replace with ...
11955 (CHECK_EOL): New macro.
11956 (two_way_short_needle): Check beginning of haystack for EOL. Use
11957 CHECK_EOL.
11958 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11959 Replace with CHECK_EOL.
11960 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11961 Replace with CHECK_EOL.
11962
ef1bb361
JM
119632012-10-08 Joseph Myers <joseph@codesourcery.com>
11964
11965 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
11966 type-generic.
11967 * math/libm-test.inc: Update comment listing what functions and
11968 macros are tested.
11969 (finite_test): New function.
11970 (isinf_test): Likewise.
11971 (isnan_test): Likewise.
11972 (fpclassify_test): Test subnormal input.
11973 (isfinite_test): Likewise.
11974 (isnormal_test): Likewise.
11975 (main): Call the new functions.
11976
55f11534
JN
119772012-10-08 Jonathan Nieder <jrnieder@gmail.com>
11978
11979 [BZ #14660]
11980 * Makerules (%.dynsym): Force C locale when running
11981 $(OBJDUMP) --dynamic-syms.
11982
1ab29350
AS
119832012-10-08 Andreas Schwab <schwab@linux-m68k.org>
11984
11985 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
11986 <stdint.h>.
11987
f1ecb7ef
DM
119882012-10-06 David S. Miller <davem@davemloft.net>
11989
11990 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
11991 upper 32-bits of the length value in %o2 since we use branch-on-register
11992 tests which consider the entire 64-bit register.
11993
5d41d91a
L
119942012-10-06 H.J. Lu <hongjiu.lu@intel.com>
11995
11996 * string/test-strstr.c (check2): Add a test for page boundary.
11997
3baddb72
DM
119982012-10-05 David S. Miller <davem@davemloft.net>
11999
12000 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12001 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12002 file.
12003 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12004 sysdep_routines.
12005 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12006 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12007 and bzero when HWCAP_SPARC_CRYPTO is present.
12008
9cee5585
L
120092012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12010
d7e0dab9
L
12011 [BZ #14602]
12012 * string/test-strstr.c (check2): New function.
12013 (test_main): Call check2.
12014
03759f47
L
12015 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12016 and bug-strchr1.
12017 * string/bug-strcasestr1.c (do_test): Moved to ...
12018 * string/test-strcasestr.c (check1): Here. New function.
12019 (do_one_test): Break out result checking code into ...
12020 (check_result): This. New function.
12021 (do_one_test): Call check_result.
12022 (test_main): Call check1.
12023 * string/bug-strchr1.c (do_test): Moved to ...
12024 * string/test-strchr.c (check1): Here. New function.
12025 (do_one_test): Break out result checking code into ...
12026 (check_result): This. New function.
12027 (do_one_test): Call check_result.
12028 (test_main): Call check1.
12029 * string/bug-strstr1.c (main): Moved to ...
046f153e 12030 * string/test-strstr.c (check1): Here. New function.
03759f47
L
12031 (do_one_test): Break out result checking code into ...
12032 (check_result): This. New function.
12033 (do_one_test): Call check_result.
12034 (test_main): Call check1.
12035 * string/bug-strcasestr1.c: Removed.
12036 * string/bug-strchr1.c: Likewise.
12037 * string/bug-strstr1.c: Likewise.
12038
53cea63e
L
12039 * elf/Makefile (dl-routines): Add hwcaps.
12040 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12041 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12042 (_dl_important_hwcaps): Moved to ...
12043 * elf/dl-hwcaps.c: Here. New file.
12044 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12045
9cee5585 12046 [BZ #14557]
bb859b06
L
12047 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12048 if IS_IN_rtld isn't defined.
12049
9cee5585
L
12050 * elf/dl-support.c (_dl_sysinfo_map): New.
12051 Include "get-dynamic-info.h" and "setup-vdso.h".
12052 (_dl_non_dynamic_init): Call setup_vdso.
12053 * elf/dynamic-link.h: Don't include <assert.h>.
12054 (elf_get_dynamic_info): Moved to ...
12055 * elf/get-dynamic-info.h: Here. New file.
12056 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12057 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12058 * elf/setup-vdso.h: Here. New file.
12059 * elf/rtld.c: Include "setup-vdso.h".
12060 (dl_main): Call setup_vdso.
12061
23c31b76
JM
120622012-10-05 Joseph Myers <joseph@codesourcery.com>
12063
28234b07
JM
12064 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12065 creal in comment listing functions tested. List finite, isinf,
12066 isnan, isless, islessequal, isgreater, isgreaterequal,
12067 islessgreater, isunordered, lgamma_r and pow10 as functions and
12068 macros not tested. Mention which functions not tested are aliases
12069 for other functions. Fix typo. Note that signs of NaNs are not
12070 tested.
12071
23c31b76
JM
12072 * scripts/config.guess: Update from config.git.
12073 * scripts/config.sub: Likewise.
12074
9043e228
RM
120752012-10-04 Roland McGrath <roland@hack.frob.com>
12076
12077 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12078 * misc/madvise.c (madvise): Renamed to __madvise.
12079 Make madvise a weak alias.
12080 * include/sys/mman.h: Declare __madvise.
12081 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12082 * sysdeps/unix/syscalls.list
12083 (madvise): Make __madvise the strong name, and madvise a weak alias.
12084 * sysdeps/unix/sysv/linux/syscalls.list
12085 (madvise, mmap): Remove redundant entries.
12086 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12087 * malloc/malloc.c (mtrim): Likewise.
12088 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12089
f57f8055
RM
120902012-10-03 Roland McGrath <roland@hack.frob.com>
12091
12092 * sysdeps/mach/hurd/dl-cache.c: File removed.
12093 * config.h.in (USE_LDCONFIG): New #undef.
12094 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12095 * configure: Regenerated.
12096 * elf/Makefile (dl-routines): Add dl-cache only under
12097 [$(use-ldconfig) = yes].
12098 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12099 cache on [USE_LDCONFIG].
12100 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12101 [USE_LDCONFIG].
12102 * elf/rtld.c (dl_main): Likewise.
12103
5bb0c10a
PT
121042012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12105
12106 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12107 _SC_LEVEL4_CACHE_LINESIZE.
12108
010188c6
RM
121092012-10-03 Roland McGrath <roland@hack.frob.com>
12110
12111 * sysdeps/unix/bsd/confstr.h: File removed.
12112
b6c5ec07
AO
121132012-10-02 Alexandre Oliva <aoliva@redhat.com>
12114
12115 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12116 sys/sdt-config.h.
12117
408223d4
RM
121182012-10-02 Roland McGrath <roland@hack.frob.com>
12119
12120 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12121 Make 'mapoff' field ElfW(Off) rather than off_t.
12122
bb9510dc
DL
121232012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12124
fc997c6e
DL
12125 * nscd/Makefile: Remove nscd-cflags and all its users.
12126 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12127 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12128
bb9510dc
DL
12129 [BZ #10631]
12130 * malloc.c (malloc_printerr): Clarify error message.
12131
05699367
L
121322012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12133
12134 [BZ #14648]
12135 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12136 Set bit_FMA_Usable if FMA is supported.
12137 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12138 macro.
12139 (bit_FMA4_Usable): Updated.
12140 (index_FMA_Usable): New macro.
12141 (CPUID_FMA): Likewise
12142 (HAS_FMA): Defined with bit_FMA_Usable.
12143
51367701
RM
121442012-10-01 Roland McGrath <roland@hack.frob.com>
12145
12146 * bits/types.h (__swblk_t): Type removed.
12147 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12148 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12149 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12150 (__SWBLK_T_TYPE): Likewise.
12151 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12152 (__SWBLK_T_TYPE): Likewise.
12153 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12154 (__SWBLK_T_TYPE): Likewise.
12155 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12156 (__SWBLK_T_TYPE): Likewise.
12157
4d57bf63 121582012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 12159 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
12160
12161 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12162 (xdr_mapname): Use YPMAXMAP as maxsize.
12163 (xdr_peername): Use YPMAXPEER as maxsize.
12164 (xdr_keydat): Use YPAXRECORD as maxsize.
12165 (xdr_valdat): Use YPMAXRECORD as maxsize.
12166
93c65d43
RM
121672012-10-01 Roland McGrath <roland@hack.frob.com>
12168
497a03d6
RM
12169 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12170
93c65d43
RM
12171 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12172 * csu/init-first.c: ... here.
12173 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12174 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12175 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12176 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12177 * sysdeps/i386/init-first.c: File removed.
12178 * sysdeps/sh/init-first.c: File removed.
12179
bec749fd
JM
121802012-10-01 Joseph Myers <joseph@codesourcery.com>
12181
12182 [BZ #14645]
12183 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12184 if x * y might underflow to zero and z is zero.
12185 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12186 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12187 * math/libm-test.inc (min_subnorm_value): New variable.
12188 (fma_test): Add more tests.
12189 (fma_test_towardzero): Likewise.
12190 (fma_test_downward): Likewise
12191 (fma_test_upward): Likewise.
12192 (initialize): Set min_subnorm_value.
12193
8ec5b013
JM
121942012-09-29 Joseph Myers <joseph@codesourcery.com>
12195
12196 [BZ #14638]
12197 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12198 0 + 0.
12199 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12200 mode for addition resulting in exact zero.
12201 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12202 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12203 exact 0 + 0.
12204 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12205 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12206 * math/libm-test.inc (fma_test): Add more tests.
12207 (fma_test_towardzero): New function.
12208 (fma_test_downward): Likewise.
12209 (fma_test_upward): Likewise.
12210 (main): Call the new functions.
12211
b1fa802e
DM
122122012-09-28 David S. Miller <davem@davemloft.net>
12213
12214 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12215
d3b9fd9e
RM
122162012-09-28 Roland McGrath <roland@hack.frob.com>
12217
ea4d37b3
RM
12218 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12219 instead of SIGALRM.
12220
ac51c949
RM
12221 * sysdeps/gnu/_G_config.h: Moved to ...
12222 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12223 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12224 * sysdeps/generic/_G_config.h: ... here.
12225
28c195f7
RM
12226 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12227
848917f9
RM
12228 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12229
6bacf05b
RM
12230 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12231 Conditionalize target on [libnss_test1.so-version].
12232
91363dbb
RM
12233 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12234
cc87f7d8
RM
12235 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12236 (elfobjdir): Move out of conditionals.
12237
b1c608fe
RM
12238 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12239 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12240 (__nss_lookup_function): Conditionalize label remove_from_tree on
12241 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 12242
1d9a6d96
DM
122432012-09-28 David S. Miller <davem@davemloft.net>
12244
12245 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12246 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12247 file.
12248 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12249 sysdep_routines.
12250 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12251 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12252 when HWCAP_SPARC_CRYPTO is present.
12253
72581615
PT
122542012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12255
12256 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12257
715a900c
JL
122582012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12259
12260 [BZ #6530]
12261 * stdio-common/vfprintf.c (process_string_arg): Revert
12262 2000-07-22 change.
12263
122642011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12265
12266 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12267 for testcase.
12268 * stdio-common/tst-sprintf.c: Include <locale.h>
12269 (main): Test sprintf's handling of incomplete multibyte
12270 characters.
12271
9bac1d86
L
122722012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12273
12274 * elf/dl-runtime.c (VERSYMIDX): Removed.
12275 * elf/dl-version.c (VERSYMIDX): Likewise.
12276 * elf/do-rel.h (VERSYMIDX): Likewise.
12277 (VALIDX): Likewise.
12278 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12279 * elf/rtld.c (VALIDX): Likewise.
12280 (ADDRIDX): Likewise.
9bac1d86
L
12281 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12282 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12283 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
12284 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12285 (VALIDX): Likewise.
12286 (ADDRIDX): Likewise.
9bac1d86 12287
b31606c0
PT
122882012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12289
12290 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12291
11541177
JL
122922012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12293
12294 [BZ #11438]
12295 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12296 to global scope.
12297 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12298 addresses are in the same scope as 192.0.2/24.
12299 * posix/gai.conf: Document new scope table defaults.
12300
adb26fae
SP
123012012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12302
12303 [BZ #5298]
12304 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12305 for ftell. Compute offsets from write pointers instead.
12306 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12307
4573c6b0
SP
123082012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12309
12310 [BZ #14543]
12311 * libio/Makefile (tests): New test case tst-fseek.
12312 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12313 combination works in wide mode.
12314 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12315 state when the external buffer state changes.
12316
aa9bbfe6
DM
123172012-09-27 David S. Miller <davem@davemloft.net>
12318
12319 [BZ #14376]
12320 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12321 pass reloc->r_addend in as the 'high' argument to
12322 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12323
784421e7
DM
12324 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12325
c39bc8b8
PT
123262012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12327
12328 * rt/tst-aio2.c: Include <pthread.h>.
12329 * rt/tst-aio3.c: Likewise.
12330
1ccc2399
SE
123312012-09-27 Steve Ellcey <sellcey@mips.com>
12332
12333 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12334
31ed4153
L
123352012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12336
25f5f885
L
12337 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12338 contents on [SHARED].
31ed4153 12339
b7bfe116
MP
123402012-09-26 Marek Polacek <polacek@redhat.com>
12341
12342 [BZ #14530]
12343 [BZ #13741]
12344 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12345 for C++ and GCC <4.3 as well as for non GCC compilers.
12346
43c4edba
MT
123472012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12348
12349 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12350
6a1bf82f
RM
123512012-09-25 Roland McGrath <roland@hack.frob.com>
12352
12353 * Makefile.in (all, install): Declare with .PHONY.
12354 Reported by Michael Hope <michael.hope@linaro.org>.
12355
8ad11b9a
TMQMF
123562012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12357
12358 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12359 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12360 system header.
12361 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12362 Likewise.
12363 (sydep_routines): Add the new and the internal functions.
12364 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12365 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12367 (GLIBC_2.17): Add the new function.
12368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12369 (GLIBC_2.17): Likewise.
12370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12371 (GLIBC_2.17): Likewise.
12372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12373 (GLIBC_2.17): Likewise.
12374 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12375
7e2fca8d
AM
123762012-09-25 Alan Modra <amodra@gmail.com>
12377
12378 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12379 Add release barrier before setting once_control to say
12380 initialisation is done. Add hints on lwarx. Use macro in
12381 place of isync.
12382 (clear_once_control): Add release barrier.
12383
b87c4b24
JM
123842012-09-25 Joseph Myers <joseph@codesourcery.com>
12385
d032e0d2
JM
12386 [BZ #13629]
12387 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12388 specially.
12389 * math/s_clog10.c (__clog10): Likewise.
12390 * math/s_clog10f.c (__clog10f): Likewise.
12391 * math/s_clog10l.c (__clog10l): Likewise.
12392 * math/s_clogf.c (__clogf): Likewise.
12393 * math/s_clogl.c (__clogl): Likewise.
12394 * math/Makefile (libm-calls): Add x2y2m1.
12395 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12396 (__x2y2m1): Likewise.
12397 (__x2y2m1l): Likewise.
12398 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12399 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12400 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12401 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12402 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12403 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12404 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12405 * sysdeps/i386/fpu/libm-test-ulps: Update.
12406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12407
b87c4b24
JM
12408 [BZ #14621]
12409 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12410 int as type of variable DEPTH.
12411 (glob): Use size_t instead of int as type of variables NEWCOUNT
12412 and OLD_PATHC.
12413
6d3bf199
LD
124142012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12415
22bf5c17
LD
12416 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12417 Add s_sincosf-sse2.
12418 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12419 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12420 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12421 macros for using routine as __sincosf_ia32.
12422 Use macro for function declaration and weak_alias.
12423 * sysdeps/i386/fpu/libm-test-ulps: Update.
12424
12425 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12426 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12427
12428 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
12429 subnormal argument.
12430 * math/s_cexpf.c (__cexpf): Likewise.
12431 * math/s_csinf.c (__csinf): Likewise.
12432 * math/s_csinhf.c (__csinhf): Likewise.
12433 * math/s_ctanf.c (__ctanf): Likewise.
12434 * math/s_ctanhf.c (__ctanhf): Likewise.
12435 * math/s_ccosh.c (__ccoshf): Likewise.
12436 * math/s_cexp.c (__cexpl): Likewise.
12437 * math/s_csin.c (__csin): Likewise.
12438 * math/s_csinh.c (__csinh): Likewise.
12439 * math/s_ctan.c (__ctan): Likewise.
12440 * math/s_ctanh.c (ctanh): Likewise.
12441 * math/s_ccoshl.c (__ccoshl): Likewise.
12442 * math/s_cexpl.c (__cexpl): Likewise.
12443 * math/s_csinl.c (__csinl): Likewise.
12444 * math/s_csinhl.c (__csinhl): Likewise.
12445 * math/s_ctanl.c (__ctanl): Likewise.
12446 * math/s_ctanhl.c (__ctanhl): Likewise.
12447
203e5603
JM
124482012-09-25 Joseph Myers <joseph@codesourcery.com>
12449
12450 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12451 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12452 (_IO_off_t): Define to __off_t, not _G_off_t.
12453 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12454 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12455 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12456 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12457 type of __dummy and __dummy2 fields.
12458 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12459 (_G_ssize_t): Likewise.
12460 (_G_off_t): Likewise.
12461 (_G_pid_t): Likewise.
12462 (_G_uid_t): Likewise.
12463 (_G_wchar_t): Likewise.
12464 (_G_wint_t): Likewise.
12465 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12466 (_G_ssize_t): Likewise.
12467 (_G_off_t): Likewise.
12468 (_G_pid_t): Likewise.
12469 (_G_uid_t): Likewise.
12470 (_G_wchar_t): Likewise.
12471 (_G_wint_t): Likewise.
12472 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12473 (_G_ssize_t): Likewise.
12474 (_G_off_t): Likewise.
12475 (_G_pid_t): Likewise.
12476 (_G_uid_t): Likewise.
12477 (_G_wchar_t): Likewise.
12478 (_G_wint_t): Likewise.
12479
9fab36eb
SP
124802012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12481
12482 * malloc/arena.c: Include malloc-sysdep.h.
12483 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12484 is sufficient to shrink the heap or an unmap is needed.
12485 * sysdeps/generic/malloc-sysdep.h: New file. Define
12486 new function check_may_shrink_heap.
12487 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12488 new function check_may_shrink_heap.
12489
2b4f00d1
SP
124902012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12491
12492 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12493 comments.
12494
9a9028b1
DL
124952012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12496
57c69bef
DL
12497 * catgets/test-gencat.sh: Add "set -e".
12498 * elf/tst-pathopt.sh: Likewise.
12499 * grp/tst_fgetgrent.sh: Likewise.
12500 * iconvdata/run-iconv-test.sh: Likewise.
12501 * intl/tst-gettext.sh: Likewise.
12502 * intl/tst-gettext2.sh: Likewise.
12503 * intl/tst-gettext4.sh: Likewise.
12504 * intl/tst-gettext6.sh: Likewise.
12505 * intl/tst-translit.sh: Likewise.
12506 * io/ftwtest-sh: Likewise.
12507 * libio/test-freopen.sh: Likewise.
12508 * malloc/tst-mtrace.sh: Likewise.
12509 * posix/globtest.sh: Likewise.
12510 * posix/tst-getconf.sh: Likewise.
12511 * posix/wordexp-tst.sh: Likewise.
12512 * stdio-common/tst-printf.sh: Likewise.
12513 * stdio-common/tst-unbputc.sh: Likewise.
12514 * stdlib/tst-fmtmsg.sh: Likewise.
12515 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12516 * catgets/Makefile: Do not specify -e option when running
12517 testsuite shell scripts.
12518 * elf/Makefile: Likewise.
12519 * grp/Makefile: Likewise.
12520 * iconvdata/Makefile: Likewise.
12521 * intl/Makefile: Likewise.
12522 * io/Makefile: Likewise.
12523 * libio/Makefile: Likewise.
12524 * malloc/Makefile: Likewise.
12525 * posix/Makefile: Likewise.
12526 * stdio-common/Makefile: Likewise.
12527 * stdlib/Makefile: Likewise.
12528 * sysdeps/x86_64/Makefile: Likewise.
12529
9a9028b1
DL
12530 * io/ftwtest-sh: Add copyright header.
12531 * posix/globtest.sh: Likewise.
12532 * posix/tst-getconf.sh: Likewise.
12533 * posix/wordexp-tst.sh: Likewise.
12534 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12535
ced6f16e
L
125362012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12537
94b32c39
L
12538 [BZ #13679]
12539 * Makeconfig (+link): Defined as $(+link-static) if
12540 $(build-shared) isn't yes.
12541 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12542 isn't yes.
12543 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12544
189e935b
L
12545 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12546
ced6f16e
L
12547 [BZ #14562]
12548 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12549 new chunk size with MALLOC_ALIGN_MASK.
12550
a9f8e53a
JM
125512012-09-24 Joseph Myers <joseph@codesourcery.com>
12552
12553 [BZ #5044]
12554 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12555 <rounding-mode.h>.
12556 (__printf_fphex): Determine rounding using get_rounding_mode and
12557 round_away.
12558 * stdio-common/tst-printf-round.c (struct hex_test): New
12559 structure.
12560 (hex_tests): New variable.
12561 (test_hex_in_one_mode): New function.
12562 (do_test): Also run tests for hex float output.
12563
43153109
JM
125642012-09-21 Joseph Myers <joseph@codesourcery.com>
12565
12566 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12567 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12568 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12569 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12570 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12571 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12572 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12573 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12574
8a26625d
JM
125752012-09-20 Joseph Myers <joseph@codesourcery.com>
12576
12577 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12578 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12579 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12580 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12581
f3fd569c
DL
125822012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12583
12584 [BZ #14579]
12585 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12586 mode only.
12587 * elf/tst-rtld-load-self.sh: New test.
12588 * elf/Makefile: Run it.
12589
63bbedd4
JM
125902012-09-18 Joseph Myers <joseph@codesourcery.com>
12591
12592 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12593 (tst-writev-ENV): Remove.
12594 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12595
626f8b6a
CM
125962012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12597
12598 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12599
b7aaa4d6
JM
126002012-09-17 Joseph Myers <joseph@codesourcery.com>
12601
12602 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12603 unconditional.
12604 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12605 Likewise.
12606 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12607 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12608 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12609 Likewise.
12610
65513990
L
126112012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12612
12613 [BZ #14587]
12614 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12615 * config.make.in (have-cpp-asm-debuginfo): Removed.
12616 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12617 * configure: Regenerated.
12618
784761be
JM
126192012-09-14 Joseph Myers <joseph@codesourcery.com>
12620
12621 [BZ #5044]
12622 * stdio-common/printf_fp.c: Include <stdbool.h> and
12623 <rounding-mode.h>.
12624 (___printf_fp): Determine rounding using get_rounding_mode and
12625 round_away.
12626 * stdio-common/tst-printf-round.c: New file.
12627 * stdio-common/Makefile (tests): Add tst-printf-round.
12628 (link-libm): New variable.
12629 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12630
9503345f
L
126312012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12632
12633 [BZ #14576]
12634 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12635 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12636 Likewise.
12637 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12638 Likewise.
12639
ad35fc00
JM
126402012-09-13 Joseph Myers <joseph@codesourcery.com>
12641
12642 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12643 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12644 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12645 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12646
6c9b0f68
JM
126472012-09-12 Joseph Myers <joseph@codesourcery.com>
12648
12649 [BZ #14518]
12650 * include/rounding-mode.h: New file.
12651 * sysdeps/generic/get-rounding-mode.h: Likewise.
12652 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12653 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12654 (MAX_VALUE): New macro.
12655 (MIN_VALUE): Likewise.
12656 (overflow_value): New function.
12657 (underflow_value): Likewise.
12658 (round_and_return): Use overflow_value and underflow_value to
12659 determine return values in overflow and underflow cases. Use
12660 round_away to determine rounding depending on rounding mode.
12661 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12662 determine return values in overflow and underflow cases.
12663 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12664 (struct test_results): New structure.
12665 (struct test): Use struct test_results to store expected results
12666 for all rounding modes.
12667 (TEST): Include expected results for all rounding modes.
12668 (test_in_one_mode): New function.
12669 (do_test): Use test_in_one_mode to compute and check results.
12670 Check results for all rounding modes.
12671 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12672 $(link-libm).
12673
19fcedd5
AM
126742012-12-09 Allan McRae <allan@archlinux.org>
12675
1e9d84cd 12676 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 12677
8bbfd2f1
JM
126782012-09-11 Joseph Myers <joseph@codesourcery.com>
12679
12680 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12681 (_G_int32_t): Likewise.
12682 (_G_uint16_t): Likewise.
12683 (_G_uint32_t): Likewise.
12684 (_G_HAVE_BOOL): Likewise.
12685 (_G_HAVE_ATEXIT): Likewise.
12686 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12687 (_G_HAVE_IO_FILE_OPEN): Likewise.
12688 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12689 (_G_int32_t): Likewise.
12690 (_G_uint16_t): Likewise.
12691 (_G_uint32_t): Likewise.
12692 (_G_HAVE_BOOL): Likewise.
12693 (_G_HAVE_ATEXIT): Likewise.
12694 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12695 (_G_HAVE_IO_FILE_OPEN): Likewise.
12696 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12697 (_G_int32_t): Likewise.
12698 (_G_uint16_t): Likewise.
12699 (_G_uint32_t): Likewise.
12700 (_G_HAVE_BOOL): Likewise.
12701 (_G_HAVE_ATEXIT): Likewise.
12702 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12703 (_G_HAVE_IO_FILE_OPEN): Likewise.
12704
b1dc5912
L
127052012-09-11 H.J. Lu <hongjiu.lu@intel.com>
12706
12707 * csu/libc-tls.c: Update copyright years.
12708
0e886ef9
JM
127092012-09-10 Joseph Myers <joseph@codesourcery.com>
12710
28361c5e
JM
12711 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12712 [!_G_USING_THUNKS]: Remove conditional code.
12713 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12714 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12715
0e886ef9
JM
12716 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12717 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12718 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12719 (_G_VTABLE_LABEL_PREFIX): Likewise.
12720 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12721 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12722 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12723 (_G_VTABLE_LABEL_PREFIX): Likewise.
12724 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12725 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12726 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12727 (_G_VTABLE_LABEL_PREFIX): Likewise.
12728 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12729
bcba7aa2
L
127302012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12731
12732 * libio/Makefile: Include ../Makeconfig before tests.
12733 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12734 only if $(build-shared) is yes.
12735
06585ee8
L
12736 * iconv/gconv_db.c: Update copyright years.
12737
80ccd52c
LD
127382012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12739
12740 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12741 unwind info if defined PIC. Fix special cases description.
12742 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12743
12744 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12745 DP_HI_MASK entry.
12746 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12747
691bc9c1
L
127482012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12749
3d9b46b3
L
12750 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12751
de2139a9
L
12752 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12753 is NULL.
12754
5ca78dd0
L
12755 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12756 (LDLIBS-tst-chk4): This.
12757 (LDFLAGS-tst-chk5): Renamed to ...
12758 (LDLIBS-tst-chk5): This.
12759 (LDFLAGS-tst-chk6): Renamed to ...
12760 (LDLIBS-tst-chk6): This.
12761 (LDFLAGS-tst-lfschk4): Renamed to ...
12762 (LDLIBS-tst-lfschk4): This.
12763 (LDFLAGS-tst-lfschk5): Renamed to ...
12764 (LDLIBS-tst-lfschk5): This.
12765 (LDFLAGS-tst-lfschk6): Renamed to ...
12766 (LDLIBS-tst-lfschk6): This.
12767
691bc9c1
L
12768 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12769 on $(common-objpfx)soversions.mk.
12770
65cafb1c
JM
127712012-09-07 Joseph Myers <joseph@codesourcery.com>
12772
12773 [BZ #10014]
12774 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12775 example host name.
12776
c78ab094
SP
127772012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12778
12779 * malloc/arena.c (arena_get_retry): New function that gets
12780 another arena for the caller to try its request on.
12781 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12782 current arena cannot fulfill the request.
12783 (__libc_memalign): Likewise.
12784 (__libc_memalign): Likewise.
12785 (__libc_pvalloc): Likewise.
12786 (__libc_calloc): Likewise.
12787
01f49f59
JT
127882012-09-05 John Tobey <john.tobey@gmail.com>
12789
12790 [BZ #13542]
12791 * manual/arith.texi (Operations on Complex): Fix description
12792 of carg branch cut.
12793
4c23fed5
JM
127942012-09-06 Joseph Myers <joseph@codesourcery.com>
12795
1d3c8572
JM
12796 [BZ #10014]
12797 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12798 host name.
12799
4c23fed5
JM
12800 [BZ #10038]
12801 * manual/memory.texi (Memory): Make order of menu items match
12802 order of sections.
12803
04570aaa
L
128042012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12805
12806 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12807 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12808 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12809
b80af2f4
L
128102012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12811
12812 * csu/libc-tls.c (static_dtv): Renamed to ...
12813 (_dl_static_dtv): This. Make it global.
12814 (_dl_initial_dtv): Removed.
12815 (__libc_setup_tls): Updated.
12816 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12817 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12818 DL_INITIAL_DTV.
12819
2abe9f15
PM
128202012-09-06 Petr Machata <pmachata@redhat.com>
12821
12822 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12823 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12824 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12825 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12826
0948c3af
L
128272012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12828
12829 [BZ #14545]
12830 * csu/libc-tls.c (_dl_initial_dtv): New variable.
12831 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12832 freeing dtv[-1].
12833
a5055ad1
L
128342012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12835
12836 [BZ #14544]
12837 * Makeconfig (link-static-before-libc): Replace $(+prector)
12838 with $(+prectorT).
12839 (link-static-after-libc): Replace $(+postctor) with
12840 $(+postctorT).
12841 (link-bounded): Replace $(+prector)/$(+postctor) with
12842 $(+prectorT)/$(+postctorT).
12843 (+prectorT): New macro.
12844 (+postctorT): Likewise.
12845
ed8c2ecd
JM
128462012-09-06 Joseph Myers <joseph@codesourcery.com>
12847
12848 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12849 (round_str): Handle values above the maximum for IBM long double
12850 as inexact.
12851 * stdlib/tst-strtod-round.c (tests): Regenerated.
12852
14c996c8
AK
128532012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12854
12855 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12856 assembler flag.
12857 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12858 zarch_nohighgprs around the zarch optimized routines.
12859 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12860 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12861 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12862 for zarch.
12863
430d6ce6
DM
128642012-09-05 David S. Miller <davem@davemloft.net>
12865
12866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12867
ff04dda4
DM
12868 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12869 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12870 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12871 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12872 entries.
12873
24d4e01b
AO
128742012-09-05 Alexandre Oliva <aoliva@redhat.com>
12875
12876 * malloc/arena.c: Fold copyright years.
12877 * malloc/mcheck.c, malloc/memusage.c: Likewise.
12878
61d58174
AO
128792012-09-05 Alexandre Oliva <aoliva@redhat.com>
12880
12881 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12882
20196a5e
AO
128832012-09-05 Alexandre Oliva <aoliva@redhat.com>
12884
12885 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
12886
5c447383
AO
128872012-09-05 Alexandre Oliva <aoliva@redhat.com>
12888
12889 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12890 change internal state upon failure.
12891
fad64255
AO
128922012-09-05 Alexandre Oliva <aoliva@redhat.com>
12893
12894 * malloc/mcheck.c (mcheck_check_all): Fix typo.
12895 * malloc/memusage.c (mmap): Likewise.
12896 (mmap64, mremap): Likewise. Adjust name in comment.
12897
1ffb8c90
SP
128982012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12899
12900 * libio/fileops.c: Fix typos in comments.
12901 * libio/oldfileops.c: Likewise.
12902 * libio/wfileops.c: Likewise.
12903
6ef9cc37
SP
129042012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12905
12906 [BZ #1349]
12907 * malloc/Makefile (tests): Add tst-malloc-usable test case.
12908 (tst-malloc-usable-ENV): Set environment for test case.
12909 * malloc/hooks.c (malloc_check_get_size): New function to get
12910 requested size.
12911 * malloc/malloc.c (musable): Use malloc_check_get_size.
12912 * malloc/tst-malloc-usable.c: New test case.
12913
4d038ae3
AS
129142012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12915
12916 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12917
c4e85184
AM
129182012-09-05 Allan McRae <allan@archlinux.org>
12919
b9dafc56 12920 [BZ #13966]
c4e85184
AM
12921 * configure.in (CXX_SYSINCLUDES): Use compiler output to
12922 determine header location.
12923 * configure: Regenerated.
12924
e1343020
AS
129252012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12926
12927 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12928 float format.
12929 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
12930 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12931 format.
e1343020
AS
12932 (test): Regenerate.
12933
0a9f1987
DM
129342012-09-04 David S. Miller <davem@davemloft.net>
12935
12936 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12937 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12938 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12939
29237804
FW
129402012-09-04 Florian Weimer <fweimer@redhat.com>
12941
12942 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12943 failures.
12944
edb3cb88
FW
12945 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12946
60160d83
JM
129472012-09-04 Joseph Myers <joseph@codesourcery.com>
12948
12949 [BZ #9914]
12950 * libio/iogetdelim.c: Include <limits.h>.
12951 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12952 + len + 1 would overflow.
12953
bcd6c8dc
AJ
129542012-09-03 Andreas Jaeger <aj@suse.de>
12955
12956 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12957 * sysdeps/i386/fpu/libm-test-ulps: Update.
12958
4ffffbd2
LD
129592012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12960
12961 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12962 Add s_sinf-sse2, s_conf-sse2.
12963
12964 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12965 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
12966 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
12967 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
12968
12969 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12970 for using routine as __sinf_ia32.
12971 Use macro for function declaration and weak_alias.
12972 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
12973 for using routine as __cosf_ia32.
12974 Use macro for function declaration and weak_alias.
12975
12976 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
12977 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
12978
12979 * sysdeps/x86_64/fpu/s_sinf.S: New file.
12980 * sysdeps/x86_64/fpu/s_cosf.S: New file.
12981 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12982
12983 * math/libm-test.inc (cos_test): Add more test cases.
12984 (sin_test): Likewise.
12985 (sincos_test): Likewise.
12986
511fa286
AK
129872012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12988
12989 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12990 (IFUNC_RESOLVE): Make pointers to the specialized implementations
12991 hidden.
12992 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12993
5f30cfec
L
129942012-09-02 H.J. Lu <hongjiu.lu@intel.com>
12995
12996 [BZ #14538]
12997 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
12998 first element of the GOT.
12999 (elf_machine_load_address): Return the difference between
13000 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13001
0786794f
AM
130022012-09-01 Allan McRae <allan@archlinux.org>
13003
5f30cfec
L
13004 [BZ #13412]
13005 * configure.in (AWK): Require gawk version 3.0 or later.
13006 * configure: Regenerated.
0786794f 13007
26889eac
JM
130082012-09-01 Joseph Myers <joseph@codesourcery.com>
13009
13010 * sysdeps/unix/sysv/linux/kernel-features.h
13011 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13012 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13013 [__NR_clock_getres]: Make code unconditional.
13014 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13015 (clock_getcpuclockid): Remove code left unreachable by removal of
13016 conditionals.
13017 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13018 code unconditional.
13019 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13020 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13021 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13022 Make code unconditional.
13023 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13024 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13025 * sysdeps/unix/sysv/linux/clock_settime.c
13026 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13027 conditional code.
13028 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13029 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13030
d22e28b0
L
130312012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13032
13033 [BZ #14476]
13034 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13035 scripts/test-installation.pl.
13036
13037 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13038 and $ld_so_version if it is set.
13039
050af9c4
SP
130402012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13041
13042 [BZ #14516]
13043 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13044 failure if reading from procfs failed.
13045 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13046
ad845c0b
JM
130472012-08-27 Joseph Myers <joseph@codesourcery.com>
13048
13049 * sysdeps/unix/sysv/linux/kernel-features.h
13050 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13051 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13052 Remove conditional code.
13053 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13054 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13055 Remove conditional code.
13056 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13057 * sysdeps/unix/sysv/linux/i386/fxstat.c
13058 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13059 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13060 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13061 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13062 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13063 * sysdeps/unix/sysv/linux/i386/lxstat.c
13064 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13065 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13066 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13067 Remove conditional code.
13068 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13069 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13070 Remove conditional code.
13071 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13072 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13073 <kernel-features.h>.
13074 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13075 Remove.
13076 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13077 Remove conditional code.
13078 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13079 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13080 Remove conditional.
13081
5dbf56af
MF
130822012-08-27 Mike Frysinger <vapier@gentoo.org>
13083
13084 [BZ #5400]
13085 * NEWS: Add fixed bug number.
13086
d6e70f43
JM
130872012-08-27 Joseph Myers <joseph@codesourcery.com>
13088
7efb4737
JM
13089 [BZ #14519]
13090 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13091 underflowing exponent in case of negative sign.
13092 * stdlib/tst-strtod-round-data: Add more tests.
13093 * stdlib/tst-strtod-round.c (tests): Regenerated.
13094
af92131a
JM
13095 [BZ #3479]
13096 * stdlib/strtod_l.c (NDIG): Remove.
13097 (HEXNDIG): Likewise.
13098 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13099 smallest representable value.
13100 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13101 lie within an exact representation of 1/2 ulp of the result.
13102 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13103 unconditionally.
13104 (TENS_P9_IDX): Define unconditionally.
13105 (TENS_P9_SIZE): Likewise.
13106 (TENS_P10_IDX): Likewise.
13107 (TENS_P10_SIZE): Likewise.
13108 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13109 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13110 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13111 entries for 10^2^13 and 10^2^14.
13112 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13113 (TENS_P13_IDX): Define.
13114 (TENS_P13_SIZE): Likewise.
13115 (TENS_P14_IDX): Likewise.
13116 (TENS_P14_SIZE): Likewise.
13117 (_fpioconst_pow10): Change array size to
13118 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13119 unconditional.
13120 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13121 1024]: Add entries for 10^2^13 and 10^2^14.
13122 [LAST_POW10 > _LAST_POW10]: Remove #error.
13123 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13124 (_fpioconst_pow10): Change array size to
13125 FPIOCONST_POW10_ARRAY_SIZE.
13126 * stdlib/gen-fpioconst.c: New file.
13127 * stdlib/gen-tst-strtod-round.c: Likewise.
13128 * stdlib/tst-strtod-round-data: Likewise.
13129 * stdlib/tst-strtod-round.c: Likewise.
13130 * stdlib/Makefile (tests): Add tst-strtod-round.
13131
d6e70f43
JM
13132 [BZ #14459]
13133 * stdlib/strtod_l.c: Include <stdint.h>.
13134 (NDEBUG): Do not define.
13135 (round_and_return): Change EXPONENT parameter to type intmax_t.
13136 Rearrange calculations to avoid internal overflow possibilities.
13137 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13138 Rearrange calculations to avoid internal overflow possibilities.
13139 Assert that number fits inside MPNSIZE limbs.
13140 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13141 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13142 calculations and add assertions to avoid internal overflow
13143 possibilities. Add casts to avoid signed/unsigned operations.
13144 * stdlib/tst-strtod-overflow.c: New file.
13145 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13146
1f529f7d
MP
131472012-08-25 Marek Polacek <polacek@redhat.com>
13148
13149 * time/time.h: Fix some typos in comments.
13150
59a629f1
RM
131512012-08-23 Roland McGrath <roland@hack.frob.com>
13152
13153 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13154 * posix/tst-rfc3484-2.c: Likewise.
13155 * posix/tst-rfc3484-3.c: Likewise.
13156
d3bafbc9
SM
131572012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13158
13159 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13160 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13161
4efcc022
JM
131622012-08-23 Joseph Myers <joseph@codesourcery.com>
13163
13164 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13165 #include of fxstatat64.c.
13166
3cc3ef96
RM
131672012-08-22 Roland McGrath <roland@hack.frob.com>
13168
f04e2132
RM
13169 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13170 * shadow/getspent_r.c: Likewise.
13171 * shadow/getspnam.c: Likewise.
13172 * shadow/getspnam_r.c: Likewise.
13173 * gshadow/getsgent.c: Likewise.
13174 * gshadow/getsgent_r.c: Likewise.
13175 * gshadow/getsgnam.c: Likewise.
13176 * gshadow/getsgnam_r.c: Likewise.
13177 * inet/getnetbyad.c: Likewise.
13178 * inet/getnetbyad_r.c: Likewise.
13179 * inet/getnetbynm.c: Likewise.
13180 * inet/getnetbynm_r.c: Likewise.
13181 * inet/getnetent.c: Likewise.
13182 * inet/getnetent_r.c: Likewise.
13183 * inet/getproto.c: Likewise.
13184 * inet/getproto_r.c: Likewise.
13185 * inet/getprtent.c: Likewise.
13186 * inet/getprtent_r.c: Likewise.
13187 * inet/getprtname.c: Likewise.
13188 * inet/getprtname_r.c: Likewise.
13189 * inet/getrpcbyname.c: Likewise.
13190 * inet/getrpcbyname_r.c: Likewise.
13191 * inet/getrpcbynumber.c: Likewise.
13192 * inet/getrpcbynumber_r.c: Likewise.
13193 * inet/getrpcent.c: Likewise.
13194 * inet/getrpcent_r.c: Likewise.
13195 * inet/getaliasent.c: Likewise.
13196 * inet/getaliasent_r.c: Likewise.
13197 * inet/getaliasname.c: Likewise.
13198 * inet/getaliasname_r.c: Likewise.
13199 * nscd/getgrgid_r.c: Likewise.
13200 * nscd/getgrnam_r.c: Likewise.
13201 * nscd/gethstbyad_r.c: Likewise.
13202 * nscd/gethstbynm3_r.c: Likewise.
13203 * nscd/getpwnam_r.c: Likewise.
13204 * nscd/getpwuid_r.c: Likewise.
13205 * nscd/getsrvbynm_r.c: Likewise.
13206 * nscd/getsrvbypt_r.c: Likewise.
13207 * nscd/gai.c: Likewise.
13208
c53d909c
RM
13209 * configure.in (build_nscd): New substituted variable, set
13210 by --disable-build-nscd and defaults to $use_nscd.
13211 * configure: Regenerated.
13212 * config.make.in (build-nscd): New substituted variable.
13213 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13214 Change conditional to require [$(build-nscd) = yes] as well.
13215 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13216
3cc3ef96
RM
13217 [BZ# 13696]
13218 * configure.in (use_nscd): New substituted variable, set by
13219 --disable-nscd. If enabled, define USE_NSCD.
13220 * configure: Regenerated.
13221 * config.h.in: Add USE_NSCD.
13222 * config.make.in (use-nscd): New substituted variable.
13223 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13224 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13225 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13226 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13227 (CFLAGS-getgrnam_r.c): Likewise.
13228 (CFLAGS-initgroups.c): Likewise.
13229 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13230 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13231 Variables removed.
13232 * inet/getnetgrent_r.c
13233 (nscd_setnetgrent): New function, broken out of ...
13234 (setnetgrent): ... here. Call it.
13235 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13236 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13237 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13238 * nscd/Makefile (routines, aux): Move definitions after include of
13239 Makeconfig. Conditionalize on [$(use-nscd) != no].
13240 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13241 Conditionalize on [USE_NSCD].
13242 (is_nscd, nscd_init_cb): Likewise.
13243 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13244 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13245 * nss/nss_db/db-init.c: Likewise.
13246 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13247 [USE_NSCD].
13248 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13249 (make_request): Use it.
13250 (cache_valid_p): New function.
13251 (__check_pf): Use it.
13252 * NEWS: Add item for --disable-nscd.
13253
07e51550
DL
132542012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13255
13256 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13257 to support sed >= 4.2.1-20-ga9bf076.
13258 * configure: Regenerated.
13259
35a5b08b
RM
132602012-08-22 Roland McGrath <roland@hack.frob.com>
13261
13262 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13263 Conditionalize whole body on [IREL].
13264
8479f23a
JL
132652012-08-22 Jeff Law <law@redhat.com>
13266
13267 [BZ #14505]
13268 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13269 if the family is PF_UNSPEC.
13270
48da0b21
MF
132712012-08-22 Mike Frysinger <vapier@gentoo.org>
13272
13273 * Makerules (lib-version): Rename from V.
13274 (install-lib-nosubdir): Change V to lib-version.
13275
15d0da8c
WS
132762012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13277
13278 [BZ #14252]
13279 * powerpc32/power6/wcschr.c: New file.
13280 * powerpc32/power6/wcscpy.c: New file.
13281 * powerpc32/power6/wcsrchr.c: New file.
13282 * powerpc64/power6/wcschr.c: New file.
13283 * powerpc64/power6/wcscpy.c: New file.
13284 * powerpc64/power6/wcsrchr.c: New file.
13285
bcca0895
MK
132862012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13287
13288 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13289 (two_way_short_needle): Use it.
5a4aaa33
RM
13290 * string/strstr.c (AVAILABLE1_USES_J): Define.
13291 * string/strcasestr.c: Likewise.
99677e57
MK
13292
13293 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13294 array references.
13295 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13296
400726de
MK
13297 [BZ #11607]
13298 * NEWS: Add an entry.
13299 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13300 define their defaults.
13301 (two_way_short_needle): Detect end-of-string on-the-fly.
13302 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13303 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13304 * string/bug-strcasestr1.c: New test.
13305 * string/Makefile: Run it.
13306
20a71f2c
MK
133072012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13308
13309 [BZ #11607]
13310 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13311 the first character.
13312
21ad0558
RM
133132012-08-21 Roland McGrath <roland@hack.frob.com>
13314
13315 * csu/elf-init.c (__libc_csu_irel): Function removed.
13316 * csu/libc-start.c (apply_irel): New function.
13317 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13318
0e1d9911
JM
133192012-08-21 Joseph Myers <joseph@codesourcery.com>
13320
13321 * sysdeps/unix/sysv/linux/kernel-features.h
13322 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13323 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13324 <kernel-features.h>.
13325 [__NR_fadvise64_64]: Make code unconditional.
13326 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13327 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13328 !__NR_fadvise64_64)]: Likewise.
13329 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13330 !__NR_fadvise64_64))]: Likewise.
13331 [__NR_fadvise64]: Make code unconditional.
13332 [!__NR_fadvise64]: Remove conditional code.
13333 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13334 <kernel-features.h>.
13335 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13336 unconditional.
13337 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13338 conditional code.
13339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13340 not include <kernel-features.h>.
13341 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13342 unconditional.
13343 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13344 conditional code.
13345 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13346 include <kernel-features.h>.
13347 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13348 unconditional.
13349 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13350 conditional code.
13351
14a50c9d
WS
133522012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13353
13354 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13355 slight instruction rearrangements per scrollpipe analysis.
13356 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13357
c0f4faf0
RM
133582012-08-20 Roland McGrath <roland@hack.frob.com>
13359
696da859
RM
13360 * manual/syslog.texi (syslog; vsyslog, closelog):
13361 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13362 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13363
c0f4faf0
RM
13364 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13365 DSOCAPS to match condition on defining it.
13366
348363b2
JM
133672012-08-20 Joseph Myers <joseph@codesourcery.com>
13368
a35cbf28
JM
13369 * sysdeps/unix/sysv/linux/kernel-features.h
13370 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13372 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13373 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13375 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13376 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13378 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13379 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13380
445f7ecd
JM
13381 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13382 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13383
348363b2
JM
13384 * sysdeps/unix/sysv/linux/kernel-features.h
13385 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13386 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13387 unconditional.
13388 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13389 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13390 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13391 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13392 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13393 Make code unconditional.
13394 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13395 (__mmap64) [!__NR_mmap2]: Likewise.
13396 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13397 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13398 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13399 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13400 [__NR_mmap2]: Make code unconditional.
13401 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13402 (__mmap64) [!__NR_mmap2]: Likewise.
13403
bc5bc0e5
AK
134042012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13405
13406 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13407
88d506de
AJ
134082012-08-18 Andreas Jaeger <aj@suse.de>
13409
13410 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13411
493387d2
MF
134122012-08-18 Mike Frysinger <vapier@gentoo.org>
13413
13414 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13415 * include/unistd.h (__have_sock_cloexec): Likewise.
13416 (__have_pipe2): Likewise.
13417 (__have_dup3): Likewise.
13418
a277af22
MF
134192012-08-18 Mike Frysinger <vapier@gentoo.org>
13420
13421 [BZ #9685]
13422 * include/unistd.h (__have_pipe2): Change define into an extern int.
13423 (__have_dup3): Likewise.
13424 * socket/have_sock_cloexec.c: Include fcntl.h.
13425 (__have_pipe2): New variable.
13426 (__have_dup3): Likewise.
13427
fdab8fd3
MF
134282012-08-17 Mike Frysinger <vapier@gentoo.org>
13429
13430 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13431
31035e80
MP
134322012-08-17 Marek Polacek <polacek@redhat.com>
13433
13434 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13435 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13436
3bd9e993
RM
134372012-08-17 Roland McGrath <roland@hack.frob.com>
13438
c91c505f
RM
13439 * configure.in: Add AC_SUBST for sysheaders.
13440 * configure: Regenerated.
13441 * config.make.in (sysheaders): New substituted variable.
13442
7c6f9d53
RM
13443 * sysdeps/unix/mkfifo.c: Moved ...
13444 * sysdeps/posix/mkfifo.c: ... here.
13445 * sysdeps/unix/mkfifoat.c: Moved ...
13446 * sysdeps/posix/mkfifoat.c: ... here.
13447
13448 * sysdeps/unix/utime.c: Moved ...
13449 * sysdeps/posix/utime.c: ... here.
13450
13451 * sysdeps/unix/time.c: Moved ...
13452 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
13453 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13454 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
13455
13456 * sysdeps/unix/nice.c: Moved ...
13457 * sysdeps/posix/nice.c: ... here.
13458
13459 * sysdeps/unix/alarm.c: Moved ...
13460 * sysdeps/posix/alarm.c: ... here.
13461
3bd9e993
RM
13462 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13463
d1f09384
JL
134642012-08-17 Jeff Law <law@redhat.com>
13465
13466 * intl/Makefile (codeset_mo): New variable.
13467 ($(codeset_mo)): New target.
13468 (tst-codeset.out): Depend on that. Remove explicit rule.
13469 (tst-gettext3.out, tst-gettext5.out): Likewise.
13470 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13471 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13472 * intl/tst-codeset.sh: Remove.
13473 * intl/tst-gettext3.sh: Likewise.
13474 * intl/tst-gettext5.sh: Likewise.
13475
2ae1ae5c
RM
134762012-08-17 Roland McGrath <roland@hack.frob.com>
13477
c31fdb83
RM
13478 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13479 * sysdeps/unix/syscalls.list: ... here.
13480
a0844057
RM
13481 * sysdeps/posix/getaddrinfo.c
13482 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13483 (gaiconf_init, gaiconf_reload): Use them.
13484 [!_STATBUF_ST_NSEC]
13485 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13486 Define using time_t rather than struct timespec.
13487
750c1f2a
RM
13488 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13489 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13490 Macros removed.
13491 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13492 [!NO_THREADS].
13493 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13494 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13495 Likewise.
13496
2ae1ae5c
RM
13497 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13498 __libc_cleanup_push argument.
13499
e66a42f5
RM
13500 * bits/param.h: New file.
13501 * misc/sys/param.h: New file.
13502 * include/sys/param.h: New file.
13503 * misc/Makefile (headers): Add bits/param.h.
13504 * sysdeps/generic/sys/param.h: File removed.
13505 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13506 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13507 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 13508 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 13509
b7c08a66
RM
13510 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13511 last change.
13512
b2e1c562
RM
13513 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13514 [_IO_MTSAFE_IO].
13515 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13516 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13517 New macros.
13518
c75ccd4c
RM
13519 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13520 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13521 rather than -D_IO_MTSAFE_IO conditionally.
13522 * stdio-common/Makefile (CPPFLAGS): Likewise.
13523 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13524 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13525 Use $(libio-mtsafe).
13526 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13527 of -D_IO_MTSAFE_IO.
13528 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13529 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13530 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13531 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13532 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13533 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13534 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13535 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13536 (CFLAGS-fread_u_chk.c): Likewise.
13537 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13538 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13539 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13540 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13541 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13542 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13543 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13544 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13545 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13546
13547 * libio/Makefile: Test [$(libc-reentrant) = yes]
13548 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13549
13550 * Makeconfig
13551 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13552 * sysdeps/pthread/configure: File removed.
13553 * sysdeps/pthread/Makeconfig: New file.
13554 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13555 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13556
d9195db8
GB
135572012-08-16 Gary Benson <gbenson@redhat.com>
13558
13559 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13560 unmapping the first object in a namespace.
13561
86466cd9
RM
135622012-08-16 Roland McGrath <roland@hack.frob.com>
13563
13564 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13565 (__internal_setnetgrent): ... this. Add internal_function to
13566 definition. Add libc_hidden_def.
13567 (setnetgrent): Update caller.
13568 (internal_endnetgrent): Renamed to ...
13569 (__internal_endnetgrent): ... this. Add internal_function to
13570 definition. Add libc_hidden_def.
13571 (endnetgrent): Update caller.
13572 (internal_getnetgrent_r): Renamed to ...
13573 (__internal_getnetgrent_r): ... this. Add internal_function to
13574 definition. Add libc_hidden_def.
13575 (__getnetgrent_r): Update caller.
13576 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13577
c3c8283c
JM
135782012-08-16 Joseph Myers <joseph@codesourcery.com>
13579
13580 * stdlib/longlong.h: Update from GCC.
13581
db1ee0a8
RM
135822012-08-16 Roland McGrath <roland@hack.frob.com>
13583
13584 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13585 on _QL, which is set by umul_ppmm but never used.
13586 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13587 variables, which are set by GMP macros but never used.
13588 * stdio-common/_itowa.c (_itowa): Likewise.
13589 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13590 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13591
30f69637
CD
135922012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13593
13594 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13595 struct La_sh_regs is not constant.
13596 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13597 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13598 and struct La_sparc64_regs are not constant.
13599
93a78ac4
JM
136002012-08-16 Joseph Myers <joseph@codesourcery.com>
13601
13602 * sysdeps/unix/sysv/linux/kernel-features.h
13603 (__ASSUME_POSIX_TIMERS): Remove.
13604 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13605 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13606 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13607 Make code unconditional.
13608 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13609 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13610 Make code unconditional.
13611 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13612 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13613 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13614 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13615 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13616 Make code unconditional.
13617 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13618 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13619 (__libc_missing_posix_timers): Remove.
13620
dd924cd7
RM
136212012-08-15 Roland McGrath <roland@hack.frob.com>
13622
4b4f2771
RM
13623 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13624 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13625
601c888b
RM
13626 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13627
176790a7
RM
13628 * elf/dl-sym.c: Include <stdlib.h>.
13629
329bc018
RM
13630 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13631 constants, which avoids warnings in 32-bit builds.
13632
e04e272d
RM
13633 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13634 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13635
952bf94a
RM
13636 * misc/lseek.c: File moved to ...
13637 * io/lseek.c: ... here.
13638
7c99b50a
RM
13639 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13640
dd924cd7
RM
13641 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13642 shifting LEN more than 31 bits at once.
13643
b3f479a8
LD
136442012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13645
13646 [BZ #14195]
8c4ae0d4
RM
13647 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13648 segmentation fault for a case of two empty input strings.
b3f479a8
LD
13649 * string/test-strncasecmp.c (check1): Renamed to...
13650 (bz12205): ...this.
13651 (bz14195): Add new testcase for two empty input strings and N > 0.
13652 (test_main): Call new testcase, adapt for renamed function.
13653
9c55864e
AJ
136542012-08-15 Andreas Jaeger <aj@suse.de>
13655
13656 [BZ #14090]
13657 * crypt/md5test2.c: New test, based on test supplied by Serge
13658 Belyshev <belyshev@depni.sinp.msu.ru>.
13659 * crypt/Makefile (xtests): Add md5test-giant..
13660 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13661
02dcb6c5
PE
136622012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13663
13664 [BZ #14090]
13665 * crypt/md5.c (md5_process_block): Don't assume the buffer
13666 length is less than 2**32.
13667 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13668 length is less than 2**64.
13669
a3f95dcc
RM
136702012-08-15 Roland McGrath <roland@hack.frob.com>
13671
be75d758
RM
13672 * string/str-two-way.h: Include <sys/param.h>.
13673 (MAX): Macro removed.
13674
7312ca90
RM
13675 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13676 Move #define and #undef of memmove to just before and after
13677 including <string.h>.
13678
9a0a5486
RM
13679 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13680 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13681 and after including <string.h>. Move declarations of
13682 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13683 to before #include "string/memmove.c".
13684
67cc348d
RM
13685 * include/dirent.h: Declare __getdirentries.
13686
a3f95dcc
RM
13687 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13688 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13689
ca98e171
MF
136902012-08-14 Mike Frysinger <vapier@gentoo.org>
13691
13692 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13693 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13694 * sysdeps/i386/configure: Regenerated.
13695 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13696 STABS_CURRENT_FILE, and STABS_FUN.
13697 (END): Remove call to STABS_FUN_END.
13698 (STABS_CURRENT_FILE1): Delete.
13699 (STABS_CURRENT_FILE): Likewise.
13700 (STABS_FUN): Likewise.
13701 (STABS_FUN_END): Likewise.
13702 (STABS_FUN2): Likewise.
13703 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13704 * sysdeps/x86_64/configure: Regenerated.
13705
5908bf46
RM
137062012-08-14 Roland McGrath <roland@hack.frob.com>
13707
13708 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 13709 * elf/dl-lookup.c: Likewise.
5908bf46 13710
f2c05b9e
JM
137112012-08-14 Joseph Myers <joseph@codesourcery.com>
13712
13713 * sysdeps/unix/sysv/linux/kernel-features.h
13714 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13715 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13716 unconditionally.
13717 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13718 unconditionally.
13719 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13720 condition on __ASSUME_CLONE_THREAD_FLAGS.
13721
e11f5155
AJ
137222012-08-14 Andreas Jaeger <aj@suse.de>
13723
13724 * sysdeps/i386/fpu/libm-test-ulps: Update.
13725
51a9ba86
MK
137262012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13727
2fdd4f78
AJ
13728 * include/atomic.h (atomic_exchange_and_add): Split into ...
13729 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13730 New atomic macros.
51a9ba86 13731
ba6cba9e
MT
137322012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13733
13734 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13735
42443a47
JL
137362012-08-13 Jeff Law <law@redhat.com>
13737
13738 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13739 null byte in the output string.
13740
121dce05
JM
137412012-08-10 Joseph Myers <joseph@codesourcery.com>
13742
13743 * sysdeps/unix/sysv/linux/kernel-features.h
13744 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13745 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13746 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13747 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13748 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13749 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13750 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13751
bf51f568
JL
137522012-08-09 Jeff Law <law@redhat.com>
13753
13754 [BZ #13939]
13755 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13756 When avoid_arena is set, don't retry in the that arena. Pick the
13757 next one, whatever it might be.
13758 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13759 (arena_lock): Pass in new parameter to arena_get2.
13760 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13761 arena_get2.
13762 (__libc_malloc): Unify retrying after main arena failure with
13763 __libc_memalign version.
13764 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13765
f85fa270
L
137662012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13767
13768 [BZ #14166]
13769 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13770 to __redirect_strstr.
13771 (__strstr_sse42): Use typeof __redirect_strstr.
13772 (__strstr_ia32): Likewise.
13773 (__libc_strstr): New prototype.
13774 (strstr): Renamed to ...
13775 (__libc_strstr): This.
13776 (strstr): New strong alias of __libc_strstr.
13777 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13778 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13779 __redirect_time.
13780 Include <time.h>.
13781 (__libc_time): New prototype.
13782 (time_ifunc): Replace time with __libc_time.
13783 (time): New strong alias and hidden definition of __libc_time.
13784 (__GI_time): Remove strong alias.
13785 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13786 Include <stddef.h>.
13787 (memmove): Redefined to __redirect_memmove.
13788 (__memmove_sse2): Use typeof __redirect_memmove.
13789 (__memmove_ssse3): Likewise.
13790 (__memmove_ssse3_back): Likewise.
13791 (__libc_memmove): New prototype.
13792 (memmove): Renamed to ...
13793 (__libc_memmove): This.
13794 (memmove): New strong alias of __libc_memmove.
13795
33b4a91e
MS
137962012-08-08 Mark Salter <msalter@redhat.com>
13797
13798 * elf/elf.h
13799 (R_MN10300_TLS_GD): Define.
13800 (R_MN10300_TLS_LD): Likewise.
13801 (R_MN10300_TLS_LDO): Likewise.
13802 (R_MN10300_TLS_GOTIE): Likewise.
13803 (R_MN10300_TLS_IE): Likewise.
13804 (R_MN10300_TLS_LE): Likewise.
13805 (R_MN10300_TLS_DTPMOD): Likewise.
13806 (R_MN10300_TLS_DTPOFF): Likewise.
13807 (R_MN10300_TLS_TPOFF): Likewise.
13808 (R_MN10300_SYM_DIFF): Likewise.
13809 (R_MN10300_ALIGN): Likewise.
13810 (R_MN10300_NUM): Update.
13811
b36137f1
JM
138122012-08-08 Joseph Myers <joseph@codesourcery.com>
13813
13814 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13815 Remove.
13816
cdd915fd
RM
138172012-08-08 Roland McGrath <roland@hack.frob.com>
13818
a2433aac
RM
13819 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13820
cdd915fd
RM
13821 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13822 sysdeps/unix -> sysdeps/posix move.
13823 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13824
bf9b740a
AM
138252012-08-07 Allan McRae <allan@archlinux.org>
13826
13827 [BZ #14303]
13828 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13829 (SUNOS_CPP): Likewise.
13830 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13831 not found.
13832 (open_input): Call CPP using execvp.
13833
93df14ee
JM
138342012-08-07 Joseph Myers <joseph@codesourcery.com>
13835
13836 * sysdeps/unix/sysv/linux/kernel-features.h
13837 (__ASSUME_PROT_GROWSUPDOWN): Remove.
13838 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13839 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13840 (__ASSUME_WAITID_SYSCALL): Likewise.
13841 * sysdeps/unix/sysv/linux/dl-execstack.c
13842 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13843 code unconditional.
13844 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13845 conditional code.
13846 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13847 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13848 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13849 code.
13850 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13851 unconditional.
13852 [__ASSUME_WAITID_SYSCALL]: Likewise.
13853 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13854
d34689de
RM
138552012-08-07 Roland McGrath <roland@hack.frob.com>
13856
a281decc
RM
13857 * sysdeps/unix/closedir.c: Renamed to ...
13858 * sysdeps/posix/closedir.c: ... here.
13859 * sysdeps/unix/dirfd.c: Renamed to ...
13860 * sysdeps/posix/dirfd.c: ... here.
13861 * sysdeps/unix/dirstream.h: Renamed to ...
13862 * sysdeps/posix/dirstream.h: ... here.
13863 * sysdeps/unix/fdopendir.c: Renamed to ...
13864 * sysdeps/posix/fdopendir.c: ... here.
13865 * sysdeps/unix/opendir.c: Renamed to ...
13866 * sysdeps/posix/opendir.c: ... here.
13867 * sysdeps/unix/readdir.c: Renamed to ...
13868 * sysdeps/posix/readdir.c: ... here.
13869 * sysdeps/unix/readdir_r.c: Renamed to ...
13870 * sysdeps/posix/readdir_r.c: ... here.
13871 * sysdeps/unix/rewinddir.c: Renamed to ...
13872 * sysdeps/posix/rewinddir.c: ... here.
13873 * sysdeps/unix/seekdir.c: Renamed to ...
13874 * sysdeps/posix/seekdir.c: ... here.
13875 * sysdeps/unix/telldir.c: Renamed to ...
13876 * sysdeps/posix/telldir.c: ... here.
13877 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13878 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13879 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13880 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13881
22895b47
RM
13882 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13883 * bits/fcntl.h: ... here.
13884
707a53b6
RM
13885 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13886 not 0.
13887 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13888 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13889 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13890 (struct flock): Move l_start, l_len to the beginning.
13891 Use __pid_t for l_pid.
13892 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13893 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13894 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13895 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13896 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13897 [__USE_LARGEFILE64] (struct flock64): New type.
13898 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13899
f0bd3e25
RM
13900 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13901 * bits/dirent.h: ... here.
13902
d34689de
RM
13903 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13904 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13905
6dad2c06
JM
139062012-08-07 Joseph Myers <joseph@codesourcery.com>
13907
13908 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13909 Change from 2.6.0 to 2.6.16.
13910 * sysdeps/unix/sysv/linux/configure: Regenerated.
13911 * sysdeps/unix/sysv/linux/kernel-features.h
13912 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13913 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13914 version.
13915 (__ASSUME_UTIMES): Likewise.
13916 (__ASSUME_CLONE_STOPPED): Remove.
13917 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13918 architectures, not kernel version.
13919 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13920 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13921 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13922 (__ASSUME_WAITID_SYSCALL): Likewise.
13923 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13924 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13925 * README: State 2.6.16 as minimum Linux kernel version. Do not
13926 refer to older versions.
13927
03af9520
RM
139282012-08-06 Roland McGrath <roland@hack.frob.com>
13929
8e49df1d
RM
13930 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13931 Define alphasort64 as an alias.
13932 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13933 Define versionsort64 as an alias.
13934 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13935 Define scandir64 as an alias.
13936 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13937 Define scandirat64 as an alias.
13938 * dirent/alphasort64.c (alphasort64):
13939 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13940 * dirent/versionsort64.c: Likewise.
13941 * dirent/scandir64.c: Likewise.
13942 * dirent/scandirat64.c: Likewise.
13943 * sysdeps/wordsize-64/alphasort.c: File removed.
13944 * sysdeps/wordsize-64/alphasort64.c: File removed.
13945 * sysdeps/wordsize-64/scandir.c: File removed.
13946 * sysdeps/wordsize-64/scandir64.c: File removed.
13947 * sysdeps/wordsize-64/scandirat.c: File removed.
13948 * sysdeps/wordsize-64/scandirat64.c: File removed.
13949 * sysdeps/wordsize-64/versionsort.c: File removed.
13950 * sysdeps/wordsize-64/versionsort64.c: File removed.
13951 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13952 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13953 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13954 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13955 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13956 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
13957 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
13958 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
13959
13960 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
13961 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13962 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
13963 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13964 [defined __arch64__ || defined __sparcv9]
13965 (__INO_T_MATCHES_INO64_T): New macro.
13966 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13967 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
13968 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
13969 * sysdeps/unix/sysv/linux/bits/dirent.h
13970 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
13971 (_DIRENT_MATCHES_DIRENT64): New macro.
13972
03af9520
RM
13973 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
13974 Define lockf64 as an alias.
13975 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
13976 Define fseeko64 as an alias.
13977 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
13978 Define ftello64 as an alias.
13979 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
13980 Define _IO_fgetpos64 and fgetpos64 as aliases.
13981 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
13982 Define _IO_fsetpos64 and fsetpos64 as aliases.
13983 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
13984 Conditionalize body on this.
13985 * libio/fseeko64.c: Likewise.
13986 * libio/ftello64.c: Likewise.
13987 * libio/iofgetpos64.c: Likewise.
13988 * libio/iofsetpos64.c: Likewise.
13989 * sysdeps/wordsize-64/lockf.c: File removed.
13990 * sysdeps/wordsize-64/lockf64.c: File removed.
13991 * sysdeps/wordsize-64/fseeko.c: File removed.
13992 * sysdeps/wordsize-64/fseeko64.c: File removed.
13993 * sysdeps/wordsize-64/ftello.c: File removed.
13994 * sysdeps/wordsize-64/ftello64.c: File removed.
13995 * sysdeps/wordsize-64/iofgetpos.c: File removed.
13996 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
13997 * sysdeps/wordsize-64/iofsetpos.c: File removed.
13998 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
13999 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14000 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14001 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14002 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14003 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14004 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14005 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14006 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14007 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14008 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14009
14010 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14011 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14012 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14013 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14014 [defined __arch64__ || defined __sparcv9]
14015 (__OFF_T_MATCHES_OFF64_T): New macro.
14016 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14017 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14018 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14019 (__OFF_T_MATCHES_OFF64_T): New macro.
14020
c5757acd
L
140212012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14022
14023 * stdlib/secure-getenv.c (__secure_getenv): Replace
14024 GLIBC_2_16 with GLIBC_2_17.
14025
3a31811e
L
140262012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14027
14028 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14029 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14030
faa2bccb
DM
140312012-08-03 David S. Miller <davem@davemloft.net>
14032
14033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14034
85fe1997
JM
140352012-08-03 Joseph Myers <joseph@codesourcery.com>
14036
14037 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14038 Remove.
14039 (__ASSUME_CORRECT_SI_PID): Likewise.
14040 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14041 (__ASSUME_TMPFS_NAME): Likewise.
14042 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14043 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14044 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14045 (HAVE_AUX_SECURE): Make definition unconditional.
14046 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14047 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14048
4f75b7a0
RM
140492012-08-03 Roland McGrath <roland@hack.frob.com>
14050
14051 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14052 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14053 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14054 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14055 __eloop_threshold instead of SYMLOOP_MAX.
14056
14057 * sysdeps/generic/eloop-threshold.h: New file.
14058 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14059 of MAXSYMLINKS.
14060 * elf/chroot_canon.c (chroot_canon): Likewise.
14061
7aab07e4
JM
140622012-08-03 Joseph Myers <joseph@codesourcery.com>
14063
14064 [BZ #13717]
14065 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14066 Change to 2.6.0 everywhere.
14067 * sysdeps/unix/sysv/linux/configure: Regenerated.
14068 * sysdeps/unix/sysv/linux/kernel-features.h
14069 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14070 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14071 kernel versions.
14072 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14073 (__ASSUME_FUTEX_REQUEUE): Remove.
14074 (__ASSUME_STATFS64): Define unconditionally.
14075 (__ASSUME_AT_SECURE): Likewise.
14076 (__ASSUME_CORRECT_SI_PID): Likewise.
14077 (__ASSUME_TGKILL): Define without depending on kernel version for
14078 i386.
14079 (__ASSUME_UTIMES): Likewise.
14080 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14081 kernel version.
14082 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14083 (__ASSUME_TMPFS_NAME): Likewise.
14084 * README: Update reference to Linux kernel versions.
14085
b67e9372
MP
140862012-08-02 Marek Polacek <polacek@redhat.com>
14087
1f529f7d 14088 [BZ# 14150]
b67e9372
MP
14089 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14090 libc_cv_asm_type_prefix with %.
14091 * configure: Regenerated.
d2441631
RM
14092 * include/libc-symbols.h: Remove comment about
14093 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
14094 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14095 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14096 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14097 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14098 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14099 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14100 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14101 * elf/tst-unique2mod1.c: Likewise.
14102 * elf/tst-unique1mod2.c: Likewise.
14103 * elf/tst-unique1mod1.c: Likewise.
14104 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14105 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14106 Replace ASM_TYPE_DIRECTIVE with .type.
14107 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14108 * sysdeps/i386/sysdep.h: Likewise.
14109 * sysdeps/x86_64/sysdep.h: Likewise.
14110 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
14111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14112 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 14113 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
14114 * sysdeps/powerpc/powerpc32/sysdep.h:
14115 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
14116 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14117 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14118 * sysdeps/i386/fpu/e_powf.S: Likewise.
14119 * sysdeps/i386/fpu/e_expl.S: Likewise.
14120 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14121 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14122 * sysdeps/i386/fpu/e_pow.S: Likewise.
14123 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14124 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14125 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14126 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14127 * sysdeps/i386/fpu/e_log2.S: Likewise.
14128 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14129 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14130 * sysdeps/i386/fpu/e_powl.S: Likewise.
14131 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14132 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14133 * sysdeps/i386/fpu/e_logl.S: Likewise.
14134 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14135 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14136 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14137 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14138 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14139 * sysdeps/i386/fpu/e_log.S: Likewise.
14140 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14141 * sysdeps/i386/fpu/e_logf.S: Likewise.
14142 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14143 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14144 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14145 * sysdeps/i386/fpu/e_log10.S: Likewise.
14146 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14147 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14148 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14149 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14150 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14151 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14152 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14153 * sysdeps/i386/i686/strtok.S: Likewise.
14154 * sysdeps/i386/i386-mcount.S: Likewise.
14155 * sysdeps/i386/strtok.S: Likewise.
14156 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14157 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14158 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14159 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14160 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14161 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14162 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14163 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14164 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14165 * sysdeps/x86_64/_mcount.S: Likewise.
14166 * sysdeps/x86_64/strtok.S: Likewise.
14167 * sysdeps/sh/_mcount.S: Likewise.
14168
2747bf9a
RM
141692012-08-01 Roland McGrath <roland@hack.frob.com>
14170
14171 * libio/iofopen.c: Include <fcntl.h>.
14172 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14173 (_IO_fopen64, fopen64): Define as aliases.
14174 * libio/iofopen64.c: Include <fcntl.h>.
14175 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14176 Conditionalize body on this.
14177 * sysdeps/wordsize-64/iofopen.c: File removed.
14178 * sysdeps/wordsize-64/iofopen64.c: File removed.
14179
3fb791b8
MP
141802012-08-01 Marek Polacek <polacek@redhat.com>
14181
14182 * libc/Makeconfig: Use elf in place of binfmt-subdir.
14183 Use dlfcn directly instead of a variable.
14184 (binfmt-subdir): Do not define.
14185 (dlfcn): Likewise.
14186
a9f1039f
JM
141872012-08-01 Joseph Myers <joseph@codesourcery.com>
14188
23bddc06
JM
14189 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14190 Remove all definitions.
14191 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14192 <kernel-features.h>.
14193 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14194 (miss_F_GETOWN_EX): Remove all definitions.
14195 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14196 macro definition.
14197 [!__ASSUME_FCNTL64]: Remove conditional code.
14198 [__ASSUME_FCNTL64]: Make code unconditional.
14199 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14200 <kernel-features.h>.
14201 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14202 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14203 (lockf64) [__NR_fcntl64]: Make code unconditional.
14204 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14205
a9f1039f
JM
14206 * sysdeps/unix/sysv/linux/kernel-features.h
14207 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14208 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14209 Make code unconditional.
14210 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14211 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14213 [__NR_vfork]: Make code unconditional.
14214 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14215 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14217 [__NR_vfork]: Make code unconditional.
14218 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14219 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14220
09c0ee5f
RM
142212012-08-01 Roland McGrath <roland@hack.frob.com>
14222
48aec5b9
RM
14223 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14224 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14225
cd97c966
RM
14226 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14227 Define mkstemp64 as an alias.
3f55550c
RM
14228 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14229 Define mkstemps64 as an alias.
cd97c966
RM
14230 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14231 Define mkostemp64 as an alias.
b8625cfc
RM
14232 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14233 Define mkostemps64 as an alias.
cd97c966
RM
14234 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14235 Conditionalize body on this.
14236 * misc/mkostemp64.c: Likewise.
b8625cfc 14237 * misc/mkostemps64.c: Likewise.
3f55550c 14238 * misc/mkstemps64.c: Likewise.
cd97c966
RM
14239 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14240 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14241 * sysdeps/wordsize-64/mkostemp.c: File removed.
14242 * sysdeps/wordsize-64/mkstemp.c: File removed.
14243 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14244 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14245 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14246 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14247
09c0ee5f
RM
14248 [BZ #14138]
14249 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14250 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14251 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14252 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14253
14254 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14255 compat_symbol macros from <shlib-compat.h> rather than the underlying
14256 default_symbol_version and symbol_version macros, so that DEFAULT
14257 lines in shlib-versions are respected.
14258 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14259
7e66ee51
FW
142602012-08-01 Florian Weimer <fweimer@redhat.com>
14261
14262 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14263 Declare with warn_unused_result.
14264 (setgid, setregid, setegid, setresgid): Likewise.
14265 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14266 Likewise.
14267 * WUR-REPORT: Remove set*id functions.
14268
d2a54255
PT
142692012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14270
14271 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14272
7ecdb005
RM
142732012-07-31 Roland McGrath <roland@hack.frob.com>
14274
b4180a5e 14275 [BZ #10191]
789bd351
RM
14276 * include/sys/socket.h (__libc_accept, __libc_accept4):
14277 Add attribute_hidden.
14278 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14279
40ce302d
RM
14280 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14281 use of PTR_MANGLE.
14282 * inet/getnetgrent_r.c (setup): Likewise.
14283
7ecdb005
RM
14284 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14285
e2eabb2c
DM
142862012-07-31 David S. Miller <davem@davemloft.net>
14287
14288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14289
d0419dbf
JM
142902012-07-31 Joseph Myers <joseph@codesourcery.com>
14291
14292 [BZ #13629]
14293 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14294 value between 1.0 and 2.0 and smaller part has absolute value less
14295 than 1.0.
14296 * math/s_clog10.c (__clog10): Likewise.
14297 * math/s_clog10f.c (__clog10f): Likewise.
14298 * math/s_clog10l.c (__clog10l): Likewise.
14299 * math/s_clogf.c (__clogf): Likewise.
14300 * math/s_clogl.c (__clogl): Likewise.
14301 * math/libm-test.inc (clog_test): Add more tests.
14302 (clog10_test): Likewise.
14303 * sysdeps/i386/fpu/libm-test-ulps: Update.
14304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14305
2bc13872
FW
143062012-07-31 Florian Weimer <fweimer@redhat.com>
14307
14308 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14309 Exit with zero in case no suitable GID is found, and write a
14310 message to standard error.
14311
bea9b193
RM
143122012-07-30 Roland McGrath <roland@hack.frob.com>
14313
14314 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14315 rather than to 1.
14316 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14317 (MAXPATHLEN): Removed.
14318 (NOGROUP, NODEV): New macros.
14319 (setbit, clrbit, isset, isclr): New macros.
14320 (howmany, roundup, powerof2): New macros.
14321 (DEV_BSIZE): New macro.
14322
14323 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14324 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14325
14326 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14327 definition on [!__NO_LONG_DOUBLE_MATH].
14328
14329 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14330 PTR_MANGLE and PTR_DEMANGLE.
14331
14332 * socket/accept4.c (accept4): Rename to __libc_accept4.
14333 Define accept4 as a weak alias.
14334
14335 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14336 on [_DIRENT_HAVE_D_TYPE].
14337 * io/ftw.c (ftw_dir): Likewise.
14338
14339 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14340
14341 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14342
14343 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14344 Use the BSD numbers rather than the arbitrary ones we had.
14345 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14346 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14347 (SIGXCPU, SIGXFSZ): New macros.
14348 (_NSIG): Now 32.
14349
14350 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14351 initializer on [_LIBC_REENTRANT].
14352
14353 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14354 definitions inside [_POSIX_MAPPED_FILES].
14355
14356 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14357
14358 * dirent/opendir.c: Include <fcntl.h>.
14359
14360 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14361 (__libc_getspecific): Likewise.
14362 (__libc_key_create): Likewise.
14363
14364 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14365 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14366 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14367 (tmpfile64): Define as alias.
14368 * sysdeps/wordsize-64/tmpfile.c: File removed.
14369 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14370 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14371 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14372
14373 * stdio-common/vfscanf.c: Include <stdbool.h>.
14374 * nss/makedb.c: Likewise.
14375 * stdio-common/_i18n_number.h: Likewise.
14376 * argp/argp-help.c: Likewise.
14377 * posix/wordexp.c: Likewise.
14378 * sysdeps/posix/spawni.c: Likewise.
14379 * nss/nss_files/files-initgroups.c: Likewise.
14380 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14381 * nss/nss_files/files-initgroups.c: Likewise.
14382 * nss/nss_db/db-netgrp.c: Likewise.
14383 * nss/nss_db/db-initgroups.c: Likewise.
14384 * io/fchmodat.c: Include <sys/stat.h>.
14385
14386 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14387 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14388
14389 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14390 [HAVE_MMAP].
14391
14392 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14393 Add multiple inclusion protection.
14394
e5abc686
DM
143952012-07-27 David S. Miller <davem@davemloft.net>
14396
14397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14398
815e6fa3
GB
143992012-07-27 Gary Benson <gbenson@redhat.com>
14400
14401 [BZ #14298]
14402 * elf/rtld.c: Include <stap-probe.h>.
14403 (dl_main): Added static probes "init_start" and "init_complete".
14404 * elf/dl-load.c: Include <stap-probe.h>.
14405 (lose): Take new parameter "nsid".
14406 Added static probe "map_failed".
14407 (_dl_map_object_from_fd): Pass namespace id to lose.
14408 Added static probe "map_start".
14409 (open_verify): Pass namespace id to lose.
14410 * elf/dl-open.c: Include <stap-probe.h>.
14411 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14412 and "reloc_complete".
14413 * elf/dl-close.c: Include <stap-probe.h>.
14414 (_dl_close_worker): Added static probes "unmap_start" and
14415 "unmap_complete".
14416 * elf/rtld-debugger-interface.txt: New file documenting the above.
14417
9f98c16c
RM
144182012-07-26 Roland McGrath <roland@hack.frob.com>
14419
14420 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14421 rather than a string variable.
14422 * sunrpc/rpc_main.c (h_output): Likewise.
14423 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14424
f3c22df3
PT
144252012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14426
14427 * inet/check_native.c: New file.
14428
3129cfc6
JM
144292012-07-26 Joseph Myers <joseph@codesourcery.com>
14430
da865e95
JM
14431 [BZ #13629]
14432 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14433 if larger part has absolute value 1.0.
14434 * math/s_clog10.c (__clog10): Likewise.
14435 * math/s_clog10f.c (__clog10f): Likewise.
14436 * math/s_clog10l.c (__clog10l): Likewise.
14437 * math/s_clogf.c (__clogf): Likewise.
14438 * math/s_clogl.c (__clogl): Likewise.
14439 * math/libm-test.inc (clog_test): Add more tests.
14440 (clog10_test): Likewise.
14441 * sysdeps/i386/fpu/libm-test-ulps: Update.
14442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14443
3129cfc6
JM
14444 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14445 (pltexit): Likewise.
14446 (La_regs): Likewise.
14447 (La_retval): Likewise.
14448 (int_retval): Likewise.
14449 Update #error for removed macros to refer only to definitions in
14450 tst-audit.h.
14451 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14452 macro.
14453 (pltexit): Likewise.
14454 (La_regs): Likewise.
14455 (La_retval): Likewise.
14456 (int_retval): Likewise.
14457 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14458 macro.
14459 (pltexit): Likewise.
14460 (La_regs): Likewise.
14461 (La_retval): Likewise.
14462 (int_retval): Likewise.
14463 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14464 macro.
14465 (pltexit): Likewise.
14466 (La_regs): Likewise.
14467 (La_retval): Likewise.
14468 (int_retval): Likewise.
14469 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14470 macro.
14471 (pltexit): Likewise.
14472 (La_regs): Likewise.
14473 (La_retval): Likewise.
14474 (int_retval): Likewise.
14475 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14476 macro.
14477 (pltexit): Likewise.
14478 (La_regs): Likewise.
14479 (La_retval): Likewise.
14480 (int_retval): Likewise.
14481 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14482 macro.
14483 (pltexit): Likewise.
14484 (La_regs): Likewise.
14485 (La_retval): Likewise.
14486 (int_retval): Likewise.
14487 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14488 macro definitions in tst-audit.h.
14489 * sysdeps/i386/tst-audit.h: New file.
14490 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14491 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14492 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14493 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14494 * sysdeps/sh/tst-audit.h: Likewise.
14495 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14496 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14497 * sysdeps/x86_64/tst-audit.h: Likewise.
14498
bfc07087
AJ
144992012-07-26 Andreas Jaeger <aj@suse.de>
14500
b1b2aaf8
AJ
14501 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14502 ptrace.
14503
14504 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14505 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14506 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14507 PTRACE_O_MASK.
14508 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14509 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14510 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14511
bfc07087
AJ
14512 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14513 value.
14514
14515 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14516 _sigsys.
14517 (si_call_addr, si_syscall, si_arch): Define new macro.
14518 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14519 _sigsys.
14520 (si_call_addr, si_syscall, si_arch): Define new marcro.
14521 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14522 _sigsys.
14523 (si_call_addr, si_syscall, si_arch): Define new macro.
14524 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14525 _sigsys.
14526 (si_call_addr, si_syscall, si_arch): Define new macro.
14527
89b4b02f
JM
145282012-07-25 Joseph Myers <joseph@codesourcery.com>
14529
14530 [BZ #13717]
14531 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14532 Change to 2.4.21 where previously 2.4.1.
14533 * sysdeps/unix/sysv/linux/configure: Regenerated.
14534 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14535 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14536 Linux kernel version.
14537 (__ASSUME_STD_AUXV): Remove.
14538 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14539 kernel version.
14540 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14541 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14542 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14543 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14544 (__ASSUME_NETLINK_SUPPORT): Likewise.
14545 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14546 (__no_netlink_support): Remove conditional definition.
14547 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14548 Remove.
14549 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14550 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14551 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14552 (if_nameindex_ioctl): Remove.
14553 (if_nameindex_netlink): Do not handle __no_netlink_support.
14554 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14555 code.
14556 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14557 Remove conditional code.
14558 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14559 code.
14560 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14561 unconditional.
14562 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14563 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14564 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14565 Remove.
14566 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14567 [!__ASSUME_STD_AUXV]: Remove conditional code.
14568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14569 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14570 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14572 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14573 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14574 code.
14575 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14577 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14578 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14579 conditional code.
14580 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14582 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14583 code.
14584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14585 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14586 conditional code.
14587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14588 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14589 code unconditional.
14590 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14591 conditional code.
14592 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14593 unconditional.
14594 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14595 conditional code.
14596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14597 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14598 unconditional.
14599 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14600 conditional code.
14601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14602 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14603 code unconditional.
14604 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14605 conditional code.
14606 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14607 unconditional.
14608 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14609 conditional code.
14610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14611 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14612 code unconditional.
14613 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14614 conditional code.
14615 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14616 unconditional.
14617 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14618 conditional code.
14619
842a39cd
AS
146202012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14621
14622 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14623 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14624 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14625 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14626 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14627 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14628 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14629 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14630 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14631 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14632 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14633 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14634 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14635 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14636 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14637 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14638 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14639 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14640 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14641 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14642 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14643 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14644 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14645
84b3fd84
FW
146462012-07-25 Florian Weimer <fweimer@redhat.com>
14647
14648 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
14649 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14650 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14651 Introduce __libc_secure_getenv.
0c7936d5
FW
14652 * stdlib/Versions (2.17): Add secure_getenv
14653 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14654 * stdlib/secure-getenv.c: Rename __secure_getenv to
14655 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14656 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
14657 * stdlib/tst-secure-getenv.c: New.
14658 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
14659 * manual/startup.texi (Environment Access): Document
14660 secure_getenv.
84b3fd84
FW
14661 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14662 __libc_secure_getenv.
14663 * inet/ruserpass.c (ruserpass): Likewise.
14664 * malloc/mtrace.c (mtrace): Likewise.
14665 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 14666 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
14667 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14668 * sysdeps/posix/tempname.c: Likewise. Evaluate
14669 HAVE_SECURE_GETENV.
14670 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 14671 __secure_getenv to __libc_secure_getenv.
84b3fd84 14672 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
14673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14674 Likewise.
14675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14676 Likewise.
14677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14679 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14683 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 14684
56e49b71
JM
146852012-07-25 Joseph Myers <joseph@codesourcery.com>
14686
14687 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14688 (struct La_i86_retval): Likewise.
14689 (struct La_x86_64_regs): Likewise.
14690 (struct La_x86_64_retval): Likewise.
14691 (struct La_x32_regs): Likewise.
14692 (struct La_x32_retval): Likewise.
14693 (struct La_ppc32_regs): Likewise.
14694 (struct La_ppc32_retval): Likewise.
14695 (struct La_ppc64_regs): Likewise.
14696 (struct La_ppc64_retval): Likewise.
14697 (struct La_sh_regs): Likewise.
14698 (struct La_sh_retval): Likewise.
14699 (struct La_s390_32_regs): Likewise.
14700 (struct La_s390_32_retval): Likewise.
14701 (struct La_s390_64_regs): Likewise.
14702 (struct La_s390_64_retval): Likewise.
14703 (struct La_sparc32_regs): Likewise.
14704 (struct La_sparc32_retval): Likewise.
14705 (struct La_sparc64_regs): Likewise.
14706 (struct La_sparc64_retval): Likewise.
14707 (struct audit_ifaces): Remove architecture-specific pltenter and
14708 pltexit members.
14709 * sysdeps/i386/ldsodefs.h: New file.
14710 * sysdeps/powerpc/ldsodefs.h: Likewise.
14711 * sysdeps/s390/ldsodefs.h: Likewise.
14712 * sysdeps/sh/ldsodefs.h: Likewise.
14713 * sysdeps/sparc/ldsodefs.h: Likewise.
14714 * sysdeps/x86_64/ldsodefs.h: Likewise.
14715
354691b7
MP
147162012-07-25 Marek Polacek <polacek@redhat.com>
14717
14718 [BZ #6808]
14719 * math/libm-test.inc (yn_test): Add another test.
14720 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14721 to ERANGE when the result is +-Inf.
14722 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14723 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14724 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14725 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14726
bf9e2071
JM
147272012-07-24 Joseph Myers <joseph@codesourcery.com>
14728
14729 * conform/data/time.h-data (NULL): Use macro-constant. Require
14730 equal to 0.
14731 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14732 clock_t.
14733 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14734
57633811
TS
147352012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14736
14737 * configure.in <sysdeps resolving>: Correct printing
14738 Implies_before.
14739 * configure: Regenerate.
14740
c23c33b0
TS
147412012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14742
14743 * math/w_ilogb.c: Include <limits.h>.
14744 * math/w_ilogbl.c: Likewise.
14745
b5982523
JM
147462012-07-20 Joseph Myers <joseph@codesourcery.com>
14747
14748 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14749 va_copy. Document allowing for unavailable va_copy only as
14750 pre-C99 compatibility.
14751 * manual/string.texi (Copying and Concatenation): Use va_copy
14752 instead of __va_copy in concat example.
14753
ac4ea442
PT
147542012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14755
14756 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14757 (__sendto): Use create_address_port. Initialize APORT and deallocate
14758 it if not null.
14759
f98eafbd
PT
14760 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14761 with O_NOLINK passed to __file_name_lookup.
14762
898c7aab
PT
14763 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14764 with O_NOLINK passed to __file_name_lookup.
14765
0ced335a
PT
14766 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14767 negative N or less than NGIDS.
14768
b3404dbd
PT
14769 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14770 type to string_t. Set ERANGE as errno and return it if NAME is not big
14771 enough. Use memcpy instead of strncpy.
14772
0f48659e
JM
147732012-07-20 Joseph Myers <joseph@codesourcery.com>
14774
14775 * elf/Makefile (check-data): Remove.
14776 (localplt.data): New vpath directive.
14777 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14778 instead of $(check-data).
14779 * scripts/data/localplt-generic.data: Move to ...
14780 * sysdeps/generic/localplt.data: ... here.
14781 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14782 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14783 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14785 ... here.
14786 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14788 ... here.
14789 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14791 ... here.
14792 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14794 ... here.
14795 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14796 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14797 ... here.
14798 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14800 ... here.
14801
d37cbdaa
AZ
148022012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14803
14804 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14805 PPC32 and PPC64 files.
14806 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14807 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14808
46f85fc2
AK
148092012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14810
14811 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14812 __makecontext_ret to ...
14813 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14814 ... here and call exit if uc_link is NULL. New file.
14815 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14816 __makecontext_ret.S.
14817 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14818 __makecontext_ret to ...
14819 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14820 ... here and call exit if uc_link is NULL. New file.
14821 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14822 __makecontext_ret.S.
14823
08f43f9b
AK
148242012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14825
14826 * elf/elf.h (R_390_IRELATIVE): New definition.
14827 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14828 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
14829 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14830 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14831 (elf_machine_lazy_rel): Likewise.
14832 * sysdeps/s390/dl-irel.h: New file.
14833 * sysdeps/s390/s390-64/memcpy.S: New asm code.
14834 * sysdeps/s390/s390-64/memset.S: New asm code.
14835 * sysdeps/s390/s390-64/memcmp.S: New asm code.
14836 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14837 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14838 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14839 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14840 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14841 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14842 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14843 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14844 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14845 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14846 * sysdeps/s390/s390-32/memcpy.S: New asm code.
14847 * sysdeps/s390/s390-32/memset.S: New asm code.
14848 * sysdeps/s390/s390-32/memcmp.S: New asm code.
14849
3b05db33
MP
148502012-07-17 Marek Polacek <polacek@redhat.com>
14851
14852 [BZ #14349]
14853 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14854 * sysdeps/s390/s390-64/configure.in: Likewise.
14855 * sysdeps/sparc/configure.in: Likewise.
14856 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14857 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14858 * sysdeps/i386/configure.in: Likewise.
14859 * sysdeps/x86_64/configure.in: Likewise.
14860 * sysdeps/sh/configure.in: Likewise.
14861 * sysdeps/s390/s390-32/configure: Regenerated.
14862 * sysdeps/s390/s390-64/configure: Likewise.
14863 * sysdeps/x86_64/configure: Likewise.
14864 * sysdeps/sh/configure: Likewise.
14865 * sysdeps/powerpc/powerpc64/configure: Likewise.
14866 * sysdeps/powerpc/powerpc32/configure: Likewise.
14867 * sysdeps/sparc/configure: Likwise.
14868 * sysdeps/i386/configure: Likewise.
14869
a66877c6
MP
14870 * elf/dl-open.c: Comment fixes.
14871
cfc82fd8
JM
148722012-07-17 Joseph Myers <joseph@codesourcery.com>
14873
bd29910a
JM
14874 * Makefile [CXX] (check-data): Remove.
14875 [CXX] (c++-types.data): New vpath directive.
14876 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14877 vpath. Do not allow for C++ type data being missing.
14878 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14879 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14880 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14881 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14882 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14883 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14884 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14886 ... here.
14887 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14889 ... here.
14890 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14891 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14892 ... here.
14893 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14894 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14895 ... here.
14896 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14897 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14898 ... here.
14899 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14900 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14901 ... here.
14902 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14904 ... here.
14905 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14906 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14907
cfc82fd8
JM
14908 * elf/tls-macros.h (TLS_LE): Move architecture-specific
14909 definitions to architecture-specific files.
14910 (TLS_IE): Likewise.
14911 (TLS_LD): Likewise.
14912 (TLS_GD): Likewise.
14913 * sysdeps/i386/tls-macros.h: New file.
14914 * sysdeps/powerpc/tls-macros.h: Likewise.
14915 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14916 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14917 * sysdeps/sh/tls-macros.h: Likewise.
14918 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14919 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14920 * sysdeps/x86_64/tls-macros.h: Likewise.
14921
f7db3170
TS
149222012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14923
07cbfc23
TS
14924 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14925 zero value for regular exit case.
14926
f7db3170
TS
14927 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14928 (__start_context): Preserve zero value for regular exit case.
14929
dc97c227
TS
149302012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14931 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14932
14933 * manual/setjmp.texi (setcontext): Clarify normal process
14934 termination when uc_link is the null pointer.
14935 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14936 exit call.
14937
d0cd7d02
AS
149382012-07-16 Andreas Schwab <schwab@linux-m68k.org>
14939
14940 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14941 preprocessor. Test for each exception mask separately.
14942
dd318934
AJ
149432012-07-16 Andreas Jaeger <aj@suse.de>
14944
14945 * po/ru.po: Update from translation team.
14946
8048311a
JM
149472012-07-15 Joseph Myers <joseph@codesourcery.com>
14948
14949 * conform/data/string.h-data (NULL): Use macro-constant. Require
14950 equal to 0.
14951 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14952 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14953 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14954 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14955 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14956
b637d46e
AJ
149572012-07-13 Andreas Jaeger <aj@suse.de>
14958
14959 * po/fr.po: Update from translation team.
14960
541428fe
MP
149612012-07-12 Marek Polacek <polacek@redhat.com>
14962
14963 [BZ #14173]
14964 * math/libm-test.inc (yn_test): Add test for BZ #14173.
14965 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
14966 loop condition.
14967
ec332e94
JM
149682012-07-12 Joseph Myers <joseph@codesourcery.com>
14969
14970 [BZ #13717]
14971 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14972 Change to 2.4.1 where previously 2.4.0.
14973 * sysdeps/unix/sysv/linux/configure: Regenerated.
14974 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
14975 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
14976 version.
14977 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
14978 (__ASSUME_AT_CLKTCK): Remove.
14979 (__ASSUME_AT_PAGESIZE): Likewise.
14980 (__ASSUME_AT_XID): Likewise.
14981 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
14982 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
14983 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
14984 unconditionally.
14985 (HAVE_AUX_PAGESIZE): Likewise.
14986 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
14987 [__ASSUME_AT_CLKTCK]: Make code unconditional.
14988 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
14989
7b6e99be
JB
149902012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
14991
14992 [BZ #14307]
14993 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
14994 the temporary buffer used to invoke __gethostbyname2_r,
14995 __gethostbyaddr_r and gethostbyname4_r to make room for struct
14996 host_data / struct gaih_addrtuple.
14997 * resolv/nss_dns/dns-host.c (global scope): Move definition of
14998 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
14999 header file nss/nsswitch.h.
15000 * nss/nsswitch.h (global scope): Add definition of implementation
15001 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15002 resolv/nss_dns/dns-host.c).
15003
608404eb
AJ
150042012-07-11 Andreas Jaeger <aj@suse.de>
15005
15006 * po/fr.po: Update from translation team.
15007
71220aca
AJ
15008 * po/sv.po: Update from translation team
15009 * po/fr.po: Another update from translation team.
15010
28cfe843
AZ
150112012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15012
15013 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15014 for subnormals or multiply small sinh result by itself.
15015 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15017
6b90f981
DM
150182012-07-11 David S. Miller <davem@davemloft.net>
15019
15020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15021
c6825772
AS
150222012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15023
15024 [BZ #14347]
15025 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15026 (INTERNAL_MARK): Shift it here.
15027
7b8e0d49
MP
150282012-07-10 Marek Polacek <polacek@redhat.com>
15029
15030 [BZ #14151]
15031 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15032 libc_cv_asm_global_directive with .globl.
15033 * configure: Regenerated.
15034 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15035 with .globl.
15036 * sysdeps/i386/configure: Regenerated.
15037 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15038 with .globl.
15039 * sysdeps/x86_64/configure: Regenerated.
15040 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15041 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15042 * elf/tst-unique2mod2.c: Likewise.
15043 * elf/tst-unique2mod1.c: Likewise.
15044 * elf/tst-unique1mod2.c: Likewise.
15045 * elf/tst-unique1mod1.c: Likewise.
15046 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15047 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15048 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15049 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15050 * sysdeps/mach/sysdep.h: Likewise.
15051 * sysdeps/i386/sysdep.h: Likewise.
15052 * sysdeps/i386/i386-mcount.S: Likewise.
15053 * sysdeps/x86_64/_mcount.S: Likewise.
15054 * sysdeps/x86_64/sysdep.h: Likewise.
15055 * sysdeps/sh/_mcount.S: Likewise.
15056 * sysdeps/sh/sysdep.h: Likewise.
15057 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15058 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15059 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15060 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15061 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15062 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15063 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15064 * locale/localeinfo.h: Likewise.
15065 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15066 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15067
6c55cda3
RM
150682012-07-09 Roland McGrath <roland@hack.frob.com>
15069
15070 [BZ #14336]
15071 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15072 system".
15073 * manual/message.texi (The Uniforum approach): Likewise.
15074 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15075 (glibc iconv Implementation): Likewise.
15076
638a572e
JM
150772012-07-09 Joseph Myers <joseph@codesourcery.com>
15078
15079 [BZ #14337]
15080 * math/s_clog.c (__clog): Avoid scaling a value down where that
15081 could result in underflow.
15082 * math/s_clog10.c (__clog10): Likewise.
15083 * math/s_clog10f.c (__clog10f): Likewise.
15084 * math/s_clog10l.c (__clog10l): Likewise.
15085 * math/s_clogf.c (__clogf): Likewise.
15086 * math/s_clogl.c (__clogl): Likewise.
15087 * math/libm-test.inc (clog_test): Add more tests.
15088 (clog10_test): Likewise.
15089 * sysdeps/i386/fpu/libm-test-ulps: Update.
15090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15091
261f4859
AS
150922012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15093
0abaf3e4
AS
15094 [BZ #14283]
15095 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15096 by 7 not 8 to examine high bit of fractional part.
15097
261f4859
AS
15098 [BZ #14042]
15099 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15100 for call to __mcount_internal.
15101 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15102 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15103 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15104
f17ac40d
JM
151052012-07-06 Joseph Myers <joseph@codesourcery.com>
15106
9ad63c23
JM
15107 [BZ #14154]
15108 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15109 approximation for values within 0x1p-13f of an odd multiple of
15110 pi/4.
15111 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15112 exception. Add more tests.
15113 * sysdeps/i386/fpu/libm-test-ulps: Update.
15114
f17ac40d
JM
15115 [BZ #6778]
15116 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15117 inputs and return -1 for them. Do not check for +Inf in case not
15118 reachable for +Inf.
15119 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15120 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15121 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15122 and return -1 for them. Do not check for +Inf in case not
15123 reachable for +Inf.
15124 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15125 define.
15126 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15127 and return -1 for them. Do not check for +Inf in case not
15128 reachable for +Inf.
15129 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15130 spurious underflow.
15131 * sysdeps/i386/fpu/libm-test-ulps: Update.
15132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15133
fb21f89b
MF
151342012-07-06 Mike Frysinger <vapier@gentoo.org>
15135
15136 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15137
cdfe2c5e
JM
151382012-07-05 Joseph Myers <joseph@codesourcery.com>
15139
15140 [BZ #14157]
15141 [BZ #14331]
15142 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15143 could result in spurious underflow. Scale down values above
15144 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15145 * math/s_csqrtf.c (__csqrtf): Likewise.
15146 * math/s_csqrtl.c (__csqrtl): Likewise.
15147 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15148 spurious underflow.
15149 * sysdeps/i386/fpu/libm-test-ulps: Update.
15150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15151
70d35b67
AS
151522012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15153
704bc459
AS
15154 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15155 xopen-msg.sed.
15156 * catgets/xopen-msg.awk: New file.
15157 * catgets/xopen-msg.sed: Removed.
15158
70d35b67
AS
15159 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15160 po2text.sed.
15161 * intl/po2test.awk: New file.
15162 * intl/po2test.sed: Removed.
15163
ca61cf32
JM
151642012-07-04 Joseph Myers <joseph@codesourcery.com>
15165
15166 [BZ #14328]
15167 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15168 or multiply small sinh result by itself.
15169 * math/s_ctanf.c (__ctanf): Likewise.
15170 * math/s_ctanh.c (__ctanh): Likewise.
15171 * math/s_ctanhf.c (__ctanhf): Likewise.
15172 * math/s_ctanhl.c (__ctanhl): Likewise.
15173 * math/s_ctanl.c (__ctanl): Likewise.
15174 * math/libm-test.inc (ctan_test_tonearest): New function.
15175 (ctan_test_towardzero): Likewise.
15176 (ctan_test_downward): Likewise.
15177 (ctan_test_upward): Likewise.
15178 (ctanh_test_tonearest): Likewise.
15179 (ctanh_test_towardzero): Likewise.
15180 (ctanh_test_downward): Likewise.
15181 (ctanh_test_upward): Likewise.
15182 (main): Call these new functions.
15183 * sysdeps/i386/fpu/libm-test-ulps: Update.
15184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15185
ca48a46a
MF
151862012-07-03 Mike Frysinger <vapier@gentoo.org>
15187
15188 * .gitignore: Delete /ports entry.
15189
9d63d37d
AJ
151902012-07-03 Andreas Jaeger <aj@suse.de>
15191
15192 * po/bg.po: Update from translation team.
15193 * po/cs.po: Likewise.
15194 * po/de.po: Likewise.
15195 * po/hr.po: Likewise.
15196 * po/nl.pl: Likewise.
15197 * po/pl.po: Likewise.
15198 * po/vi.po: Likewise.
15199
370ca3d2
JM
152002012-07-03 Joseph Myers <joseph@codesourcery.com>
15201
95f5a9a8
JM
15202 * Makeconfig [!+link] (+link-before-libc): New variable.
15203 [!+link] (+link-after-libc): Likewise.
15204 [!+link] (+link-tests): Likewise.
15205 [!+link] (+link): Define in terms of $(+link-before-libc) and
15206 $(+link-after-libc).
15207 [!+link-static] (+link-static-before-libc): New variable.
15208 [!+link-static] (+link-static-after-libc): Likewise.
15209 [!+link-static] (+link-static-tests): Likewise.
15210 [!+link-static] (+link-static): Define in terms of
15211 $(+link-static-before-libc) and $(+link-static-after-libc).
15212 [build-shared] (link-libc-before-gnulib): New variable.
15213 [build-shared] (link-libc-tests): Likewise.
15214 [build-shared] (link-libc): Define in terms of
15215 $(link-libc-before-gnulib).
15216 [!build-shared] (link-libc-tests): New variable.
15217 (link-libc-static-tests): New variable.
15218 [!gnulib] (gnulib-arch): New variable.
15219 [!gnulib] (gnulib-tests): Likewise.
15220 [!gnulib] (static-gnulib-arch): Likewise.
15221 [!gnulib] (static-gnulib-tests): Likewise.
15222 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15223 Define with "=" instead of ":=".
15224 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15225 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15226 * Rules (binaries-all-notests): New variable.
15227 (binaries-all-tests): Likewise.
15228 (binaries-static-notests): Likewise.
15229 (binaries-static-tests): Likewise.
15230 (binaries-all): Define using $(binaries-all-notests) and
15231 $(binaries-all-tests).
15232 (binaries-static): Define using $(binaries-static-notests) and
15233 $(binaries-static-tests).
15234 (binaries-shared-tests): New variable.
15235 (binaries-shared-notests): Likewise.
15236 (binaries-shared): Remove variable.
15237 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15238 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15239 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15240 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15241 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15242 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15243 * elf/Makefile (sln-modules): New variable.
15244 (extra-objs): Add $(sln-modules:=.o).
15245 (ldconfig-modules): Add static-stubs.
15246 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15247 * elf/static-stubs.c: New file.
15248
7a845b2c
JM
15249 [BZ #14283]
15250 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15251 by 7 not 8 to examine high bit of fractional part. Use volatile
15252 variables when splitting into final array of floats if
15253 __FLT_EVAL_METHOD__ != 0.
15254 * math/libm-test.inc (cos_test): Add another test.
15255 (sin_test): Likewise.
15256 * sysdeps/i386/fpu/libm-test-ulps: Update.
15257
e2283f38
JM
15258 [BZ #14273]
15259 * math/libm-test.inc (cosh_test): Add more tests.
15260
370ca3d2
JM
15261 * version.h (RELEASE): Set to "development".
15262 (VERSION): Set to "2.16.90".
15263
ee9247c3
CD
152642012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15265
15266 * NEWS: Update copyright. Remove last-updated date.
15267 Mention math library bug fixes and timezone data changes.
15268 * README: Mention GNU/Hurd, x32, and HPPA support status.
15269
4648c381
TS
152702012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15271
15272 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15273
aac78a43
AJ
152742012-06-27 Andreas Jaeger <aj@suse.de>
15275
15276 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15277
ed3dbfad
AJ
152782012-06-25 Andreas Jaeger <aj@suse.de>
15279
15280 * sysdeps/s390/fpu/libm-test-ulps: Update.
15281
4d0ee855
AS
152822012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15283 Thomas Schwinge <thomas@codesourcery.com>
15284
15285 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15286 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15287 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15288 fanotify_mark.
15289
af1bce34
TS
152902012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15291
a9fa33ba
TS
15292 * sysdeps/mach/start.c: Remove file.
15293 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15294 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15295 * sysdeps/sh/init-first.c: Likewise.
15296
58f902b8
TS
15297 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15298 registers for frame unwinding purposes, add CFI directives.
15299 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15300 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15301 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15302 Likewise.
15303
1518f58b
TS
15304 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15305 __fortify_fail returning.
15306 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15307
db9b5059
TS
15308 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15309 sysdeps/sh/____longjmp_chk.S.
15310 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15311 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15312 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15313 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15314
967705fe
TS
15315 * sysdeps/sh/abort-instr.h: New file.
15316 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15317 process in case exit returns.
15318
a9def8c4
TS
15319 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15320 initialize the GOT register before use.
15321
2a649725
TS
15322 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15323 calculation of ARGC > 4.
15324
af1bce34
TS
15325 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15326 meaningful names to some local labels.
15327
d230f50a
KK
153282012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15329 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15330
15331 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15332 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15333 (__arch_compare_and_exchange_val_16_acq): Likewise.
15334 (__arch_compare_and_exchange_val_32_acq): Likewise.
15335 (atomic_exchange_and_add): Fix gUSA sequence.
15336 (atomic_add): Likewise.
15337 (atomic_add_negative): Likewise.
15338 (atomic_add_zero): Likewise.
15339 (atomic_bit_test_set): Likewise.
15340
0479b305
AS
153412012-06-22 Andreas Schwab <schwab@redhat.com>
15342
15343 [BZ #13579]
15344 * include/link.h (struct link_map): Add l_free_initfini.
15345 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15346 l_initfini.
15347 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15348 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15349 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15350 set.
15351
0e3933b9
CD
153522012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15353
15354 * configure.in: Use AC_LANG_SOURCE.
15355 * configure: Regenerate.
15356
4248b1b1
RM
153572012-06-22 Roland McGrath <roland@hack.frob.com>
15358
15359 * configure.in (libc_cv_localstatedir): New substituted variable.
15360 * configure: Regenerated.
15361 * config.make.in (localstatedir): New variable, substituted from
15362 libc_cv_localstatedir.
15363 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15364 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15365 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15366 * sysdeps/gnu/configure: Regenerated.
15367
006dd861
JL
153682012-06-21 Jeff Law <law@redhat.com>
15369
15370 [BZ #14277]
15371 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15372 free. Simplify list management for _LIBC case.
15373
79662d42
JM
153742012-06-21 Joseph Myers <joseph@codesourcery.com>
15375
b7abb4bf
JM
15376 [BZ #14273]
15377 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15378 Clear sign bit of 64-bit integer value before comparing against
15379 overflow value.
15380
79662d42
JM
15381 * sysdeps/mach/configure: Regenerated.
15382
1f150908
L
153832012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15384
15385 [BZ #14278]
15386 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15387
28363bbf
JL
153882012-06-21 Jeff Law <law@redhat.com>
15389
15390 [BZ #13882]
15391 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15392 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 15393 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
15394 * elf/dl-open.c (dl_open_worker): Likewise.
15395
09615db4
CD
153962012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15397
15398 * scripts/list-sources.sh: Scan PORTS for translations.
15399 * po/libc.pot: Regenerated.
15400
2174c6dd
AJ
154012012-06-21 Andreas Jaeger <aj@suse.de>
15402
15403 [BZ #12194]
15404 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15405 warning.
15406 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15407 * bits/byteswap-16.h (__bswap_16): Likewise.
15408 * bits/byteswap.h (__bswap_constant_16): Likewise.
15409
3ee947b1
L
154102012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15411
15412 [BZ #14117]
a2f34833
L
15413 * sysdeps/i386/fpu_control.h: Removed.
15414 * sysdeps/x86_64/fpu_control.h: Moved to ...
15415 * sysdeps/x86/fpu_control.h: Here.
15416
3ee947b1
L
15417 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15418 (_FPU_SETCW): Likewise.
15419
ed1825f8
L
154202012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15421
25f1282a
L
15422 [BZ #14117]
15423 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15424 * sysdeps/x86/fpu/bits/mathinline.h: This.
15425 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15426
ed1825f8
L
15427 [BZ #14050]
15428 [BZ #14117]
15429 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15430 functions if __x86_64__ is defined.
15431
36d54b74
CLT
154322012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15433
15434 * string/endian.h: Add !__ASSEMBLER__ condition for including
15435 conversion interfaces.
15436
10285c21
JM
154372012-06-15 Joseph Myers <joseph@codesourcery.com>
15438
15439 [BZ #14241]
15440 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15441 of ABS(x) in calculating zero to negative powers other than odd
15442 integers.
15443 * math/libm-test.inc (pow_test): Add more tests.
15444
06c5abbd
AJ
154452012-06-15 Andreas Jaeger <aj@suse.de>
15446
15447 * manual/contrib.texi (Contributors): Update entry of Liubov
15448 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15449 Machado Filho.
15450
a3aeac40
CH
154512012-06-15 Cyril Hrubis <metan@ucw.cz>
15452
15453 * string/string.h: Add __wur to GNU version of strerror_r.
15454
49bdf4c1
L
154552012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15456
15457 [BZ #14229]
15458 * string/Makefile (tests): Add tst-strtok_r.
15459 * string/tst-strtok_r.c: New file.
15460 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15461 RAX_LP/RDX_LP on SAVE_PTR.
15462
834f9b8d
RM
154632012-06-14 Roland McGrath <roland@hack.frob.com>
15464
15465 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15466
75fa1921
JM
154672012-06-14 Joseph Myers <joseph@codesourcery.com>
15468
15469 * libm_test.inc (csqrt_test): Allow more spurious underflow
15470 exceptions.
15471 (j0_test): Likewise.
15472 (j1_test): Likewise.
15473 (y0_test): Likewise.
15474 (y1_test): Likewise.
15475
771766df
CD
154762012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15477
15478 * po/Makefile (libc.pot): Use UTF-8 charset.
15479
ceb9e56b
PP
154802012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15481
15482 [BZ #14210]
15483 Suppress sign-conversion warning from FD_SET.
15484 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15485 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15486 not unsigned long int.
15487 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15488
ddb28975
L
154892012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15490
15491 [BZ #14050]
15492 [BZ #14117]
15493 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15494 __extern_always_inline instead of __extern_inline.
15495 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15496 (__signbit): Likewise.
15497 (__signbitl): Support C++ namespace.
15498 (lrintf): New inline function.
15499 (lrint): Likewise.
15500 (llrintf): Likewise.
15501 (llrint): Likewise.
15502 (fmaxf): Likewise.
15503 (fmax): Likewise.
15504 (fminf): Likewise.
15505 (fmin): Likewise.
15506 (rint): Likewise.
15507 (rintf): Likewise.
15508 (ceil): Likewise.
15509 (ceilf): Likewise.
15510 (floor): Likewise.
15511 (floorf): Likewise.
15512 (nearbyint): Likewise.
15513 (nearbyintf): Likewise.
15514
d7b4fb26
TS
155152012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15516
15517 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15518 non-default versions.
15519
eb55f5c2
RM
155202012-06-11 Roland McGrath <roland@hack.frob.com>
15521
15522 [BZ #14218]
15523 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15524
366af02c
TS
155252012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15526
99ff6e5c
TS
15527 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15528 (FE_UPWARD, FE_DOWNWARD): Don't define.
15529 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15530 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15531
366af02c
TS
15532 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15533 reading it.
15534 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15535 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15536
793ea851
KK
155372012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15538
15539 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15540 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15541 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15542 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15543
a728a38f
L
155442012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15545
15546 [BZ #14117]
c08010c7
L
15547 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15548 * sysdeps/i386/fpu/Implies: New file.
15549 * sysdeps/x86_64/fpu/Implies: Likewise.
15550 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15551 * sysdeps/x86/fpu/bits/fenv.h: This.
15552
a728a38f
L
15553 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15554 __SSE_MATH__.
15555
6e230d11
SP
155562012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15557
15558 [BZ #14134]
15559 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15560 character 0xffff that matches the last element of the
15561 conversion table.
15562
1b671feb
AZ
155632012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15564
15565 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15566 fmodl commit.
15567
6043738b
AZ
155682012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15569
15570 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15571 values higher than 25.6283.
15572
34ae0b32
AZ
155732012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15574
15575 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15576 subnormal exponent extraction and add some __builtin_expect.
15577 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15578 Fix for subnormal mantissa calculation.
15579
1214ec8f
MF
155802012-06-04 Mike Frysinger <vapier@gentoo.org>
15581
15582 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15583 cpu2 is -1 and errno is not ENOSYS.
15584
f3d1f93c
L
155852012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15586
15587 [BZ #14117]
0e4a3cd7
L
15588 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15589 * sysdeps/x86/bits/string.h: This.
15590 * sysdeps/x86_64/bits/string.h: Removed.
15591
6704c645
L
15592 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15593 if not compiling for x86-64, but compiling for >= i486.
15594
48495318
L
15595 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15596 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15597
14adcbfc
L
15598 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15599 New macro from Linux kernel 3.4.0.
15600 (FP_XSTATE_MAGIC2): Likewise.
15601 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15602 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15603 (struct _fpx_sw_bytes): New struct.
15604 (struct _xsave_hdr): Likewise.
15605 (struct _ymmh_state): Likewise.
15606 (struct _xstate): Likewise.
15607
68e408ab
L
15608 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15609 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15610 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15611 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15612 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15613 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15614
f3d1f93c
L
15615 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15616 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15617 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15618 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15619 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15620 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15621
d9dc34cd
TMQMF
156222012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15623
15624 [BZ #13743]
15625 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15626 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15627 (sysdep_headers): Include sys/platform/ppc.h.
15628 * sysdeps/powerpc/test-gettimebase.c: Test for
15629 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15630 * manual/Makefile (appendices): Include platform.texi.
15631 * manual/contrib.texi (Contributors): Update @node pointers.
15632 * manual/maint.texi (Maintenance): Likewise.
15633 (Platform): New node.
15634 * manual/platform.texi: New file. Document the new features.
15635
4af3879c
SP
156362012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15637 Jakub Jelinek <jakub@redhat.com>
15638
15639 [BZ #14188]
15640 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15641 where __builtin_expect is unavailable.
15642
2fd6ff13
DM
156432012-06-03 David S. Miller <davem@davemloft.net>
15644
15645 * stdlib/longlong.h: Updated from GCC.
15646
173f7220
AS
156472012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15648
15649 [BZ #14042]
15650 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15651 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15652 __mcount_internal.
15653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15654 (GLIBC_2.16): Likewise.
15655
f34a1c6f
L
156562012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15657
15658 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15659
88a4576f
JM
156602012-06-01 Joseph Myers <joseph@codesourcery.com>
15661
ea32bcdd
JM
15662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15663 (default-abi): New variable.
15664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15665 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15666 variable.
15667 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15668 Likewise.
15669 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15670 Likewise.
15671 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15672 Likewise.
15673
88a4576f
JM
15674 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15675 definition. Document in comment.
15676
402fe938
DM
156772012-06-01 David S. Miller <davem@davemloft.net>
15678
15679 * stdlib/longlong.h: Updated from GCC.
15680
3553723f
L
156812012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15682
15683 [BZ #14117]
3bd872c4
L
15684 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15685 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15686 sys/debugreg.h sys/io.h here.
15687 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15688 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15689 sys/io.h.
15690 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15691 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15692 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15693 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15694 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15695 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15696
3553723f
L
15697 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15698 Define only if __x86_64__ is defined.
15699
4842e4fe
JM
157002012-06-01 Joseph Myers <joseph@codesourcery.com>
15701
c5bfe3d5
JM
15702 [BZ #14048]
15703 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15704 Use int64_t for variable i.
15705 * math/libm-test.inc (fmod_test): Add more tests.
15706
4842e4fe
JM
15707 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15708 z computation is not scheduled after fetestexcept.
15709 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15710 Use math_force_eval instead of asm to ensure calculation scheduled
15711 before exception test.
15712 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15713 Ensure a1 + u.d computation is not scheduled after fetestexcept.
15714
efb73488
AJ
157152012-06-01 Aurelien Jarno <aurelien@aurel32.net>
15716
15717 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15718 computation is not scheduled after fetestexcept.
15719
29bcce7c
L
157202012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15721
15722 [BZ #14117]
15723 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15724 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15725
73a68f94
AZ
157262012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15727
15728 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15729 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15730
67b6df78
L
157312012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15732
edf2933a 15733 [BZ #14117]
ebc64a18
L
15734 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15735 <bits/wordsize.h>.
15736 (__WCHAR_MIN): Support __WORDSIZE == 64.
15737 (__WCHAR_MAX): Likewise.
15738
edf2933a
L
15739 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15740 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15741
57c6cf40
L
15742 [BZ #14183]
15743 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15744 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15745
67b6df78 15746 [BZ #14117]
8eb6281e
L
15747 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15748 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15749
aac639f4
L
15750 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15751 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15752
67b6df78
L
15753 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15754 Defined to 1 if __x86_64__ isn't defined.
15755 (_STAT_VER_LINUX_OLD): New.
15756 (st_atime): Remove duplicate.
15757 (st_mtime): Likewise.
15758 (st_ctime): Likewise.
15759
1c2cfe81
DM
157602012-05-31 David S. Miller <davem@davemloft.net>
15761
15762 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15763 entries.
15764
5be8418c
AS
157652012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15766
e7725326
AS
15767 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15768 gen-libm-test.pl.
15769
5be8418c
AS
15770 [BZ #14132]
15771 * elf/dl-reloc.c: Include <_itoa.h>.
15772 (_dl_reloc_bad_type): Remove use of INTUSE.
15773 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15774 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15775 * stdio-common/psiginfo.c (psiginfo): Likewise.
15776 * stdio-common/psignal.c (psignal): Likewise.
15777 * string/strsignal.c (strsignal): Likewise.
15778 * include/signal.h (_sys_siglist): Declare hidden proto.
15779 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15780 INTVARDEF with libc_hidden_data_def.
15781 * stdio-common/itoa-udigits.c: Likewise.
15782 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15783 (_itoa_lower_digits_internal): Remove declaration.
15784 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15785 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15786 (_sys_sigabbrev_internal): Remove aliases.
15787 (_sys_siglist): Define hidden alias.
15788
507352f1
MT
157892012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15790
15791 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15792 bits/sysctl.h.
15793
42bbb1c3
L
157942012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15795
15796 [BZ #14117]
6bd784b6
L
15797 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15798 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15799
8bca20f0
L
15800 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15801 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15802 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15803 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15804 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15805 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15806
f9e890a9
L
15807 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15808 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15809 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15810
471101a1
L
15811 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15812 with __addr.
15813 (insw): Likewise.
15814 (insl): Likewise.
15815 (outsb): Likewise.
15816 (outsw): Likewise.
15817 (outsl): Likewise.
15818
6451c862
L
15819 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15820 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15821 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15822
a254b8c9
L
15823 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15824 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15825 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15826 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15827 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15828 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15829
b8dfdd92
L
15830 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15831 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15832
578cd270
L
15833 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15834 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15835
de662f5f
L
15836 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15837 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15838 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15839
25653439
L
15840 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15841 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15842 to ...
15843 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15844
6bad24a0
L
15845 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15846 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15847 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15848
42bbb1c3
L
15849 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15850 for x86-64.
15851 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15852
2d10d547
JM
158532012-05-31 Joseph Myers <joseph@codesourcery.com>
15854
15855 * math/math.h (M_El): Use two more decimal places.
15856 (M_LOG2El): Likewise.
15857 (M_LOG10El): Likewise.
15858 (M_LN2l): Likewise.
15859 (M_LN10l): Likewise.
15860 (M_PIl): Likewise.
15861 (M_PI_2l): Likewise.
15862 (M_PI_4l): Likewise.
15863 (M_1_PIl): Likewise.
15864 (M_2_PIl): Likewise.
15865 (M_2_SQRTPIl): Likewise.
15866 (M_SQRT2l): Likewise.
15867 (M_SQRT1_2l): Likewise.
15868
f230c29b
DM
158692012-05-31 David S. Miller <davem@davemloft.net>
15870
15871 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15872 values between float registers.
15873 * sysdeps/sparc/sparc64/memset.S: Likewise.
15874 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15875
fed806c3
MF
158762012-05-31 Mike Frysinger <vapier@gentoo.org>
15877
15878 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15879 -D_FORTIFY_SOURCE=1.
15880 (CPPFLAGS-tst-longjmp_chk.c): Define.
15881 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15882 (CPPFLAGS-tst-longjmp_chk2.c): Define.
15883 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15884 CFLAGS-tst-wchar-h.c.
15885
30917259
MP
158862012-05-31 Marek Polacek <polacek@redhat.com>
15887
15888 [BZ #14132]
15889 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15890 __endmntent_internal): Remove declaration.
15891 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15892 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15893 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15894
1c58d5dc
DM
158952012-05-30 David S. Miller <davem@davemloft.net>
15896
15897 * sysdeps/sparc/sparc32/soft-fp/q_util.c
15898 (___Q_simulate_exceptions): Use real FP ops rather than writing
15899 into the %fsr.
15900 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15901 Likewise.
15902
7dc00e0d
L
159032012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15904
15905 [BZ #14117]
0bd53985
L
15906 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15907 * sysdeps/x86/bits/xtitypes.h: This.
15908
3a257e66
L
15909 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15910 * sysdeps/x86/bits/wordsize.h: This.
15911
62f62904
L
15912 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15913 * sysdeps/x86/bits/huge_vall.h: This.
15914
404fe9d9
L
15915 * sysdeps/i386/bits/select.h: Removed.
15916 * sysdeps/x86_64/bits/select.h: Renamed to ...
15917 * sysdeps/x86/bits/select.h: This.
15918
d48d0446
L
15919 * sysdeps/i386/bits/setjmp.h: Removed.
15920 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15921 * sysdeps/x86/bits/setjmp.h: This.
15922
7dc00e0d
L
15923 * sysdeps/i386/bits/mathdef.h: Removed.
15924 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15925 * sysdeps/x86/bits/mathdef.h: This.
15926
03277f8f
AS
159272012-05-30 Andreas Schwab <schwab@linux-m68k.org>
15928
15929 [BZ #14132]
15930 * include/sys/socket.h (__connect_internal)
15931 (__libc_sa_len_internal): Remove declaration.
15932 (__connect, __libc_sa_len): Declare hidden_proto.
15933 (SA_LEN): Remove use of INTUSE.
15934 * socket/connect.c: Add libc_hidden_def.
15935 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15936 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15937 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15938 alias.
15939 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15940 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15941 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15942 of adding _internal alias.
15943
13764867
L
159442012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15945
15946 [BZ #14117]
6bd97696
L
15947 * sysdeps/i386/bits/link.h: Removed.
15948 * sysdeps/i386/bits/linkmap.h: Likewise.
15949 * sysdeps/x86_64/bits/link.h: Renamed to ...
15950 * sysdeps/x86/bits/link.h: This.
15951 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15952 * sysdeps/x86/bits/linkmap.h: This.
15953
f726f0bb
L
15954 * sysdeps/i386/bits/endian.h: Removed.
15955 * sysdeps/x86_64/bits/endian.h: Renamed to ...
15956 * sysdeps/x86/bits/endian.h: This.
15957
13764867
L
15958 * sysdeps/i386/bits/byteswap.h: Removed.
15959 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15960 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
15961 * sysdeps/x86/bits/byteswap.h: This.
15962 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
15963 * sysdeps/x86/bits/byteswap-16.h: This.
15964 * sysdeps/i386/Implies: Add x86.
15965 * sysdeps/x86_64/Implies: Likewise.
15966
ae251b0b
DM
159672012-05-30 David S. Miller <davem@davemloft.net>
15968
15969 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
15970 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
15971 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15972 (FP_TRAPPING_EXCEPTIONS): Define.
15973 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15974 (FP_TRAPPING_EXCEPTIONS): Define.
15975 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
15976 subnormals only when inexact has been signalled or underflow
15977 exceptions are enabled.
15978 (_FP_PACK_CANONICAL): Likewise.
15979
d5c90867
L
159802012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15981
15982 [BZ #14183]
15983 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
15984 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
15985
63f1549e
RH
159862012-05-30 Richard Henderson <rth@twiddle.net>
15987
8d8f2279
RH
15988 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
15989 with #ifndef NOT_IN_libc.
15990
63f1549e
RH
15991 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
15992 marked to avoid plt entry.
15993
0ab0291b
L
159942012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15995
15996 [BZ #14112]
15997 * Makeconfig (default-abi): New macro.
15998 (abi-includes): Likewise.
15999 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16000 $(abi-$(default-abi)-lib-soname) for soname if defined.
16001 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16002 abi-variants.
16003 * Makefile (installed-stubs): Likewise.
16004 * include/stubs-biarch.h: Removed.
16005 * scripts/lib-names.awk: Only handle one library at a time.
16006 * scripts/soversions.awk: Remove WORDSIZE support.
16007 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16008 entries.
16009 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16010 Removed.
16011 (syscall-list-default-condition): Likewise.
16012 (syscall-list-default-condition): Likewise.
16013 (syscall-list-includes): Likewise.
16014 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16015 syscall-list-* with abi-*. Handle undefined abi-variants.
16016 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16017 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16018 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16019 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16020 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16021 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16022 Removed.
16023 (syscall-list-32-options): Likewise.
16024 (syscall-list-32-condition): Likewise.
16025 (syscall-list-64-options): Likewise.
16026 (syscall-list-64-condition): Likewise.
16027 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16028 macro.
16029 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16030 Renamed to ...
16031 (abi-*): This.
16032 (abi-64-ld-soname): New macro.
16033 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16034 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16035 Renamed to ...
16036 (abi-*): This.
16037 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16038 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16039
4da0431d
JM
160402012-05-30 Joseph Myers <joseph@codesourcery.com>
16041
3a85279c
JM
16042 * sysdeps/unix/sysv/linux/kernel-features.h
16043 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16044 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16045 include <kernel-features.h>.
16046 [!__NR_ftruncate64]: Remove conditional code.
16047 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16048 [__NR_ftruncate64]: Make code unconditional.
16049 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16050 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16051 include <kernel-features.h>.
16052 [!__NR_ftruncate64]: Remove conditional code.
16053 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16054 [__NR_ftruncate64]: Make code unconditional.
16055 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16057 include <kernel-features.h>.
16058 [!__NR_ftruncate64]: Remove conditional code.
16059 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16060 [__NR_ftruncate64]: Make code unconditional.
16061 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16063 include <kernel-features.h>.
16064 [!__NR_ftruncate64]: Remove conditional code.
16065 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16066 [__NR_ftruncate64]: Make code unconditional.
16067 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16068
4da0431d
JM
16069 * configure.in (libc_cv_fpie): Weaken to a compile test using
16070 LIBC_TRY_CC_OPTION.
16071 * configure: Regenerated.
16072
11ef492c
AK
160732012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16074
16075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16076 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16078 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16079 Refreshed.
16080 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16086 Refreshed.
16087
d66ef399
DM
160882012-05-27 David S. Miller <davem@davemloft.net>
16089
16090 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16091 (___Q_zero): New.
16092 (__Q_simulate_exceptions): Return void. Change to simulate
16093 exceptions by writing into the %fsr.
16094 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16095 (__Qp_handle_exceptions): Likewise.
16096 (numbers): Delete.
16097 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16098 __Qp_handle_exceptions.
16099 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16100 __Qp_handle_exceptions.
16101 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16102 as unused and give dummy FP_RND_NEAREST initializer.
16103 (FP_INHIBIT_RESULTS): Define.
16104 (___Q_simulate_exceptions): Update declaration.
16105 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16106 formatting.
16107 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16108 as unused and give dummy FP_RND_NEAREST initializer.
16109 (__Qp_handle_exceptions): Update declaration.
16110 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16111 formatting.
16112
04fb54b5
TS
161132012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16114
16115 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16116 the temporary FPU control word.
16117 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16118 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16119 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16120 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16121 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16122 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16123 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16124 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16125 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16126 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16127 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16128
3f99608f
KK
161292012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16130
16131 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16132 fields.
16133
65a4de4e
CLT
161342012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16135
16136 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16137 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16138 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16139 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16140 Likewise.
16141 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16142 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16143 Likewise.
16144
15749d40
UD
161452012-05-27 Ulrich Drepper <drepper@gmail.com>
16146
16147 * po/h.po: Update from translation team.
16148
25dbcb27
AS
161492012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16150
3d3f8e55
AS
16151 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16152
25dbcb27
AS
16153 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16154 handling of denormals.
16155 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16156 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16157 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16158 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16159 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16160 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16161 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16162 Likewise.
16163
7ad47a80 161642012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
16165
16166 [BZ #14152]
16167 * math/libm-test.inc (fma_test): Don't always expect underflow
16168 exception.
16169
9c6ea9fa
SP
161702012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16171
16172 [BZ #12416]
16173 * elf/tst-execstack.c: Include stackinfo.h.
16174 (do_test): Adjust test case to ensure that pthread_getattr_np
16175 behaviour remains the same after marking stack executable.
16176
a8239222
JM
161772012-05-25 Joseph Myers <joseph@codesourcery.com>
16178
16179 * sysdeps/unix/sysv/linux/kernel-features.h
16180 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16181 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16182 kernel-features.h.
16183 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16184 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16185 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16186 kernel-features.h.
16187 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16188 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16189
918b5606
L
161902012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16191
16192 * configure.in: Define the default includes to being none.
16193 * configure: Regenerated.
16194
3a097cc7
RM
161952012-05-25 Roland McGrath <roland@hack.frob.com>
16196
8422c9a5
RM
16197 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16198 * sysdeps/x86_64/setjmp.S: Likewise.
16199 * sysdeps/i386/bsd-setjmp.S: Likewise.
16200 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16201 * sysdeps/i386/setjmp.S: Likewise.
16202 * sysdeps/i386/__longjmp.S: Likewise.
16203 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16204 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16205
3a097cc7
RM
16206 * include/stap-probe.h: New file.
16207 * configure.in: Handle --enable-systemtap.
16208 * configure: Regenerated.
16209 * config.h.in (USE_STAP_PROBE): New #undef.
16210 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16211 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16212 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16213
21708942
JM
162142012-05-25 Joseph Myers <joseph@codesourcery.com>
16215
16216 [BZ #13717]
16217 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16218 to 2.4.0 where earlier.
16219 * sysdeps/unix/sysv/linux/configure: Regenerated.
16220 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16221 <kernel-features.h>.
16222 [__ASSUME_32BITUIDS]: Make code unconditional.
16223 [!__ASSUME_32BITUIDS]: Remove conditional code.
16224 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16225 <kernel-features.h>.
16226 [__ASSUME_32BITUIDS]: Make code unconditional.
16227 [!__ASSUME_32BITUIDS]: Remove conditional code.
16228 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16229 [__ASSUME_32BITUIDS]: Make code unconditional.
16230 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16231 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16232 <kernel-features.h>.
16233 [__ASSUME_32BITUIDS]: Make code unconditional.
16234 [!__ASSUME_32BITUIDS]: Remove conditional code.
16235 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16236 <kernel-features.h>.
16237 [__ASSUME_32BITUIDS]: Make code unconditional.
16238 [!__ASSUME_32BITUIDS]: Remove conditional code.
16239 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16240 <kernel-features.h>.
16241 [__ASSUME_32BITUIDS]: Make code unconditional.
16242 [!__ASSUME_32BITUIDS]: Remove conditional code.
16243 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16244 <kernel-features.h>.
16245 [__ASSUME_32BITUIDS]: Make code unconditional.
16246 [!__ASSUME_32BITUIDS]: Remove conditional code.
16247 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16248 <kernel-features.h>.
16249 [__ASSUME_32BITUIDS]: Make code unconditional.
16250 [!__ASSUME_32BITUIDS]: Remove conditional code.
16251 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16252 <kernel-features.h>.
16253 [__ASSUME_32BITUIDS]: Make code unconditional.
16254 [!__ASSUME_32BITUIDS]: Remove conditional code.
16255 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16256 <kernel-features.h>.
16257 [__ASSUME_32BITUIDS]: Make code unconditional.
16258 [!__ASSUME_32BITUIDS]: Remove conditional code.
16259 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16260 <kernel-features.h>.
16261 [__ASSUME_32BITUIDS]: Make code unconditional.
16262 [!__ASSUME_32BITUIDS]: Remove conditional code.
16263 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16264 <kernel-features.h>.
16265 [__ASSUME_32BITUIDS]: Make code unconditional.
16266 [!__ASSUME_32BITUIDS]: Remove conditional code.
16267 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16268 <kernel-features.h>.
16269 [__ASSUME_32BITUIDS]: Make code unconditional.
16270 [!__ASSUME_32BITUIDS]: Remove conditional code.
16271 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16272 <kernel-features.h>.
16273 [__NR_setresgid] (__setresgid): Do not declare.
16274 [__ASSUME_32BITUIDS]: Make code unconditional.
16275 [!__ASSUME_32BITUIDS]: Remove conditional code.
16276 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16277 <kernel-features.h>.
16278 [__NR_setresuid] (__setresuid): Do not declare.
16279 [__ASSUME_32BITUIDS]: Make code unconditional.
16280 [!__ASSUME_32BITUIDS]: Remove conditional code.
16281 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16282 <kernel-features.h>.
16283 [__ASSUME_32BITUIDS]: Make code unconditional.
16284 [!__ASSUME_32BITUIDS]: Remove conditional code.
16285 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16286 <kernel-features.h>.
16287 [__ASSUME_32BITUIDS]: Make code unconditional.
16288 [!__ASSUME_32BITUIDS]: Remove conditional code.
16289 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16290 <kernel-features.h>.
16291 [__ASSUME_32BITUIDS]: Make code unconditional.
16292 [!__ASSUME_32BITUIDS]: Remove conditional code.
16293 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16294 <kernel-features.h>.
16295 [__ASSUME_32BITUIDS]: Make code unconditional.
16296 [!__ASSUME_32BITUIDS]: Remove conditional code.
16297 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16298 <kernel-features.h>.
16299 [__ASSUME_32BITUIDS]: Make code unconditional.
16300 [!__ASSUME_32BITUIDS]: Remove conditional code.
16301 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16302 <kernel-features.h>.
16303 [__ASSUME_32BITUIDS]: Make code unconditional.
16304 [!__ASSUME_32BITUIDS]: Remove conditional code.
16305 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16306 <kernel-features.h>.
16307 [__ASSUME_32BITUIDS]: Make code unconditional.
16308 [!__ASSUME_32BITUIDS]: Remove conditional code.
16309 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16310 <kernel-features.h>.
16311 [__ASSUME_32BITUIDS]: Make code unconditional.
16312 [!__ASSUME_32BITUIDS]: Remove conditional code.
16313 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16314 <kernel-features.h>.
16315 [__ASSUME_32BITUIDS]: Make code unconditional.
16316 [!__ASSUME_32BITUIDS]: Remove conditional code.
16317 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16318 <kernel-features.h>.
16319 [__ASSUME_32BITUIDS]: Make code unconditional.
16320 [!__ASSUME_32BITUIDS]: Remove conditional code.
16321 * sysdeps/unix/sysv/linux/kernel-features.h
16322 (__ASSUME_SETRESUID_SYSCALL): Remove.
16323 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16324 (__ASSUME_32BITUIDS): Likewise.
16325 (__ASSUME_LDT_WORKS): Likewise.
16326 (__ASSUME_O_DIRECTORY): Likewise.
16327 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16328 architecture but not kernel version.
16329 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16330 (__ASSUME_MMAP2_SYSCALL): Likewise.
16331 (__ASSUME_STAT64_SYSCALL): Likewise.
16332 (__ASSUME_IPC64): Likewise.
16333 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16334 <kernel-features.h>.
16335 [__ASSUME_32BITUIDS]: Make code unconditional.
16336 [!__ASSUME_32BITUIDS]: Remove conditional code.
16337 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16338 <kernel-features.h>.
16339 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16340 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16341 132096]: Remove conditional code.
16342 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16343 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16344 <kernel-features.h>.
16345 [__ASSUME_32BITUIDS]: Make code unconditional.
16346 [!__ASSUME_32BITUIDS]: Remove conditional code.
16347 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16348 <kernel-features.h>.
16349 [__ASSUME_32BITUIDS]: Make code unconditional.
16350 [!__ASSUME_32BITUIDS]: Remove conditional code.
16351 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16352 <kernel-features.h>.
16353 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16354 unconditional.
16355 (__setresgid): Do not declare.
16356 [__ASSUME_32BITUIDS]: Make code unconditional.
16357 [!__ASSUME_32BITUIDS]: Remove conditional code.
16358 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16359 <kernel-features.h>.
16360 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16361 unconditional.
16362 (__setresuid): Do not declare.
16363 [__ASSUME_32BITUIDS]: Make code unconditional.
16364 [!__ASSUME_32BITUIDS]: Remove conditional code.
16365 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
16370 <kernel-features.h>.
16371 [__ASSUME_32BITUIDS]: Make code unconditional.
16372 [!__ASSUME_32BITUIDS]: Remove conditional code.
16373
a386f1cc
RH
163742012-05-25 Richard Henderson <rth@twiddle.net>
16375
16376 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16377 dl_hwcap to ifunc resolver.
16378 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16379 elf_ifunc_invoke.
16380 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16381 dl_hwcap to ifunc resolver.
16382 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16383
b6550497
JM
163842012-05-24 Joseph Myers <joseph@codesourcery.com>
16385
16386 [BZ #14153]
16387 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16388 for |x| <= 2**-26, not 2**-57.
16389 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16390 exception.
16391
b0bc23a1
JL
163922012-05-24 Jeff Law <law@redhat.com>
16393
16394 * stdio-common/Makefile (tests): Add bug25.
16395 * stdio-common/bug25.c: New test.
16396
347c92e9
L
163972012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16398
16399 [BZ #13576]
16400 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16401 multiple of MALLOC_ALIGNMENT in size.
16402 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16403
6bcc8b3f
JM
164042012-05-24 Joseph Myers <joseph@codesourcery.com>
16405
16406 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16407 Require >= 256.
16408 (FILENAME_MAX): Use macro-int-constant.
16409 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16410 (_IOFBF): Use macro-int-constant.
16411 (_IOLBF): Likewise.
16412 (_IONBF): Likewise.
16413 (SEEK_CUR): Likewise.
16414 (SEEK_END): Likewise.
16415 (SEEK_SET): Likewise.
16416 (TMP_MAX): Likewise.
16417 (EOF): Use macro-int-constant. Require < 0.
16418 (NULL): Use macro-constant. Require == 0.
16419 (stdin): Require type to be FILE *.
16420 (stdout): Likewise.
16421 (stderr): Likewise.
16422 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16423 macro-int-constant.
16424 (EXIT_SUCCESS): Likewise.
16425 (NULL): Use macro-constant. Require == 0.
16426 (RAND_MAX): Use macro-int-constant.
16427 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16428 [C99-based standards] (strtof): Require function.
16429 [C99-based standards] (strtold): Likewise.
16430 [C99-based standards] (strtoll): Likewise.
16431 [C99-based standards] (strtoull): Likewise.
16432 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16433 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16434 [ISO || ISO99 || ISO11] (math.h): Likewise.
16435 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16436 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16437 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16438
d18ea0c5
AS
164392012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16440
16441 [BZ #14132]
56d25bb8
AS
16442 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16443 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16444 * intl/dgettext.c (DCGETTEXT): Likewise.
16445 * intl/gettext.c (DCGETTEXT): Likewise.
16446 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16447 * posix/regex_internal.h (gettext): Likewise.
16448 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16449 Remove declaration.
16450 * include/argz.h (__argz_count_internal)
16451 (__argz_stringify_internal): Remove declaration.
16452 (__argz_count, __argz_stringify): Declare hidden proto.
16453 * intl/dcgettext.c: Remove use of INTDEF.
16454 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16455 * string/argz-stringify.c: Likewise.
16456 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16457 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16458 Declare hidden proto.
d18ea0c5
AS
16459 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16460 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16461 Declare hidden proto.
16462 * include/stdio.h (__asprintf_internal): Don't declare.
16463 (__asprintf): Don't define as macro. Declare hidden proto.
16464 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16465 (__fsetlocking): Declare hidden proto.
16466 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16467 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16468 hidden proto.
16469 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16470 (_IO_setlinebuf): Remove use of INTUSE.
16471 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16472 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16473 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16474 Remove declaration.
16475 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16476 (_IO_do_flush): Remove use of INTUSE.
16477 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16478 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16479 (_IO_adjust_column, _IO_least_wmarker)
16480 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16481 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16482 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16483 (_IO_default_doallocate, _IO_wdefault_doallocate)
16484 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16485 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16486 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16487 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16488 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16489 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16490 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16491 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16492 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16493 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16494 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16495 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16496 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16497 proto.
16498 (_IO_flush_all_internal, _IO_adjust_column_internal)
16499 (_IO_default_uflow_internal, _IO_default_finish_internal)
16500 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16501 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16502 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16503 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16504 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16505 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16506 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16507 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16508 (_IO_file_close_internal, _IO_file_close_it_internal)
16509 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16510 (_IO_file_init_internal, _IO_file_attach_internal)
16511 (_IO_file_fopen_internal, _IO_file_read_internal)
16512 (_IO_file_sync_internal, _IO_file_seek_internal)
16513 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16514 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16515 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16516 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16517 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16518 (_IO_list_all_internal, _IO_link_in_internal)
16519 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16520 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16521 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16522 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16523 (_IO_do_write_internal, _IO_padn_internal)
16524 (_IO_getline_info_internal, _IO_getline_internal)
16525 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16526 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16527 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16528 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16529 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16530 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16531 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16532 with libc_hidden_ver, remove use of INTUSE.
16533 * libio/genops.c: Likewise.
16534 * libio/freopen.c: Likewise.
16535 * libio/freopen64.c: Likewise.
16536 * libio/iofclose.c: Likewise.
16537 * libio/iofdopen.c: Likewise.
16538 * libio/iofflush.c: Likewise.
16539 * libio/iofflush_u.c: Likewise.
16540 * libio/iofgets.c: Likewise.
16541 * libio/iofgets_u.c: Likewise.
16542 * libio/iofopen.c: Likewise.
16543 * libio/iofopncook.c: Likewise.
16544 * libio/iofread.c: Likewise.
16545 * libio/iofread_u.c: Likewise.
16546 * libio/ioftell.c: Likewise.
16547 * libio/iofwrite.c: Likewise.
16548 * libio/iogetline.c: Likewise.
16549 * libio/iogets.c: Likewise.
16550 * libio/iogetwline.c: Likewise.
16551 * libio/iopadn.c: Likewise.
16552 * libio/iopopen.c: Likewise.
16553 * libio/ioseekoff.c: Likewise.
16554 * libio/ioseekpos.c: Likewise.
16555 * libio/iosetbuffer.c: Likewise.
16556 * libio/iosetvbuf.c: Likewise.
16557 * libio/ioungetc.c: Likewise.
16558 * libio/ioungetwc.c: Likewise.
16559 * libio/iovdprintf.c: Likewise.
16560 * libio/iovsprintf.c: Likewise.
16561 * libio/iovsscanf.c: Likewise.
16562 * libio/memstream.c: Likewise.
16563 * libio/obprintf.c: Likewise.
16564 * libio/oldfileops.c: Likewise.
16565 * libio/oldiofclose.c: Likewise.
16566 * libio/oldiofdopen.c: Likewise.
16567 * libio/oldiofopen.c: Likewise.
16568 * libio/oldiopopen.c: Likewise.
16569 * libio/oldstdfiles.c: Likewise.
16570 * libio/putc.c: Likewise.
16571 * libio/setbuf.c: Likewise.
16572 * libio/setlinebuf.c: Likewise.
16573 * libio/stdfiles.c: Likewise.
16574 * libio/strops.c: Likewise.
16575 * libio/vasprintf.c: Likewise.
16576 * libio/vscanf.c: Likewise.
16577 * libio/vsnprintf.c: Likewise.
16578 * libio/vswprintf.c: Likewise.
16579 * libio/wfiledoalloc.c: Likewise.
16580 * libio/wfileops.c: Likewise.
16581 * libio/wgenops.c: Likewise.
16582 * libio/wmemstream.c: Likewise.
16583 * libio/wstrops.c: Likewise.
16584 * libio/__fpurge.c: Likewise.
16585 * libio/__fsetlocking.c: Likewise.
16586 * assert/assert.c: Likewise.
16587 * debug/fgets_chk.c: Likewise.
16588 * debug/fgets_u_chk.c: Likewise.
16589 * debug/fread_chk.c: Likewise.
16590 * debug/fread_u_chk.c: Likewise.
16591 * debug/gets_chk.c: Likewise.
16592 * debug/obprintf_chk.c: Likewise.
16593 * debug/vasprintf_chk.c: Likewise.
16594 * debug/vdprintf_chk.c: Likewise.
16595 * debug/vsnprintf_chk.c: Likewise.
16596 * debug/vsprintf_chk.c: Likewise.
16597 * malloc/mtrace.c: Likewise.
16598 * misc/error.c: Likewise.
16599 * misc/syslog.c: Likewise.
16600 * stdio-common/asprintf.c: Likewise.
16601 * stdio-common/fxprintf.c: Likewise.
16602 * stdio-common/getw.c: Likewise.
16603 * stdio-common/isoc99_fscanf.c: Likewise.
16604 * stdio-common/isoc99_scanf.c: Likewise.
16605 * stdio-common/isoc99_vfscanf.c: Likewise.
16606 * stdio-common/isoc99_vscanf.c: Likewise.
16607 * stdio-common/isoc99_vsscanf.c: Likewise.
16608 * stdio-common/printf-prs.c: Likewise.
16609 * stdio-common/printf_fp.c: Likewise.
16610 * stdio-common/printf_fphex.c: Likewise.
16611 * stdio-common/printf_size.c: Likewise.
16612 * stdio-common/putw.c: Likewise.
16613 * stdio-common/scanf.c: Likewise.
16614 * stdio-common/sprintf.c: Likewise.
16615 * stdio-common/tmpfile.c: Likewise.
16616 * stdio-common/vfprintf.c: Likewise.
16617 * stdio-common/vfscanf.c: Likewise.
16618 * stdlib/strfmon_l.c: Likewise.
16619 * sunrpc/openchild.c: Likewise.
16620 * sunrpc/xdr_stdio.c: Likewise.
16621 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16622 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16623
d6c33fda
RM
166242012-05-24 Roland McGrath <roland@hack.frob.com>
16625
c1487492
RM
16626 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16627
16628 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16629 in the third column, to generate for the shared library an IFUNC
16630 that uses _dl_vdso_vsym.
16631 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16632 * Makeconfig (object-suffixes-noshared): New variable.
16633
16634 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16635 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16636 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16637 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16638
d6c33fda
RM
16639 [BZ #14132]
16640 * include/sys/time.h (__gettimeofday): Remove macro.
16641 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16642 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16643 Remove INTDEF.
16644 (__gettimeofday): Add libc_hidden_def.
16645 (gettimeofday): Add libc_hidden_weak.
16646 * sysdeps/mach/gettimeofday.c: Likewise.
16647 * sysdeps/posix/gettimeofday.c: Likewise.
16648 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16649 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16650 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16651 (__gettimeofday_internal): Remove strong_alias.
16652 (__gettimeofday): Add libc_hidden_def.
16653 (gettimeofday): Add libc_hidden_weak.
16654 * sysdeps/unix/syscalls.list (gettimeofday):
16655 Remove __gettimeofday_internal alias.
16656
b5a2bbe6
L
166572012-05-24 Daniel Jacobowitz <drow@false.org>
16658 H.J. Lu <hongjiu.lu@intel.com>
16659
16660 [BZ #12495]
16661 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16662 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16663 (largebin_index_32_big): New.
16664 (largebin_index): Use it for 16-byte alignment.
16665 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16666 correction with front_misalign.
16667
cfba4fda
L
166682012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16669
7f907421
L
16670 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16671 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16672 Likewise.
16673 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16674 Likewise.
16675 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16676 Likewise.
16677 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16678 Likewise.
16679 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16680 Likewise.
16681 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16682 Likewise.
16683 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16684 Likewise.
16685 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16686 Likewise.
16687 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16688 Likewise.
16689 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16690 Likewise.
16691 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16692 Likewise.
16693 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16694 Likewise.
16695
cfba4fda
L
16696 * scripts/data/c++-types-x32-linux-gnu.data: New file.
16697 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16698
80bad0cc
JM
166992012-05-24 Joseph Myers <joseph@codesourcery.com>
16700
7a25eb06
JM
16701 [BZ #10846]
16702 [BZ #14036]
16703 * math/libm-test.inc (exp_test): Add test from bug 14036.
16704 (pow_test): Add test from bug 10846.
16705
795405f9
JM
16706 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16707 and other flags.
16708 (special_function): Do not include flags in test name.
16709 (parse_args): Likewise.
16710 * sysdeps/i386/fpu/libm-test-ulps: Update.
16711 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16712 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16713 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16715
80bad0cc
JM
16716 * math/gen-libm-test.pl (%beautify): Add entries for underflow
16717 exceptions.
16718 * math/libm-test.inc ("Philosophy"): Update comment about
16719 exception testing.
16720 (UNDERFLOW_EXCEPTION): New macro.
16721 (UNDERFLOW_EXCEPTION_OK): Likewise.
16722 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16723 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16724 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16725 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16726 (INVALID_EXCEPTION_OK): Update value.
16727 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16728 (OVERFLOW_EXCEPTION_OK): Likewise.
16729 (IGNORE_ZERO_INF_SIGN): Likewise.
16730 (test_exceptions): Handle underflow exceptions.
16731 (acos_test): Update for underflow exception expectations.
16732 (cexp_test): Likewise.
16733 (clog_test): Likewise.
16734 (clog10_test): Likewise.
16735 (csqrt_test): Likewise.
16736 (ctan_test): Likewise.
16737 (ctanh_test): Likewise.
16738 (exp_test): Likewise.
16739 (exp10_test): Likewise.
16740 (exp2_test): Likewise.
16741 (expm1_test): Likewise.
16742 (fma_test): Likewise.
16743 (j0_test): Likewise.
16744 (jn_test): Likewise.
16745 (nexttoward_test): Likewise.
16746 (pow_test): Likewise.
16747 (scalbn_test): Likewise.
16748 (scalbln_test): Likewise.
16749 (tan_test): Likewise.
16750 (y1_test): Likewise.
16751 * sysdeps/i386/fpu/libm-test-ulps: Update.
16752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16753
9e0e3d0b
DM
167542012-05-23 David S. Miller <davem@davemloft.net>
16755
16756 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16757 (__libc_sigaction): Remove unused local variables.
16758
ccd0a08f
L
167592012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16760
16761 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16762
62bdf9a6
PE
167632012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16764
f8591f80
PE
16765 mktime: avoid signed integer overflow
16766 * time/mktime.c (__mktime_internal): Do not mishandle the case
16767 where diff == INT_MIN.
16768
94c7d826
PE
16769 mktime: simplify computation of average
16770 * time/mktime.c (ranged_convert): Use new time_t_avg function
16771 instead of rolling our own (probably-slower) code.
16772
ce73d683
PE
16773 mktime: do not assume signed right shift propagates sign bit
16774 * time/mktime.c (isdst_differ): New static function.
16775 (__mktime_internal): No need to normalize tm_isdst now.
16776 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16777 tm_isdst values.
16778
72a22e59
PE
16779 mktime: merge another wrapv change from gnulib
16780 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16781 from some compilers.
16782
68605433
PE
16783 mktime: remove incorrect attempt at unusual arithmetics
16784 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16785 The code didn't really work on such machines anyway.
16786 (TYPE_MINIMUM): Assume two's complement.
16787 (twos_complement_arithmetic): Verify that long_int and time_t
16788 are two's complement (or unsigned, in the latter case).
16789
03cf7fe3
PE
16790 mktime: check signed shifts on long_int and time_t, too
16791 * time/mktime.c (SHR): Check that shifts work as desired
16792 on the types long_int and time_t too, as SHR is used on
16793 such types.
16794
f04dfbc2
PE
16795 mktime: do not assume 'long' is wide enough
16796 * time/mktime.c (verify): Move decl up.
16797 (long_int): New type.
16798 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16799 to remove assumption in the code that 'long' is wide enough to
16800 store year values. This assumption is not true on x32 and on
16801 some non-glibc platforms.
16802
62bdf9a6
PE
16803 mktime: merge wrapv change from gnulib
16804 * time/mktime.c (WRAPV): New macro.
16805 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16806 (guess_time_tm, __mktime_internal): Do not assume that signed
16807 integer overflow wraps around; modern compilers generate code
16808 where this assumption is no longer valid.
16809
5e292e4f
L
168102012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16811
16812 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16813 Replace "jmp L(pseudo_end)" with "ret".
16814 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16815 Likewise.
16816
8caf8c87
AJ
168172012-05-23 Andreas Jaeger <aj@suse.de>
16818
16819 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16820 * sysdeps/unix/sysv/linux/poll.c: Remove file.
16821
1a09dc56
AJ
168222012-05-23 Andreas Jaeger <aj@suse.de>
16823 Maximilian Attems <max@stro.at>
16824
16825 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16826 New macros.
16827
1c87aba0
L
168282012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16829
16830 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16831 code so that pseudo_end is just ret and the stack pointer is
16832 correct also for static library in error case.
16833
40e45bd5
JM
168342012-05-23 Joseph Myers <joseph@codesourcery.com>
16835
c2670533
JM
16836 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16837 move to syscalls.list.
16838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16842
40e45bd5
JM
16843 * manual/install.texi (Running make install): Do not mention Linux
16844 kernel version for which pt_chown is not needed.
16845 (Linux): Do not mention problems with nscd with 2.0 kernels.
16846 * INSTALL: Regenerated.
16847
be08eda5
AJ
168482012-05-23 Andreas Jaeger <aj@suse.de>
16849
16850 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16851 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16852 macro.
16853 * sysdeps/unix/sysv/linux/s390/bits/mman.h
16854 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16855 * sysdeps/unix/sysv/linux/sh/bits/mman.h
16856 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16857 * sysdeps/unix/sysv/linux/i386/bits/mman.h
16858 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16859 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16860 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16861 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16862 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16863 * sysdeps/unix/sysv/linux/bits/in.h
16864 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16865
a6a056bb
RM
168662012-05-22 Roland McGrath <roland@hack.frob.com>
16867
16868 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16869 (PREPARE_VERSION): Just use assert instead, it will be elided
16870 under [NDEBUG] anyway.
16871
c9009328
L
168722012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16873
16874 * sysdeps/unix/sysv/linux/Makefile: Include
16875 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 16876 (sysdep_routines): Remove sysctl.
c9009328
L
16877 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16878 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16879 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16880 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16881 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16882
73338355
AJ
168832012-05-22 Andreas Jaeger <aj@suse.de>
16884
16885 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16886 that pseudo_end is just ret and the stack pointer is correct also
16887 for static library in error case.
16888
d44638b0
PP
168892012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
16890
16891 [BZ #14122]
16892 * nss/nsswitch.c (defconfig_entries): New variable.
16893 (__nss_database_lookup): Don't leak defconfig entries.
16894 (nss_parse_service_list): Don't leak on error paths.
16895 (free_database_entries): New function.
16896 (free_defconfig): New function.
16897 (free_mem): Move common code to free_database_entries.
16898
31a39bd8
L
168992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16900
da0331a8
L
16901 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16902 Add arch_prctl.
16903 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16904
31a39bd8
L
16905 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16906 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16907 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16908 New macro.
16909 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16910 (INTERNAL_SYSCALL_TYPES): Likewise.
16911 (LOAD_ARGS_TYPES_[1-6]): Likewise.
16912 (LOAD_REGS_TYPES_[1-6]): Likewise.
16913 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16914 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16915
45470df3
AZ
169162012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16917
16918 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16919 copysignl for GLIBC_2_0.
16920 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16921 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16922 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16923 logbl for GLIBC_2_0.
16924 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16925 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16926
98a61bcb
L
169272012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16928
a4f6e481
L
16929 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16930 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16931
f63d5db6
L
16932 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16933 Use "neg %eax".
16934
98a61bcb
L
16935 * time/mktime.c: Update copyright years.
16936
95770f14
PE
169372012-05-22 Paul Eggert <eggert@cs.ucla.edu>
16938
6226efbd
PE
16939 mktime: merge comment-quoting-style change from gnulib
16940 * time/mktime.c: Quote 'like this' in comments.
16941 The GNU coding standards suggest that we no longer quote `like this',
16942 as "`" and "'" are typically rendered asymmetrically nowadays.
16943 The typical gnulib style is to quote 'like this' when quoting
16944 code, and "like this" when quoting English.
16945
b99e4f78
PE
16946 * time/mktime.c (compile-command): Add "-I.".
16947
643e01e6
PE
16948 mktime: merge mktime-internal.h change from gnulib
16949 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16950
2554247d
PE
16951 mktime: merge time_r change from gnulib
16952 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16953
826dd0ab
PE
16954 mktime: merge DEBUG change from gnulib
16955 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16956 case system <time.h> has a #define.
16957
bd83aabe
PE
16958 mktime: merge <sys/types.h> change from gnulib
16959 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
16960 since <time.t> is now guaranteed to define time_t.
16961
95770f14
PE
16962 mktime: merge HAVE_CONFIG_H change from gnulib
16963 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
16964
5e1a27a9
L
169652012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16966
0e44a77e
L
16967 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16968 Use "neg %eax".
16969
5e1a27a9
L
16970 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16971 __rlim_t cast.
16972 (struct rusage): Use anonymous union to pad each field to
16973 __syscall_slong_t.
16974
46259bec
DM
169752012-05-21 David S. Miller <davem@davemloft.net>
16976
16977 * Makefules (o-iterator): Remove .s cases.
16978 (compile-command.s): Delete.
16979 (COMPILE.s): Delete.
16980 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
16981
59f0c22e
JM
169822012-05-21 Joseph Myers <joseph@codesourcery.com>
16983
16984 * configure.in (libc_cv_predef_stack_protector): Only consider
16985 "foobar" and "__stack_chk_fail" lines in libc_undefs.
16986 * configure: Regenerated.
16987
20c07380
L
169882012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16989
bbb3154b
L
16990 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16991 New macro. Use R*LP on int and pointer.
16992 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
16993 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
16994 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
16995 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
16996
20c07380
L
16997 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
16998 [__WORDSIZE_TIME64_COMPAT32] instead of
16999 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17000 (struct utmp): Likewise.
17001 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17002 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17003 Renamed to ...
17004 (__WORDSIZE_TIME64_COMPAT32): This.
17005 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17006 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17007 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17008 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17009 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17010 (__WORDSIZE_TIME64_COMPAT32): New macro.
17011
d8d1017e
AJ
170122012-05-21 Andreas Jaeger <aj@suse.de>
17013
17014 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17015 only if [SHARED]. Add prototype for __wcschr_ia32.
17016
6c7fb145
RM
170172012-05-21 Roland McGrath <roland@hack.frob.com>
17018
17019 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17020 of %rbp unmolested in the jmp_buf while mangling the low bits.
17021 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17022 unmolested high bits of %rbp while demangling the low bits.
17023 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17024
66274218
AJ
170252012-05-21 Andreas Jaeger <aj@suse.de>
17026
07c58f8f
AJ
17027 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17028 * sunrpc/svc_simple.c: Use it for registerrpc.
17029 * sunrpc/xcrypt.c: Use it for passwd2des.
17030
66274218
AJ
17031 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17032
61f65140
L
170332012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17034
17035 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17036 Don't define if [__SYSCALL_WORDSIZE != 32].
17037 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17038 New macro.
17039
5fefb436
AJ
170402012-05-21 Bruno Haible <bruno@clisp.org>
17041 Andreas Jaeger <aj@suse.de>
17042
17043 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17044 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17045 inptr and inend for must_buffer_ch.
17046 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17047 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17048 * stdio-common/Makefile (tests): Remove bug15.
17049 (bug15-ENV): Remove macro.
17050 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17051 anymore.
17052
d8e272ab
AJ
170532012-05-19 Andreas Jaeger <aj@suse.de>
17054 Roland McGrath <roland@hack.frob.com>
17055
17056 * manual/contrib.texi: Completely rewritten. It contains now an
17057 alphabetical list of contributors and their contributions.
17058
4a56a162
RH
170592012-05-21 Richard Henderson <rth@twiddle.net>
17060
17061 * misc/getauxval.c (__getauxval): Use unsigned long int.
17062 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17063 (getauxval): Use unsigned long int.
17064
d024d23c
L
170652012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17066
17067 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17068
cbc00a03
RM
170692012-05-21 Roland McGrath <roland@hack.frob.com>
17070
17071 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17072 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17073 __alignof__ (long double).
17074
478143fa
AZ
170752012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17076
17077 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17078
c7683a6d
RH
170792012-05-20 Richard Henderson <rth@twiddle.net>
17080
17081 * misc/getauxval.c: New file.
17082 * misc/sys/auxv.h: New file.
17083 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17084 (routines): Add getauxval.
17085 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17086 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17087 * elf/dl-sysdep.c (_dl_auxv): Remove.
17088 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17089 * elf/dl-support.c (_dl_auxv): New variable.
17090 (_dl_aux_init): Initialize it.
17091 * manual/startup.texi (Auxiliary Vector): New node.
17092 * sysdeps/generic/bits/hwcap.h: New file.
17093 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17094 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17095 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17096 * sysdeps/sparc/sysdep.h: ... here. Include it.
17097 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17098 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
17099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17100 Update.
c7683a6d
RH
17101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17103 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17104 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17108 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17109
a6f1845d
AZ
171102012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17111
17112 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17113
cbcbe830
DM
171142012-05-19 David S. Miller <davem@davemloft.net>
17115
17116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17117
e0b16cc2
JM
171182012-05-19 Joseph Myers <joseph@codesourcery.com>
17119
17120 [BZ #14123]
17121 * math/s_ccosh.c: Include <float.h>
17122 (__ccosh): Avoid internal overflow calculating sinh and cosh
17123 values before multiplying by sin and cos values.
17124 * math/s_ccoshf.c: Likewise.
17125 * math/s_ccoshl.c: Likewise.
17126 * math/s_csin.c: Likewise.
17127 * math/s_csinf.c: Likewise.
17128 * math/s_csinl.c: Likewise.
17129 * math/s_csinh.c: Likewise.
17130 * math/s_csinhf.c: Likewise.
17131 * math/s_csinhl.c: Likewise.
17132 * math/libm-test.inc (ccos_test): Add more tests.
17133 (ccosh_test): Likewise.
17134 (csin_test): Likewise.
17135 (csinh_test): Likewise.
17136 * sysdeps/i386/fpu/libm-test-ulps: Update.
17137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17138
6ad13e08
L
171392012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17140
f66f0ce8
L
17141 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17142 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17143
6ad13e08
L
17144 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17145
b1d072a7
JM
171462012-05-19 Joseph Myers <joseph@codesourcery.com>
17147
17148 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17149 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17150 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17151 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17152 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17153 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17154 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17155 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17156 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17157 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17158 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17159 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17160 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17161 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17162 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17163 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17164 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17165 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17166 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17167 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17168 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17169 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17170 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17171 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17172 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17173 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17174 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17175 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17176 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17177 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17178 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17179
9eae47cb
AJ
171802012-05-18 Andreas Jaeger <aj@suse.de>
17181
17182 * csu/.gitignore: Delete.
17183
bb07f69f
L
171842012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17185
17186 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17187 (timex): Use __syscall_slong_t.
17188
e6bdb741
AJ
171892012-05-18 Andreas Jaeger <aj@suse.de>
17190 Carlos O'Donell <carlos_odonell@mentor.com>
17191
17192 * manual/install.texi (Configuring and compiling): Update
17193 description about files modified in the source directory.
d6c33fda 17194 * INSTALL: Regenerated.
e6bdb741 17195
1b74487e
L
171962012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17197
17198 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17199 value. Use "or" to set return value to -1.
17200 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17201 negate return value.
17202
a88b64b9
TMQMF
172032012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17204
17205 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17206 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17207 failure if the compiler has Graphite support disabled.
17208 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17209 Likewise.
17210 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17211 CFLAGS-memmove.c): Likewise.
17212 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17213 Likewise.
17214
3707636e
L
172152012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17216
610b8622
L
17217 * sysdeps/x86_64/x32/_itoa.h: New file.
17218
7cd195df
L
17219 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17220 getdents system call only if kernel and user dirents have the
17221 same d_ino and d_off.
17222
94b07d20
L
17223 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17224 LLONG_MAX != LONG_MAX.
17225 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17226 (_fitoa_word): Likewise.
17227
18298070
L
17228 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17229 years.
17230 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17231 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17232 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17233
553c7ea4
L
17234 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17235 include <bits/wordsize.h>. Check __x86_64__ instead of
17236 __WORDSIZE.
17237 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17238 if __x86_64__ is defined. Use anonymous union on fpstate.
17239
3707636e
L
17240 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17241 anonymous union.
17242
b53ef01a
AS
172432012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17244
37fb1dc0
AS
17245 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17246 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17247 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17248 Refer to _rtld_local_ro instead of _rtld_global_ro.
17249 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17250 Likewise.
17251 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17252 Likewise.
17253 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17254 Likewise.
17255 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17256 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17257 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17258
b53ef01a
AS
17259 * sysdeps/powerpc/powerpc32/dl-machine.c
17260 (__elf_machine_runtime_setup) [PROF]: Don't reference
17261 _dl_prof_resolve.
17262
7a185db2
AJ
172632012-05-18 Andreas Jaeger <aj@suse.de>
17264
17265 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17266 function only available for GCCs before 3.4 since GCC 3.4
17267 introduced a builtin.
17268 (lrint): Likewise.
17269 (llrintf): Likewise.
17270 (llrint): Likewise.
17271 (fmaxf): Likewise.
17272 (fmax): Likewise.
17273 (fminf): Likewise.
17274 (fmin): Likewise.
17275 (rint): Likewise.
17276 (rintf): Likewise.
17277 (nearbyint): Likewise.
17278 (nearbyintf): Likewise.
17279 (ceil): Likewise.
17280 (ceilf): Likewise.
17281 (floor): Likewise.
17282 (floorf): Likewise.
17283
3e5aef87
L
172842012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17285
428bd707
L
17286 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17287 on both fields and cast pointer to __syscall_ulong_t.
17288
3e5aef87
L
17289 * bits/types.h (__fsword_t): New type.
17290 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17291 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17292 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17293 (__FSWORD_T_TYPE): Likewise.
17294 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17295 (__FSWORD_T_TYPE): Likewise.
17296 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17297 (__FSWORD_T_TYPE): Likewise.
17298 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17299 (__FSWORD_T_TYPE): Likewise.
17300 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17301 __SWORD_TYPE with __fsword_t.
17302 (statfs64): Likewise.
17303
1ba7c3dc
DM
173042012-05-17 David S. Miller <davem@davemloft.net>
17305
17306 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17307
59910343
AJ
173082012-05-17 Andreas Jaeger <aj@suse.de>
17309
17310 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17311 warning.
17312
2e4c1e9e
L
173132012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17314
17315 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17316
de7f5ce7
AJ
173172012-05-17 Andreas Jaeger <aj@suse.de>
17318
17319 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17320 when it is used.
17321
286abc3d
CM
173222012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17323
17324 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17325
477cc68e
L
173262012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17327
17328 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17329 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17330
1a0994f5
CD
173312012-05-17 Andreas Jaeger <aj@suse.de>
17332 Carlos O'Donell <carlos_odonell@mentor.com>
17333
17334 [BZ #14059]
17335 * sysdeps/x86_64/multiarch/init-arch.h
17336 (bit_YMM_Usable): Rename to...
17337 (bit_AVX_Usable): ... this.
17338 (bit_FMA4_Usable): New macro.
17339 (bit_XMM_state): New macro.
17340 (bit_YMM_state): New macro.
17341 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17342 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17343 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17344 (CPUID_OSXSAVE): New macro.
17345 (CPUID_AVX): New macro.
17346 (CPUID_FMA4): New macro.
17347 (index_YMM_Usable): Rename to...
17348 (index_AVX_Usable): ... this.
17349 (HAS_AVX): Use HAS_ARCH_FEATURE.
17350 (HAS_FMA4): Likewise.
17351 (HAS_YMM_USABLE): Remove.
17352 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17353 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17354 are present.
17355 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17356 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17357 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17358 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17359 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17360
0af797de
CM
173612012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17362
17363 * math/libm-test.c: Support platforms without multiple rounding modes.
17364 * math/bug-nextafter.c: Support platforms without FP exceptions.
17365 * math/bug-nexttoward.c: Likewise.
17366 * math/test-fenv.c: Likewise.
17367 * math/test-misc.c: Likewise.
17368 * stdlib/bug-getcontext.c: Likewise.
17369
e39745ff
AJ
173702012-05-17 Andreas Jaeger <aj@suse.de>
17371
17372 * manual/examples/search.c (critter_cmp): Change signature to
17373 avoid warnings.
17374 * manual/string.texi (Collation Functions): Likewise.
17375
48970aba
L
173762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17377
17378 * bits/types.h: Fold copyright years.
17379 * bits/typesizes.h: Likewise.
17380 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17381 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17382 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17383 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17384 * time/time.h: Likewise.
17385
bedee953
PP
173862012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17387
17388 [BZ #208]
17389 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17390 in instead of returning them. Return void.
17391 (__libc_mallinfo): Accumulate over all arenas.
17392 (__malloc_stats): Adjust for change in int_mallinfo interface.
17393
61653dfb
RM
173942012-05-16 Roland McGrath <roland@hack.frob.com>
17395
30b99d79
RM
17396 [BZ #10375]
17397 * configure.in (NM): Add AC_CHECK_TOOL for it.
17398 (libc_extra_cflags): New substituted variable.
17399 Check for -fstack-protector being used implicitly.
17400 * configure: Regenerated.
17401 * config.make.in (config-extra-cflags): New variable,
17402 gets @libc_extra_cflags@.
17403 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17404
61653dfb
RM
17405 [BZ #10375]
17406 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17407 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17408 * configure: Regenerated.
17409 * config.make.in (CPPUNDEFS): New substituted variable.
17410 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17411 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17412 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17413
661768bb
L
174142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17415
17416 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17417 (mq_attr): Use __syscall_slong_t.
17418
d4261567
L
174192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17420
17421 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17422 Check __x86_64__ instead of __WORDSIZE.
17423 (_STAT_VER_LINUX): Likewise.
17424 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17425 __syscall_ulong_t and __syscall_slong_t.
17426 (stat64): Likewise.
17427
cf3ff365
L
174282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17429
17430 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17431
76cf3e4d
L
174322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17433
17434 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17435
a637753a
L
174362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17437
17438 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17439 __syscall_ulong_t.
17440
d5e05119
L
17441 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17442 include <bits/wordsize.h>. Check __x86_64__ instead of
17443 __WORDSIZE.
17444 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17445 defined.
17446 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17447
f62ee380
L
17448 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17449 include <bits/wordsize.h>. Check __x86_64__ instead of
17450 __WORDSIZE.
17451 (user_regs_struct): Use "__extension__ unsigned long long"
17452 instead of "unsigned long" if __x86_64__ is defined.
17453 (user): Likewise. Pad after pointer field if __ILP32__ is
17454 defined.
17455
4e124ced
JM
174562012-05-16 Joseph Myers <joseph@codesourcery.com>
17457
6a3951a0
JM
17458 * configure.in (makeinfo): Require version 4.5 or later. Allow
17459 versions 5 to 9.
17460 * configure: Regenerated.
17461 * manual/install.texi (texinfo): Increase version requirement to
17462 4.5 or later.
17463 * INSTALL: Regenerated.
17464
4e124ced
JM
17465 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17466
953ca31a
L
174672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17468
17469 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17470
617aca05
L
17471 * sysdeps/x86_64/x32/ffs.c: New file.
17472
5762f7ae
L
17473 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17474 __syscall_ulong_t.
17475 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17476 defined. Use __syscall_ulong_t.
17477 (shminfo): Use __syscall_ulong_t.
17478 (shm_info): Likewise.
17479
a26b6856
L
17480 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17481 __syscall_ulong_t.
17482
cb2b9ef7
L
17483 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17484 <bits/wordsize.h>.
17485 (msgqnum_t): Use __syscall_ulong_t.
17486 (msglen_t): Likewise.
17487 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17488 __syscall_ulong_t.
17489
34683bb0
L
17490 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17491 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17492
84a68786
L
17493 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17494
48baa5f1
L
17495 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17496 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17497
180be88b
L
17498 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17499 __syscall_slong_t.
17500
5e90c8ad
L
17501 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17502 include <bits/wordsize.h>. Check __x86_64__ instead of
17503 __WORDSIZE.
17504
23dfb58b
L
17505 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17506 "unsigned long long int" if __x86_64__ is defined.
17507 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17508
ce5d54b0
L
17509 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17510 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17511 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17512
13dc9eac
L
17513 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17514 <stdint.h>.
17515 (GET_PC): Cast to uintptr_t first.
17516 (GET_FRAME): Likewise.
17517 (GET_STACK): Likewise.
17518
a7895d15
L
17519 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17520 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17521 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17522 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17523 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17524 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17525 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17526 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17527 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17528 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17529 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17530 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17531 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17532 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17533 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17534 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17535 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17536 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17537 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17538 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17539 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17540 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17541 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17542 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17543 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17544 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17545 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17546 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17547 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17548
656416c9
AS
175492012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17550
5bd66283
AS
17551 * Makerules (+depfiles): Also collect depfiles from .oS in
17552 $(extra-objs).
17553 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17554 .oS, $(libnldbl-routines)).
17555
656416c9
AS
17556 * Makerules (native-compile-mkdep-flags): Define.
17557 * sunrpc/Makefile (extra-objs): Add $(addprefix
17558 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17559 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17560 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17561 calling $(make-target-directory).
17562
a46f2169
L
175632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17564
17565 * bits/types.h (__snseconds_t): Removed.
17566 * time/time.h (struct timespec): Replace __snseconds_t with
17567 __syscall_slong_t.
17568 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17569 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17570 Likewise.
17571 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17572 (__SNSECONDS_T_TYPE): Likewise.
17573 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17574 (__SNSECONDS_T_TYPE): Likewise.
17575 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17576 (__SNSECONDS_T_TYPE): Likewise.
17577
6af6528b
L
175782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17579
17580 * sysdeps/mach/hurd/bits/typesizes.h
17581 (__SYSCALL_SLONG_TYPE): New macro.
17582 (__SYSCALL_ULONG_TYPE): Likewise.
17583
de986b56
L
175842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17585
17586 * bits/types.h (__syscall_slong_t): New type.
17587 (__syscall_ulong_t): Likewise.
17588
17589 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17590 (__SYSCALL_ULONG_TYPE): Likewise.
17591 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17592 (__SYSCALL_SLONG_TYPE): Likewise.
17593 (__SYSCALL_ULONG_TYPE): Likewise.
17594 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17595 (__SYSCALL_SLONG_TYPE): Likewise.
17596 (__SYSCALL_ULONG_TYPE): Likewise.
17597 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17598 (__SYSCALL_SLONG_TYPE): Likewise.
17599 (__SYSCALL_ULONG_TYPE): Likewise.
17600
85736dc7
L
176012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17602
17603 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17604 Add sigaltstack-offsets.sym.
17605 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17606 <sigaltstack-offsets.h>.
17607 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17608 longjmp_msg pointer.
17609 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17610 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17611 signal stack.
17612 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17613
cc03b296
JM
176142012-05-15 Joseph Myers <joseph@codesourcery.com>
17615
a9538892
JM
17616 * elf/stackguard-macros.h: Remove file.
17617 * sysdeps/generic/stackguard-macros.h: New file.
17618 * sysdeps/i386/stackguard-macros.h: Likewise.
17619 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17620 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17621 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17622 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17623 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17624 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17625 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17626 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17627 <elf/stackguard-macros.h>.
17628
cc03b296
JM
17629 [BZ #14109]
17630 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17631 __aligned__ in attribute.
17632 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17633 (gregset_t): Likewise.
17634
93171016
L
176352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17636
17637 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17638 * sysdeps/x86_64/64/Implies-after: Here. New file.
17639 * sysdeps/x86_64/x32/Implies-after: New file.
17640
d86813a0
L
176412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17642
17643 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17644 and access return value for _dl_profile_fixup. Use R10_LP to
17645 load frame size.
17646
2953ec75
L
176472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17648
17649 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17650
3b550e9e
L
176512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17652
17653 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17654 * sysdeps/x86_64/x32/sysdep.h: New file.
17655
eda41706
L
176562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17657
17658 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17659 * sysdeps/x86_64/setjmp.S: Likewise.
17660
9ea01d93
AZ
176612012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17662
17663 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17664 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17665 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17666 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17667 remove unused global constant.
17668
02a91938
CM
176692012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17670
17671 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17672 include of <not-cancel.h>.
17673
6540185f
RM
176742012-05-15 Roland McGrath <roland@hack.frob.com>
17675
17676 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17677
509072a0
AJ
176782012-05-15 Jeff Law <law@redhat.com>
17679 Andreas Jaeger <aj@suse.de>
17680
17681 [BZ #13594]
17682 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17683 out from...
17684 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17685 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17686 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17687 code changing __hst_map_handle.map.
17688
ba75122d
RM
176892012-05-15 Roland McGrath <roland@hack.frob.com>
17690
17691 * configure.in (sysnames): Look for Implies-before and Implies-after
17692 files.
17693 * configure: Regenerated.
17694
890d8bd8
L
176952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17696
17697 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17698 8-byte data alignment with LP_SIZE alignment.
17699
f6ee6623
L
177002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17701
17702 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17703 into R10_LP.
17704
ea2626f6
L
177052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17706
17707 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17708
085f715e
L
177092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17710
17711 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17712 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17713 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17714 Likewise.
17715 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17716
be8498fc
L
177172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17718
17719 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17720 (stackinfo_sub_sp): Likewise.
17721
70bc83b9
L
177222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17723
17724 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17725 RAX_LP.
17726
9bc0b730
L
177272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17728
17729 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17730 into R*_LP.
17731
6d2850e7
L
177322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17733
17734 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17735 sizes into R*_LP.
17736
3cb84561
L
177372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17738
17739 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17740
54e2ed81
L
177412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17742
17743 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17744 into R11_LP and load __x86_64_shared_cache_size_half into
17745 R8_LP.
17746
8a17f349
L
177472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17748
17749 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17750 R8_LP.
17751
777b1eea
AZ
177522012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17753
17754 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17755 logb for POWER7.
17756 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17757 logbf for POWER7.
17758 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17759 logbl for POWER7.
17760 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17761 powerpc32/power7/fpu/s_logb.c via #include.
17762 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17763 powerpc32/power7/fpu/s_logbf.c via #include.
17764 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17765 powerpc32/power7/fpu/s_logbl.c via #include.
17766
d20d4ac2
JM
177672012-05-15 Joseph Myers <joseph@codesourcery.com>
17768
17769 * README.libm: Remove file.
17770
6cdef1ab
L
177712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17772
17773 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17774 count for x32. Use R*_LP and omit operand-size suffix.
17775
0b254d8f
L
177762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17777
17778 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17779 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17780 * sysdeps/x86_64/x32/shlib-versions: New file.
17781
ceb809dc
RM
177822012-05-14 Roland McGrath <roland@hack.frob.com>
17783
17784 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17785 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17786 Use _dl_fatal_printf instead.
17787
37f1abd4
JM
177882012-05-14 Joseph Myers <joseph@codesourcery.com>
17789
17790 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17791 set if not set by the user. Do not allow for being unset.
17792 * sysdeps/unix/sysv/linux/configure: Regenerated.
17793
11de3a33
L
177942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17795
17796 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17797 the `q' suffix from lea and replace .quad with ASM_ADDR.
17798
e02f153a
L
177992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17800
17801 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17802 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17803 instead of $17.
17804 (PTR_DEMANGLE): Likewise.
17805
520ae0fd
L
178062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17807
17808 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17809 (LP_OP): Likewise.
17810 (ASM_ADDR): Likewise.
17811 (RAX_LP): Likewise.
17812 (RBP_LP): Likewise.
17813 (RBX_LP): Likewise.
17814 (RCX_LP): Likewise.
17815 (RDI_LP): Likewise.
17816 (RSI_LP): Likewise.
17817 (RSP_LP): Likewise.
17818 (R8_LP): Likewise.
17819 (R9_LP): Likewise.
17820 (R10_LP): Likewise.
17821 (R10_LP): Likewise.
17822 (R11_LP): Likewise.
17823 (R12_LP): Likewise.
17824 (R13_LP): Likewise.
17825 (R14_LP): Likewise.
17826 (R15_LP): Likewise.
17827
b985be81
L
178282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17829
17830 * sysdeps/x86_64/x32/dl-machine.h: New file.
17831
6a4888ff
AJ
178322012-05-14 Andreas Jaeger <aj@suse.de>
17833
17834 * manual/Makefile (subdir): Remove export of subdir.
17835 (all): Remove target.
17836 (.PHONY): Remove all from list.
17837 (mkinstalldirs): Remove.
17838 (.PHONY): Remove installdirs from list.
17839 ($(inst_infodir)/libc.info): Use make-target-directory.
17840 (installdirs): Remove.
17841 (subdir_%): Remove.
17842 (glibc-targets): Remove.
17843 (lib): Remove.
17844 (stubs): Remove.
17845 ($(objpfx)stubs ../po/manual.pot): Remove.
17846 ($(objpfx)stamp%): Remove.
17847 (make-target-directory): Remove.
17848 (subdir_install): Remove.
17849 (routines): Remove.
17850 (aux): Remove.
17851 (sources): Remove.
17852 (objects): Remove.
17853 (headers): Remove.
17854
17855 [BZ #13750]
17856 * manual/.gitignore: Remove, it's not needed anymore.
17857 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17858 all files in it.
17859 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17860 directory.
17861 (texis): Renamed to $(objpfx)texis.
17862 (texis-path): New, contains path to generated files.
17863 (chapters.%): Use texis-path for complete path, add extra argument
17864 libc-texinfo.sh.
17865 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17866 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17867 (summary,texi, stamp-summary): Use complete path of
17868 files. Generate files in build dir.
17869 (dir-add.texi): Build in build dir.
17870 (libm-err.texi,stamp-libm-err): Likewise.
17871 (version.texi, stamp-version): Likewise.
17872 (.%c.texi): Likewise.
17873 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17874 (mostlyclean): Remove target.
17875 (realclean): Remove target.
17876 (generated): Add new variable with contents from mostlyclean and
17877 realclean, remove entries duplicated in common-mostlyclean, add
17878 stamp-libm-err and stamp-version.
17879 (generated-dirs): Add libc directory.
17880 ($(inst_infodir)/libc.info): Install files from build dir.
17881
17882 * manual/install.texi (Configuring and compiling): Adjust since
17883 the info files are not part of the tar ball anymore.
17884
7ac77294
AJ
178852012-05-14 Andreas Jaeger <aj@suse.de>
17886
17887 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17888 variable.
17889
ffb7875d
JM
178902012-05-14 Joseph Myers <joseph@codesourcery.com>
17891
17892 [BZ #13717]
17893 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17894 to 2.2.0 where earlier.
17895 * sysdeps/unix/sysv/linux/configure: Regenerated.
17896 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17897 Remove conditional code.
17898 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17899 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17900 Remove conditional code.
17901 [!__NR_lchown]: Likewise.
17902 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17903 [__NR_lchown]: Likewise.
17904 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17905 comment referencing __ASSUME_LCHOWN_SYSCALL.
17906 * sysdeps/unix/sysv/linux/i386/sigaction.c
17907 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17908 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17909 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17910 Remove conditional code.
17911 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17912 (__protocol_available): Remove #if 0 code.
17913 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17914 conditional code.
17915 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17916 * sysdeps/unix/sysv/linux/kernel-features.h
17917 (__ASSUME_GETCWD_SYSCALL): Don't define.
17918 (__ASSUME_REALTIME_SIGNALS): Likewise.
17919 (__ASSUME_PREAD_SYSCALL): Likewise.
17920 (__ASSUME_PWRITE_SYSCALL): Likewise.
17921 (__ASSUME_POLL_SYSCALL): Likewise.
17922 (__ASSUME_LCHOWN_SYSCALL): Likewise.
17923 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17924 non-SPARC.
17925 (__ASSUME_SIOCGIFNAME): Don't define.
17926 (__ASSUME_MSG_NOSIGNAL): Likewise.
17927 (__ASSUME_SENDFILE): Define unconditionally.
17928 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17929 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17930 conditional code.
17931 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17932 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17933 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17934 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17935 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17936 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17937 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17939 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17940 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17942 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17943 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17945 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17946 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17948 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17949 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17951 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17952 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17954 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17955 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
17957 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17958 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17960 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17961 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17962 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
17963 Remove conditional code.
17964 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17965 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17966 Remove conditional code.
17967 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17968 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
17969 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
17970 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17971 Remove conditional code.
17972 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17973 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
17974 Remove conditional code.
17975 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17976 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
17977 Remove conditional code.
17978 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17979 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17980 Remove conditional code.
17981 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17982 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17983 Remove conditional code.
17984 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17985 * sysdeps/unix/sysv/linux/sh/pwrite64.c
17986 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17987 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17988 * sysdeps/unix/sysv/linux/sigaction.c
17989 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17990 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17991 * sysdeps/unix/sysv/linux/sigpending.c
17992 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17993 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17994 * sysdeps/unix/sysv/linux/sigprocmask.c
17995 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17996 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17997 * sysdeps/unix/sysv/linux/sigsuspend.c
17998 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17999 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18000 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18001 (__libc_missing_rt_sigs): Remove.
18002 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18003 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18004 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18005 Remove conditional code.
18006 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18007 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18008 return 1.
18009 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18010 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18011 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18012 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18013
1bfb7291
AJ
180142012-05-14 Andreas Jaeger <aj@suse.de>
18015
caae5a81
AJ
18016 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18017 it's not used in glibc.
18018 (__coshm1): Likewise.
18019 (__acosh1p): Likewise.
18020 (__sgn): Likewise.
18021
1bfb7291
AJ
18022 * manual/string.texi (Copying and Concatenation): Add missing
18023 variable in concat example.
18024 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18025
c044d724
L
180262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18027
144c5467 18028 [BZ #14103]
c044d724
L
18029 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18030 __builtin_clzl with __builtin_clzll.
18031
2523c62b
L
180322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18033
18034 [BZ #14104]
18035 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18036 libc_freeres_ptr.
18037
d7bb4c42
LD
180382012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18039
18040 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18041 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18042 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18043 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18044
9dc4e1fb
MF
180452012-05-14 Mike Frysinger <vapier@gentoo.org>
18046
18047 * NEWS: Update ia64 info.
18048
c7df0112
AS
180492012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18050
18051 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18052 used as bcopy.
18053
dc70356c
TS
180542012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18055
18056 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18057 * sysdeps/unix/syscalls.list (dup3): Likewise.
18058 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18059 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18060
9fb1a21f
L
180612012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18062
18063 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18064 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18065
4822a2a5
L
180662012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18067
18068 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18069 thread pointer.
18070 (TLS_IE): Use mov/add instead of movq/addq to load thread
18071 pointer.
18072 (TLS_GD_PREFIX): New.
18073 (TLS_GD): Use it.
18074
842b81d6
DM
180752012-05-11 David S. Miller <davem@davemloft.net>
18076
18077 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18078 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18079 (_FPU_SETCW): Likewise.
18080
1cf463cd
L
180812012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18082
18083 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18084 is 32-byte aligned.
18085
60cc4a18
AS
180862012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18087
18088 [BZ #11837]
18089 * iconvdata/gb18030.c: Update tables.
18090 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18091 characters specially.
18092 (BODY for TO_LOOP): Add encoding of missing ranges.
18093
febb44a4
TS
180942012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18095
18096 [BZ #13673]
18097 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18098 * sysdeps/mach/hurd/dup3.c: Likewise.
18099 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18100 * sysdeps/powerpc/memmove.c:: Likewise.
18101
0a10fb9e
L
181022012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18103
18104 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18105 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18106
df8a552f
L
181072012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18108
18109 * elf/elf.h (R_X86_64_RELATIVE64): New.
18110 (R_X86_64_NUM): Updated.
18111 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18112 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18113 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18114 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18115 tst-quad1pie tst-quad2pie
18116 (modules-names): Add tst-quadmod1 tst-quadmod2.
18117 ($(objpfx)tst-quad1): New dependency.
18118 ($(objpfx)tst-quad2): Likewise.
18119 ($(objpfx)tst-quad1pie): Likewise.
18120 ($(objpfx)tst-quad2pie): Likewise.
18121 * sysdeps/x86_64/tst-quad1.c: New file.
18122 * sysdeps/x86_64/tst-quad1pie.c: New file.
18123 * sysdeps/x86_64/tst-quad2.c: Likewise.
18124 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18125 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18126 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18127 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18128 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18129
f34d6f84
ST
181302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18131
f42d41d1
ST
18132 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18133 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18134 * streams/stropts.h (t_scalar_t): Define type.
18135
3c3571fc
ST
18136 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18137 (_PATH_PRESERVE): Set to "/var/lib".
18138 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18139
61f06bd3
ST
18140 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18141 instead of int.
18142
918d4d71
ST
18143 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18144 if __dir_mkfile succeeded.
18145
f34d6f84
ST
18146 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18147 checking for _hurd_dtablesize. Unlock it right after having
18148 finished _hurd_dtable allocation.
18149
10589b4a
TS
181502012-05-10 Thomas Schwinge <thomas@schwinge.name>
18151
674cdbc7
TS
18152 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18153 * sysdeps/mach/hurd/configure: Regenerated.
18154 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18155 special-casing to...
18156 * sysdeps/gnu/configure.in: ... this new file.
18157 * sysdeps/unix/sysv/linux/configure: Regenerated.
18158 * sysdeps/gnu/configure: New generated file.
18159
8e41b99f
TS
18160 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18161 for Linux: use nsec instead of usec, as well as:
18162 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18163 members of type struct timespec.
18164 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18165 New macros.
18166 (struct stat64): Likewise.
18167 (_STATBUF_ST_NSEC): New macro.
18168 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18169
10589b4a
TS
18170 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18171 __strtoul_internal rather than strtoul.
18172
63643c85
PT
181732012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18174
18175 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18176 and reject them.
18177
3faebe6a
ST
181782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18179
18180 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18181 which preserves existing values.
18182 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18183
c6474b07
PT
181842012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18185
18186 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18187 TIMEOUT values. Return EINVAL for NFDS values either negative or
18188 greater than FD_SETSIZE.
18189
1043890b
ST
181902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18191
18192 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18193 allocated, call __vm_protect to finish enabling the existing space, and
18194 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18195 allocate the remainder.
18196
37ed8b9b
PT
181972012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18198
18199 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18200 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18201
db653660
ST
182022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18203
37ed8b9b
PT
18204 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18205 sysdeps/mach/hurd/readlink.c.
b29d4053 18206
db653660
ST
18207 * posix/tst-sysconf.c (posix_options): Only use
18208 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18209 _POSIX_SYNCHRONIZED_IO when they are defined
18210 * sysdeps/mach/hurd/bits/posix_opt.h:
18211 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18212 (_XOPEN_REALTIME): Undefine macro.
18213 (_XOPEN_REALTIME_THREADS): Undefine macro.
18214 (_XOPEN_SHM): Undefine macro.
18215 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18216 macro to -1.
18217 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18218 macro to -1.
18219 (_POSIX_ASYNC_IO): Undefine macro.
18220 (_POSIX_PRIORITIZED_IO): Undefine macro.
18221 (_POSIX_SPIN_LOCKS): Define macro to -1.
18222
ee16e894
ST
18223 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18224 SA_NODEFER, SA_RESETHAND.
18225 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18226 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18227 F_DUPFD_CLOEXEC.
18228
6103ae3b
TS
182292012-05-10 Thomas Schwinge <thomas@schwinge.name>
18230
18231 * elf/Makefile (pldd-modules): Define unconditionally.
18232
80b4e5f3
TS
182332012-05-10 Thomas Schwinge <thomas@schwinge.name>
18234
18235 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18236
edadcbd6
ST
182372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18238
18239 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18240 Return ENOENT when name is empty.
18241 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18242
80694780
TS
182432012-05-10 Thomas Schwinge <thomas@schwinge.name>
18244
1792c087
TS
18245 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18246
80694780
TS
18247 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18248
6b645f0d
ST
182492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18250
80694780
TS
18251 Fix mlock in all cases except non-readable pages.
18252 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18253 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 18254
6b645f0d
ST
18255 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18256 (__mkdir): When path is `/', just fail with EEXIST.
18257 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18258
e468f8a3
TS
182592012-05-10 Thomas Schwinge <thomas@schwinge.name>
18260
18261 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18262 <sys/uio.h> (for writev).
18263 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18264 and <sys/param.h> (for MIN).
18265
a4186cff
PT
182662012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18267
18268 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18269 REQUESTED_TIME. Properly set the remaining time and return EINTR
18270 if interrupted.
18271
510bbf14
TS
182722012-05-10 Thomas Schwinge <thomas@schwinge.name>
18273
18274 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18275 Depend on against $(link-rpcuserlibs).
18276
5d5722e8
ST
182772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18278
a4186cff
PT
18279 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18280 (__libc_stack_end): Do not use attribute_relro.
18281 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18282 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 18283 to libthread-provided value.
a4186cff
PT
18284 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18285 attribute_relro.
5d5722e8 18286
37233df9
TS
182872012-05-10 Thomas Schwinge <thomas@schwinge.name>
18288
be971a2b
TS
18289 [BZ #3748]
18290 * bits/libc-lock.h (__libc_once_get): New macro.
18291 * sysdeps/mach/bits/libc-lock.h: Likewise.
18292 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18293 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18294 instead of using implementation details.
18295
37233df9
TS
18296 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18297 * libio/freopen.c: Likewise.
18298 * libio/freopen64.c: Likewise.
18299 * misc/syslog.c: Likewise.
18300 * nscd/connections.c: Likewise.
18301 * nscd/netgroupcache.c: Likewise.
18302 * sysdeps/posix/getcwd.c: Likewise.
18303
38de94a5
RM
183042012-05-10 Roland McGrath <roland@hack.frob.com>
18305
18306 * math/w_ilogbf.c: Add #include <limits.h>.
18307
67530489
ST
183082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18309
a4186cff 18310 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
18311 path instead of returning without unlocking.
18312
67530489
ST
18313 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18314 immediate-write ioctls.
18315 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18316
5aa3a74a
TS
183172012-05-10 Thomas Schwinge <thomas@schwinge.name>
18318
18bad2ae
TS
18319 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18320 __builtin_frame_address instead of making assumptions about the
18321 location of the return address relative to DATA. Force early load of
18322 the return address.
18323 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18324 __builtin_frame_address.
18325
5aa3a74a
TS
18326 dup3 for GNU Hurd.
18327 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18328 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18329 implement dup3 and do some further code clean-ups.
18330 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18331 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18332
ecd0de9a
ST
183332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18334
cd9fa985
ST
18335 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18336
a4186cff
PT
18337 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18338 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18339 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18340 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18341 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18342 d->port.lock.
802ca5a5 18343
a4186cff
PT
18344 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18345 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18346 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 18347
bcf55240
TS
183482012-05-10 Thomas Schwinge <thomas@schwinge.name>
18349
6960eb42
TS
18350 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18351 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18352 definitions.
18353
eb43375f
TS
18354 accept4 for GNU Hurd.
18355 * include/sys/socket.h (__libc_accept4): New prototype.
18356 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18357 to implement __libc_accept4.
18358 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18359 __libc_accept4.
18360 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18361
bcf55240
TS
18362 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18363 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18364 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18365 signal-defines.sym.
18366
6178c55b
ST
183672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18368
a4186cff 18369 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 18370
6f080c2f
TS
183712012-05-10 Thomas Schwinge <thomas@schwinge.name>
18372
18373 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18374 assertion on O_CLOEXEC flag.
18375 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18376 * hurd/intern-fd.c: Likewise.
18377 * hurd/port2fd.c: Likewise.
18378
bcfe3a54
ST
183792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18380
18381 [BZ #3906]
18382 * bits/in.h (IPV6_PKTINFO): Define new macro.
18383 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18384
89c9aa49
AZ
183852012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18386
18387 [BZ #13954]
18388 [BZ #13955]
18389 [BZ #13956]
18390 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18391 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18392 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18393 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18394 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18395 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18396 * math/libm-test.inc (logb_test) : Additional logb tests.
18397
021db4be
AJ
183982012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18399 Andreas Jaeger <aj@suse.de>
18400
18401 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18402 * configure: Regenerated.
18403 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18404 * config.make.in (link-obsolete-rpc): New substituted variable.
18405 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18406 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18407 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18408 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18409 so that libc.a contains the symbols.
18410 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18411 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18412 * sunrpc/auth_none.c: Likewise.
18413 * sunrpc/auth_unix.c: Likewise.
18414 * sunrpc/authdes_prot.c: Likewise.
18415 * sunrpc/authuxprot.c: Likewise.
18416 * sunrpc/clnt_gen.c: Likewise.
18417 * sunrpc/clnt_perr.c: Likewise.
18418 * sunrpc/clnt_raw.c: Likewise.
18419 * sunrpc/clnt_simp.c: Likewise.
18420 * sunrpc/clnt_tcp.c: Likewise.
18421 * sunrpc/clnt_udp.c: Likewise.
18422 * sunrpc/clnt_unix.c: Likewise.
18423 * sunrpc/des_crypt.c: Likewise.
18424 * sunrpc/des_soft.c: Likewise.
18425 * sunrpc/get_myaddr.c: Likewise.
18426 * sunrpc/key_call.c: Likewise.
18427 * sunrpc/key_prot.c: Likewise.
18428 * sunrpc/netname.c: Likewise.
18429 * sunrpc/pm_getmaps.c: Likewise.
18430 * sunrpc/pm_getport.c: Likewise.
18431 * sunrpc/pmap_clnt.c: Likewise.
18432 * sunrpc/pmap_prot.c: Likewise.
18433 * sunrpc/pmap_prot2.c: Likewise.
18434 * sunrpc/pmap_rmt.c: Likewise.
18435 * sunrpc/publickey.c: Likewise.
18436 * sunrpc/rpc_cmsg.c: Likewise.
18437 * sunrpc/rpc_common.c: Likewise.
18438 * sunrpc/rpc_dtable.c: Likewise.
18439 * sunrpc/rpc_prot.c: Likewise.
18440 * sunrpc/rpc_thread.c: Likewise.
18441 * sunrpc/rtime.c: Likewise.
18442 * sunrpc/svc.c: Likewise.
18443 * sunrpc/svc_auth.c: Likewise.
18444 * sunrpc/svc_raw.c: Likewise.
18445 * sunrpc/svc_run.c: Likewise.
18446 * sunrpc/svc_tcp.c: Likewise.
18447 * sunrpc/svc_udp.c: Likewise.
18448 * sunrpc/svc_unix.c: Likewise.
18449 * sunrpc/svcauth_des.c: Likewise.
18450 * sunrpc/xcrypt.c: Likewise.
18451 * sunrpc/xdr.c: Likewise.
18452 * sunrpc/xdr_array.c: Likewise.
18453 * sunrpc/xdr_float.c: Likewise.
18454 * sunrpc/xdr_intXX_t.c: Likewise.
18455 * sunrpc/xdr_mem.c: Likewise.
18456 * sunrpc/xdr_rec.c: Likewise.
18457 * sunrpc/xdr_ref.c: Likewise.
18458 * sunrpc/xdr_sizeof.c: Likewise.
18459 * sunrpc/xdr_stdio.c: Likewise.
18460
b5c086a2
RM
184612012-05-10 Roland McGrath <roland@hack.frob.com>
18462
18463 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18464 change. Update copyright years.
18465
6d74dd09
JM
184662012-05-10 Joseph Myers <joseph@codesourcery.com>
18467
18468 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18469
28e72501
MK
184702012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18471 Joseph Myers <joseph@codesourcery.com>
18472 Paul Pluzhnikov <ppluzhnikov@google.com>
18473
18474 [BZ #14012]
18475 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18476 requiring rpcgen.
18477 [cross-compiling] (extra-libs): Likewise.
18478 [cross-compiling] (extra-libs-others): Likewise.
18479 [cross-compiling] (librpcsvc-routines): Likewise.
18480 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18481 [cross-compiling] (omit-deps): Likewise.
18482 (sunrpc-CPPFLAGS): New variable.
18483 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18484 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18485 (cross-rpcgen-objs): New variable.
18486 (extra-objs): Append $(cross-rpcgen-objs).
18487 ($(cross-rpcgen-objs)): New rule.
18488 ($(objpfx)cross-rpcgen): Likewise.
18489 (rpcgen-cmd): Define to use $(built-program-file). Expand
18490 comment.
18491 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18492 ($(objpfx)x%.stmp): Likewise.
18493 * sunrpc/proto.h [IS_IN_build] (_): Define.
18494 [IS_IN_build] (_libc_intl_domainname): Likewise.
18495
c8c59454
L
184962012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18497
18498 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18499 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18500 and R_X86_64_TPOFF64.
18501
6f27cd16
JM
185022012-05-10 Joseph Myers <joseph@codesourcery.com>
18503
18504 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18505 sysdeps/unix/sysv/syscalls.list.
18506 (stime): Likewise.
18507 (utime): Likewise.
18508 * sysdeps/unix/sysv/syscalls.list: Remove file.
18509
02467e1c
PE
185102012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18511
18512 [BZ #3440]
18513 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18514 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18515 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18516 (__LC_IDENTIFICATION): Make these macros useful in #if
18517 expressions, as required by C99.
18518
da392631
AS
185192012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18520
18521 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18522 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18523 after this.
18524
8115f29b
L
185252012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18526
18527 * stdlib/longlong.h: Updated from GCC.
18528
bdd74070
AJ
185292012-05-09 Andreas Jaeger <aj@suse.de>
18530
edfe0dbe
AJ
18531 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18532 default is first entry.
18533 (run_mode): Set type.
18534 (main): Remove informal message about syslog.
18535 (options): Fix typo.
18536
bcfe3a54
ST
18537 [BZ #14053]
18538 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 18539 to asm.
bcfe3a54
ST
18540 (lrint): Likewise.
18541 (llrintf): Likewise.
18542 (llrint): Likewise.
18543 (rint): Likewise.
18544 (rintf): Likewise.
18545 (nearbyint): Likewise.
18546 (nearbyintf): Likewise.
bdd74070 18547
91d8d69e
AJ
185482012-05-09 Andreas Jaeger <aj@suse.de>
18549 Pedro Alves <palves@redhat.com>
18550
18551 * nscd/nscd.c (run_mode): Use enum.
18552 (main): Cleanup coding style issue.
18553
bb90b80b
AJ
185542012-05-09 Alexandre Oliva <aoliva@redhat.com>
18555 Andreas Jaeger <aj@suse.de>
18556
bcfe3a54
ST
18557 * nscd/nscd.c (go_background): Replaced with...
18558 (run_mode): ... this.
bb90b80b 18559 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
18560 (options): Add -F --foreground.
18561 (main): Implement it.
18562 (parse_opt): Parse it.
bb90b80b 18563
1a4b75a1
AJ
185642012-05-09 Andreas Jaeger <aj@suse.de>
18565
18566 [BZ #14083]
18567 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18568 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18569 -Wconversion warning.
18570 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18571 Likewise.
18572
b1cc2472
JM
185732012-05-09 Joseph Myers <joseph@codesourcery.com>
18574
18575 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18576 == 0.
18577 (LC_ALL): Use macro-int-constant.
18578 (LC_COLLATE): Likewise.
18579 (LC_CTYPE): Likewise.
18580 (LC_MESSAGES): Likewise.
18581 (LC_MONETARY): Likewise.
18582 (LC_NUMERIC): Likewise.
18583 (LC_TIME): Likewise.
18584 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18585 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18586 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18587 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18588 Specify type.
18589 [C99-based standards] (float_t): Expect type.
18590 [C99-based standards] (double_t): Expect type.
18591 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18592 type.
18593 [C99-based standards] (HUGE_VALL): Likewise.
18594 [C99-based standards] (INFINITY): Likewise.
18595 [C99-based standards] (NAN): Likewise.
18596 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18597 [C99-based standards] (FP_NAN): Likewise.
18598 [C99-based standards] (FP_NORMAL): Likewise.
18599 [C99-based standards] (FP_SUBNORMAL): Likewise.
18600 [C99-based standards] (FP_ZERO): Likewise.
18601 [C99-based standards] (FP_FAST_FMA): Use
18602 optional-macro-int-constant. Specify type. Require == 1.
18603 [C99-based standards] (FP_FAST_FMAF): Likewise.
18604 [C99-based standards] (FP_FAST_FMAL): Likewise.
18605 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18606 [C99-based standards] (FP_ILOGBNAN): Likewise.
18607 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18608 Specify type.
18609 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18610 [C99-based standards] (math_errhandling): Specify type.
18611 [ISO99 || ISO11] (signgam): Do not allow.
18612 [non-C99-based standards] (copysignf): Do not allow.
18613 [non-C99-based standards] (exp2f): Likewise.
18614 [non-C99-based standards] (log2f): Likewise.
18615 [non-C99-based standards] (modff): Allow.
18616 [non-C99-based standards] (erff): Do not allow.
18617 [non-C99-based standards] (erfcf): Likewise.
18618 [non-C99-based standards] (gammaf): Likewise.
18619 [non-C99-based standards] (hypotf): Likewise.
18620 [non-C99-based standards] (j0f): Likewise.
18621 [non-C99-based standards] (j1f): Likewise.
18622 [non-C99-based standards] (jnf): Likewise.
18623 [non-C99-based standards] (lgammaf): Likewise.
18624 [non-C99-based standards] (tgammaf): Likewise.
18625 [non-C99-based standards] (y0f): Likewise.
18626 [non-C99-based standards] (y1f): Likewise.
18627 [non-C99-based standards] (ynf): Likewise.
18628 [non-C99-based standards] (isnanf): Likewise.
18629 [non-C99-based standards] (acoshf): Likewise.
18630 [non-C99-based standards] (asinhf): Likewise.
18631 [non-C99-based standards] (atanhf): Likewise.
18632 [non-C99-based standards] (cbrtf): Likewise.
18633 [non-C99-based standards] (expm1f): Likewise.
18634 [non-C99-based standards] (ilogbf): Likewise.
18635 [non-C99-based standards] (log1pf): Likewise.
18636 [non-C99-based standards] (logbf): Likewise.
18637 [non-C99-based standards] (nextafterf): Likewise.
18638 [non-C99-based standards] (remainderf): Likewise.
18639 [non-C99-based standards] (rintf): Likewise.
18640 [non-C99-based standards] (scalbf): Likewise.
18641 [non-C99-based standards] (copysignl): Likewise.
18642 [non-C99-based standards] (exp2l): Likewise.
18643 [non-C99-based standards] (log2l): Likewise.
18644 [non-C99-based standards] (modfl): Allow.
18645 [non-C99-based standards] (erfl): Do not allow.
18646 [non-C99-based standards] (erfcl): Likewise.
18647 [non-C99-based standards] (gammal): Likewise.
18648 [non-C99-based standards] (hypotl): Likewise.
18649 [non-C99-based standards] (j0l): Likewise.
18650 [non-C99-based standards] (j1l): Likewise.
18651 [non-C99-based standards] (jnl): Likewise.
18652 [non-C99-based standards] (lgammal): Likewise.
18653 [non-C99-based standards] (tgammal): Likewise.
18654 [non-C99-based standards] (y0l): Likewise.
18655 [non-C99-based standards] (y1l): Likewise.
18656 [non-C99-based standards] (ynl): Likewise.
18657 [non-C99-based standards] (isnanl): Likewise.
18658 [non-C99-based standards] (acoshl): Likewise.
18659 [non-C99-based standards] (asinhl): Likewise.
18660 [non-C99-based standards] (atanhl): Likewise.
18661 [non-C99-based standards] (cbrtl): Likewise.
18662 [non-C99-based standards] (expm1l): Likewise.
18663 [non-C99-based standards] (ilogbl): Likewise.
18664 [non-C99-based standards] (log1pl): Likewise.
18665 [non-C99-based standards] (logbl): Likewise.
18666 [non-C99-based standards] (nextafterl): Likewise.
18667 [non-C99-based standards] (remainderl): Likewise.
18668 [non-C99-based standards] (rintl): Likewise.
18669 [non-C99-based standards] (scalbl): Likewise.
18670 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18671 [non-C99-based standards] (FP_*): Do not allow.
18672 [C99-based standards] (FP_*): Change to
18673 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18674 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18675 allow.
18676 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18677 (SIG_ERR): Likewise.
18678 [X/Open-based standards] (SIG_HOLD): Likewise.
18679 (SIG_IGN): Likewise.
18680 (SIGABRT): Use macro-int-constant. Specify type. Require
18681 positive value.
18682 (SIGFPE): Likewise.
18683 (SIGILL): Likewise.
18684 (SIGINT): Likewise.
18685 (SIGSEGV): Likewise.
18686 (SIGTER): Likewise.
18687 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18688 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18689 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18690 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18691 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18692 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18693 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18694 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18695 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18696 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18697 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18698 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18699 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18700 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18701 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18702 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18703 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18704 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18705 [X/Open-based standards] (SIGTRAP): Likewise.
18706 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18707 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18708 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18709 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18710 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18711 allow.
18712
b9f1922d
IW
187132012-05-08 Ian Wienand <ianw@vmware.com>
18714
18715 [BZ #14080]
18716 * time/tzset.c (__tzset_parse_tz): Update default rules for
18717 daylight time changes in the Energy Policy Act of 2005.
18718
1db86e88
AJ
187192012-05-09 Andreas Jaeger <aj@suse.de>
18720
18721 [BZ #13983]
18722 * elf/ldconfig.c (parse_conf): Change string to make clear that
18723 ldconfig only issued a warning if ld.so.conf does not exist.
18724
dee4a4e3
DM
187252012-05-08 David S. Miller <davem@davemloft.net>
18726
ee0db190
DM
18727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18728 movxtod instead of popping the value on the stack.
18729
dee4a4e3
DM
18730 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18731
6a43ec98
CD
187322012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18733
18734 * config.h.in: Add HAVE_ARM_PCS_VFP.
18735
05c2c961
RMG
187362012-05-08 Roland Mc Grath <roland@hack.frob.com>
18737
bcfe3a54
ST
18738 [BZ #13979]
18739 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18740 checking but the checks are disabled for any reason.
05c2c961 18741
4b30f61a
L
187422012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18743
18744 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18745 and ELF64_R_TYPE with ELFW(R_TYPE).
18746
eee2bc67
JM
187472012-05-08 Joseph Myers <joseph@codesourcery.com>
18748
7ea5391a
JM
18749 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18750 (ulimit): Likewise.
18751
eee2bc67
JM
18752 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18753 (settimeofday): Likewise.
18754
abb66a67
MF
187552012-05-08 Mike Frysinger <vapier@gentoo.org>
18756
18757 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18758 a struct th_u2 inside the union, and move tu_block/tu_code into
18759 a new th_u3 union of tu_block/tu_code inside of that. Move
18760 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18761 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18762 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18763 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18764 (th_stuff): Change to th_u1.tu_stuff.
18765 (th_data): Define.
18766 (th_msg): Change to th_u1.th_u2.tu_data.
18767
7f18b530
DM
187682012-05-07 David S. Miller <davem@davemloft.net>
18769
05760585
DM
18770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18771
7f18b530
DM
18772 [BZ #14074]
18773 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18774 (SETUP_PIC_REG): Use it.
18775 (SETUP_PIC_REG_LEAF): Use it.
18776
495fd99f
JM
187772012-05-07 Joseph Myers <joseph@codesourcery.com>
18778
18779 [BZ #13885]
18780 [BZ #13923]
18781 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18782 USE_AS_EXPM1L.
18783 (EXPL_FINITE): Likewise.
18784 (FLDLOG): Likewise.
18785 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18786 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18787 e_expl.S.
18788 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18789 USE_AS_EXPM1L.
18790 (EXPL_FINITE): Likewise.
18791 (FLDLOG): Likewise.
18792 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18793 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18794 e_expl.S.
18795 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18796 test of -max_value argument for long double.
18797 * sysdeps/i386/fpu/libm-test-ulps: Update.
18798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18799
6693d694
DM
188002012-05-06 David S. Miller <davem@davemloft.net>
18801
18802 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18803 quad soft-float symbols whose references which are compiler
18804 generated.
18805 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18806
6c23e11c
JM
188072012-05-06 Joseph Myers <joseph@codesourcery.com>
18808
d8b82cad
JM
18809 [BZ #13884]
18810 [BZ #13914]
18811 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18812 USE_AS_EXP10L.
18813 (EXPL_FINITE): Likewise.
18814 (FLDLOG): Likewise.
18815 (c0): Likewise.
18816 (c1): Likewise.
18817 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18818 Adjust comments for base varying.
18819 (__expl_finite): Change alias to EXPL_FINITE.
18820 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18821 e_expl.S.
18822 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18823 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18824 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18825 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18826 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18827 USE_AS_EXP10L.
18828 (EXPL_FINITE): Likewise.
18829 (FLDLOG): Likewise.
18830 (c0): Likewise.
18831 (c1): Likewise.
18832 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18833 Adjust comments for base varying.
18834 (__expl_finite): Change alias to EXPL_FINITE.
18835 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
18836 tests for bugs.
18837 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18838
6c23e11c
JM
18839 [BZ #14064]
18840 * math/libm-test.inc (check_float_internal): Correct ulp
18841 calculation for subnormal expected results.
18842
29ba805c
AJ
188432012-05-06 Andreas Jaeger <aj@suse.de>
18844
18845 * Makeconfig (+math-flags): New, set to -frounding-math.
18846 (+cflags): Add +math-flags so that all of glibc gets compiled with
18847 it.
18848
18849 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18850
7b17aeda
JM
188512012-05-05 Joseph Myers <joseph@codesourcery.com>
18852
5779f134
JM
18853 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18854 Disable one test.
18855
41498f4d
JM
18856 [BZ #13787]
18857 [BZ #13922]
18858 [BZ #14036]
18859 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18860 (__ieee754_expl): Allow for and saturate large arguments.
18861 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18862 (u_threshold): Likewise.
18863 (__exp): Call __ieee754_exp before checking for overflow and
18864 underflow.
18865 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18866 (u_threshold): Likewise.
18867 (__expf): Call __ieee754_expf before checking for overflow and
18868 underflow.
18869 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18870 (u_threshold): Likewise.
18871 (__expl): Call __ieee754_expl before checking for overflow and
18872 underflow.
18873 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18874 (__ieee754_expl): Allow for and saturate large arguments.
18875 * math/libm-test.inc (exp_test): Add another test. Do not allow
18876 missing overflow exception on overflow.
18877 (expm1_test): Do not allow missing overflow exception on overflow.
18878
6698b8bf
JM
18879 * sysdeps/i386/fpu/e_expl.c: Move to ...
18880 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
18881 rather than using inline asm.
18882 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18883 * sysdeps/x86_64/fpu/e_expl.S: Copy from
18884 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18885
7b17aeda
JM
18886 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18887 (nice): Likewise.
18888 (poll): Likewise.
18889 (signal): Likewise.
18890 (time): Likewise.
18891 (times): Likewise.
18892
f7c85819
JM
188932012-05-04 Joseph Myers <joseph@codesourcery.com>
18894
18895 * sysdeps/unix/syscalls.list (adjtime): Add entry from
18896 sysdeps/unix/common/syscalls.list.
18897 (fchmod): Likewise.
18898 (fchown): Likewise.
18899 (ftruncate): Likewise.
18900 (getrusage): Likewise.
18901 (gettimeofday): Likewise.
18902 (setpgid): Likewise.
18903 (setregid): Likewise.
18904 (setreuid): Likewise.
18905 (sigaction): Likewise.
18906 (truncate): Likewise.
18907 (vhangup): Likewise.
18908 * sysdeps/unix/common/syscalls.list: Remove file.
18909 * sysdeps/unix/bsd/Implies: Don't include unix/common.
18910 * sysdeps/unix/sysv/linux/Implies: Likewise.
18911
336270d0
L
189122012-05-04 H.J. Lu <hongjiu.lu@intel.com>
18913
18914 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18915 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18916 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18917 Moved to ...
18918 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18919 Here.
18920 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18921 to ...
18922 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18923 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18924 to ...
18925 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18926 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18927 to ...
18928 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18929 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18930 to ...
18931 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18932 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18933 to ...
18934 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18935 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18936 to ...
18937 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18938 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18939 to ...
18940 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18941 Here.
18942 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18943 to ...
18944 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18945 Here.
18946 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18947 to ...
18948 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18949 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18950 Moved to ...
18951 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18952 Here.
18953 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18954 to ...
18955 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
18956
d128e450
JM
189572012-05-04 Joseph Myers <joseph@codesourcery.com>
18958
fa8ee516
JM
18959 * sysdeps/unix/common/bits/dirent.h: Remove file.
18960 * sysdeps/unix/common/bits/fcntl.h: Likewise.
18961
d128e450
JM
18962 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
18963 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
18964 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
18965 * sysdeps/unix/bsd/isatty.c: Likewise.
18966 * sysdeps/unix/bsd/tcdrain.c: Likewise.
18967 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
18968 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
18969
ff8faaf0 189702012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 18971
62881be4 18972 [BZ #13563]
31dc8730
AZ
18973 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
18974 long double comparison inaccuracies.
18975 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18977
6fef930c
AS
189782012-05-04 Andreas Schwab <schwab@linux-m68k.org>
18979
18980 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
18981 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
18982
8f203e6c
JM
189832012-05-04 Joseph Myers <joseph@codesourcery.com>
18984
18985 [BZ #14049]
18986 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
18987 nonzero digits before rounding a hex value.
18988 * stdlib/tst-strtod.c (tests): Add another test.
18989
5197d9c2
AK
189902012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18991
18992 * sysdeps/s390/fpu/libm-test-ulps: Update.
18993
f0c1dedf
AJ
189942012-05-03 Andreas Jaeger <aj@suse.de>
18995
18996 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
18997 does not get optimized out.
18998 (malloc_opt_barrier): New.
18999
a65ef2ae 190002012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 19001 Roland McGrath <roland@hack.frob.com>
a65ef2ae 19002
2b942cb7 19003 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 19004 intermediate file deletion.
2b942cb7 19005 (generated): Add .symlist files.
a65ef2ae 19006
54b71e02
JM
190072012-05-03 Joseph Myers <joseph@codesourcery.com>
19008
19009 [BZ #13775]
19010 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19011 Redirect under this condition.
19012 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19013 [__USE_GNU] (__dprintf_chk): Not under this condition.
19014 [__USE_GNU] (__vdprintf_chk): Likewise.
19015 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19016 under this condition.
19017 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19018 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19019 [__USE_XOPEN2K8] (vdprintf): Likewise.
19020 [__USE_GNU] (__dprintf_chk): Not under this condition.
19021 [__USE_GNU] (__vdprintf_chk): Likewise.
19022 [__USE_GNU] (dprintf): Likewise.
19023 [__USE_GNU] (vdprintf): Likewise.
19024
d3dfcc41
RM
190252012-05-03 Roland McGrath <roland@hack.frob.com>
19026
19027 * elf/Makefile (common-generated): Set this instead of generated for
19028 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19029 $(all-built-dso)-derived lists.
19030
7ac30cc5
AJ
190312012-05-03 Andreas Jaeger <aj@suse.de>
19032
0c51e550
AJ
19033 * sysdeps/i386/fpu/libm-test-ulps: Update.
19034
7ac30cc5
AJ
19035 * FAQ: Removed.
19036 * FAQ.in: Likewise.
19037 * scripts/gen-FAQ.pl: Likewise.
19038 * manual/install.texi (Installation): Point to online location of
19039 FAQ.
19040 * Makefile (files-for-dist): Remove FAQ.
19041 (FAQ): Remove.
19042
d4c2917f
AM
190432012-05-02 Allan McRae <allan@archlinux.org>
19044
19045 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19046 (LDFLAGS-reldepmod5.so): Likewise.
19047 (LDFLAGS-reldep6mod1.so): Likewise.
19048 (LDFLAGS-reldep6mod4.so): Likewise.
19049 (LDFLAGS-reldep8mod3.so): Likewise.
19050 (LDFLAGS-unload4mod1.so): Likewise.
19051 (LDFLAGS-unload4mod2.so): Likewise.
19052 (LDFLAGS-tst-initorder): Likewise.
19053 (LDFLAGS-tst-initordera2.so): Likewise.
19054 (LDFLAGS-tst-initordera3.so): Likewise.
19055 (LDFLAGS-tst-initordera4.so): Likewise.
19056 (LDFLAGS-tst-initorderb2.so): Likewise.
19057 (LDFLAGS-noload): Likewise.
19058 (LDFLAGS-next): Likewise.
19059 (LDFLAGS-order2mod1.so): Likewise.
19060 (LDFLAGS-order2mod2.so): Likewise.
19061 (LDFLAGS-tst-initorder2): Likewise.
19062 (LDFLAGS-tst-initorder2a.so): Likewise.
19063 (LDFLAGS-tst-initorder2b.so): Likewise.
19064 (LDFLAGS-tst-initorder2c.so): Likewise.
19065 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19066
d77f993f
DM
190672012-05-02 David S. Miller <davem@davemloft.net>
19068
19069 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19070
171a70b4
PP
190712012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19072
19073 [BZ #14055]
19074 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19075
0be196ad
AJ
190762012-05-02 Andreas Jaeger <aj@suse.de>
19077
19078 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19079 since we manipulate rounding mode.
19080 (CPPFLAGS-test-idouble.c): Likewise.
19081 (CPPFLAGS-test-ifloat.c): Likewise.
19082 (CFLAGS-test-ldouble.c): Likewise.
19083 (CFLAGS-test-double.c): Likewise.
19084 (CFLAGS-test-float.c): Likewise.
19085 (CFLAGS-test-misc.c): Likewise.
19086 (CFLAGS-test-test-fenv.c): Likewise.
19087
4f9d04aa
AZ
190882012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19089
2b942cb7
RM
19090 [BZ #2550]
19091 [BZ #2570]
19092 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19093 comparisons to determine direction to adjust input.
4f9d04aa 19094
82a79e7d
RM
190952012-05-01 Roland McGrath <roland@hack.frob.com>
19096
f5a01ca9
RM
19097 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19098 output to the target.
19099
90fe4186
RM
19100 * scripts/localplt.awk: New file.
19101 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19102 (check-localplt-CFLAGS): Variable removed.
19103 ($(all-built-dso:=.jmprel)): New static pattern rule.
19104 (generated): Add those targets.
19105 (localplt-built-dso): New variable.
19106 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19107
19108 * elf/check-localplt.c: File removed.
19109
82397ed6
RM
19110 * scripts/check-execstack.awk: New file.
19111 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19112 (check-execstack-CFLAGS): Variable removed.
19113 ($(objpfx)check-execstack.h): Target removed.
19114 ($(objpfx)execstack-default): New target.
19115 (generated): Add that instead of check-execstack.h.
19116 ($(all-built-dso:=.phdr)): New static pattern rule.
19117 (generated): Add those targets.
19118 * elf/check-execstack.c: File removed.
19119
82a79e7d
RM
19120 * scripts/check-textrel.awk: New file.
19121 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19122 (check-textrel-CFLAGS): Variable removed.
19123 (all-built-dso): Use := to define.o
19124 ($(all-built-dso:=.dyn)): New static pattern rule.
19125 (generated): Add those targets.
19126 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19127 * config.make.in (READELF): New substituted variable.
19128 * elf/check-textrel.c: File removed.
19129
62fde54f 191302012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 19131
615605c9
JM
19132 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19133 allow.
19134 * conform/data/ctype.h-data [C99-based standards] (isblank):
19135 Expect function.
19136 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19137 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19138 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19139 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19140 Specify type. Require positive value.
19141 (EILSEQ): Likewise.
19142 (ERANGE): Likewise.
19143 [ISO || POSIX] (EILSEQ): Do not expect.
19144 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19145 Specify type. Require positive value.
19146 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19147 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19148 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19149 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19150 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19151 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19152 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19153 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19154 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19155 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19156 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19157 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19158 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19159 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19160 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19161 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19162 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19163 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19164 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19165 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19166 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19167 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19168 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19169 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19170 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19171 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19172 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19173 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19174 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19175 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19176 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19177 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19178 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19179 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19180 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19181 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19182 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19183 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19184 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19185 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19186 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19187 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19188 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19189 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19190 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19191 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19192 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19193 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19194 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19195 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19196 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19197 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19198 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19199 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19200 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19201 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19202 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19203 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19204 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19205 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19206 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19207 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19208 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19209 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19210 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19211 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19212 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19213 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19214 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19215 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19216 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19217 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19218 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19219 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19220 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19221 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19222 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19223 Require >= 2.
19224 (FLT_ROUNDS): Expect as macro, not constant.
19225 (FLT_MANT_DIG): Use macro-int-constant.
19226 (DBL_MANT_DIG): Likewise.
19227 (LDBL_MANT_DIG): Likewise.
19228 (FLT_DIG): Likewise.
19229 (DBL_DIG): Likewise.
19230 (LDBL_DIG): Likewise.
19231 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19232 (DBL_MIN_EXP): Likewise.
19233 (LDBL_MIN_EXP): Likewise.
19234 (FLT_MAX_EXP): Use macro-int-constant.
19235 (DBL_MAX_EXP): Likewise.
19236 (LDBL_MAX_EXP): Likewise.
19237 (FLT_MAX_10_EXP): Likewise.
19238 (DBL_MAX_10_EXP): Likewise.
19239 (LDBL_MAX_10_EXP): Likewise.
19240 (FLT_MAX): Use macro-constant.
19241 (DBL_MAX): Likewise.
19242 (LDBL_MAX): Likewise.
19243 (FLT_EPSILON): Use macro-constant. Give upper bound.
19244 (DBL_EPSILON): Likewise.
19245 (LDBL_EPSILON): Likewise.
19246 (FLT_MIN): Likewise.
19247 (DBL_MIN): Likewise.
19248 (LDBL_MIN): Likewise.
19249 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19250 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19251 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19252 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19253 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19254 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19255 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19256 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19257 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19258 [ISO11] (FLT_TRUE_MIN): Likewise.
19259 [ISO11] (LDBL_TRUE_MIN): Likewise.
19260 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19261 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19262 (SCHAR_MIN): Use macro-int-constant. Specify type.
19263 (SCHAR_MAX): Likewise.
19264 (UCHAR_MAX): Likewise.
19265 (CHAR_MIN): Likewise.
19266 (CHAR_MAX): Likewise.
19267 (MB_LEN_MAX): Use macro-int-constant.
19268 (SHRT_MIN): Use macro-int-constant. Specify type.
19269 (SHRT_MAX): Likewise.
19270 (USHRT_MAX): Likewise.
19271 (INT_MAX): Likewise.
19272 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19273 bound negative.
19274 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19275 bound with "U".
19276 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19277 bound with "L".
19278 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19279 bound negative. Suffix upper bound with "L".
19280 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19281 bound with "UL".
19282 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19283 Specify type.
19284 [C99-based standards] (LLONG_MAX): Likewise.
19285 [C99-based standards] (ULLONG_MAX): Likewise.
19286 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19287 == 0.
19288 [ISO11] (max_align_t): Require type.
19289 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19290
c9140a62
JM
19291 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19292 from $CFLAGS, without defining away __attribute__ calls.
19293 (checknamespace): Use $CFLAGS_namespace.
19294
9af0bf29
JM
19295 * conform/conformtest.pl (@keywords): Only include C99 keywords
19296 for standards based on C99 or C11.
19297
343222a2
JM
19298 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19299 Disable tests.
19300 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19301 UNIX98]: Likewise.
19302
661f8cf0
JM
19303 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19304 usability of symbols in #if.
19305
ee74b9cb
JM
19306 * conform/conformtest.pl: If macro or constant types start
19307 "promoted:", expect the symbol to be of the following type
19308 promoted by the integer promotions.
62fde54f 19309
aafc49b3
JM
19310 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19311 in one place. Also handle "macro-constant".
19312
fefdf574
JM
19313 * conform/conformtest.pl: Only accept expected macro values with
19314 "==". Parse all "macro" lines in one place.
19315 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19316
f2d922fe
JM
19317 * conform/conformtest.pl: Handle braced types on "constant" lines
19318 instead of handling "typed-constant".
19319 * conform/data/signal.h-data: Use "constant" instead of
19320 "typed-constant".
19321
d22956c9
JM
19322 * conform/conformtest.pl: Handle "optional-" at start of lines in
19323 one place rather than duplicating several cases. Handle each
19324 format of "macro" line with initial "optional-".
19325
028e2e38
JM
19326 * conform/conformtest.pl: Only accept expected constant or
19327 optional-constant values with "==". Parse all "constant" lines in
19328 one place. Parse all "optional-constant" lines in one place.
19329 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19330 * conform/data/fmtmsg.h-data: Likewise.
19331 * conform/data/netinet/in.h-data: Likewise.
19332 * conform/data/tar.h-data: Likewise.
19333 * conform/data/limits.h-data: Use "==" form on "constant" and
19334 "optional-constant" lines.
19335
1b8f2850
JM
19336 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19337 Use -std=c99 for XOPEN2K.
19338 (@knownproblems): Remove.
19339 (newtoken): Don't check %isknown.
19340
a05a144b
JM
19341 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19342 Do not expect macro.
19343 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19344 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19345 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19346 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19347 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19348 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19349 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19350 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19351 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19352 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19353 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19354 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19355 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19356 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19357 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19358 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19359 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19360 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19361 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19362 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19363 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19364 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19365 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19366 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19367 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19368 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19369 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19370 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19371 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19372 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19373 [XPG3] (acosh): Likewise.
19374 [XPG3] (asinh): Likewise.
19375 [XPG3] (atanh): Likewise.
19376 [XPG3] (cbrt): Likewise.
19377 [XPG3] (expm1): Likewise.
19378 [XPG3] (ilogb): Likewise.
19379 [XPG3] (log1p): Likewise.
19380 [XPG3] (logb): Likewise.
19381 [XPG3] (nextafter): Likewise.
19382 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19383 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19384 [XPG3] (remainder): Likewise.
19385 [XPG3] (rint): Likewise.
19386 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19387 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19388 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19389 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19390 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19391 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19392 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19393 [UNIX98 || XOPEN2K] (scalb): Expect.
19394 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19395 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19396 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19397 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19398 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19399 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19400 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19401 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19402 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19403 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19404 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19405 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19406 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19407 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19408 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19409 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19410 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19411 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19412 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19413 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19414 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19415 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19416 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19417 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19418 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19419 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19420 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19421 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19422 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19423 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19424 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19425 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19426 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19427 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19428 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19429 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19430 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19431 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19432 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19433 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19434 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19435 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19436 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19437 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19438 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19439 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19440 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19441 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19442 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19443 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19444 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19445 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19446 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19447 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19448 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19449 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19450 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19451 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19452 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19453 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19454 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19455 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19456 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19457 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19458 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19459 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19460 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19461 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19462 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19463 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19464 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19465 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19466 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19467 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19468 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19469 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19470 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19471 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19472 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19473 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19474 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19475 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19476 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19477 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19478 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19479 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19480 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19481 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19482 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19483 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19484 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19485 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19486 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19487 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19488 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19489 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19490 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19491 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19492 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19493 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19494 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19495 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19496 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19497 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19498 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19499 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19500 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19501 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19502 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19503 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19504 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19505 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19506 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19507 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19508 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19509 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19510 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19511 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19512 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19513 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19514 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19515 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19516 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19517 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19518 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19519 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19520 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19521 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19522 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19523 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19524 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19525 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19526 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19527 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19528 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19529 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19530 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19531
73c5ebe3
JM
19532 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19533 _XOPEN_SOURCE_EXTENDED for XPG4.
19534
39c33b6c
JM
19535 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19536
62fde54f
JM
19537 * Makeconfig (localtime): Remove variable.
19538 (inst_localtime-file): Likewise.
19539
0741d64c
AS
195402012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19541
19542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19543 Update.
19544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19545 Update.
19546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19547 Update.
19548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19549 Update.
19550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19551 Update.
19552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19553 Update.
19554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19555 Update.
19556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19557 Update.
19558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19559 Update.
19560
7cb029ee
JM
195612012-05-01 Joseph Myers <joseph@codesourcery.com>
19562
19563 [BZ #2550]
19564 [BZ #2570]
19565 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19566 comparisons to determine direction to adjust input.
19567 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19568 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19569 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19570 Likewise.
19571 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19572 Likewise.
19573 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19574 Likewise.
19575 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19576 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19577 Likewise.
19578 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19579 Likewise.
19580 * math/libm-test.inc (nexttoward_test): Add more tests.
19581
412bd966
AS
195822012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19583
19584 [BZ #14040]
19585 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19586 in version GLIBC_2.1, not GLIBC_2.0.
19587 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19588 Likewise.
19589
9568c0c2
JM
195902012-04-30 Joseph Myers <joseph@codesourcery.com>
19591
adfbc8ac
JM
19592 [BZ #13942]
19593 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19594 (1 - x) * (1 + x).
19595 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19596 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19597 * math/libm-test.inc (acos_test): Add more tests.
19598 (asin_test): Likewise.
19599 * sysdeps/i386/fpu/libm-test-ulps: Update.
19600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19601
5ba3cc69
JM
19602 [BZ #14034]
19603 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19604 of square root.
19605 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19606 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19607 * math/libm-test.inc (acos_test_tonearest): New function.
19608 (acos_test_towardzero): Likewise.
19609 (acos_test_downward): Likewise.
19610 (acos_test_upward): Likewise.
19611 (asin_test_tonearest): Likewise.
19612 (asin_test_towardzero): Likewise.
19613 (asin_test_downward): Likewise.
19614 (asin_test_upward): Likewise.
19615 (main): Call the new functions.
19616 * sysdeps/i386/fpu/libm-test-ulps: Update.
19617 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19618
9568c0c2
JM
19619 [BZ #13884]
19620 [BZ #13924]
19621 * math/e_exp10.c: Include <float.h>.
19622 (__ieee754_exp10): Handle underflow here rather than multiplying
19623 large negative argument by M_LN10.
19624 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19625 of __ieee754_expf.
19626 * math/e_exp10l.c: Include <float.h>.
19627 (__ieee754_exp10l): Handle underflow here rather than multiplying
19628 large negative argument by M_LN10l.
19629 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19630 spurious overflow exception on underflow.
19631
5ac3ea17
MP
196322012-04-29 Marek Polacek <polacek@redhat.com>
19633
19634 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19635 (__fortify_function): New macro.
19636 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19637 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19638 __extern_always_inline.
19639 * libio/bits/stdio2.h: Likewise.
19640 * libio/bits/stdio.h: Likewise.
19641 * string/string.h: Likewise.
19642 * string/bits/string3.h: Likewise.
19643 * include/stdio.h: Likewise.
19644 * stdlib/bits/stdlib.h: Likewise.
19645 * stdlib/stdlib.h: Likewise.
19646 * rt/bits/mqueue2.h: Likewise.
19647 * rt/mqueue.h: Likewise.
19648 * posix/bits/unistd.h: Likewise.
19649 * posix/unistd.h: Likewise.
19650 * io/bits/poll2.h: Likewise.
19651 * io/bits/fcntl2.h: Likewise.
19652 * io/fcntl.h: Likewise.
19653 * io/sys/poll.h: Likewise.
19654 * misc/bits/syslog.h: Likewise.
19655 * misc/bits/syslog-ldbl.h: Likewise.
19656 * misc/sys/syslog.h: Likewise.
19657 * socket/bits/socket2.h: Likewise.
19658 * socket/sys/socket.h: Likewise.
19659 * debug/tst-chk1.c: Likewise.
19660 * wcsmbs/bits/wchar2.h: Likewise.
19661 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19662 * wcsmbs/wchar.h: Likewise.
19663
ecf0ebfb
AJ
196642012-04-29 Andreas Jaeger <aj@suse.de>
19665
19666 * Makerules (tests): Remove enable-check-abi protection.
19667 (check-abi-warn): Remove.
19668 (check-abi-%): Remove check-abi-warn usage.
19669
19670 * configure.in: Remove check-abi configure option.
19671 * configure: Regenerated.
19672 * config.make.in (enable-check-abi): Remove.
19673
6d5c57fa
AS
196742012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19675
24c5d07e 19676 [BZ #14033]
ded5180a
AS
19677 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19678 double functions to double *_finite functions.
19679
7e0d315d
AS
19680 [BZ #13941]
19681 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19682 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19683 LDBL_MIN_EXP.
19684 * stdio-common/Makefile (tests): Add tst-sprintf3.
19685 * stdio-common/tst-sprintf3.c: New file.
19686
6d5c57fa
AS
19687 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19688 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19689
0749ff8b
JM
196902012-04-28 Joseph Myers <joseph@codesourcery.com>
19691
19692 * conform/conformtest.pl: Remove duplicate typed-constant
19693 handling.
19694
8dbd5d7b
DM
196952012-04-28 David S. Miller <davem@davemloft.net>
19696
19697 * Makerules (%.abilist): Add vpath on sysdep_dirs.
19698 (check-abi-%): Remove AWK script prerequisite and explicit
19699 abilist directory.
19700 (check-abi): Rewrite to just diff the symlist with the abilist.
19701 (config-tls, config-abi-config): Delete, no longer used.
19702 (update-abi-%): Remove AWK script and explicit abilist directory.
19703 (update-abi): Rewrite to simply compare and conditionally copy the
19704 symlist and the sysdep abilist file. Remove update-abi-config
19705 checks.
19706 * abilist/ld.abilist: Remove.
19707 * abilist/libBrokenLocale.abilist: Remove.
19708 * abilist/libanl.abilist: Remove.
19709 * abilist/libcrypt.abilist: Remove.
19710 * abilist/libdl.abilist: Remove.
19711 * abilist/librt.abilist: Remove.
19712 * abilist/libthread_db.abilist: Remove.
19713 * abilist/libutil.abilist: Remove.
19714 * scripts/extract-abilist.awk: Remove.
19715 * scripts/merge-abilist.awk: Remove.
19716 * sysdeps/generic/libcidn.abilist: New file.
19717 * sysdeps/generic/libnss_compat.abilist: New file.
19718 * sysdeps/generic/libnss_db.abilist: New file.
19719 * sysdeps/generic/libnss_dns.abilist: New file.
19720 * sysdeps/generic/libnss_files.abilist: New file.
19721 * sysdeps/generic/libnss_hesiod.abilist: New file.
19722 * sysdeps/generic/libnss_nis.abilist: New file.
19723 * sysdeps/generic/libnss_nisplus.abilist: New file.
19724 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19725 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19726 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19727 file.
19728 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19729 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19730 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19731 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19732 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19733 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19734 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19735 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19736 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19737 file.
19738 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19739 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19740 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19741 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19742 file.
19743 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19744 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19745 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19746 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19747 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19748 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19749 file.
19750 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19751 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19752 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19753 file.
19754 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19755 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19756 New file.
19757 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19758 New file.
19759 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19760 New file.
19761 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19762 New file.
19763 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19764 New file.
19765 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19766 New file.
19767 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19768 New file.
19769 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19770 New file.
19771 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19772 New file.
19773 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19774 New file.
19775 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19776 New file.
19777 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19778 New file.
19779 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19780 New file.
19781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19782 file.
19783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19784 New file.
19785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19786 New file.
19787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19788 file.
19789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19790 New file.
19791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19792 New file.
19793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19794 file.
19795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19796 New file.
19797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19798 New file.
19799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19800 New file.
19801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19802 New file.
19803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19804 New file.
19805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19806 New file.
19807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19809 file.
19810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19811 New file.
19812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19813 file.
19814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19815 file.
19816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19817 file.
19818 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19819 file.
19820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19821 file.
19822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19823 New file.
19824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19825 file.
19826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19827 file.
19828 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19829 New file.
19830 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19831 file.
19832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19834 file.
19835 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19836 New file.
19837 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19838 file.
19839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19840 file.
19841 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19842 file.
19843 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19844 file.
19845 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19846 file.
19847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19848 New file.
19849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19850 file.
19851 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19852 file.
19853 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19854 New file.
19855 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19856 file.
19857 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19858 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19859 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19860 file.
19861 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19862 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19863 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19864 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19865 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19866 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19867 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19868 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19869 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19870 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19871 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19872 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19873 file.
19874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19875 New file.
19876 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19877 file.
19878 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19879 file.
19880 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19881 file.
19882 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19883 file.
19884 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19885 file.
19886 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19887 New file.
19888 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19889 New file.
19890 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19891 file.
19892 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19893 New file.
19894 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19895 file.
19896 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19897 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19898 file.
19899 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19900 New file.
19901 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19902 file.
19903 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19904 file.
19905 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19906 file.
19907 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19908 file.
19909 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19910 file.
19911 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19912 New file.
19913 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19914 New file.
19915 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19916 file.
19917 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19918 New file.
19919 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19920 file.
19921
41d73a1b
JM
199222012-04-28 Joseph Myers <joseph@codesourcery.com>
19923
19924 * conform/conformtest.pl: Fix typo in handling typed-constant from
19925 allow-header.
19926
28aeeda4
JM
199272012-04-27 Joseph Myers <joseph@codesourcery.com>
19928
adae8f5e
JM
19929 * README: Cut down references to pre-2.6 Linux kernels and
19930 Linuxthreads. Update lists of configurations in libc and ports
19931 and sort alphabetically. Say "or newer" with Linux kernel version
19932 requirements.
19933
28aeeda4
JM
19934 * config.h.in [IS_IN_build]: Allow compiling without optimization.
19935
a462cb63
RA
199362012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19937
19938 [BZ #887]
19939 * math/libm-test.inc (logb_test_downward): New test to expose
19940 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19941 rounding mode.
19942
6ad3493e
JM
199432012-04-27 Joseph Myers <joseph@codesourcery.com>
19944
19945 [BZ #14027]
19946 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19947 to be done.
19948 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19949 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19950
2ce4f015
JM
199512012-04-26 Joseph Myers <joseph@codesourcery.com>
19952
5aeb141a
JM
19953 * sysdeps/unix/i386/brk.S: Remove file.
19954 * sysdeps/unix/i386/dl-brk.S: Likewise.
19955 * sysdeps/unix/i386/pipe.S: Likewise.
19956 * sysdeps/unix/i386/sigreturn.S: Likewise.
19957 * sysdeps/unix/i386/syscall.S: Likewise.
19958 * sysdeps/unix/i386/vfork.S: Likewise.
19959 * sysdeps/unix/i386/wait.S: Likewise.
19960
7143acae
JM
19961 * sysdeps/unix/common/tcsendbrk.c: Move to ...
19962 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
19963
2ce4f015
JM
19964 * configure.in (arm*-none*): Do not allow without
19965 --enable-hacker-mode.
19966 (netbsd*): Remove case setting base_os.
19967 (386bsd*): Likewise.
19968 (freebsd*): Likewise.
19969 (bsdi*): Likewise.
19970 (osf*): Likewise.
19971 (sunos*): Likewise.
19972 (ultrix*): Likewise.
19973 (newsos*): Likewise.
19974 (dynix*): Likewise.
19975 (*bsd*): Likewise.
19976 (sysv*): Likewise.
19977 (isc*): Likewise.
19978 (esix*): Likewise.
19979 (sco*): Likewise.
19980 (minix*): Likewise.
19981 (irix4*): Likewise.
19982 (irix6*): Likewise.
19983 (solaris[2-9]*): Likewise.
19984 (none): Likewise.
19985 * configure: Regenerated.
19986
0ac229c8
AZ
199872012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19988
19989 [BZ #11521]
19990 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
19991 overflow or cancellation in calculating denominator.
19992 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
19993 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
19994 down expression to avoid unexpected rounding in newer GCCs.
19995 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
19996
33f244f4
DM
199972012-04-26 David S. Miller <davem@davemloft.net>
19998
19999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20000 long-double compat symbols.
20001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20014
cfa1f3e8
DM
200152012-04-25 David S. Miller <davem@davemloft.net>
20016
20017 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20018 HWCAP_* values only after the memory barriers have been defined.
20019 (atomic_full_barrier): Define.
20020 (atomic_read_barrier): Define.
20021 (atomic_write_barrier): Define.
20022
6e236b92
SP
200232012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20024
20025 * shlib-versions: Add libgcc_s version information.
20026 * sysdeps/generic/libgcc_s.h: Remove.
20027 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20028 libgcc_s.h.
20029 * sysdeps/gnu/unwind-resume.c: Likewise.
20030 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20031
aab39a09
DM
200322012-04-25 David S. Miller <davem@davemloft.net>
20033
20034 * sysdeps/unix/sparc/brk.S: Delete.
20035 * sysdeps/unix/sparc/dl-brk.S: Delete.
20036 * sysdeps/unix/sparc/pipe.S: Delete.
20037 * sysdeps/unix/sparc/sysdep.S: Delete.
20038 * sysdeps/unix/sparc/sysdep.h: Delete.
20039 * sysdeps/unix/sparc/vfork.S: Delete.
20040 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20041 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20042 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20043 ret_ERRVAL, r0, r1, MOVE): Define.
20044 (JUMPTARGET): Remove.
20045 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20046 sysdeps/unix/sparc/sysdep.h
20047 (ENTRY, END): Remove.
20048 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20049
a3cc4f48
JM
200502012-04-25 Joseph Myers <joseph@codesourcery.com>
20051
2ed8cda2
JM
20052 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20053 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20054 -DIS_IN_build.
20055
35d76d59
JM
20056 * timezone/README: Update upstream location and email address for
20057 tzcode and tzdata.
20058 * timezone/zdump.c: Update from tzcode 2012b.
20059 * timezone/zic.c: Likewise.
20060
a3cc4f48
JM
20061 * configure.in (libc_cv_as_needed): Remove test.
20062 * configure: Regenerated.
20063 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20064 conditional definition.
20065 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20066 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20067 * config.make.in (have-as-needed): Remove variable.
20068
ceab42c3
SP
200692012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20070 Paul Pluzhnikov <ppluzhnikov@google.com>
20071
20072 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20073 strings correctly.
20074
3ce2865f
CLT
200752012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20076
20077 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20078 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20079 * sysdeps/sh/strlen.S: Likewise.
20080
f37e0d68
JM
200812012-04-24 Joseph Myers <joseph@codesourcery.com>
20082
ae186e9a
JM
20083 * sysdeps/unix/fork.S: Remove file.
20084 * sysdeps/unix/i386/fork.S: Likewise.
20085 * sysdeps/unix/sparc/fork.S: Likewise.
20086
b96914af
JM
20087 * sysdeps/unix/system.c: Remove file.
20088 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20089
f37e0d68
JM
20090 * sysdeps/unix/getegid.S: Remove file.
20091 * sysdeps/unix/geteuid.S: Likewise.
20092
87ef29ca
RM
200932012-04-24 Roland McGrath <roland@hack.frob.com>
20094
83bcd236
RM
20095 * scripts/check-localplt.awk: New file.
20096 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20097 of diff.
20098 * scripts/data/localplt-generic.data: Add a comment.
20099
87ef29ca
RM
20100 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20101 NODE when __dir_mkfile failed.
20102 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20103 Reported by Ludovic Courtès <ludo@gnu.org>.
20104
e5a6e567
AJ
201052012-04-24 Andreas Jaeger <aj@suse.de>
20106
20107 * Makerules (common-clean): Also remove gen-as-const-headers
20108 files.
20109
c1820385
JM
201102012-04-24 Joseph Myers <joseph@codesourcery.com>
20111
20112 * Makerules (native-compile): Do not change working directory for
20113 build. Use $(OUTPUT_OPTION) in command.
20114 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20115
94e02fc4
AZ
201162012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20117
20118 [BZ #13886]
20119 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20120 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20121 * math/libm-test.inc (floor_test): Add more tests.
20122 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20123
3a533ca3
JM
201242012-04-24 Joseph Myers <joseph@codesourcery.com>
20125
940ab4b3
JM
20126 * sysdeps/unix/getdents.c: Remove file.
20127 * sysdeps/unix/sysv/getdents.c: Likewise.
20128 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20129
90e037bd
JM
20130 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20131 sysdeps/unix/mman/syscalls.list.
20132 (mmap): Likewise.
20133 (mprotect): Likewise.
20134 (msync): Likewise.
20135 (munmap): Likewise.
20136 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20137 * sysdeps/unix/mman/syscalls.list: Remove.
20138 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20139
3a533ca3
JM
20140 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20141 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20142 * configure: Regenerated.
20143 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20144 $(libgcc_s_suffix).
20145 * config.make.in (libgcc_s_suffix): Remove variable.
20146
1ad743de
JM
201472012-04-23 Joseph Myers <joseph@codesourcery.com>
20148
4ad451e2
JM
20149 * sysdeps/unix/sysv/gethostname.c: Move to ...
20150 * sysdeps/posix/gethostname.c: ... here.
20151
5e37ce39
JM
20152 * sysdeps/unix/execve.S: Remove file.
20153
1ad743de
JM
20154 * sysdeps/unix/_exit.S: Remove file.
20155
4e681b5b
AJ
201562012-04-23 Andreas Jaeger <aj@suse.de>
20157
20158 [BZ #13739]
20159 * manual/Makefile: Remove make dist support, there's no
20160 need for a stand-alone documentation tar ball.
20161 (TEXI2DVI): Define always, it's not in Makeconfig.
20162 (dist): Removed.
20163 (tar-it): Removed.
20164 (edition): Removed.
20165 (glibc-doc-$(edition).tar): Removed
20166 (%.Z): Removed.
20167 (%.gz): Removed.
20168 (%.uu): Removed.
20169 (ETAGS): Remove, it's in Makeconfig.
20170 (move-if-change): Remove, it's in Makeconfig.
20171
38686a03 201722012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
20173
20174 [BZ #13970]
20175 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20176 (strtod, strtof, strtold, strtol, strtoul, strtoq)
20177 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20178 (strtod_l, strtof_l, strtold_l): Remove __wur.
20179 It is not necessarily an error to ignore strtol's return value.
20180 One can reliably look at the stored endptr to decide whether
20181 the number had valid syntax.
20182
7c0616fa
AJ
201832012-04-21 Andreas Jaeger <aj@suse.de>
20184
803cb6b7 20185 [BZ #13739]
7c0616fa
AJ
20186 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20187
b0fe253f
JM
201882012-04-21 Joseph Myers <joseph@codesourcery.com>
20189
20190 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20191 * sysdeps/unix/sysv/Versions: Remove file.
20192
8280f22d
MT
201932012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20194
20195 [BZ #13927]
20196 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20197
75ce411f 201982012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
20199
20200 [BZ #7064]
20201 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20202 version from __vm86.
20203
097d59fa
JM
202042012-04-20 Joseph Myers <joseph@codesourcery.com>
20205
a90f3bcb
JM
20206 * sysdeps/unix/common/lxstat.c: Remove file.
20207 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20208
edc7ea78
JM
20209 * sysdeps/unix/sysv/Makefile: Remove file.
20210
cb78c221
JM
20211 * sysdeps/unix/sysv/direct.h: Remove file.
20212
efa6a45f
JM
20213 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20214 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20215 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20216 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20217 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20218 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20219 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20220
9c9f2d0c
JM
20221 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20222
4541c83b
JM
20223 * sysdeps/unix/xmknod.c: Remove file.
20224 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20225
f5d153a0
JM
20226 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20227
aa746595
JM
20228 * sysdeps/unix/sysv/i386/time.S: Remove file.
20229
cce5905e
JM
20230 * sysdeps/unix/fxstat.c: Remove file.
20231 * sysdeps/unix/xstat.c: Likewise.
20232 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20233
37fa3841
JM
20234 * sysdeps/unix/sysv/sigaction.c: Remove file.
20235
ff1962a3
JM
20236 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20237 (sysdep_headers): Remove variable.
20238 [termio.h not in sysdep_headers] (generated): Likewise.
20239 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20240 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20241 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20242 * sysdeps/unix/sysv/tcflow.c: Likewise.
20243 * sysdeps/unix/sysv/tcflush.c: Likewise.
20244 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20245 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20246 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20247 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20248 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20249
e7740d31
JM
20250 * sysdeps/unix/siglist.c: Remove file.
20251
ee06f18b
JM
20252 * sysdeps/unix/getppid.S: Remove file.
20253
097d59fa
JM
20254 * sysdeps/unix/mkdir.c: Remove file.
20255 * sysdeps/unix/rmdir.c: Likewise.
20256
ff3d51ec
AS
202572012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20258
20259 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20260 ERR_MAX value.
20261 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20262 errlist-compat value.
20263
50f81fd7
DM
202642012-04-18 David S. Miller <davem@davemloft.net>
20265
20266 * sysdeps/generic/memcopy.h (reg_char): Delete.
20267 * debug/strcat_chk.c: Use char, not reg_char.
20268 * debug/strcpy_chk.c: Likewise.
20269 * debug/strncat_chk.c: Likewise.
20270 * debug/strncpy_chk.c: Likewise.
20271 * string/memchr.c: Likewise.
20272 * string/memrchr.c: Likewise.
20273 * string/rawmemchr.c: Likewise.
20274 * string/strcat.c: Likewise.
20275 * string/strchr.c: Likewise.
20276 * string/strchrnul.c: Likewise.
20277 * string/strcmp.c: Likewise.
20278 * string/strcpy.c: Likewise.
20279 * string/strncat.c: Likewise.
20280 * string/strncmp.c: Likewise.
20281 * string/strncpy.c: Likewise.
20282
8ff41c46
WS
202832012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20284
20285 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20286 __builtin_memcopy is called when src and dest ranges are known to not
20287 overlap.
20288
6b652f46
WS
202892012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20290
20291 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20292 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20293 fwd_align_merge macro call.
20294 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20295 bwd_align_merge macro call.
20296 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20297
b282631e
WS
202982012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20299
20300 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20301 bwd_align_merge macros.
20302 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20303 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20304 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20305
95aa737c
DM
203062012-04-18 David S. Miller <davem@davemloft.net>
20307
20308 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20309
7a99a614
AJ
203102012-04-18 Andreas Jaeger <aj@suse.de>
20311
20312 [BZ# 6794]
20313 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20314 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20315 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20316
20317 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20318 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20319 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20320
20321 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20322 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20323 Adjust for changed ldbl-128 files.
20324
20325 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20326 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20327 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20328
e5270c23
DM
203292012-04-17 David S. Miller <davem@davemloft.net>
20330
20331 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20332
fb5e92c9
AS
203332012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20334
20335 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20336 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20337 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20338 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20339 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20340 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20341
76da7265
AZ
203422012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20343
20344 [BZ #6794]
20345 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20346 * math/libm-test.inc: Add ilogb errno and exception tests.
20347 * math/w_ilogb.c: New file: ilogb wrapper.
20348 * math/w_ilogbf.c: New file: ilogbf wrapper.
20349 * math/w_ilogbl.c: New file: ilogbl wrapper.
20350 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20351 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20352 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20353 exception being thrown with 0.0 as argument.
20354 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20355 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20356 exception being thrown with 0.0 as argument.
20357 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20358 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20359 exception being thrown with 0.0 as argument.
20360 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20361 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20362 exception being thrown with 0.0 as argument.
20363 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20364 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 20365 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
20366 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20367 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20368 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20369 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20370 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20371 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20372
0396e69d
PB
203732012-04-17 Petr Baudis <pasky@ucw.cz>
20374
20375 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20376 with altivec.
20377
750b5926
MP
203782012-04-16 Marek Polacek <polacek@redhat.com>
20379
20380 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20381
751728a1
MP
203822012-04-16 Marek Polacek <polacek@redhat.com>
20383
20384 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20385 operands of fdivp instruction.
20386
34a27407
L
203872012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20388
20389 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20390 * elf/tst-auditmod3b.c: Likewise.
20391 * elf/tst-auditmod4b.c: Likewise.
20392 * elf/tst-auditmod5b.c: Likewise.
20393 * elf/tst-auditmod6b.c: Likewise.
20394 * elf/tst-auditmod6c.c: Likewise.
20395 * elf/tst-auditmod7b.c: Likewise.
20396 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20397 * sysdeps/x86_64/preconfigure.in: Likewise.
20398 * sysdeps/x86_64/preconfigure: Regenerated.
20399
7e73e17d
L
204002012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20401
20402 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20403 __ILP32__.
20404
c7a6ab72
AB
204052012-04-13 Antoine Balestrat <merkil33@gmail.com>
20406
20407 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20408 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20409
a9e8e0e0
CL
204102012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20411
20412 [BZ #13973]
20413 * locale/iso-639.def: Fix gl language name. Spotted by
20414 Yaron Shahrabani.
20415
ec98af7d
RM
204162012-04-12 Roland McGrath <roland@hack.frob.com>
20417
20418 [BZ #2074]
20419 * libio/libio.h (__io_write_fn): Update comment.
20420
247c3ede
PB
204212012-04-12 Petr Baudis <pasky@ucw.cz>
20422
20423 [BZ #2074]
20424 * stdio.texi (Hook Functions): The user provided writer function
20425 is not allowed to return -1.
20426
55939d6d
DM
204272012-04-11 David S. Miller <davem@davemloft.net>
20428
20429 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20430
90020f5a
MF
204312012-04-11 Mike Frysinger <vapier@gentoo.org>
20432
20433 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20434 Add a leading slash to rtkaio.
20435
288f9098
JM
204362012-04-11 Jim Meyering <meyering@redhat.com>
20437
90020f5a
MF
20438 [BZ #11959]
20439 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20440 It is not necessarily an error to ignore fwrite's return
20441 value. One can reliably use ferror to test for errors after
20442 the fact.
288f9098 20443
4be2b570
L
204442012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20445
20446 * bits/types.h (__snseconds_t): New type.
20447 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20448
20449 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20450 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20451 (__SNSECONDS_T_TYPE): Likewise.
20452 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20453 (__SNSECONDS_T_TYPE): Likewise.
20454 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20455 (__SNSECONDS_T_TYPE): Likewise.
20456
288f9098 204572012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
20458
20459 [BZ #2636]
20460 * manual/time.texi (Processor Time): Return type of times is
20461 elapsed real time since an arbitrary point in the past.
20462 (CPU Time): Move CLK_TCK from here...
20463 (Processor Time): ...to here. Correct description.
20464 * manual/conf.texi (Constants for Sysconf): Correct description of
20465 _SC_CLK_TCK.
20466
d7dd4413
DM
204672012-04-10 David S. Miller <davem@davemloft.net>
20468
20469 [BZ #13967]
20470 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20471 where the is a gap between DT_REL(A) and DT_JMPREL.
20472
b46068fc
L
204732012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20474
20475 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20476 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20477 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20478
73d65cc3
SP
204792012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20480
20481 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20482 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20483 (dl_main): Handle --inhibit-cache.
20484 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20485 _dl_inhibit_cache.
20486 * elf/dl-load.c (_dl_map_object): Use it.
20487 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20488
bcc8d661
JM
204892012-04-09 Joseph Myers <joseph@codesourcery.com>
20490
8f9a2fae
JM
20491 [BZ #13872]
20492 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20493 (__ieee754_powl): Saturate large exponents rather than testing for
20494 overflow of y*log2(x).
20495 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20496 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20497 exceptions.
20498
bcc8d661
JM
20499 [BZ #11521]
20500 * math/s_ctan.c: Include <float.h>.
20501 (__ctan): Avoid internal overflow or cancellation in calculating
20502 denominator.
20503 * math/s_ctanf.c: Likewise.
20504 * math/s_ctanl.c: Likewise.
20505 * math/s_ctanh.c: Likewise.
20506 * math/s_ctanhf.c: Likewise.
20507 * math/s_ctanhl.c: Likewise.
20508 * math/libm-test.inc (ctan_test): Add more tests.
20509 (ctanh_test): Likewise.
20510 * sysdeps/i386/fpu/libm-test-ulps: Update.
20511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20512
823fbbb4
AJ
205132012-04-09 Andreas Jaeger <aj@suse.de>
20514
03879793
AJ
20515 [BZ #6894]
20516 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20517 is an optional BSD extension.
20518
823fbbb4
AJ
20519 [BZ #10254]
20520 * manual/stdio.texi (Opening Streams): Document additional fopen
20521 parameters.
20522
8de131cb
RM
205232012-04-09 Roland McGrath <roland@hack.frob.com>
20524
20525 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20526 %eax without telling the compiler.
20527
c0ed9d7d
CD
205282012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20529
20530 [BZ # 13963]
20531 * manual/install.texi: Use sourceware.org.
20532
c483f6b4
JM
205332012-04-09 Joseph Myers <joseph@codesourcery.com>
20534
d7dd9453
JM
20535 [BZ #13873]
20536 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20537 (__ieee754_pow): Generate overflow and underflow using huge*huge
20538 and tiny*tiny rather than just returning constant infinity or zero
20539 for large exponents.
20540 * math/libm-test.inc (pow_test): Require overflow exceptions for
20541 applicable cases of large exponents.
20542
c483f6b4
JM
20543 [BZ #706]
20544 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20545 (__ieee754_pow): Use iterative multiplication algorithm only for
20546 integer exponents with absolute value below 1024. Check for odd
20547 integer exponents when using algorithm for real exponents.
20548 * math/libm-test.inc (pow_test): Add more tests.
20549 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20550
d2de7579
JM
205512012-04-08 Joseph Myers <joseph@codesourcery.com>
20552
20553 [BZ #13705]
20554 * math/libm-test.inc (exp_test): Do not allow overflow exception
20555 on underflow test.
20556
f77f1232
AJ
205572012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20558
20559 [BZ #13705]
20560 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20561 instead of __kernel_standard_f.
20562
3884932b
MF
205632012-04-08 Mike Frysinger <vapier@gentoo.org>
20564
20565 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20566 * sysdeps/x86_64/memset_chk.S: Likewise.
20567
54472e9c
AJ
205682012-04-08 Andreas Jaeger <aj@suse.de>
20569
6ab0fbfc
AJ
20570 [BZ #10153]
20571 * manual/startup.texi (Environment Access): Describe return value
20572 for putenv and setenv.
20573
61efba8c
AJ
20574 [BZ #6895]
20575 * manual/filesys.texi (Directory Entries): Add description for
20576 DT_LNK.
20577
95c3f29a
AJ
20578 [BZ #6890]
20579 * manual/filesys.texi (Directory Entries): Clarify that it's file
20580 system not operating system in the description of DT_UNKNOWN.
20581
54472e9c
AJ
20582 [BZ #6578]
20583 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20584
624254b1
SC
205852012-04-08 Stephen Compall <s11@member.fsf.org>
20586
20587 [BZ #6649]
20588 * manual/llio.texi (Opening and Closing Files): Add cross
20589 reference to explain mode argument.
20590
1e4920e0
MF
205912012-04-07 Mike Frysinger <vapier@gentoo.org>
20592
20593 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20594 * sysdeps/x86_64/memset_chk.S: Likewise.
20595
5ed848f3
DM
205962012-04-07 David S. Miller <davem@davemloft.net>
20597
20598 * elf/elf.h (R_SPARC_WDISP10): Define.
20599 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20600 R_SPARC_SIZE32.
20601 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20602 R_SPARC_SIZE64 and R_SPARC_H34.
20603
96154cd8
CD
206042012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20605
20606 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20607 conditions and remove no longer applicable assertion.
20608
9904dc47
L
206092012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20610
20611 * bits/byteswap.h: Include <features.h>.
20612 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20613 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20614
f8887d0a
L
206152012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20616
20617 * bits/byteswap.h (__bswap_16): Removed.
20618 Include <bits/byteswap-16.h> to get __bswap_16.
20619 * sysdeps/i386/bits/byteswap.h: Likewise.
20620 * sysdeps/s390/bits/byteswap.h: Likewise.
20621 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20622 * bits/byteswap-16.h: New file.
20623 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20624 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20625 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20626 * string/Makefile (headers): Add bits/byteswap-16.h.
20627
62470f60
PP
206282012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20629
20630 [BZ #13895]
20631 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20632 extra indirection.
20633 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20634 * nss/tst-nss-static.c: New.
20635
4dad7bab
RM
206362012-04-06 Robert Millan <rmh@gnu.org>
20637
20638 [BZ #6486]
20639 * manual/llio.texi (File Position Primitive): lseek
20640 refers to WHENCE when it really means OFFSET.
20641
e9142a17
AJ
206422012-04-06 Andreas Jaeger <aj@suse.de>
20643
2c040eff
AJ
20644 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20645 strncmp declarations.
20646
e9142a17
AJ
20647 * abilist/libc.abilist: Add __poll and __ppoll.
20648
ff9f1c5f
DM
206492012-04-05 David S. Miller <davem@davemloft.net>
20650
dcd2ae90
DM
20651 * scripts/check-local-headers.sh: Accept a host triplet in the
20652 path matched by the exclude regexp.
20653
993eb054
DM
20654 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20655 definition.
20656 * sysdeps/powerpc/powerpc32/dl-machine.h
20657 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20658 * sysdeps/s390/s390-32/dl-machine.h
20659 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20660 * sysdeps/sparc/sparc32/dl-machine.h
20661 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20662 * sysdeps/sparc/sparc64/dl-machine.h
20663 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20664
ff9f1c5f
DM
20665 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20666 lazy binding.
48e2e132 20667 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
20668 undefined symbol errors.
20669
48e2e132 20670 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
20671 DT_NEEDED entries.
20672
e80d6f94
MM
206732012-04-05 Michael Matz <matz@suse.de>
20674
20675 [BZ #13592]
20676 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20677
349fa79f
AJ
206782012-04-05 Andreas Jaeger <aj@suse.de>
20679
20680 [BZ #13908]
20681 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20682 comment.
20683
f402708f
KK
206842012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20685
20686 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20687 which ROUND is no valid rounding mode.
20688
2ecccfc9
KK
206892012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20690
20691 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20692 read again.
20693 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20694
8a53f50f
KK
206952012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20696
20697 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20698 an exception using FPU order intentionally.
20699
207002012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20701
20702 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20703 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20704 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20705 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20706
d653abb7
SJ
207072012-04-05 Simon Josefsson <simon@josefsson.org>
20708
20709 [BZ #12340]
20710 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20711 EINVAL when BUFLEN is too smal.
20712
c3b1bf7d
TS
207132012-04-05 Thomas Schwinge <thomas@codesourcery.com>
20714
20715 [BZ #13553]
20716 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20717 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20718
b1aa60f3
AJ
207192012-04-03 Andreas Jaeger <aj@suse.de>
20720
c3b1bf7d 20721 [BZ #13938]
67f60a26
AJ
20722 * manual/setjmp.texi (System V contexts): Fix sentence.
20723
b1aa60f3
AJ
20724 [BZ #13926]
20725 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20726 New macro for this case.
20727 [!__GNUC__] (__bswap_64): New inline function for this case.
20728 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20729 * bits/byteswap.h: Likewise.
20730 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20731 ull, guard with __GLIBC_HAVE_LONG_LONG.
20732
20733 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20734 __GLIBC_HAVE_LONG_LONG.
20735
20736 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20737 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20738
39c59c35
TMQMF
207392012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20740
20741 [BZ #13691]
20742 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20743 inptr and inend, rather than using last_ch.
20744
135ffda8
DM
207452012-04-02 David S. Miller <davem@davemloft.net>
20746
20747 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20748 * stdio-common/printf-parse.h (read_int): Change return type to
20749 'int', return -1 on INT_MAX overflow.
20750 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20751 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20752 overflows INT_MAX. Check for overflow of in-format-string precision
20753 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20754 SIZE_MAX not INT_MAX for integer overflow test.
20755 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20756 skip the construct in the format string but do not record anything.
20757 * stdio-common/bug22.c: Adjust to test both width/prevision
20758 INT_MAX overflow as well as total length INT_MAX overflow. Check
20759 explicitly for proper errno values.
20760
228c019e
TS
207612012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20762
302cadd3
TS
20763 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20764 CHAR_MAX.
20765 * string/test-strcmp.c [! WIDE]: Likewise.
20766 * time/tst-mktime2.c: Likewise for INT_MAX.
20767 * string/test-string.h: #include <sys/param.h> for MIN.
20768
228c019e
TS
20769 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20770 * sysdeps/i386/init-first.c (init): Likewise.
20771 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20772 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20773 * sysdeps/sh/init-first.c (init): Likewise.
20774
cfa633f5
UD
207752012-04-01 Ulrich Drepper <drepper@gmail.com>
20776
20777 * po/ru.po: Update from translation team.
d1635ef8 20778 * po/vi.po: Likewise.
cfa633f5 20779
6cd0a5ea
SP
207802012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20781
20782 * resolv/nss_dns/dns-host.c: Merge copyright years.
20783
4b43400f
LD
207842012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20785
20786 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20787 Optimize memcpy with prefetch if
20788 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20789 src, dst pointers have unequal 16 byte alignments.
20790
48c41d04
SP
207912012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20792
20793 [BZ #13928]
20794 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20795 from a CNAME entry and return the minimum ttl for the query.
20796 (gaih_getanswer_slice): Likewise.
20797
b8dc394d
JL
207982012-03-30 Jeff Law <law@redhat.com>
20799
20800 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20801 due to long keys.
20802 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20803 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20804
2f5a5ed0
JL
20805 * resolv/nss_dns/dns-host.c: Update copyright year.
20806
1d39e359
UD
208072012-03-30 Ulrich Drepper <drepper@gmail.com>
20808
c030f70c 20809 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 20810 requests to save a system call. Fix check that all bytes are sent.
c030f70c 20811
1d39e359
UD
20812 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20813 comments for sendmmsg.
20814
208152012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
20816
20817 [BZ #13691]
20818 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20819 with only 1 character between 0x0041 and 0x01b0.
20820 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20821 * wcsmbs/tst-mbsnrtowcs.c: New file.
20822
20fde227
DM
208232012-03-29 David S. Miller <davem@davemloft.net>
20824
20825 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20826 small copies by hand.
20827
984a4237
JL
208282012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20829
20830 [BZ #13761]
20831 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20832 _nss_compat_initgroups_dyn): Fall back to malloc/free
20833 for large group memberships.
20834
18c9d62b
DM
208352012-03-28 David S. Miller <davem@davemloft.net>
20836
88d85d4f
DM
20837 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20838 that branches into memcpy.
20839 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20840 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20841 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20842 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20843 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20844 bits.
20845 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20846 implementation too.
20847 * sysdeps/sparc/mempcpy.S: New file.
20848
e5aa83e1
DM
20849 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20850 the IFUNC routine in the libc case.
20851 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20852
88570753
DM
20853 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20854 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20855 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20856 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20857 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20858 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20859 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20860 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20861
249d7567
DM
20862 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20863 loop to 256 bytes instead of 64 bytes and fix test signedness.
20864
18c9d62b
DM
20865 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20866 * sysdeps/sparc/sparc32/Makefile: rather than here...
20867 * sysdeps/sparc/sparc64/Makefile: and here.
20868
05f3d1f6
UD
208692012-03-28 Ulrich Drepper <drepper@gmail.com>
20870
20871 * malloc/mallocbug.c: Avoid warnings about unused variables.
20872
86ae07a8
JL
208732012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20874
20875 [BZ #13760]
20876 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20877 in the right place. Discard and retry query if response is
20878 larger than input buffer size.
20879
41bf21a1
JM
208802012-03-28 Joseph Myers <joseph@codesourcery.com>
20881
d6270972
JM
20882 [BZ #369]
20883 [BZ #2678]
20884 [BZ #3866]
20885 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20886 x for large integer exponent.
20887 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20888 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
20889 sign of result as needed afterwards.
20890 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20891 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20892 result for underflowing pow the same as for overflow.
20893 (__kernel_standard_l): Handle powl overflow and underflow here
20894 rather than calling __kernel_standard.
20895 * math/libm-test.inc (pow_test): Add more tests.
20896
414fca03 20897 [BZ #3868]
41bf21a1
JM
20898 [BZ #13879]
20899 [BZ #13910]
20900 [BZ #13911]
20901 [BZ #13912]
20902 [BZ #13913]
20903 [BZ #13915]
20904 [BZ #13916]
20905 [BZ #13917]
20906 [BZ #13918]
20907 [BZ #13919]
20908 [BZ #13920]
20909 [BZ #13921]
20910 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20911 * sysdeps/ieee754/k_standard.c: Include <float.h>.
20912 (__kernel_standard_l): New function.
20913 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20914 __kernel_standard.
20915 * math/w_acosl.c (__acosl): Likewise.
20916 * math/w_asinl.c (__asinl): Likewise.
20917 * math/w_atan2l.c (__atan2l): Likewise.
20918 * math/w_atanhl.c (__atanhl): Likewise.
20919 * math/w_coshl.c (__coshl): Likewise.
20920 * math/w_exp10l.c (__exp10l): Likewise.
20921 * math/w_exp2l.c (__exp2l): Likewise.
20922 * math/w_fmodl.c (__fmodl): Likewise.
20923 * math/w_hypotl.c (__hypotl): Likewise.
20924 * math/w_j0l.c (__j0l, __y0l): Likewise.
20925 * math/w_j1l.c (__j1l, __y1l): Likewise.
20926 * math/w_jnl.c (__jnl, __ynl): Likewise.
20927 * math/w_lgammal.c (__lgammal): Likewise.
20928 * math/w_log10l.c (__log10l): Likewise.
20929 * math/w_log2l.c (__log2l): Likewise.
20930 * math/w_logl.c (__logl): Likewise.
20931 * math/w_powl.c (__powl): Likewise.
20932 * math/w_remainderl.c (__remainderl): Likewise.
20933 * math/w_scalbl.c (sysv_scalbl): Likewise.
20934 * math/w_sinhl.c (__sinhl): Likewise.
20935 * math/w_sqrtl.c (__sqrtl): Likewise.
20936 * math/w_tgammal.c (__tgammal): Likewise.
20937 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20938 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20939 * math/libm-test.inc (acos_test): Add more tests.
20940 (acosh_test): Likewise.
20941 (asin_test): Likewise.
20942 (atanh_test): Likewise.
20943 (exp_test): Likewise.
20944 (exp10_test): Likewise.
20945 (exp2_test): Likewise.
20946 (expm1_test): Likewise.
20947 (lgamma_test): Likewise.
20948 (log_test): Likewise.
20949 (log10_test): Likewise.
20950 (log1p_test): Likewise.
20951 (log2_test): Likewise.
20952 (pow_test): Do not allow some spurious overflow exceptions.
20953 (sqrt_test): Add more tests.
20954 (tgamma_test): Likewise.
20955 (y0_test): Likewise.
20956 (y1_test): Likewise.
20957 (yn_test): Likewise.
20958
dd62fda6
AB
209592012-03-27 Anton Blanchard <anton@samba.org>
20960
20961 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
20962 MAP_HUGETLB.
20963 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20964 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20965 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20966
1e3cdfda
AJ
209672012-03-27 David S. Miller <davem@davemloft.net>
20968
b855ab85
DM
20969 * conform/Makefile: Run run-conformtest.sh using $(BASH).
20970
1e3cdfda
AJ
20971 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
20972 have-as-vis3 check.
20973
209742012-03-27 Andreas Jaeger <aj@suse.de>
20975
20976 * sysdeps/x86_64/elf/configure.in: Moved to ...
20977 * sysdeps/x86_64/configure.in: ... here.
20978 * sysdeps/x86_64/elf/start.S: Moved to ...
20979 * sysdeps/x86_64/start.S: ... here.
20980 * sysdeps/x86_64/elf/configure: Delete.
20981
20982 * sysdeps/x86_64/configure.in: Merge contents from
20983 sysdeps/i386/configure.in (without i686 check).
20984
20985 * sysdeps/i386/elf/Versions: Merge into ...
20986 * sysdeps/i386/Versions: ... this.
20987 * sysdeps/i386/elf/Versions: Delete file.
20988 * sysdeps/i386/elf/start.S: Moved to ...
20989 * sysdeps/i386/start.S: ...here.
20990 * sysdeps/i386/elf/configure.in: Merge into...
20991 * sysdeps/i386/configure.in: ...here.
20992 * sysdeps/i386/elf/configure.in: Delete file.
20993 * sysdeps/i386/elf/configure: Delete file.
20994
20995 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
20996 * debug/backtracesyms.c: ... here.
20997 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
20998 * debug/backtracesymsfd.c: ... here.
20999 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21000 * sysdeps/generic/ifunc-sel.h: ... here.
21001
21002 * sysdeps/unix/i386/start.c: Delete file.
21003 * sysdeps/unix/sparc/start.c: Delete file.
21004 * sysdeps/unix/start.c: Delete file.
21005
21006 * sysdeps/sh/elf/configure.in: Moved to ...
21007 * sysdeps/sh/configure.in: ... here.
21008 * sysdeps/sh/elf/start.S: Moved to ...
21009 * sysdeps/sh/start.S: ... here.
21010 * sysdeps/sh/elf/configure: Delete file.
21011
21012 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21013 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21014 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21015 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21016 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21017 * sysdeps/powerpc/powerpc64/start.S: here.
21018 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21019 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21020 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21021 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21022 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21023
21024 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21025 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21026 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21027 * sysdeps/powerpc/powerpc32/start.S: ... here.
21028 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21029 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21030 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21031
21032 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21033 * sysdeps/powerpc/ifunc-sel.h: ... here.
21034 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21035 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21036
21037 * sysdeps/sparc/elf/configure.in: Moved to ...
21038 * sysdeps/sparc/configure.in: ... here.
21039 * sysdeps/sparc/elf/configure: Delete file.
21040 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21041 * sysdeps/sparc/sparc32/start.S: ... here.
21042 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21043 * sysdeps/sparc/sparc64/start.S: ... here.
21044 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21045 * sysdeps/sparc/sparc32/Makefile: ... this.
21046 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21047 * sysdeps/sparc/sparc64/Makefile: ... this.
21048
21049 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21050 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21051 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21052 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21053 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21054 * sysdeps/s390/s390-32/setjmp.S: ... here.
21055 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21056 * sysdeps/s390/s390-32/configure.in: ... here.
21057 * sysdeps/s390/s390-32/elf/configure: Delete file.
21058 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21059 * sysdeps/s390/s390-32/start.S: ... here.
21060
21061 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21062 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21063 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21064 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21065 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21066 * sysdeps/s390/s390-64/setjmp.S: ... here.
21067 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21068 * sysdeps/s390/s390-64/configure.in: ... here
21069 * sysdeps/s390/s390-64/elf/configure: Delete file.
21070 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21071 * sysdeps/s390/s390-64/start.S: ... here.
21072 * sysdeps/s390/s390-64/elf/configure: Delete.
21073
21074 * configure.in: Remove support for elf directories in sysdeps.
21075
21076 * configure: Regenerated.
21077 * sysdeps/i386/configure: Regenerated.
21078 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21079 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21080 * sysdeps/s390/s390-32/configure: Regenerated.
21081 * sysdeps/s390/s390-64/configure: Regenerated.
21082 * sysdeps/sh/configure: Regenerated.
21083 * sysdeps/sparc/configure: Regenerated.
21084 * sysdeps/x86_64/configure: Regenerated.
21085
a3f61311
AS
210862012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21087
c876e002
AS
21088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21089
a3f61311
AS
21090 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21091 denormal result into account.
21092
ac4c54f0
RM
210932012-03-25 Roland McGrath <roland@hack.frob.com>
21094
21095 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21096 Reported by Allan McRae <allan@archlinux.org>.
21097
6a9b9c02
JL
210982012-03-23 Jeff Law <law@redhat.com>
21099
21100 * nss/getnssent.c (__nss_getent): Fix typo.
21101
4c42a0c1
DM
211022012-03-23 David S. Miller <davem@davemloft.net>
21103
21104 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21105
1532c7ac
L
211062012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21107
21108 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21109 to pad to uint64_t for each field.
21110 (dl_tls_index): Replace unsigned long with uint64_t.
21111
3ff42526
PP
211122012-03-23 Daniel Jacobowitz <dmj@google.com>
21113 Paul Pluzhnikov <ppluzhnikov@google.com>
21114
21115 [BZ #6528]
21116 * grp/Makefile (otherlibs): Don't set it.
21117 * inet/Makefile (otherlibs): Likewise.
21118 * login/Makefile (otherlibs): Likewise.
21119 * nscd/Makefile (otherlibs): Likewise.
21120 * posix/Makefile (otherlibs): Likewise.
21121 * pwd/Makefile (otherlibs): Likewise.
21122 * rt/Makefile (otherlibs): Likewise.
21123 * sunrpc/Makefile (otherlibs): Likewise.
21124 * nss/Makefile (otherlibs): Likewise.
21125 Add libnss_files to routines and static-only-routines.
21126 ($(objpfx)getent): Remove rule.
21127 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21128 static-only-routines.
21129
7c69cd14
JM
211302012-03-22 Joseph Myers <joseph@codesourcery.com>
21131
21132 [BZ #13892]
21133 * math/s_cexp.c: Include <float.h>.
21134 (__cexp): Handle exp result overflowing not necessarily
21135 overflowing both real and imaginary parts of result.
21136 * math/s_cexpf.c: Likewise.
21137 * math/s_cexpl.c: Likewise.
21138 * math/libm-test.inc (cexp_test): Add more tests.
21139 * sysdeps/i386/fpu/libm-test-ulps: Update.
21140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21141
81b035fe
L
211422012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21143
21144 * include/link.h (ELFW): New macro.
21145 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21146 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21147
1da7940c
L
211482012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21149
21150 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21151 with uint64_t.
21152
b749dbb9
L
211532012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21154
21155 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21156 declaration.
21157 (struct La_x32_retval): Likewise.
21158
2ff87f3f
L
211592012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21160
21161 * sysdeps/x86_64/preconfigure.in: New file.
21162 * sysdeps/x86_64/preconfigure: New generated file.
21163
c0df8e69
JM
211642012-03-22 Joseph Myers <joseph@codesourcery.com>
21165
48e44791
JM
21166 [BZ #13824]
21167 * math/e_exp2l.c: Include <float.h>.
21168 (__ieee754_exp2l): Handle overflow and underflow cases
21169 separately. Only pass fractional part of argument to
21170 __ieee754_expl.
21171 * math/libm-test.inc (exp2_test): Add more tests.
21172
c0df8e69
JM
21173 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21174 negating x to take absolute value.
21175 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21176 Likewise.
21177 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21178 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21179 Likewise.
21180 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21181 computing low part if x was negated.
21182 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21183
c8e43ba7
L
211842012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21185
21186 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21187 la_x32_gnu_pltexit.
21188 (pltexit): Cast int_retval to ptrdiff_t.
21189 * elf/tst-auditmod3b.c: Likewise.
21190 * elf/tst-auditmod4b.c: Likewise.
21191 * elf/tst-auditmod5b.c: Likewise.
21192 * elf/tst-auditmod6b.c: Likewise.
21193 * elf/tst-auditmod6c.c: Likewise.
21194 * elf/tst-auditmod7b.c: Likewise.
21195
21196 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21197 and x32_gnu_pltexit.
21198
21199 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21200 __ELF_NATIVE_CLASS.
21201 (La_x32_regs): New macro.
21202 (La_x32_retval): Likewise.
21203 (la_x32_gnu_pltenter): New function prototype.
21204 (la_x32_gnu_pltexit): Likewise.
21205
7998fa78
AS
212062012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21207
dcb33988
AS
21208 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21209 exponent.
21210
233fc563
AS
21211 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21212
7998fa78
AS
21213 * configure.in (libc_cv_cc_nofma): Check for option to disable
21214 generation of FMA instructions.
21215 * configure: Regenerate.
21216 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21217 * sysdeps/ieee754/dbl-64/Makefile: New file.
21218 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21219 Remove brandred-fma4.
21220 (CFLAGS-brandred-fma4.c): Remove.
21221 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21222 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21223 define.
21224 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21225 define.
21226
8e95c99a
L
212272012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21228
21229 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21230 LLONG_MAX != LONG_MAX.
21231 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21232 (_fitoa_word): Likewise.
21233 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21234 LLONG_MAX != LONG_MAX.
21235 * stdio-common/_itowa.h: Include <_itoa.h>.
21236 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21237 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21238 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21239 only if not defined.
21240 (_ITOA_WORD_TYPE): Likewise.
21241 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21242 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21243
6f4db457
DM
212442012-03-21 David S. Miller <davem@davemloft.net>
21245
21246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21247
7785fe5a
L
212482012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21249
21250 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21251 of x86_64 when setting libc_cv_slibdir, libdir and
21252 libc_cv_localedir.
21253 * sysdeps/unix/sysv/linux/configure: Regenerated.
21254
4535cd55
JM
212552012-03-21 Joseph Myers <joseph@codesourcery.com>
21256
21257 * manual/lang.texi (Old Varargs): Remove section.
21258 (How Variadic): Update menu.
21259 (va_start): Do not mention varargs.h.
21260
17228132
TS
212612012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21262 Joseph Myers <joseph@codesourcery.com>
21263
21264 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21265 link test.
21266 * configure: Regenerated.
21267
8149f976
TS
212682012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21269
05f3d1f6
UD
21270 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21271 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21272 conformtest.pl
8149f976 21273
1a4ac776
JM
212742012-03-21 Joseph Myers <joseph@codesourcery.com>
21275
be22ce65
JM
21276 * NOTES: Remove.
21277 * Makefile (files-for-dist): Remove NOTES.
21278 (NOTES): Remove rule.
21279 * README: Don't refer to NOTES.
21280 * manual/creature.texi: Don't include macros.texi.
21281 * manual/intro.texi (creature.texi): Remove comment referring to
21282 NOTES.
21283
40b601fb
JM
21284 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21285 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21286 * configure: Regenerated.
21287 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21288 LIBC_TRY_CC_OPTION.
21289 (libc_cv_as_i686): Likewise.
21290 (libc_cv_cc_avx): Likewise.
21291 (libc_cv_cc_sse2avx): Likewise.
21292 (libc_cv_cc_fma4): Likewise.
21293 (libc_cv_cc_novzeroupper): Likewise.
21294 * sysdeps/i386/configure: Regenerated.
21295
1a4ac776
JM
21296 [BZ #13883]
21297 * sysdeps/i386/fpu/s_cexp.S: Remove.
21298 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21299 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21300 * math/libm-test.inc (cexp_test): Add more tests.
21301 * sysdeps/i386/fpu/libm-test-ulps: Update.
21302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21303
a458e7fe
AM
213042012-03-21 Allan McRae <allan@archlinux.org>
21305
21306 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21307
0cb7efc5
JM
213082012-03-21 Joseph Myers <joseph@codesourcery.com>
21309
21310 [BZ #13871]
21311 * math/w_exp2.c: Do not include <float.h>.
21312 (o_threshold, u_threshold): Remove.
21313 (__exp2): Calculate result before checking finiteness and calling
21314 __kernel_standard.
21315 * math/w_exp2f.c: Likewise.
21316 * math/w_exp2l.c: Likewise.
21317 * math/libm-test.inc (exp2_test): Require overflow exception for
21318 1e6 input.
2460d3aa
JM
21319
21320 [BZ #3866]
21321 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21322 range of signed 64-bit integers before using fistpll. Remove
21323 checks for whether integers fit in mantissa bits.
21324 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21325 the range of signed 32-bit integers before using fistpl. Remove
21326 checks for whether integers fit in mantissa bits.
21327 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21328 (__ieee754_powl): Test for y outside the range of signed 64-bit
21329 integers before using fistpll. Reduce 64-bit values to 63-bit
21330 ones as needed.
21331 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21332 divide-by-zero is raised for zero to large negative powers.
21333 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21334 (__ieee754_powl): Test for y outside the range of signed 64-bit
21335 integers before using fistpll. Reduce 64-bit values to 63-bit
21336 ones as needed.
21337 * math/libm-test.inc (pow_test): Add more tests.
21338
eb96ffb0
L
213392012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21340
21341 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21342 <stdio-common/_itoa.h>.
21343 * debug/segfault.c: Likewise.
21344 * elf/dl-cache.c: Likewise.
21345 * elf/dl-minimal.c: Likewise.
21346 * elf/dl-misc.c: Likewise.
21347 * elf/dl-sysdep.c: Likewise.
21348 * elf/dl-version.c: Likewise.
21349 * elf/rtld.c: Likewise.
21350 * hurd/hurdsock.c: Likewise.
21351 * hurd/lookup-retry.c: Likewise.
21352 * malloc/malloc.c: Likewise.
21353 * malloc/mtrace.c: Likewise.
21354 * nscd/nscd_getgr_r.c: Likewise.
21355 * nscd/nscd_getpw_r.c: Likewise.
21356 * nscd/nscd_getserv_r.c: Likewise.
21357 * posix/getopt_init.c: Likewise.
21358 * posix/wordexp.c: Likewise.
21359 * stdio-common/_itoa.c: Likewise.
21360 * stdio-common/printf_fphex.c: Likewise.
21361 * stdio-common/vfprintf.c: Likewise.
21362 * string/_strerror.c: Likewise.
21363 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21364 * sysdeps/i386/i686/hp-timing.h: Likewise.
21365 * sysdeps/mach/_strerror.c: Likewise.
21366 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21367 * sysdeps/mach/hurd/sethostid.c: Likewise.
21368 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21369 * sysdeps/mach/xpg-strerror.c: Likewise.
21370 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21371 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21372 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21373 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21374 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21375 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21376 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21377 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21378 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21379 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21380 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21381 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21382 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21383 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21384 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21385 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21386 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21387 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21388 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21389 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21390 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21391
21392 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21393
21394 * stdio-common/_itoa.h: Moved to ...
21395 * sysdeps/generic/_itoa.h: Here.
21396
21397 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21398
21399 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21400 instead of "_itoa.h" and "_itowa.h".
21401 * stdio-common/vfprintf.: Likewise.
21402
d1af992d
L
214032012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21404
21405 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21406 <bits/wordsize.h>.
21407 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21408 (__signbit): Likwise.
21409 (llrintf): Likwise.
21410 (llrint): Likwise.
21411
114883e0
L
214122012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21413
21414 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21415 __WORDSIZE != 64.
21416
c135cc1b
JM
214172012-03-20 Joseph Myers <joseph@codesourcery.com>
21418
21419 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21420 OVERFLOW_EXCEPTION_OK.
21421 * math/libm-test.inc ("Philosophy"): Update comment about
21422 exception testing.
21423 (OVERFLOW_EXCEPTION): Define.
21424 (OVERFLOW_EXCEPTION_OK): Likewise.
21425 (INVALID_EXCEPTION_OK): Renumber.
21426 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21427 (IGNORE_ZERO_INF_SIGN): Likewise.
21428 (test_exceptions): Handle FE_OVERFLOW.
21429 (exp10_test): Expect overflow exceptions.
21430 (exp2_test): Likewise.
21431 (expm1_test): Likewise.
21432 (nextafter_test): Likewise.
21433 (pow_test): Likewise.
21434 (scalbn_test): Likewise.
21435 (scalbln_test): Likewise.
21436
95443d88
L
214372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21438
21439 * sysdeps/x86_64/bits/atomic.h
21440 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21441 64bit integer.
21442 (atomic_exchange_acq): Likewise.
21443 (__arch_exchange_and_add_body): Likewise.
21444 (__arch_add_body): Likewise.
21445 (atomic_add_negative): Likewise.
21446 (atomic_add_zero): Likewise.
21447
490df6c4
L
214482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21449
c2722551 21450 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
21451 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21452
5e52b189
L
214532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21454
21455 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21456 Check __x86_64__ instead of __WORDSIZE.
21457
a9879d4c
L
214582012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21459
21460 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21461
5df98260
DM
214622012-03-19 David S. Miller <davem@davemloft.net>
21463
e1497744
DM
21464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21465
5df98260
DM
21466 * sysdeps/sparc/fpu/fenv_private.h: New file.
21467 * sysdeps/sparc/fpu/math_private.h: Use it.
21468 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21469 Remove.
21470 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21471 (libc_feholdexcept_setroundl): Remove.
21472 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21473 Remove.
21474 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21475 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21476
b4c35121
L
214772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21478
21479 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21480 int64_t instead of long int.
21481 (INSERT_WORDS64): Likwise.
21482
56965fd7
L
214832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21484
21485 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21486 _Unwind_GetCFA return to _Unwind_Ptr first.
21487
83d1aec8
JM
214882012-03-19 Joseph Myers <joseph@codesourcery.com>
21489
1897ad44
JM
21490 [BZ #13629]
21491 * math/s_clog.c: Include <float.h>.
21492 (__clog): Scale large or subnormal inputs.
21493 * math/s_clogf.c: Likewise.
21494 * math/s_clogl.c: Likewise.
21495 * math/s_clog10.c: Include <float.h>.
21496 (M_LOG10_2): Define.
21497 (__clog10): Scale large or subnormal inputs.
21498 * math/s_clog10f.c: Likewise.
21499 * math/s_clog10l.c: Likewise.
21500 * math/libm-test.inc (clog_test): Add more tests.
21501 (clog10_test): Likewise.
21502 * sysdeps/i386/fpu/libm-test-ulps: Update.
21503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21504
7726d6a9
JM
21505 [BZ #11451]
21506 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21507 x and y.
21508 * math/libm-test.inc (atan2_test): Add another test.
21509
83d1aec8
JM
21510 * Makerules (common-objdir-compile): Remove.
21511 * sysdeps/unix/Makefile (config-generated): Do not add
21512 $(unix-generated) to variable.
21513 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21514 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21515 Remove rule.
21516 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21517 Likewise.
21518 [generic bits/local_lim.h] (before-compile): Do not append to
21519 variable.
21520 [generic bits/local_lim.h] (common-generated): Likewise.
21521 [generic sys/param.h] (before-compile): Do not append to variable.
21522 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21523 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21524 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21525 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21526 include.
21527 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21528 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21529 [generic sys/param.h] ($(addprefix
21530 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21531 [generic sys/param.h] (common-generated): Do not append to
21532 variable.
21533 [generic sys/param.h] (sysdep_headers): Likewise.
21534 [generic bits/errno.h] (before-compile): Do not append to
21535 variable.
21536 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21537 rule.
21538 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21539 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21540 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21541 [generic bits/errno.h] (common-generated): Do not append to
21542 variable.
21543 [generic bits/ioctls.h] (before-compile): Do not append to
21544 variable.
21545 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21546 rule.
21547 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21548 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21549 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21550 rule.
21551 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21552 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21553 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21554 [generic bits/ioctls.h] (common-generated): Do not append to
21555 variable.
21556 [generic sys/syscall.h] (syscall.h): Remove variable.
21557 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21558 rule.
21559 [generic sys/syscall.h] (before-compile): Do not append to
21560 variable.
21561 [generic sys/syscall.h] (common-generated): Likewise.
21562 * sysdeps/unix/errnos-tmpl.c: Remove file.
21563 * sysdeps/unix/errnos.awk: Likewise.
21564 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21565 * sysdeps/unix/ioctls.awk: Likewise.
21566 * sysdeps/unix/mk-local_lim.c: Likewise.
21567 * sysdeps/unix/snarf-ioctls: Likewise.
21568
4851a949
RH
215692012-03-19 Richard Henderson <rth@twiddle.net>
21570
bd37f2ee
RH
21571 * sysdeps/i386/fpu/fenv_private.h: New file.
21572 * sysdeps/i386/fpu/math_private.h: Use it.
21573 (math_opt_barrier, math_force_eval): Remove.
21574 (libc_feholdexcept_setround_53bit): Remove.
21575 (libc_feupdateenv_53bit): Remove.
21576 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21577 (math_opt_barrier, math_force_eval): Remove.
21578 (libc_feholdexcept): Remove.
21579 (libc_feholdexcept_setround): Remove.
21580 (libc_fetestexcept, libc_fesetenv): Remove.
21581 (libc_feupdateenv_test): Remove.
21582 (libc_feupdateenv, libc_feholdsetround): Remove.
21583 (libc_feresetround): Remove.
21584
d0adc922
RH
21585 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21586 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21587
0fe0f1f8
RH
21588 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21589 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21590 (libc_feupdateenv_testl): New.
21591 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21592 (libc_feupdateenv_testf): New.
21593 (libc_feupdateenv): Use libc_feupdateenv_test.
21594 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21595 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21596
eb92c487
RH
21597 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21598 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21599 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21600 (libc_feresetround_noex): New.
21601 (libc_feresetround_noexf): New.
21602 (libc_feresetround_noexl): New.
21603 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21604 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21605 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21606 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21607 SET_RESTORE_ROUND.
21608 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21609 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21610 (__cos): Likewise.
21611 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21612 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21613 SET_RESTORE_ROUND_NOEX.
21614 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21615 SET_RESTORE_ROUND_NOEXF.
21616 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21617 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21618 (libc_feholdsetroundf): New.
21619 (libc_feresetround, libc_feresetroundf): New.
21620
7d2e8012
RH
21621 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21622 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21623 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21624
b4dabbb4
RH
21625 * sysdeps/generic/math_private.h: Include <fenv.h>.
21626 (default_libc_feholdexcept): New.
21627 (default_libc_feholdexcept_setround): New.
21628 (default_libc_fesetenv, default_libc_feupdateenv): New.
21629 (libc_feholdexcept): Only define if undefined.
21630 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21631 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21632 (libc_feholdexcept_setroundl): Likewise.
21633 (libc_feholdexcept_setround_53bit): Likewise.
21634 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21635 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21636 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21637 (libc_feupdateenv_53bit): Likewise.
21638 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21639 (libc_feholdexcept): Convert from macro to inline function.
21640 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21641 (libc_fesetenv, libc_feupdateenv): Likewise.
21642
4851a949
RH
21643 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21644 not previously defined.
21645 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21646 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21647 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21648 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21649 * sysdeps/ieee754/flt-32/math_private.h: New file.
21650 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21651 math_private.h below SET_FLOAT_WORD.
21652 (__isnan, __isinf_ns, __finite): Remove.
21653 (__isnanf, __isinf_nsf, __finitef): Remove.
21654
e79d442e
AS
216552012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21656
21657 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21658
90b80344
DM
216592012-03-17 David S. Miller <davem@davemloft.net>
21660
21661 [BZ #6471]
21662 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21663 for 2.16.
21664
edc21804
DM
216652012-03-16 David S. Miller <davem@davemloft.net>
21666
77e927af
DM
21667 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21668 warnings.
21669
374976dd
DM
21670 [BZ #6471]
21671 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21672 properly.
21673 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21674 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21675 sysdep_routines when subdir is sysvipc.
21676 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21677 __getshmlba helper.
21678
edc21804
DM
21679 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21680
473c3ef3
L
216812012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21682
21683 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21684 [__LP64__].
21685
eb0f39b6
L
216862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21687
21688 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21689 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21690 (__lround): Renamed to ...
21691 (__llround): This. Replace long int with long long int.
21692 Define lround functions as aliases of llround functions.
21693 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21694
6b6cd74b
L
216952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21696
21697 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21698 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
21699 adresses to uintptr_t. Replace "long int" and "unsigned long
21700 int" with "greg_t" on va_arg.
21701
f1a77b01
L
217022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21703
21704 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21705 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21706
21707 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21708 Move e_machine check before EI_CLASS check. Handle x32
21709 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21710 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21711 SKIP_EM_IA_64 and include
21712 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21713
21714 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21715 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21716 (add_system_dir): New macro.
21717
21718 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21719 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21720
11b90b9f
JM
217212012-03-16 Joseph Myers <joseph@codesourcery.com>
21722
c36e1d23
JM
21723 [BZ #2551]
21724 [BZ #2552]
21725 [BZ #2553]
21726 [BZ #2554]
21727 [BZ #2562]
21728 [BZ #2563]
21729 [BZ #2565]
21730 [BZ #2566]
21731 [BZ #2576]
21732 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21733 (y0): Likewise.
21734 * math/w_j0f.c (j0f): Likewise.
21735 (y0f): Likewise.
21736 * math/w_j0l.c (__j0l): Likewise.
21737 (__y0l): Likewise.
21738 * math/w_j1.c (j1): Likewise.
21739 (y1): Likewise.
21740 * math/w_j1f.c (j1f): Likewise.
21741 (y1f): Likewise.
21742 * math/w_j1l.c (__j1l): Likewise.
21743 (__y1l): Likewise.
21744 * math/w_jn.c (jn): Likewise.
21745 (yn): Likewise.
21746 * math/w_jnf.c (jnf): Likewise.
21747 (ynf): Likewise.
21748 * math/w_jnl.c (__jnl): Likewise.
21749 (__ynl): Likewise.
21750 * math/libm-test.inc (j0_test): Add more tests.
21751 (j1_test): Likewise.
21752 (jn_test): Likewise. Add trailing semicolon to existing test.
21753 (y0_test): Likewise.
21754 (y1_test): Likewise.
21755 * sysdeps/i386/fpu/libm-test-ulps: Update.
21756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21757
11b90b9f
JM
21758 [BZ #13851]
21759 [BZ #13854]
21760 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21761 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21762 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21763 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21764 (__tanl): Set errno for infinite argument.
21765 * sysdeps/i386/fpu/mptan.c: Remove.
21766 * sysdeps/i386/fpu/s_tan.S: Likewise.
21767 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21768 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21769 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21770 * math/libm-test.inc (tan_test): Add more tests and enable more
21771 tests for double and long double.
21772 * sysdeps/i386/fpu/libm-test-ulps: Update.
21773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21774
6a1bd2a1
JK
217752012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21776
21777 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21778 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21779
10a803e0
RM
217802012-03-16 Roland McGrath <roland@hack.frob.com>
21781
21782 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21783 * configure.in: Use it for both main tree and add-ons.
21784 * configure: Regenerated.
21785
f196c7f7
L
217862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21787
21788 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21789
8848d99d
JM
217902012-03-16 Joseph Myers <joseph@codesourcery.com>
21791
96cbe7f4
JM
21792 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21793 in comment.
21794
8848d99d
JM
21795 [BZ #13851]
21796 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21797 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21798 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21799 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21800 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21801 infinite argument.
21802 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21803 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21804 != 0 for prec == 2.
21805 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21806 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21807 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21808 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21809 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21810 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21811 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21812 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21813 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21814 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21815 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21816 * math/libm-test.inc (cos_test): Add more tests and enable more
21817 tests for long double.
21818 (sin_test): Likewise.
21819 (sincos_test): Likewise.
21820 * sysdeps/i386/fpu/libm-test-ulps: Update.
21821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21822
dd7f4703
DM
218232012-03-16 David S. Miller <davem@davemloft.net>
21824
21825 * sysdeps/sparc/fpu/math_private.h: New file.
21826
006f1daa
DM
218272012-03-15 David S. Miller <davem@davemloft.net>
21828
c0c83bc8
DM
21829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21830 file.
e6a62e18 21831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
21832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21833 file.
e6a62e18
DM
21834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21835 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21836 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21837 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21838 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21839 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21840 sysdep routines.
21841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21842
88cb87d9
DM
21843 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21844 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21845
006f1daa 21846 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
21847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21848 sparc-ifunc.h
006f1daa 21849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
21850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21851 Likewise.
21852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21853 Likewise.
006f1daa
DM
21854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
21857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21858 Likewise.
006f1daa
DM
21859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
21863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21864 Likewise.
21865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21866 Likewise.
006f1daa
DM
21867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21871 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21872 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21873 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21874 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21875 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21876 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21877 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21878 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21879 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21880 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21881 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21882 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21883 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21884 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21885 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21886 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21887 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21888 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21889 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21890 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21891
11e0098e
AS
218922012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21893
21894 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21895 scaling.
21896 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21897
e85b09d0
AJ
218982012-03-15 Andreas Jaeger <aj@suse.de>
21899
21900 [BZ #13852]
21901 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21902 ieee754/flt-32 implementation for sin, cos and sincos.
21903 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21904 * sysdeps/i386/fpu/s_cosf.S: Likewise.
21905 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21906 * sysdeps/i386/fpu/s_sinf.S: Likewise.
21907 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21908 ieee754/flt-32 implementation for tan.
21909
21910 * math/libm-test.inc (cos_test): Enable some large input tests for
21911 float as well
21912 (sin_test): Likewise.
21913 (sincos_test): Likewise.
21914 (tan_test): Add tests for large input.
21915
21916 * sysdeps/i386/fpu/libm-test-ulps: Update.
21917
81c64153
AJ
219182012-03-15 Andreas Jaeger <aj@suse.de>
21919
21920 [BZ #13658]
21921 * math/libm-test.inc (cos_test): Add more test cases.
21922 (sin_test): Likewise.
21923 (sincos_test): Likewise.
21924
7bbfa5c6
AJ
219252012-03-15 Andreas Jaeger <aj@suse.de>
21926
21927 [BZ #13837]
21928 * math/libm-test.inc (cos_test): Add a test case for large input
21929 value.
21930 (sin_test): Likewise.
21931 (sincos_test): Likewise.
21932
219332012-03-15 Andreas Jaeger <aj@suse.de>,
21934 Joseph Myers <joseph@codesourcery.com>
21935
21936 [BZ #13658]
0671f479 21937 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
21938 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21939 * sysdeps/i386/fpu/branred.c: Likewise.
21940 * sysdeps/i386/fpu/dosincos.c: Likewise.
21941 * sysdeps/i386/fpu/mpa.c: Likewise.
21942 * sysdeps/i386/fpu/s_cos.S: Likewise.
21943 * sysdeps/i386/fpu/s_sin.S: Likewise.
21944 * sysdeps/i386/fpu/s_sincos.S: Likewise.
21945 * sysdeps/i386/fpu/sincos32.c: Likewise.
21946
21947 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21948 Define.
21949 (libc_feupdateenv_53bit): Define.
21950 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21951 Define.
21952 (libc_feupdateenv_53bit): Define.
21953
21954 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21955 53 bit (without extend i386 double precision).
21956
21957 * math/libm-test.inc (sincos_test): Add tests for large input.
21958 (sin): Likewise.
21959 (cos): Likewise.
21960
21961 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21962
9cad04ea
AS
219632012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21964
21965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21966
f7062b9a
DM
219672012-03-15 David S. Miller <davem@davemloft.net>
21968
21969 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
21970 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
21971 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
21972 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
21973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
21974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
21975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
21976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
21977 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
21978 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
21979 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
21980 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
21981 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
21982 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
21983 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
21984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
21985 file.
f7062b9a 21986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
21987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
21988 file.
f7062b9a 21989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
21990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
21991 file.
f7062b9a 21992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
21993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
21994 file.
f7062b9a
DM
21995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
21996 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
21997 fmin/fmax sysdep routines.
21998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21999
7bd951ff
DM
220002012-03-14 David S. Miller <davem@davemloft.net>
22001
559398ab
DM
22002 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22003 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22004 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22005 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22006 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22007 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22008 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22009 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22010 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22011 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22012 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22013 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22014 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22015 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22016 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22017 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22018 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22019 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22020 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22021 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22022 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22023 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22024 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22025 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22026 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22027 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22028 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22029 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22030 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22031 routines.
22032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22033 file.
559398ab 22034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
22035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22036 file.
559398ab 22037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
22038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22039 file.
559398ab 22040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
22041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22042 file.
559398ab 22043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
22044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22045 file.
559398ab 22046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
22047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22048 file.
22049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22050 file.
22051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22052 file.
22053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22054 file.
22055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22056 New file.
22057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22058 file.
22059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22060 file.
559398ab 22061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
22062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22063 file.
559398ab 22064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22066 file.
559398ab 22067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
22068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22069 file.
559398ab 22070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
22071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22072 VIS3 routines.
559398ab
DM
22073
22074 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22075 New file.
22076
5a1c1e32
DM
22077 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22078
eae47a36
DM
22079 * sysdeps/sparc/configure.in: New file.
22080 * sysdeps/sparc/configure: Generate.
22081 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22082 * configure: Regenerate.
22083 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22084 * config.make.in (have-as-vis3): New.
22085 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22086 available use -Av9d instead of -Av9a.
22087 * sysdeps/sparc/sparc64/Makefile: Likewise.
22088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
22089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22090 New file.
22091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22092 file.
22093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22094 New file.
22095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22096 file.
eae47a36
DM
22097 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22098 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22099 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22100 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22101 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22102
c0c83bc8
DM
22103 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22104 fzeros/fnegs to load 0x80000000 into a float register instead of
22105 using the stack.
7bd951ff
DM
22106 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22107
bd951ccb
JM
221082012-03-14 Joseph Myers <joseph@codesourcery.com>
22109
22110 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22111 bits/syscall.h.
22112 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22113 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22114 ($(inst_includedir)/bits/syscall.h): Remove rule.
22115 ($(objpfx)bits/syscall.d): Include instead of
22116 $(objpfx)syscall-list.d.
22117 (generated): Change syscall-list.h and syscall-list.d to
22118 bits/syscall.h and bits/syscall.d.
22119
bb4e6db2
RM
221202012-03-14 Roland McGrath <roland@hack.frob.com>
22121
22122 [BZ #13846]
22123 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22124
aa4a2ae1
JM
221252012-03-14 Joseph Myers <joseph@codesourcery.com>
22126
e456826d
JM
22127 [BZ #13841]
22128 * math/s_csqrt.c: Include <float.h>.
22129 (__csqrt): Scale large or subnormal inputs.
22130 * math/s_csqrtf.c: Likewise.
22131 * math/s_csqrtl.c: Likewise.
22132 * math/libm-test.inc (csqrt_test): Add more tests.
22133 * sysdeps/i386/fpu/libm-test-ulps: Update.
22134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22135
aa4a2ae1
JM
22136 [BZ #13840]
22137 * math/libm-test.inc (hypot_test): Add more tests.
22138
7c10fd35
DM
221392012-03-13 David S. Miller <davem@davemloft.net>
22140
22141 [BZ #13840]
22142 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22143 double-precision for the calculation instead of scaling.
22144
f453b98b
JM
221452012-03-13 Joseph Myers <joseph@codesourcery.com>
22146
22147 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22148 manipulate bits before adding and subtracting TWO52[sx].
22149 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22150 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22151 Likewise.
22152 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22153
09a3453f
DM
221542012-03-13 David S. Miller <davem@davemloft.net>
22155
8e59da90
DM
22156 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22157 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22158 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22159 rtld-global-offsets.h
22160 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22161
2a8ab7f2
DM
22162 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22163 large parameters.
22164
10f62770
DM
22165 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22166
5f0bdb18
DM
22167 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22168 'err' in the ifdef scope in which it is actually used.
22169
09a3453f
DM
22170 * nss/nss_db/db-init.c: Include string.h
22171
b4b2eb5e
DM
221722012-03-12 David S. Miller <davem@davemloft.net>
22173
98bb2f1c
DM
22174 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22175 masking out of the most significant byte of random value used.
22176 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22177 Fix coding style in previous change.
22178
b4b2eb5e
DM
22179 * sysdeps/unix/sysv/linux/kernel-features.h
22180 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22181 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22182 expression.
22183 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22184 later.
22185
6e226b09
DM
221862012-03-11 David S. Miller <davem@davemloft.net>
22187
a1bcbd40
DM
22188 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22189 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22190 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22191 for 'resultvar' otherwise things get truncated on 64-bit.
22192
cb9d6174
DM
22193 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22194 Fix masking out of the most significant byte of random value used.
22195
6e226b09
DM
22196 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22197
058c132d
AS
221982012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22199
22200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22201
2d2cd515
DM
222022012-03-09 David S. Miller <davem@davemloft.net>
22203
22204 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22205 variables with appropriate CPP guards.
22206 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22207 frame pointer, not the stack pointer. Correct layout comments. Fix test
22208 on resulting framesize and the management of the outregs buffer for pltexit.
22209 Preserve floating point return values across _dl_call_pltexit call.
22210 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22211 framesize and the management of the outregs buffer for pltexit.
22212 Preserve floating point return values across _dl_call_pltexit
22213 call.
22214 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22215 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22216 (print_exit): Fix format string for return register value.
22217
9a07f9d0
JM
222182012-03-10 Joseph Myers <joseph@codesourcery.com>
22219
22220 * sunrpc/Makefile (others): Add rpcgen.
22221 ($(objpfx)rpcgen): Remove special build rule and dependency on
22222 libc.
22223 * sunrpc/rpcgen.c: New file.
22224
547b5e30
PE
222252012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22226
c524201a
PE
22227 [BZ #13673]
22228 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22229 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22230 * sysdeps/i386/crti.S: Likewise.
22231 * sysdeps/i386/crtn.S: Likewise.
22232 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22233 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22234 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22235 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22236 * sysdeps/sh/crti.S: Likewise.
22237 * sysdeps/sh/crtn.S: Likewise.
22238 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22239
7b6235f2
PE
22240 [BZ #13673]
22241 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22242 with URL.
22243 * locale/programs/locfile-kw.gperf: Likewise.
22244 * locale/programs/charmap-kw.h: Regenerated.
22245 * locale/programs/locfile-kw.h: Likewise.
22246
547b5e30
PE
22247 [BZ #13673]
22248 * intl/plural.y: Replace FSF snail mail address with URL.
22249 * intl/plural.c: Regenerated.
22250
5f0a5dae
RH
222512012-03-09 Richard Henderson <rth@twiddle.net>
22252
22253 * include/math_private.h: Remove file.
22254 * math/math_private.h: Move file ...
22255 * sysdeps/generic/math_private.h: ... here.
22256
b8c03620
RH
22257 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22258 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22259 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22260
4e234f5d 22261 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
22262 and <math_private.h>.
22263 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22264 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22265 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22266 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22267 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22268 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22269 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22270 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22271 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22272 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22273 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22274 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22275 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22276 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22277 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22278 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22279 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22280 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22281 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22282 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22283 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22284 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22285 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22286 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22287 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22288 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22289 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22290 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22291 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22292 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22293 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22294 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22295 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22296 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22297 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22298 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22299 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22300 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22301 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22302 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22303 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22304 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22305 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22306 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22307 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22308 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22309 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22310 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22311 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22312 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22313 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22314 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22315 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22316 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22317 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22318 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22319 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22320 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22321 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22322 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22323 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22324 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22325 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22326 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22327 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22328 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22329 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22330 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22331 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22332 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22333 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22334 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22335 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22336 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22337 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22338 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22339 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22340 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22341 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22342 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22343 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22344 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22345 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22346 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22347 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22348 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22349 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22350 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22351 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22352 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22353 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22354 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22355 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22356 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22357 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22358 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22359 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22360 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22361 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22362 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22363 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22364 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22365 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22366 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22367 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22368 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22369 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22370 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22371 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22372 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22373 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22374 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22375 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22376 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22377 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22378 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22379 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22380 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22381 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22382 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22383 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22384 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22385 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22386 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22387 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22388 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22389 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22390 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22391 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22392 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22393 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22394 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22395 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22396 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22397 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22398 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22399 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22400 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22401 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22402 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22403 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22404 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22405 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22406 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22407 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22408 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22409 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22410 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22411 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22412 * sysdeps/ieee754/k_standard.c: Likewise.
22413 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22414 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22415 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22416 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22417 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22418 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22419 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22420 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22421 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22422 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22423 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22424 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22425 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22426 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22427 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22428 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22429 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22430 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22431 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22432 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22433 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22434 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22435 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22436 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22437 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22438 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22439 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22440 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22441 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22442 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22443 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22444 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22445 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22446 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22447 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22448 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22449 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22450 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22451 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22452 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22453 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22454 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22455 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22456 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22457 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22458 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22459 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22460 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22461 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22462 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22463 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22464 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22465 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22466 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22467 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22468 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22469 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22470 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22471 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22472 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22473 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22474 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22475 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22476 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22477 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22478 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22479 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22480 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22481 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22482 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22483 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22484 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22485 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22486 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22487 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22488 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22489 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22490 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22491 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22492 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22493 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22494 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22495 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22496 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22497 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22498 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22499 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22500 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22501 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22502 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22503 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22504 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22505 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22506 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22507 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22508 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22509 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22510 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22511 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22512 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22513 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22514 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22515 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22516 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22517 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22518 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22519 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22520 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22521 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22522 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22523 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22524 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22525 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22526 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22527 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22528 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22529 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22530 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22531 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22532 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22533 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22534 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22535 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22536 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22537 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22538 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22539 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22540 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22541 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22542 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22543 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22544 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22545 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22546 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22547 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22548 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22549 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22550 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22551 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22552 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22553 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22554 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22555 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22556 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22557 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22558 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22559 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22560 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22561 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22562 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22563 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22564 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22565 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22566 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22567 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22568 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22569 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22570 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22571 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22572 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22573 * sysdeps/ieee754/s_lib_version.c: Likewise.
22574 * sysdeps/ieee754/s_matherr.c: Likewise.
22575 * sysdeps/ieee754/s_signgam.c: Likewise.
22576 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22577 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22578 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22579 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22580 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22581 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22582 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22583 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22584 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22585 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22586 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22587 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22588 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22589 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22590 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22591 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22592 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22593 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22594 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22595 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22596 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 22597
1991fa03
JM
225982012-03-09 Joseph Myers <joseph@codesourcery.com>
22599
22600 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22601 * sunrpc/rpc_main.c: Likewise.
22602 * sunrpc/rpc_svcout.c: Likewise.
22603
60d6f5a6
DM
226042012-03-09 David S. Miller <davem@davemloft.net>
22605
22606 * include/math_private.h: New file.
22607
4962050e
JM
226082012-03-09 Joseph Myers <joseph@codesourcery.com>
22609
02a6f887
JM
22610 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22611 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22612 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22613 from <bits/socket_type.h>.
22614 (enum __socket_type): Don't define here.
22615 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22616 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22617 bits/socket_type.h.
22618
c6e013c1
JM
22619 [BZ #13566]
22620 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22621 checking __USE_GNU.
22622
4962050e
JM
22623 * Makerules ($(inst_includedir)/%.h): New rule.
22624 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22625 (install-others): Remove variable setting.
22626 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22627
38842f45
RH
226282012-03-08 Richard Henderson <rth@twiddle.net>
22629
67bb6da6
RH
22630 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22631 from macro to inline function; merge with the
22632 !__LIBC_INTERNAL_MATH_INLINES version.
22633 (__ieee754_sqrtf): Likewise.
22634
15194b4b
RH
22635 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22636 to inline function.
22637 (__rintf, __floor, __floorf): Likewise.
22638
64e21ede
RH
22639 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22640 macro to inline function.
22641 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22642
38842f45
RH
22643 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22644 not <math/math_private.h>.
22645
c64bf5fe
DM
226462012-03-08 David S. Miller <davem@davemloft.net>
22647
22648 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22649 copyright year.
22650 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22651
82d86f28
TS
226522012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22653
22654 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22655 normalization.
22656 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22657 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22658
aea5d727
UD
226592012-03-08 Ulrich Drepper <drepper@gmail.com>
22660
22661 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22662 be defined individually, they must be defined as a block. Define
22663 S for printing a string instead of hidint the different by using a
22664 macro for adding the 'l'.
22665 * stdio-common/tst-fphex-wide.c: Adjust.
22666
70bca0a3
MP
226672012-03-07 Marek Polacek <polacek@redhat.com>
22668
22669 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22670
65b81130
MP
226712012-03-08 Marek Polacek <polacek@redhat.com>
22672
22673 [BZ #13806]
22674 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22675 * stdio-common/tst-fphex.c: Define a few macros to make the
22676 test reusable. Use them.
22677 * stdio-common/tst-fphex-wide.c: New file.
22678
07037eeb
JM
226792012-03-08 Joseph Myers <joseph@codesourcery.com>
22680
a7a93d50
JM
22681 [BZ #6911]
22682 * manual/macros.texi (gnusystems): New macro.
22683 (nongnusystems): Likewise.
22684 (gnulinuxhurdsystems): Likewise.
22685 (gnuhurdsystems): Likewise..
22686 (gnulinuxsystems): Likewise.
22687 * manual/charset.texi: Use new macros or @theglibc{} to refer to
22688 variants of the GNU system, not "GNU system".
22689 * manual/conf.texi: Likewise.
22690 * manual/errno.texi: Likewise. Update example of errno macro
22691 expansion.
22692 * manual/filesys.texi: Likewise.
22693 (getumask): Document as specific to GNU/Hurd.
22694 * manual/install.texi: Likewise. Reword some references to
22695 GNU/Linux.
22696 * manual/intro.texi: Likewise.
22697 * manual/io.texi: Likewise.
22698 (File Name Portability): Detail which constraints are inapplicable
22699 to all GNU systems and which are only inapplicable to GNU/Hurd.
22700 * manual/job.texi: Likewise.
22701 * manual/llio.texi: Likewise.
22702 (O_NOCTTY): Document as present on GNU/Linux.
22703 * manual/maint.texi: Likewise.
22704 * manual/memory.texi: Likewise.
22705 * manual/pattern.texi: Likewise.
22706 * manual/pipe.texi: Likewise.
22707 * manual/process.texi: Likewise.
22708 * manual/resource.texi: Likewise.
22709 (RUSAGE_CHILDREN): Remove statement about specifying a particular
22710 child on GNU/Hurd.
22711 * manual/setjmp.texi: Likewise.
22712 * manual/signal.texi: Likewise.
22713 * manual/startup.texi: Likewise.
22714 * manual/stdio.texi: Likewise.
22715 * manual/terminal.texi: Likewise.
22716 (ONLCR): Document as POSIX.
22717 (OXTABS): Document availability on GNU/Linux as XTABS.
22718 (ONOEOT): Document availability separately from other bits.
22719 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22720 * manual/time.texi: Likewise.
22721 * manual/users.texi: Likewise.
22722 * INSTALL: Regenerated.
22723 * sysdeps/gnu/errlist.c: Regenerated.
22724
07037eeb
JM
22725 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22726 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22727 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22728 puts.
22729 * configure: Regenerated.
22730
d1d3431a
JM
227312012-03-07 Joseph Myers <joseph@codesourcery.com>
22732
af6a1e37
JM
22733 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22734 default includes instead of AC_HEADER_CHECK.
22735 * sysdeps/i386/configure: Regenerated.
22736
d1d3431a
JM
22737 [BZ #10716]
22738 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22739 * math/s_cacoshf.c (__cacoshf): Likewise.
22740 * math/s_cacoshl.c (__cacoshl): Likewise.
22741 * math/s_casinh.c (__casinh): Set signs of result from argument.
22742 * math/s_casinhf.c (__casinhf): Likewise.
22743 * math/s_casinhl.c (__casinhl): Likewise.
22744 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22745 (casinh_test): Add more tests.
22746 * sysdeps/i386/fpu/libm-test-ulps: Update.
22747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22748
482ff4da
UD
227492012-03-07 Ulrich Drepper <drepper@gmail.com>
22750
872fda05
UD
22751 * po/zh_TW.po: Update from translation team.
22752
a4300c7a
UD
22753 * login/Makefile (distribute): Remove variable.
22754 * catgets/Makefile: Likewise.
22755 * mach/Makefile: Likewise.
22756 * malloc/Makefile: Likewise.
22757 * misc/Makefile: Likewise.
22758 * iconv/Makefile: Likewise.
22759 * nscd/Makefile: Likewise.
22760 * hurd/Makefile: Likewise.
22761 * manual/Makefile: Likewise.
22762 * locale/Makefile: Likewise.
22763 * intl/Makefile: Likewise.
22764 * conform/Makefile: Likewise.
22765 * nss/Makefile: Likewise.
22766 * time/Makefile: Likewise.
22767 * soft-fp/Makefile: Likewise.
22768 * dirent/Makefile: Likewise.
22769 * gmon/Makefile: Likewise.
22770 * po/Makefile: Likewise.
22771 * rt/Makefile: Likewise.
22772 * socket/Makefile: Likewise.
22773 * math/Makefile: Likewise.
22774 * signal/Makefile: Likewise.
22775 * debug/Makefile: Likewise.
22776 * elf/Makefile: Likewise.
22777 * timezone/Makefile: Likewise.
22778 * stdlib/Makefile: Likewise.
22779 * iconvdata/Makefile: Likewise.
22780 * sunrpc/Makefile: Likewise.
22781 * io/Makefile: Likewise.
22782 * argp/Makefile: Likewise.
22783 * inet/Makefile: Likewise.
22784 * hesiod/Makefile: Likewise.
22785 * grp/Makefile: Likewise.
22786 * csu/Makefile: Likewise.
22787 * wctype/Makefile: Likewise.
22788 * crypt/Makefile: Likewise.
22789 * libio/Makefile: Likewise.
22790 * string/Makefile: Likewise.
22791 * nis/Makefile: Likewise.
22792 * resolv/Makefile: Likewise.
22793 * stdio-common/Makefile: Likewise.
22794 * wcsmbs/Makefile: Likewise.
22795 * dlfcn/Makefile: Likewise.
22796 * posix/Makefile: Likewise.
22797
3b7c4e74 22798 [BZ #6959]
482ff4da
UD
22799 * timezone/Makefile: Don't install timezone files, just the programs
22800 and scripts.
22801
f72ed77d
UD
228022012-03-06 Ulrich Drepper <drepper@gmail.com>
22803
a000466f
UD
22804 * nss/databases.def: Add missing gshadow entry.
22805
f72ed77d
UD
22806 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22807
a53b7a4e
MP
228082012-03-06 Marek Polacek <polacek@redhat.com>
22809
22810 [BZ #13726]
22811 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22812 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22813 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22814 * stdio-common/tst-long-dbl-fphex.c: New file.
22815
e9258400
DM
228162012-03-06 David S. Miller <davem@davemloft.net>
22817
22818 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22819 (set_obp_int): New function.
22820 (get_obp_int): New function.
22821 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
22822 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22823 Avoid unused variable warnings on 'val' and use builtin_expect.
22824 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22825 __builtin_expect.
e9258400
DM
22826 (INLINE_CLONE_SYSCALL): Likewise.
22827
3bd2c723
DM
228282012-03-05 David S. Miller <davem@davemloft.net>
22829
22830 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22831
bbb78d03
AS
228322012-03-05 Andreas Schwab <schwab@linux-m68k.org>
22833
884c5db4
AS
22834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22835
bbb78d03
AS
22836 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22837 only for |x| >= 40.
22838 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22839
1c9f702a 228402012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
22841
22842 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22843 Replace gettimeofday with __vdso_gettimeofday.
22844
7be16f82
RM
22845 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22846 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22847 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
22848
22849 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22850 time with __vdso_time.
22851
ed58a00f
JM
228522012-03-05 Joseph Myers <joseph@codesourcery.com>
22853
22854 * manual/lang.texi (size_t): Note types to which size_t may be
22855 equivalent with the GNU C Library, but do not describe when
22856 differences between them are significant.
22857
30ee4ced
AJ
228582012-03-05 Andreas Jaeger <aj@suse.de>
22859
22860 * sysdeps/i386/fpu/libm-test-ulps: Update.
22861
b7cd39e8
JM
228622012-03-05 Joseph Myers <joseph@codesourcery.com>
22863
22864 [BZ #3976]
22865 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22866 (__ieee754_pow): Save and restore rounding mode and use
22867 round-to-nearest for main computations.
22868 * math/libm-test.inc (pow_test_tonearest): New function.
22869 (pow_test_towardzero): Likewise.
22870 (pow_test_downward): Likewise.
22871 (pow_test_upward): Likewise.
22872 (main): Call the new functions.
22873 * sysdeps/i386/fpu/libm-test-ulps: Update.
22874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
22875
22876 [BZ #3976]
22877 * math/libm-test.inc (cosh_test_tonearest): New function.
22878 (cosh_test_towardzero): Likewise.
22879 (cosh_test_downward): Likewise.
22880 (cosh_test_upward): Likewise.
22881 (sinh_test_tonearest): Likewise.
22882 (sinh_test_towardzero): Likewise.
22883 (sinh_test_downward): Likewise.
22884 (sinh_test_upward): Likewise.
22885 (main): Call the new functions.
22886 * sysdeps/i386/fpu/libm-test-ulps: Update.
22887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22888
6c6a98c9
TV
228892012-03-05 Tom de Vries <tom@codesourcery.com>
22890
22891 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22892 default stack guard is set in last bytes.
22893 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22894
21bb2d2e 228952012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 22896
21bb2d2e 22897 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 22898
21bb2d2e
AJ
22899 [BZ #13656]
22900 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22901 possibly allocate from heap instead of stack.
22902 * stdio-common/bug-vfprintf-nargs.c: New file.
22903 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 22904
c6922934
AS
229052012-03-03 Andreas Schwab <schwab@linux-m68k.org>
22906
22907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22908
bc957d53
MP
229092012-03-03 Marek Polacek <polacek@redhat.com>
22910
22911 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22912 * math/math_private.h: Likewise.
22913 * stdlib/tst-strtod.c: Likewise.
22914 * sysdeps/i386/i486/bits/atomic.h: Likewise.
22915 * sysdeps/x86_64/bits/atomic.h: Likewise.
22916
6358490d
DM
229172012-03-02 David S. Miller <davem@davemloft.net>
22918
22919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22923 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22924 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22925 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22926 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22927
01ae168d
RM
229282012-03-02 Roland McGrath <roland@hack.frob.com>
22929
d9a17c07
RM
22930 [BZ #13792]
22931 * manual/examples/README: New file, says the example source files
22932 can be used under GPL>=2.
22933 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22934 line containing just "*/".
22935 * manual/examples/add.c: Add copyright header (GPL>=2).
22936 * manual/examples/argp-ex1.c: Likewise.
22937 * manual/examples/argp-ex2.c: Likewise.
22938 * manual/examples/argp-ex3.c: Likewise.
22939 * manual/examples/argp-ex4.c: Likewise.
22940 * manual/examples/atexit.c: Likewise.
22941 * manual/examples/db.c: Likewise.
22942 * manual/examples/dir.c: Likewise.
22943 * manual/examples/dir2.c: Likewise.
22944 * manual/examples/execinfo.c: Likewise.
22945 * manual/examples/filecli.c: Likewise.
22946 * manual/examples/filesrv.c: Likewise.
22947 * manual/examples/fmtmsgexpl.c: Likewise.
22948 * manual/examples/genpass.c: Likewise.
22949 * manual/examples/inetcli.c: Likewise.
22950 * manual/examples/inetsrv.c: Likewise.
22951 * manual/examples/isockad.c: Likewise.
22952 * manual/examples/longopt.c: Likewise.
22953 * manual/examples/memopen.c: Likewise.
22954 * manual/examples/memstrm.c: Likewise.
22955 * manual/examples/mkfsock.c: Likewise.
22956 * manual/examples/mkisock.c: Likewise.
22957 * manual/examples/mygetpass.c: Likewise.
22958 * manual/examples/pipe.c: Likewise.
22959 * manual/examples/popen.c: Likewise.
22960 * manual/examples/rprintf.c: Likewise.
22961 * manual/examples/search.c: Likewise.
22962 * manual/examples/select.c: Likewise.
22963 * manual/examples/setjmp.c: Likewise.
22964 * manual/examples/sigh1.c: Likewise.
22965 * manual/examples/sigusr.c: Likewise.
22966 * manual/examples/stpcpy.c: Likewise.
22967 * manual/examples/strdupa.c: Likewise.
22968 * manual/examples/strftim.c: Likewise.
22969 * manual/examples/strncat.c: Likewise.
22970 * manual/examples/subopt.c: Likewise.
22971 * manual/examples/swapcontext.c: Likewise.
22972 * manual/examples/termios.c: Likewise.
22973 * manual/examples/testopt.c: Likewise.
22974 * manual/examples/testpass.c: Likewise.
22975 * manual/examples/timeval_subtract.c: Likewise.
22976
01ae168d
RM
22977 [BZ #13792]
22978 * manual/time.texi (Elapsed Time): Move timeval_subtract example
22979 function to ...
22980 * manual/timeval_subtract.c.texi: ... here, new file.
22981
49efa33d
DM
229822012-03-02 David S. Miller <davem@davemloft.net>
22983
22984 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
22985
28afd92d
JM
229862012-03-02 Joseph Myers <joseph@codesourcery.com>
22987
804360ed
JM
22988 [BZ #3976]
22989 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
22990 (__sin): Save and restore rounding mode and use round-to-nearest
22991 for all computations.
22992 (__cos): Save and restore rounding mode and use round-to-nearest
22993 for all computations.
22994 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
22995 <fenv.h>.
22996 (tan): Save and restore rounding mode and use round-to-nearest for
22997 all computations.
22998 * math/libm-test.inc (cos_test_tonearest): New function.
22999 (cos_test_towardzero): Likewise.
23000 (cos_test_downward): Likewise.
23001 (cos_test_upward): Likewise.
23002 (sin_test_tonearest): Likewise.
23003 (sin_test_towardzero): Likewise.
23004 (sin_test_downward): Likewise.
23005 (sin_test_upward): Likewise.
23006 (tan_test_tonearest): Likewise.
23007 (tan_test_towardzero): Likewise.
23008 (tan_test_downward): Likewise.
23009 (tan_test_upward): Likewise.
23010 (main): Call the new functions.
23011 * sysdeps/i386/fpu/libm-test-ulps: Update.
23012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23013
a6d06d7b
JM
23014 [BZ #10135]
23015 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23016 small n, then large n, before computing and testing k+n.
23017 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23018 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23019 Likewise.
23020 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23021 Likewise.
23022 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23023 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23024 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23025 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23026 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23027 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23028 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23029 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23030 * math/libm-test.inc (scalbn_test): Add more tests.
23031 (scalbln_test): Likewise.
23032
07e12bb3
JM
23033 * manual/filesys.texi (mode_t): Describe constraints on size and
23034 signedness, not exact equivalence to a particular type.
23035 (ino_t): Likewise.
23036 (ino64_t): Likewise.
23037 (dev_t): Likewise.
23038 (nlink_t): Likewise.
23039 (blkcnt_t): Likewise.
23040 (blkcnt64_t): Likewise.
23041 * manual/llio.texi (off_t): Likewise.
23042
28afd92d
JM
23043 [BZ #3976]
23044 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23045 (__ieee754_exp): Save and restore rounding mode and use
23046 round-to-nearest for all computations.
23047 * math/libm-test.inc (exp_test_tonearest): New function.
23048 (exp_test_towardzero): Likewise.
23049 (exp_test_downward): Likewise.
23050 (exp_test_upward): Likewise.
23051 (main): Call the new functions.
23052 * sysdeps/i386/fpu/libm-test-ulps: Update.
23053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23054
b1eeb65d
CD
230552012-03-01 Chris Demetriou <cgd@google.com>
23056
23057 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23058 have predictable order.
23059
53362a4b
DM
230602012-03-01 David S. Miller <davem@davemloft.net>
23061
3c969083
DM
23062 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23063
759707de
DM
23064 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23065 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23066 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23067 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23068
dfdb8ff2
DM
23069 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23070 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23071 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23073 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23074 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23075 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23076 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23077 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23078
ead89f96
DM
23079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23080
7f66bd07
DM
23081 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23082 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23083 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23084
53362a4b
DM
23085 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23086 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23087 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23088 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23089 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23090 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23091 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23092 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23093 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23094 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23095 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23096 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23097 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23098 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23099 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23100 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23101 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23102 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23103 * sysdeps/sparc/elf/configure: Regenerated.
23104
7b1902cb
JM
231052012-03-01 Joseph Myers <joseph@codesourcery.com>
23106
bec039bc
JM
23107 * configure.in (AS, LD): Require binutils 2.20 or later.
23108 * configure: Regenerated.
23109 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23110 as required minimum version.
23111 * INSTALL: Regenerated.
23112
7b1902cb
JM
23113 [BZ #2541]
23114 [BZ #4108]
23115 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23116 before squaring exponent.
23117 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23118 bottom long double and 27 bits of top long double before squaring
23119 exponent.
23120 * math/libm-test.inc (erfc_test): Add more tests.
23121 * sysdeps/i386/fpu/libm-test-ulps: Update.
23122 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23124
f775c276
KT
231252012-03-01 Kai Tietz <ktietz@redhat.com>
23126
23127 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23128 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23129 containing bit-fields.
23130 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23131 * soft-fp/single.h (_FP_UNION_S): Likewise.
23132 * soft-fp/double.h (_FP_UNION_D): Likewise.
23133
5b8a4d4a
JM
231342012-02-29 Joseph Myers <joseph@codesourcery.com>
23135
0bab47b6
JM
23136 [BZ #13786]
23137 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23138 not include ../strcmp.S.
23139 [USE_AS_STRNCASECMP_L]: Likewise.
23140 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23141 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23142 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23143 (__strncasecmp_l_ia32): Define as alias to
23144 __strncasecmp_l_nonascii.
23145
0fcad3e2
JM
23146 [BZ #5794]
23147 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23148 * sysdeps/i386/fpu/libm-test-ulps: Update.
23149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23150
5b8a4d4a
JM
23151 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23153
8fdceb2e
JL
231542012-02-29 Jeff Law <law@redhat.com>
23155
23156 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23157 out of bounds read.
23158
1f393a11
MP
231592012-02-29 Marek Polacek <polacek@redhat.com>
23160
23161 [BZ #13706]
23162 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23163 * elf/Makefile: Add rules to run tst-unused-dep.out.
23164
8847f037
DM
231652012-02-28 David S. Miller <davem@davemloft.net>
23166
23167 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23168 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23169 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23170 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23171 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23172 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23173
169d7f11
JM
231742012-02-29 Joseph Myers <joseph@codesourcery.com>
23175
23176 * math/libm-test.inc (llround_test): Move one test from
23177 lround_test. Use TEST_f_L in moved test.
23178 (lround_test): Move misplaced test to llround_test. Add testcase
23179 from bug 2561.
23180
39adf059
UD
231812012-02-28 Ulrich Drepper <drepper@gmail.com>
23182
23183 * sysdeps/x86_64/fpu/e_expf.S: New file.
23184 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23185
71b5d1c5
SB
231862012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23187
23188 [BZ #13637]
23189 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23190 of remain_len that may cause incomplete multi-byte character and
23191 false match.
23192 * posix/bug-regex33.c: New file.
23193 * posix/Makefile (tests): Add bug-regex33.
23194
1f77f049
JM
231952012-02-28 Joseph Myers <joseph@codesourcery.com>
23196
23197 * manual/macros.texi: New file.
23198 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23199 * manual/libc.texinfo: Include macros.texi.
23200 * manual/creatute.texi: Likewise.
23201 * manual/install.texi: Likewise.
23202 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23203 @glibcadj{} in references to the GNU C Library.
23204 * manual/charset.texi: Likewise.
23205 * manual/conf.texi: Likewise.
23206 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23207 when not using those macros.
23208 * manual/creature.texi: Likewise.
23209 * manual/crypt.texi: Likewise.
23210 * manual/errno.texi: Likewise.
23211 * manual/filesys.texi: Likewise.
23212 * manual/header.texi: Likewise.
23213 * manual/install.texi: Likewise.
23214 * manual/intro.texi: Likewise.
23215 * manual/io.texi: Likewise.
23216 * manual/job.texi: Likewise.
23217 * manual/lang.texi: Likewise.
23218 * manual/libc.texiinfo: Likewise.
23219 * manual/llio.texi: Likewise.
23220 * manual/locale.texi: Likewise.
23221 * manual/maint.texi: Likewise.
23222 * manual/math.texi: Likewise.
23223 * manual/memory.texi: Likewise.
23224 * manual/message.texi: Likewise.
23225 * manual/nss.texi: Likewise.
23226 * manual/pattern.texi: Likewise.
23227 * manual/process.texi: Likewise.
23228 * manual/resource.texi: Likewise.
23229 * manual/search.texi: Likewise.
23230 * manual/setjmp.texi: Likewise.
23231 * manual/signal.texi: Likewise.
23232 * manual/socket.texi: Likewise.
23233 * manual/startup.texi: Likewise.
23234 * manual/stdio.texi: Likewise.
23235 * manual/string.texi: Likewise.
23236 * manual/sysinfo.texi: Likewise.
23237 * manual/syslog.texi: Likewise.
23238 * manual/terminal.texi: Likewise.
23239 * manual/time.texi: Likewise.
23240 * manual/users.texi: Likewise.
23241 * INSTALL: Regenerated.
23242 * NOTES: Regenerated.
d40c5d54 23243 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 23244
450bf206
AS
232452012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23246
23247 * include/dirent.h: Include <dirstream.h> before
23248 <dirent/dirent.h>.
23249
741a235b
DM
232502012-02-28 David S. Miller <davem@davemloft.net>
23251
23252 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23253 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23254 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23255 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23256
d6b5aa58
DM
232572012-02-27 David S. Miller <davem@davemloft.net>
23258
1aff59a3
DM
23259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23261 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23262 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23263
d6b5aa58
DM
23264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23265 frame pointer instead of stack pointer relative arg slot.
23266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23267 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23268 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23269
433f48bf
CD
232702012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23271
23272 [BZ #3992]
23273 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23274
d674b76d
DM
232752012-02-27 David S. Miller <davem@davemloft.net>
23276
23277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23281 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23282 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23283 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23284 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23285
0e7727f7
JM
232862012-02-27 Joseph Myers <joseph@codesourcery.com>
23287
23288 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23289 later. Allow versions 5-9.
43be4ca2 23290 * configure: Regenerated.
0e7727f7
JM
23291 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23292 required minimum version and 4.6 as recommended version. Do not
23293 mention bugs in GCC 2.7 and 2.8.
43be4ca2 23294 * INSTALL: Regenerated.
0e7727f7 23295
a78bc654
DM
232962012-02-27 David S. Miller <davem@davemloft.net>
23297
428d5830
DM
23298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23302 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23303 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23304 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23305 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23306
a78bc654
DM
23307 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23308 manipulate bits before adding and subtracting TWO112[sx].
23309 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23310
4579f81c
RM
233112012-02-27 Roland McGrath <roland@hack.frob.com>
23312
36c8acb4
RM
23313 [BZ #13775]
23314 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23315 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23316 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23317 being in POSIX, because they are in 1003.1-2008.
23318
84ad622b
RM
23319 * rt/tst-aio.c: Include <fcntl.h>.
23320 * rt/tst-aio7.c: Likewise.
23321 * rt/tst-aio64.c: Likewise.
23322
4579f81c
RM
23323 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23324
abd923db
JM
233252012-02-27 Joseph Myers <joseph@codesourcery.com>
23326
23327 * manual/install.texi (--with-headers): Describe headers as
23328 interface headers, not private headers.
23329 (Specific advice for GNU/Linux systems): Describe use of headers
23330 from "make headers_install", not private headers from older
23331 kernels.
43be4ca2 23332 * INSTALL: Regenerated.
abd923db
JM
23333 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23334 Change to 2.6.19.
23335 * sysdeps/unix/sysv/linux/configure: Regenerated.
23336
6664049b
JM
23337 * manual/llio.texi (fclean): Remove documentation.
23338
bb8b6697
JM
23339 * manual/Makefile (libc-texi-generated): New variable. Include
23340 version.texi.
23341 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23342 $(libc-texi-generated), not duplicated list of files.
23343 (version.texi, stamp-version): New rules.
23344 (realclean): Remove $(libc-texi-generated), not individual files
23345 from that list. Do not remove dir-add.texinfo.
23346 * manual/libc.texinfo: Comment out uses of edition numbers and
23347 references to printed manual. Remove last-updated dates.
23348 (EDITION): Comment out.
23349 (ISBN): Likewise.
23350 (VERSION, UPDATED): Remove.
23351 (version.texi): Include.
23352
12e5c3b9
AS
233532012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23354
23355 * sysdeps/posix/spawni.c: Include <signal.h>.
23356 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23357 * sysdeps/pthread/aio_fsync.c: Likewise.
23358
4efeffc1 233592012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 23360
ba63ba08
UD
23361 * conform/Makefile (tests): Run only when not cross-compiling and
23362 when fast-check is not defined.
23363
d94a4670
UD
23364 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23365 * conform/data/limits.h-data: Fixes for POSIX2008.
23366 * conform/run-conformtest.sh: Run all tests.
23367 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23368 headers.
23369 * include/bits/dlfcn.h: Likewise.
23370 * include/langinfo.h: Likewise.
23371 * include/monetary.h: Likewise.
23372 * include/sys/poll.h: Likewise.
23373
23374 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23375 for __USE_GNU.
23376 * posix/spawn.h: Define __need_sigset_t.
23377 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23378 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23379 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23380 to get sigevent_t only.
23381 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23382 only for __USE_GNU.
23383 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23384 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23385 process_vm_writev only for __USE_GNU.
23386 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
23387
23388 * conform/Makefile: For now ignore errors from run-conformtest.
23389 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23390 POSIX to avoid namespace pollution. Don't prepend headers.
23391 * conform/data/aio.h-data: Fixes for POSIX testing.
23392 * conform/data/fcntl.h-data: Likewise.
23393 * conform/data/glob.h-data: Likewise.
23394 * conform/data/grp.h-data: Likewise.
23395 * conform/data/pthread.h-data: Likewise.
23396 * conform/data/pwd.h-data: Likewise.
23397 * conform/data/signal.h-data: Likewise.
23398 * conform/data/spawn.h-data: Likewise.
23399 * conform/data/stdio.h-data: Likewise.
23400 * conform/data/stdlib.h-data: Likewise.
23401 * conform/data/stropts.h-data: Likewise.
23402 * conform/data/sys/mman.h-data: Likewise.
23403 * conform/data/sys/stat.h-data: Likewise.
23404 * conform/data/sys/types.h-data: Likewise.
23405 * conform/data/sys/wait.h-data: Likewise.
23406 * conform/data/time.h-data: Likewise.
23407 * conform/data/unistd.h-data: Likewise.
23408 * conform/data/utime.h-data: Likewise.
23409
23410 * io/sys/stat.h: fchmod was always in POSIX.
23411 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23412 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23413 * rt/aio.h: Define __need_timespec before including <time.h>.
23414 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23415 struct. Add forward declaration of pthread_attr_t and use it in
23416 sigevent.
23417 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23418 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23419 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23420 always remove CLK_TCK definition.
23421
c20105c3
AS
234222012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23423
23424 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23425
7a270350
UD
234262012-02-25 Ulrich Drepper <drepper@gmail.com>
23427
31341567
UD
23428 * conform/run-conformtest.sh: New file.
23429 * conform/Makefile: Run run-conformtest for tests.
23430 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23431 support.
23432
23433 * conform/data/uchar.h-data: New file.
23434 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23435 * conform/data/arpa/inet.h-data: Likewise.
23436 * conform/data/assert.h-data: Likewise.
23437 * conform/data/complex.h-data: Likewise.
23438 * conform/data/cpio.h-data: Likewise.
23439 * conform/data/ctype.h-data: Likewise.
23440 * conform/data/dirent.h-data: Likewise.
23441 * conform/data/dlfcn.h-data: Likewise.
23442 * conform/data/errno.h-data: Likewise.
23443 * conform/data/fcntl.h-data: Likewise.
23444 * conform/data/float.h-data: Likewise.
23445 * conform/data/fmtmsg.h-data: Likewise.
23446 * conform/data/fnmatch.h-data: Likewise.
23447 * conform/data/ftw.h-data: Likewise.
23448 * conform/data/glob.h-data: Likewise.
23449 * conform/data/grp.h-data: Likewise.
23450 * conform/data/iconv.h-data: Likewise.
23451 * conform/data/inttypes.h-data: Likewise.
23452 * conform/data/langinfo.h-data: Likewise.
23453 * conform/data/libgen.h-data: Likewise.
23454 * conform/data/limits.h-data: Likewise.
23455 * conform/data/locale.h-data: Likewise.
23456 * conform/data/math.h-data: Likewise.
23457 * conform/data/monetary.h-data: Likewise.
23458 * conform/data/mqueue.h-data: Likewise.
23459 * conform/data/ndbm.h-data: Likewise.
23460 * conform/data/net/if.h-data: Likewise.
23461 * conform/data/netdb.h-data: Likewise.
23462 * conform/data/netinet/in.h-data: Likewise.
23463 * conform/data/nl_types.h-data: Likewise.
23464 * conform/data/poll.h-data: Likewise.
23465 * conform/data/pthread.h-data: Likewise.
23466 * conform/data/pwd.h-data: Likewise.
23467 * conform/data/regex.h-data: Likewise.
23468 * conform/data/sched.h-data: Likewise.
23469 * conform/data/search.h-data: Likewise.
23470 * conform/data/semaphore.h-data: Likewise.
23471 * conform/data/setjmp.h-data: Likewise.
23472 * conform/data/signal.h-data: Likewise.
23473 * conform/data/spawn.h-data: Likewise.
23474 * conform/data/stdarg.h-data: Likewise.
23475 * conform/data/stdio.h-data: Likewise.
23476 * conform/data/stdlib.h-data: Likewise.
23477 * conform/data/string.h-data: Likewise.
23478 * conform/data/strings.h-data: Likewise.
23479 * conform/data/stropts.h-data: Likewise.
23480 * conform/data/sys/ipc.h-data: Likewise.
23481 * conform/data/sys/mman.h-data: Likewise.
23482 * conform/data/sys/msg.h-data: Likewise.
23483 * conform/data/sys/resource.h-data: Likewise.
23484 * conform/data/sys/select.h-data: Likewise.
23485 * conform/data/sys/sem.h-data: Likewise.
23486 * conform/data/sys/shm.h-data: Likewise.
23487 * conform/data/sys/socket.h-data: Likewise.
23488 * conform/data/sys/stat.h-data: Likewise.
23489 * conform/data/sys/statvfs.h-data: Likewise.
23490 * conform/data/sys/time.h-data: Likewise.
23491 * conform/data/sys/timeb.h-data: Likewise.
23492 * conform/data/sys/times.h-data: Likewise.
23493 * conform/data/sys/types.h-data: Likewise.
23494 * conform/data/sys/uio.h-data: Likewise.
23495 * conform/data/sys/un.h-data: Likewise.
23496 * conform/data/sys/utsname.h-data: Likewise.
23497 * conform/data/sys/wait.h-data: Likewise.
23498 * conform/data/syslog.h-data: Likewise.
23499 * conform/data/tar.h-data: Likewise.
23500 * conform/data/termios.h-data: Likewise.
23501 * conform/data/utime.h-data: Likewise.
23502 * conform/data/utmpx.h-data: Likewise.
23503 * conform/data/varargs.h-data: Likewise.
23504 * conform/data/wchar.h-data: Likewise.
23505 * conform/data/wctype.h-data: Likewise.
23506 * conform/data/wordexp.h-data: Likewise.
23507
23508 * include/stropts.h: New file.
23509 * include/uchar.h: New file.
23510 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23511 * include/assert.h: Likewise.
23512 * include/ctype.h: Likewise.
23513 * include/dirent.h: Likewise.
23514 * include/dlfcn.h: Likewise.
23515 * include/fcntl.h: Likewise.
23516 * include/fnmatch.h: Likewise.
23517 * include/glob.h: Likewise.
23518 * include/grp.h: Likewise.
23519 * include/libio.h: Likewise.
23520 * include/locale.h: Likewise.
23521 * include/math.h: Likewise.
23522 * include/net/if.h: Likewise.
23523 * include/netdb.h: Likewise.
23524 * include/netinet/in.h: Likewise.
23525 * include/pthread.h: Likewise.
23526 * include/pwd.h: Likewise.
23527 * include/regex.h: Likewise.
23528 * include/sched.h: Likewise.
23529 * include/search.h: Likewise.
23530 * include/setjmp.h: Likewise.
23531 * include/signal.h: Likewise.
23532 * include/stdio.h: Likewise.
23533 * include/stdlib.h: Likewise.
23534 * include/string.h: Likewise.
23535 * include/sys/cdefs.h: Likewise.
23536 * include/sys/mman.h: Likewise.
23537 * include/sys/msg.h: Likewise.
23538 * include/sys/resource.h: Likewise.
23539 * include/sys/select.h: Likewise.
23540 * include/sys/socket.h: Likewise.
23541 * include/sys/stat.h: Likewise.
23542 * include/sys/statvfs.h: Likewise.
23543 * include/sys/time.h: Likewise.
23544 * include/sys/times.h: Likewise.
23545 * include/sys/uio.h: Likewise.
23546 * include/sys/utsname.h: Likewise.
23547 * include/sys/wait.h: Likewise.
23548 * include/termios.h: Likewise.
23549 * include/time.h: Likewise.
23550 * include/ulimit.h: Likewise.
23551 * include/unistd.h: Likewise.
23552 * include/utime.h: Likewise.
23553 * include/wchar.h: Likewise.
23554 * include/wctype.h: Likewise.
23555 * include/wordexp.h: Likewise.
23556
23557 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23558
7a270350
UD
23559 * time/time.h: TIME_UTC must be a macro.
23560 Make timespec_get available for ISO C11 only as well.
23561
7724defc
UD
235622012-02-24 Ulrich Drepper <drepper@gmail.com>
23563
23564 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23565 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23566
6b1d1d46
JM
235672012-02-24 Joseph Myers <joseph@codesourcery.com>
23568
23569 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 23570
0f8bbd69
JM
235712012-02-24 Joseph Myers <joseph@codesourcery.com>
23572
23573 * manual/texinfo.tex: Update to version 2012-01-19.16.
23574
66ab80bc
JM
235752012-02-24 Joseph Myers <joseph@codesourcery.com>
23576
23577 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23578
74981cc5
RM
235792012-02-24 Roland McGrath <roland@hack.frob.com>
23580
ee968201
RM
23581 [BZ #13738]
23582 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23583 * manual/fdl-1.3.texi: New file.
23584 * manual/fdl-1.1.texi: File removed.
23585
74981cc5
RM
23586 [BZ #13738]
23587 * manual/libc.texinfo (FDL_VERSION): New @set.
23588 Use it for mention of FDL in cover text.
23589 (Documentation License): Use it in @include file name.
23590
7bb764bc
JM
235912012-02-22 Joseph Myers <joseph@codesourcery.com>
23592 Roland McGrath <roland@hack.frob.com>
23593
23594 [BZ #5461]
23595 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23596 not LONG_LONG_MAX and LONG_LONG_MIN.
23597 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23598 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23599 name.
23600 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23601
6cbeae47
JM
236022012-02-22 Joseph Myers <joseph@codesourcery.com>
23603
23604 [BZ #2547]
23605 [BZ #11365]
23606 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23607 manipulate bits before adding and subtracting TWO23[sx].
23608 * math/libm-test.inc (nearbyint_test): Add more tests.
23609
fe45ce09
JM
236102012-02-22 Joseph Myers <joseph@codesourcery.com>
23611
23612 [BZ #2548]
23613 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23614 bits before adding and subtracting TWO23[sx].
23615 * math/libm-test.inc (rint_test): Add more tests.
23616 (rint_test_tonearest): Likewise.
23617 (rint_test_towardzero): Likewise.
23618 (rint_test_downward): Likewise.
23619 (rint_test_upward: Likewise.
23620
ff3b3d82
JM
236212012-02-22 Joseph Myers <joseph@codesourcery.com>
23622
23623 [BZ #10110]
23624 * include/stdc-predef.h: New file. Extracted from features.h.
23625 * include/features.h: Include stdc-predef.h.
23626 * Makefile (headers): Add stdc-predef.h.
23627 * CONFORMANCE (Compiler limitations): Update.
23628
ef0aab35
JM
236292012-02-22 Joseph Myers <joseph@codesourcery.com>
23630
23631 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23632
58639409
DM
236332012-02-21 David S. Miller <davem@davemloft.net>
23634
23635 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23636 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23637
c0e70b25
DM
236382012-02-20 David S. Miller <davem@davemloft.net>
23639
23640 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23641 using a normal save/restore sequence, rather than allocating a
23642 dummy stack frame just to store a frame pointer and restore.
23643 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23644
fb06851d
JM
236452012-02-21 Joseph Myers <joseph@codesourcery.com>
23646
23647 * manual/install.texi: Fix stray word in line-wrapped comment.
23648
7a8b71c3
DM
236492012-02-20 David S. Miller <davem@davemloft.net>
23650
d510c123
DM
23651 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23652 both binutils and gcc support GOTDATA.
23653
0722d7c2
DM
23654 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23655 "rd %pc" in the PIC register setup sequences.
23656
3d2b3019
DM
23657 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23658 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23659 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23660 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23661 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23662 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23663 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23664 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23665 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23666 (SYSCALL_ERROR_HANDLER): Likewise.
23667 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23668 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23669 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23670 (SYSCALL_ERROR_HANDLER): Likewise.
23671
c80098a9
DM
23672 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23673 (HAVE_GCC_GOTDATA): New.
23674 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23675 relocation support in both binutils and gcc.
23676 * sysdeps/sparc/elf/configure: Regenerate.
23677
3a2545a0
DM
23678 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23679 * sysdeps/sparc/sparc32/elf/configure: Delete.
23680 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23681 * sysdeps/sparc/sparc64/elf/configure: Delete.
23682 * sysdeps/sparc/elf/configure.in: New file.
23683 * sysdeps/sparc/elf/configure: Generate.
23684
7a8b71c3
DM
23685 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23686 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23687 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23688 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23689 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23690
f1e86fca
JM
236912012-02-21 Joseph Myers <joseph@codesourcery.com>
23692
23693 * manual/install.texi: Do not mention specific glibc version
23694 numbers.
23695 * manual/libc.texinfo (VERSION, UPDATED): Update.
23696 (@copying): Use @copyright{} and range of years.
23697
0e7dfaef
JM
236982012-02-21 Joseph Myers <joseph@codesourcery.com>
23699
23700 [BZ #13695]
23701 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23702 [crti.S not in sysdirs] (generated): Do not append.
23703 [crti.S not in sysdirs] (omit-deps): Likewise.
23704 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23705 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23706 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23707 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23708 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23709 Likewise.
23710 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23711 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23712 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23713 * csu/defs.awk: Remove file.
23714 * sysdeps/generic/initfini.c: Likewise.
23715 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23716 variable.
23717 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23718 Likewise.
23719
599af3ca
JM
237202012-02-20 Joseph Myers <joseph@codesourcery.com>
23721
23722 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23723 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23724 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23725 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23726 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23727 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23728 <bits/epoll.h>.
23729 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23730 (__EPOLL_PACKED): Define to empty if not defined by
23731 <bits/epoll.h>.
23732 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23733 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23734 bits/epoll.h.
23735
0e499750
JM
237362012-02-20 Joseph Myers <joseph@codesourcery.com>
23737
23738 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23739 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23740 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23741 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23742 <bits/timerfd.h>.
23743 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23744 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23745 bits/timerfd.h.
23746
5ad91f6e
JM
237472012-02-20 Joseph Myers <joseph@codesourcery.com>
23748
23749 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23750 in C locale.
23751 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23752 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23753 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23755
06b99b02
AJ
237562012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23757
23758 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23759 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23760
7638c0fd
AS
237612012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23762
23763 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23764 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23765 defined.
23766 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23767 Likewise.
23768 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23769 entry for 2.16.
23770
92221550
AJ
237712012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23772
23773 * math/w_acos.c: Use non-signaling floating-point comparisons.
23774 * math/w_acosf.c: Likewise.
23775 * math/w_acosh.c: Likewise.
23776 * math/w_acoshf.c: Likewise.
23777 * math/w_acoshl.c: Likewise.
23778 * math/w_acosl.c: Likewise.
23779 * math/w_asin.c: Likewise.
23780 * math/w_asinf.c: Likewise.
23781 * math/w_asinl.c: Likewise.
23782 * math/w_atanh.c: Likewise.
23783 * math/w_atanhf.c: Likewise.
23784 * math/w_atanhl.c: Likewise.
23785 * math/w_exp2.c: Likewise.
23786 * math/w_exp2f.c: Likewise.
23787 * math/w_exp2l.c: Likewise.
23788 * math/w_j0.c: Likewise.
23789 * math/w_j0f.c: Likewise.
23790 * math/w_j0l.c: Likewise.
23791 * math/w_j1.c: Likewise.
23792 * math/w_j1f.c: Likewise.
23793 * math/w_j1l.c: Likewise.
23794 * math/w_jn.c: Likewise.
23795 * math/w_jnf.c: Likewise.
23796 * math/w_log.c: Likewise.
23797 * math/w_log10.c: Likewise.
23798 * math/w_log10f.c: Likewise.
23799 * math/w_log10l.c: Likewise.
23800 * math/w_log2.c: Likewise.
23801 * math/w_log2f.c: Likewise.
23802 * math/w_log2l.c: Likewise.
23803 * math/w_logf.c: Likewise.
23804 * math/w_logl.c: Likewise.
23805 * math/w_sqrt.c: Likewise.
23806 * math/w_sqrtf.c: Likewise.
23807 * math/w_sqrtl.c: Likewise.
23808 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23809 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23810 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23811 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23812 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23813
ebaf36eb
JM
238142012-02-19 Joseph Myers <joseph@codesourcery.com>
23815
23816 [BZ #9739]
23817 * manual/string.texi (strnlen): Use correct parameter name in
23818 equivalent expression.
23819
71c254a6
JM
238202012-02-19 Joseph Myers <joseph@codesourcery.com>
23821
23822 [BZ #11174]
23823 * manual/users.texi (seteuid): Consistently use neweuid for
23824 argument name.
23825
16d2c631
JM
238262012-02-19 Joseph Myers <joseph@codesourcery.com>
23827
23828 [BZ #13704]
23829 * manual/nss.texi (Services in the NSS configuration): Correct
23830 list of services in example configuration file.
23831
cd837b09
NB
238322012-02-19 Nick Bowler <nbowler@draconx.ca>
23833
23834 [BZ #11322]
23835 * manual/arith.texi: Remove statements about negative zero
23836 behaving identically to zero.
23837
02c4bbad
JM
238382012-02-18 Joseph Myers <joseph@codesourcery.com>
23839
23840 [BZ #5993]
23841 * manual/install.texi: Do not document upgrading from libc5.
23842
366842e7
JM
238432012-02-18 Joseph Myers <joseph@codesourcery.com>
23844
23845 [BZ #4596]
23846 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23847
dd54084d
DM
238482012-02-18 David S. Miller <davem@davemloft.net>
23849
23850 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23851 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23852 %o7 across the call.
23853 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23854 instead.
23855 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23856 SETUP_PIC_REG_LEAF.
23857 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23858 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23859 * sysdeps/sparc/crtn.S: Likewise.
23860
2bcc53a3
UD
238612012-02-17 Ulrich Drepper <drepper@gmail.com>
23862
23863 * aout/Makefile: Remove.
23864
09c093b5
RK
238652012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
23866
23867 [BZ #13058]
23868 * manual/examples/argp-ex1.c (main): Format definition in GNU
23869 style.
23870 * manual/examples/argp-ex2.c (main): Likewise.
23871 * manual/examples/argp-ex3.c (main): Likewise.
23872 * manual/examples/argp-ex4.c (main): Likewise.
23873 * manual/examples/longopt.c (main): Use new-style prototype
23874 definition.
23875 * manual/examples/strncat.c (main): Specify return type and use
23876 (void) for arguments.
23877 * manual/examples/subopt.c (main): Use char **argv argument.
23878
2ee633a2
JM
238792012-02-17 Joseph Myers <joseph@codesourcery.com>
23880
23881 [BZ #5077]
23882 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23883 rounding modes.
23884
0520adde
FB
238852012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
23886
23887 [BZ #6907]
23888 * manual/string.texi (strchr): Change when strchrnul is
23889 recommended.
23890
3f4081cd
DGM
238912012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
23892
23893 [BZ #174]
23894 * manual/locale.texi (setlocale): Document LOCPATH.
23895
d1b10e78
JM
238962012-02-17 Joseph Myers <joseph@codesourcery.com>
23897
23898 [BZ #10210]
23899 * manual/process.texi (execle): Move @dots{} before last argument.
23900
79c6869c
PB
239012012-02-17 Paul Bolle <pebolle@tiscali.nl>
23902
23903 [BZ #12047]
23904 * manual/charset.texi (Generic Charset Conversion): Fix typo
23905 (LC_TYPE -> LC_CTYPE).
23906
cc6e48bc
NB
239072012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
23908
23909 [BZ #5805]
23910 * manual/arith.texi (scalbn): Use @var{} on parameter names.
23911 (scalbnf): Likewise.
23912 (scalbnl): Likewise.
23913 (scalbln): Likewise.
23914 (scalblnf): Likewise.
23915 (scalblnl): Likewise.
23916 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23917 (vwarnx): Likewise.
23918 (verr): Likewise.
23919 (verrx): Likewise.
23920 * manual/filesys.texi (telldir): Use braces around return type.
23921 * manual/llio.texi (mmap): Add space after comma.
23922 (mmap64): Likewise.
23923 * manual/math.texi (jn): Use @var{} on parameter names.
23924 (jnf): Likewise.
23925 (jnl): Likewise.
23926 (yn): Likewise.
23927 (ynf): Likewise.
23928 (ynl): Likewise.
23929 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23930 line.
23931 * manual/resource.texi (ulimit): Use @dots{} instead of literal
23932 "...".
23933 (sched_get_priority_min): Remove semicolon on @deftypefun line.
23934 (sched_get_priority_max): Likewise.
23935 * manual/signal.texi (sigvec): Add space after comma.
23936 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23937 names.
23938 (if_indextoname): Likewise.
23939 (if_freenameindex): Likewise.
23940 (sendto): Use ',' instead of '.' in prototype.
23941 * manual/startup.texi (syscall): Use @dots{} instead of literal
23942 "...".
23943 * manual/stdio.texi (__fpending): Separate initial words of
23944 paragraph from @deftypefun line.
23945 * manual/syslog.texi (syslog): Use @dots{} instead of literal
23946 "...".
23947 (vsyslog): Use @var{} on parameter names.
23948 * manual/terminal.texi (stty): Use @var{} on parameter names.
23949 * manual/users.texi (getutmp): Use @var{} on parameter names.
23950 (getutmpx): Likewise.
23951
5b23062f
JM
239522012-02-17 Joseph Myers <joseph@codesourcery.com>
23953
23954 [BZ #6884]
23955 * manual/stdio.texi (fopen): Fix typos in description of
23956 ",ccs=STRING".
23957
8dee4833
AJ
239582012-02-17 Aurelien Jarno <aurelien@aurel32.net>
23959
23960 [BZ #4026]
23961 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
23962 get clock_id definition.
23963
9078ce93
TS
239642012-02-17 Thomas Schwinge <thomas@schwinge.name>
23965
23966 [BZ #4822]
23967 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
23968 (madvise): Cast every argument to void on its own.
23969
3835c55f
JM
239702012-02-17 Joseph Myers <joseph@codesourcery.com>
23971
23972 [BZ #9902]
23973 * manual/startup.texi (Exit Status): Fix typo.
23974
35c47e37
JM
239752012-02-17 Joseph Myers <joseph@codesourcery.com>
23976
23977 [BZ #10140]
23978 * manual/examples/argp-ex1.c: Include <stdlib.h>.
23979 * manual/examples/argp-ex2.c: Likewise.
23980 * manual/examples/argp-ex3.c: Likewise.
23981
e3b69ca7
RH
239822012-02-16 Richard Henderson <rth@redhat.com>
23983
23984 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
23985 * sysdeps/s390/s390-32/initfini.c: Remove.
23986 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
23987 * sysdeps/s390/s390-64/initfini.c: Remove.
23988
df83af67
KK
239892012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23990
23991 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
23992 compiler output for sysdeps/generic/initfini.c.
23993 * sysdeps/sh/elf/initfini.c: Remove file.
23994
f63f3380
DM
239952012-02-16 David S. Miller <davem@davemloft.net>
23996
fb59b3a4
DM
23997 [BZ #11494]
23998 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
23999
f63f3380
DM
24000 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24001 * sysdeps/sparc/crti.S: New file.
24002 * sysdeps/sparc/crtn.S: New file.
24003 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24004 * sysdeps/sparc/sparc64/Makefile: Likewise.
24005
df6a4a4a
MF
240062012-02-15 Mike Frysinger <vapier@gentoo.org>
24007
6dd8f3dc 24008 [BZ #3335]
df6a4a4a
MF
24009 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24010
1cac7236
RM
240112012-02-15 Roland McGrath <roland@hack.frob.com>
24012
d2c736f8
RM
24013 [BZ #4822]
24014 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24015
1cac7236
RM
24016 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24017 (write, read, close): Likewise.
24018 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24019
8e475601
JM
240202012-02-15 Joseph Myers <joseph@codesourcery.com>
24021
24022 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24023 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24024 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24025 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24026 <bits/signalfd.h>.
24027 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24028 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24029 bits/signalfd.h.
24030
ed656b40
MP
240312012-02-14 Marek Polacek <polacek@redhat.com>
24032
24033 * sysdeps/x86_64/crti.S: New file.
24034 * sysdeps/x86_64/crtn.S: New file.
24035 * sysdeps/x86_64/elf/initfini.c: Remove file.
24036
2a979d3a
JM
240372012-02-13 Joseph Myers <joseph@codesourcery.com>
24038
24039 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24040 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24041 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24042 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24043 <bits/inotify.h>.
24044 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24045 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24046 bits/inotify.h.
24047
2a418ac3
JM
240482012-02-13 Joseph Myers <joseph@codesourcery.com>
24049
24050 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24051 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24052 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24053 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24054 <bits/eventfd.h>.
24055 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24056 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24057 bits/eventfd.h.
24058
fb779be7
TS
240592012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24060
e19e83c5
RM
24061 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24062 __feraiseexcept instead of feraiseexcept.
7c35ffed 24063
fb779be7
TS
24064 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24065 nanosleep invocations.
24066 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24067 strings, and add error checking for a nanosleep invocations.
24068
59ba27a6
PE
240692012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24070
24071 Replace FSF snail mail address with URLs, as per GNU coding standards.
24072 Most of the snail mail addresses were wrong anyway, and omitting
24073 them makes the source code easier to maintain. Almost all of the
24074 changes are to license notices and to locale LC_IDENTIFICATION
24075 addresses, except for this one:
24076 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24077 not its snail mail address.
24078
57b957eb
RH
240792012-02-09 Richard Henderson <rth@twiddle.net>
24080
af850b1c
RH
24081 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24082 of kernel-features.h.
24083
57b957eb
RH
24084 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24085
6b73181a
MP
240862012-02-08 Marek Polacek <polacek@redhat.com>
24087
24088 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24089 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24090 * sysdeps/gnu/_G_config.h: Likewise.
24091 * sysdeps/generic/_G_config.h: Likewise.
24092
26ecc33a
AS
240932012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24094
6c6dbc63
AS
24095 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24096 tests.
24097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24098
e216c012
AS
24099 * sysdeps/powerpc/powerpc32/crti.S: New file.
24100 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24101 * sysdeps/powerpc/powerpc64/crti.S: New file.
24102 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24103
26ecc33a
AS
24104 * Makeconfig (have-initfini): Don't set.
24105 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24106 * configure.in (nopic_initfini): Don't substitute.
24107 * config.h.in (HAVE_INITFINI): Don't #undef.
24108 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24109 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24110
3add8e13
JM
241112012-02-08 Joseph Myers <joseph@codesourcery.com>
24112
24113 Support crti.S and crtn.S provided directly by architectures.
24114 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24115 [crti.S in sysdirs] (omit-deps): Likewise.
24116 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24117 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24118 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24119 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24120 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24121 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24122 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24123 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24124 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24125 compiler output for sysdeps/generic/initfini.c.
24126 * sysdeps/i386/elf/Makefile: Remove file.
24127 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24128
a22f12b4
MP
241292012-02-07 Marek Polacek <polacek@redhat.com>
24130
24131 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24132 * sysdeps/gnu/_G_config.h: Likewise.
24133 * sysdeps/mach/hurd/_G_config.h: Likewise.
24134
148cf100
MP
241352012-02-07 Marek Polacek <polacek@redhat.com>
24136
24137 * math/Makefile (tests): Add tst-CMPLX2.
24138 * math/tst-CMPLX2.c: New file.
24139
cfdc0dd7
AS
241402012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24141
84ba42c4
AS
24142 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24143
cfdc0dd7
AS
24144 * math/libm-test.inc (jn_test): Add missing L suffix.
24145
622c86f4
MP
241462012-02-06 Marek Polacek <polacek@redhat.com>
24147
24148 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24149 * sysdeps/i386/fpu/e_powf.S: Likewise.
24150 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24151 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24152 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24153 * sysdeps/i386/fpu/e_pow.S: Likewise.
24154 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24155 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24156 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24157 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24158 * sysdeps/i386/fpu/e_log2.S: Likewise.
24159 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24160 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24161 * sysdeps/i386/fpu/e_powl.S: Likewise.
24162 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24163 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24164 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24165 * sysdeps/i386/fpu/e_logl.S: Likewise.
24166 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24167 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24168 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24169 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24170 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24171 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24172 * sysdeps/i386/fpu/e_log.S: Likewise.
24173 * sysdeps/i386/fpu/s_cexp.S: Likewise.
24174 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24175 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24176 * sysdeps/i386/fpu/e_logf.S: Likewise.
24177 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24178 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24179 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24180 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24181 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24182 * sysdeps/i386/fpu/e_log10.S: Likewise.
24183 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24184 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24185 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24186 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24187 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24188 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24189 * sysdeps/i386/asm-syntax.h: Likewise.
24190 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24191 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24192 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24193 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24194 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24195 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24196 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24197 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24198 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24199 * sysdeps/powerpc/sysdep.h: Likewise.
24200 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24201 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24202
d4a54ac6
JM
242032012-02-06 Joseph Myers <joseph@codesourcery.com>
24204
24205 [BZ #411]
24206 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24207
314054ea
JM
242082012-02-06 Joseph Myers <joseph@codesourcery.com>
24209
24210 * sysdeps/i386/sysdep.h: Include <features.h>.
24211 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24212 version.
24213
d8e0ca50
JM
242142012-02-05 Joseph Myers <joseph@codesourcery.com>
24215
24216 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24217 Define.
24218 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24219 LOAD_PIC_REG_STR.
24220
b1da7dd9
JM
242212012-02-03 Joseph Myers <joseph@codesourcery.com>
24222
24223 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24224 (SETUP_PIC_REG): Use GET_PC_THUNK.
24225 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24226 macro.
24227
9a1d9254
JM
242282012-02-03 Joseph Myers <joseph@codesourcery.com>
24229
24230 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24231 for non-PIC compilation.
24232 (SETUP_PIC_REG): Add .p2align directive.
24233 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24234 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24235 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24236 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24237 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24238 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24239 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24240 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24241 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24242 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24243 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24244 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24245 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24246 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24247 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24248 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24249 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24250 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24251 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24252 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24253 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24254 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24255 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24256 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24257 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24258 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24259 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24260 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24261 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24262 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24263 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24264 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24265 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24266 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24267 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24268 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24269 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24270 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24271 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24272 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24273 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24274
65dc3b75
JM
242752012-02-03 Joseph Myers <joseph@codesourcery.com>
24276
24277 * math/tst-CMPLX.c: Include <stdio.h>.
24278
d55bf177
JM
242792012-01-31 Joseph Myers <joseph@codesourcery.com>
24280
24281 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24282 float.
24283 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24284 * sysdeps/sparc/bits/mathdef.h: Likewise.
24285
69db4f8f
MP
242862012-01-31 Marek Polacek <polacek@redhat.com>
24287
24288 * libio/libio.h: Don't define _PARAMS.
24289 * locale/programs/config.h: Don't define PARAMS.
24290 * stdlib/strtol_l.c: Likewise.
24291 (__strtol_l): Remove PARAMS from the prototype.
24292
41b81892
UD
242932012-01-31 Ulrich Drepper <drepper@gmail.com>
24294
3b49edc0
UD
24295 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24296 names. Just use the correct names. Remove unnecessary wrapper
24297 functions.
24298 * malloc/arena.c: Likewise.
24299 * malloc/hooks.c: Likewise.
24300
41b81892
UD
24301 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24302 ARENA_TEST says not to. Simplify test for creation of a new arena.
24303 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24304
27a25b6e
UD
243052012-01-30 Ulrich Drepper <drepper@gmail.com>
24306
24307 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24308 into tail calls.
24309 (update_get_addr): New function.
24310 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24311 GET_ADDR_MODULE parameter.
24312
c8a89e7d
JM
243132012-01-30 Joseph Myers <joseph@codesourcery.com>
24314
24315 * crypt/cert.c: Remove __STDC__ conditionals.
24316 * crypt/crypt-entry.c: Likewise.
24317 * crypt/crypt_util.c: Likewise.
24318 * libio/filedoalloc.c: Likewise.
24319 * libio/fileops.c: Likewise.
24320 * libio/genops.c: Likewise.
24321 * libio/iofclose.c: Likewise.
24322 * libio/iofdopen.c: Likewise.
24323 * libio/iofopen.c: Likewise.
24324 * libio/iofopen64.c: Likewise.
24325 * libio/iogetdelim.c: Likewise.
24326 * libio/iopopen.c: Likewise.
24327 * libio/obprintf.c: Likewise.
24328 * libio/oldfileops.c: Likewise.
24329 * libio/oldiofclose.c: Likewise.
24330 * libio/oldiofdopen.c: Likewise.
24331 * libio/oldiofopen.c: Likewise.
24332 * libio/oldiopopen.c: Likewise.
24333 * libio/wfiledoalloc.c: Likewise.
24334 * libio/wgenops.c: Likewise.
24335 * locale/programs/xmalloc.c: Likewise.
24336 * misc/syslog.c: Likewise.
24337 * stdio-common/xbug.c: Likewise.
24338 * string/memchr.c: Likewise.
24339 * string/memcmp.c: Likewise.
24340 * string/memrchr.c: Likewise.
24341 * string/rawmemchr.c: Likewise.
24342 * sysdeps/posix/getcwd.c: Likewise.
24343 * time/strftime_l.c: Likewise.
24344
3b100462
JM
243452012-01-30 Joseph Myers <joseph@codesourcery.com>
24346
24347 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
24348 * config.make.in (config-cflags-sse2avx): Define.
24349 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24350 Fix typo.
24351
607998af
CM
243522012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24353
24354 * scripts/config.guess: Update from upstream config git repository.
24355 * scripts/config.sub: Likewise.
24356
3601428f
CM
243572012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24358
3ac8b282
CM
24359 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24360 (EM_NUM): Update.
24361 (R_TILEPRO_*, R_TILEGX_*): New macros.
24362
e034841e
CM
24363 * scripts/firstversions.awk: Fix bug in version range handling.
24364
540d7568
CM
24365 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24366
3601428f
CM
24367 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24368
463de862
CM
24369 * include/sys/epoll.h: New file.
24370 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24371 libc_hidden_def.
24372
73139a76
UD
243732012-01-28 Ulrich Drepper <drepper@gmail.com>
24374
96bc5b45
UD
24375 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24376 Avoid unnecessary __WORDSIZE == 64 test.
24377 (fmaxf): Use VEX format if possible.
24378 (fmax): Likewise.
24379 (fminf): Likewise.
24380 (fmin): Likewise.
24381
56f6f6a2
UD
24382 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24383 * math/math_private.h: Remove libc_fegetround* and
24384 libc_fesetround*.
24385 * sysdeps/i386/configure.in: Check for -msse2avx.
24386 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24387 also if SSE2AVX is defined.
24388 Remove libc_fegetround* and libc_fesetround*.
24389 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24390 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24391 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24392 of HAS_YMM_USABLE.
24393 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24394 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24395 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24396 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24397 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24398
73139a76
UD
24399 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24400
d73f93a4
AZ
244012012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24402
24403 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24404 size is not set.
24405 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24406
6ee65ed6
UD
244072012-01-27 Ulrich Drepper <drepper@gmail.com>
24408
24409 [BZ #13618]
24410 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24411 relocation.
24412 * Makeconfig (libm): Define.
24413 * elf/Makefile: Add rules to build and run tst-relsort1.
24414 * elf/tst-relsort1.c: New file.
24415 * elf/tst-relsort1mod1.c: New file.
24416 * elf/tst-relsort1mod2.c: New file.
24417
8db21882
JM
244182012-01-27 Joseph Myers <joseph@codesourcery.com>
24419
24420 * math/s_ldexp.c: Remove __STDC__ conditionals.
24421 * math/s_ldexpf.c: Likewise.
24422 * math/s_ldexpl.c: Likewise.
24423 * math/s_nextafter.c: Likewise.
24424 * math/s_nexttowardf.c: Likewise.
24425 * math/s_significand.c: Likewise.
24426 * math/s_significandf.c: Likewise.
24427 * math/s_significandl.c: Likewise.
24428 * math/w_jnl.c: Likewise.
24429 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24430 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24431 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24432 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24433 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24434 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24435 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24436 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24437 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24438 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24439 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24440 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24441 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24442 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24443 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24444 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24445 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24446 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24447 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24448 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24449 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24450 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24451 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24452 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24453 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24454 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24455 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24456 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24457 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24458 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24459 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24460 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24461 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24462 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24463 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24464 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24465 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24466 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24467 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24468 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24469 * sysdeps/ieee754/k_standard.c: Likewise.
24470 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24471 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24472 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24473 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24474 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24475 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24476 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24477 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24478 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24479 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24480 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24481 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24482 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24483 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24484 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24485 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24486 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24487 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24488 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24489 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24490 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24491 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24492 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24493 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24494 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24495 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24496 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24497 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24498 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24499 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24500 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24501 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24502 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24503 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24504 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24505 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24506 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24507 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24508 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24509 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24510 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24511 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24512 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24513 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24514 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24515 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24516 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24517 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24518 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24519 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24520 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24521 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24522 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24523 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24524 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24525 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24526 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24527 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24528 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24529 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24530 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24531 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24532 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24533 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24534 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24535 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24536 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24537 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24538 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24539 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24540 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24541 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24542 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24543 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24544 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24545 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24546 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24547 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24548 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24549 * sysdeps/ieee754/s_matherr.c: Likewise.
24550 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24551 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24552 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24553 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24554
965a54a4
JM
245552012-01-26 Joseph Myers <joseph@codesourcery.com>
24556
24557 * crypt/md5.h: Remove __STDC__ conditionals.
24558 * libio/libioP.h: Likewise.
24559 * locale/programs/config.h: Likewise.
24560 * sysdeps/generic/sysdep.h: Likewise.
24561 * sysdeps/i386/asm-syntax.h: Likewise.
24562 * sysdeps/s390/asm-syntax.h: Likewise.
24563 * sysdeps/unix/sysdep.h: Likewise.
24564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24566
7071ad79
JM
245672012-01-26 Joseph Myers <joseph@codesourcery.com>
24568
24569 * libio/libio.h: Remove __STDC__ conditionals.
24570 * malloc/obstack.h: Likewise.
24571 * math/complex.h: Likewise.
24572 * math/math.h: Likewise.
24573 * sysdeps/generic/_G_config.h: Likewise.
24574 * sysdeps/gnu/_G_config.h: Likewise.
24575 * sysdeps/mach/hurd/_G_config.h: Likewise.
24576 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24577 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24578 * sysdeps/sparc/bits/mathdef.h: Likewise.
24579
afc5ed09
UD
245802012-01-26 Ulrich Drepper <drepper@gmail.com>
24581
24582 [BZ #13583]
24583 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 24584 Clean up HAS_* macros.
afc5ed09 24585 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
24586 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24587 possible.
24588 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24589 HAS_AVX.
24590 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24591 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24592 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24593 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24594 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 24595
bdb6de1d
JM
245962012-01-25 Joseph Myers <joseph@codesourcery.com>
24597
24598 * elf/tst-unique3.cc (gets): Remove declaration.
24599 * elf/tst-unique3lib.cc (gets): Likewise.
24600 * elf/tst-unique3lib2.cc (gets): Likewise.
24601 * elf/tst-unique4.cc (gets): Likewise.
24602
b15549e6
UD
246032012-01-24 Ulrich Drepper <drepper@gmail.com>
24604
24605 * include/stdio.h: Add C++ protection. Add gets declarations and
24606 definitions.
24607 * debug/tst-chk1.c: Don't declare gets here.
24608 * stdio-common/tst-gets.c: Likewise.
24609
a037381f
JM
246102012-01-24 Joseph Myers <joseph@codesourcery.com>
24611
24612 * posix/glob: Remove directory.
24613
f1d4aa75
JM
246142012-01-24 Joseph Myers <joseph@codesourcery.com>
24615
24616 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24617
81c0c964
PT
246182012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24619
24620 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24621 of the non-standard EPFNOSUPPORT.
24622
0ea698ae
ST
246232011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24624
24625 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24626 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24627 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24628
d220b117
UD
246292012-01-21 Ulrich Drepper <drepper@gmail.com>
24630
24631 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24632
3e1aa84e
UD
246332012-01-20 Ulrich Drepper <drepper@gmail.com>
24634
24635 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24636 transient errors.
24637 * nscd/grpcache.c (cache_addgr): Likewise.
24638 * nscd/hstcache.c (cache_addhst): Likewise.
24639 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24640 * nscd/pwdcache.c (cache_addpw): Likewise.
24641 * nscd/servicescache.c (cache_addserv): Likewise.
24642
400aa020
UD
246432012-01-16 Ulrich Drepper <drepper@gmail.com>
24644
d77e7869
UD
24645 * malloc/malloc.c: Various cleanups.
24646 * malloc/hooks.c: Likewise.
24647
400aa020
UD
24648 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24649 * stdlib/bug-fmtmsg1.c: New file.
24650
24651 * stdlib/fmtmsg.c (init): Add missing unlock.
24652 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24653
e0a309cf
MP
246542012-01-12 Marek Polacek <polacek@redhat.com>
24655
24656 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24657 and _GNU_SOURCE.
24658
929d11c7
WS
246592012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24660
24661 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24662 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24663 macro to ensure uniqueness of label name.
24664 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24665 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24666
41d0e869
UD
246672012-01-11 Ulrich Drepper <drepper@gmail.com>
24668
0cc5ed3b
UD
24669 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24670
41d0e869
UD
24671 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24672 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24673 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24674 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24675
a47a831a
UD
246762012-01-10 Ulrich Drepper <drepper@gmail.com>
24677
daa891c0
UD
24678 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24679
24680 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24681 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24682 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24683
e58ef0f2
UD
24684 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24685
a47a831a 24686 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
24687 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24688 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 24689 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
24690
24691 * math/bits/math-finite.h: Add ldexp support.
24692
a0bfc9c7
MP
246932012-01-10 Marek Polacek <polacek@redhat.com>
24694
24695 * locale/programs/localedef.h (show_archive_content): Add noreturn
24696 attribute.
24697
d6e97a1d
UD
246982012-01-09 Ulrich Drepper <drepper@gmail.com>
24699
24700 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24701
d5835c26
UD
247022012-01-08 Ulrich Drepper <drepper@gmail.com>
24703
e5f484c6
UD
24704 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24705
d5835c26
UD
24706 * io/Makefile (headers): Add bits/poll2.h.
24707
d1f741e9
WS
247082011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
24709
24710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24711 typo #include statement.
24712
ec09c1c4
UD
247132012-01-08 Ulrich Drepper <drepper@gmail.com>
24714
24715 * include/sys/cdefs.h: Define __attribute_alloc_size.
24716 * catgets/gencat.c: Add alloc_size attribute and apply consistently
24717 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24718 * elf/pldd.c: Likewise.
24719 * iconv/iconv_charmap.c: Likewise.
24720 * iconv/iconvconfig.c: Likewise.
24721 * iconv/strtab.c: Likewise.
24722 * locale/programs/locale.c: Likewise.
24723 * locale/programs/localedef.h: Likewise.
24724 * locale/programs/simple-hash.c: Likewise.
24725 * nscd/nscd.h: Likewise.
24726 * nss/makedb.c: Likewise.
24727 * sysdeps/generic/ldconfig.h: Likewise.
24728 * locale/programs/localedef.c: Remove xmalloc prototype.
24729 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24730
20b38e03
PP
247312012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24732
24733 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24734 appropriate.
24735
a0da5fe1
UD
247362012-01-08 Ulrich Drepper <drepper@gmail.com>
24737
1d5a644a 24738 * math/Makefile (tests): Add tst-CMPLX.
669704fd 24739 * math/tst-CMPLX.c: New file.
1d5a644a 24740
8784a6db
UD
24741 * math/complex.h (CMPLXL): Fix typo.
24742
d9a216c0
UD
24743 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24744 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24745 GLIBC_2.16.
24746 * debug/tst-chk1.c: Add poll and ppoll tests.
24747 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24748 * include/sys/poll.h: Add hidden proto for ppoll.
24749 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24750 * sysdeps/mach/hurd/ppoll.c: Likewise.
24751 * io/ppoll.c: Likewise.
24752 * debug/poll_chk.c: New file.
24753 * debug/ppoll_chk.c: New file.
24754 * include/bits/poll2.h: New file.
24755 * io/bits/poll2.h: New file.
24756
ac097f5c
UD
24757 [BZ #1350]
24758 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24759
2119dcfa
UD
24760 * configure.in: static is always set to yes. Remove.
24761 * config.make.in: Don't set build-static.
24762 * Makeconfig: Remove use of build-static.
24763 * dlfcn/Makefile: Likewise.
24764 * elf/Makefile: Likewise.
24765 * math/Makefile: Likewise.
24766 * misc/Makefile: Likewise.
24767 * nptl/Makefile: Likewise.
24768 * sysdeps/mach/hurd/Makefile: Likewise.
24769
121766a9
UD
24770 * configure.in: PWD_P is not used anymore.
24771 * config.make.in: Remove PWD_P entry.
24772
51a1d39c 24773 * configure.in: Remove last remnants of RANLIB.
8720d066 24774 No need to check for signed size_t anymore.
215f4bdc
UD
24775 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24776 and IA-64.
3857022a 24777 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
24778 * aclocal.m4: Likewise.
24779
d3ed7225
UD
24780 * wcsmbs/mbrtoc16.c: Implement using towc function.
24781 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24782 * wcsmbs/wcsmbsload.c: Likewise.
24783 * iconv/gconv_simple.c: Likewise.
24784 * iconv/gconv_int.h: Likewise.
24785 * iconv/gconv_builtin.h: Likewise.
24786 * iconv/iconv_prog.c: Remove CHAR16 handling.
24787
24788 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24789
24790 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24791
a0da5fe1
UD
24792 * configure.in: Remove --with-elf and --enable-bounded options.
24793 Dont set base_machine for ia64. More non-ELF conditions removed.
24794 Remove testing and setting of leading underscore information.
24795 * config.make.in (build-bounded): Set to no.
24796 * config.h.in: Remove NO_UNDERSCORES entry.
24797 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24798 them.
24799 * csu/start.c: Remove !NO_UNDERSCORE code.
24800 * locale/localeinfo.h: Likewise.
24801 * sysdeps/generic/machine-gmon.h: Likewise.
24802 * sysdeps/generic/sysdep.h: Likewise.
24803 * sysdeps/i386/sysdep.h: Likewise.
24804 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24805 * sysdeps/mach/sysdep.h: Likewise.
24806 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24807 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24808 * sysdeps/sh/sysdep.h: Likewise.
24809 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24810 * sysdeps/unix/i386/sysdep.S: Likewise.
24811 * sysdeps/unix/sparc/start.c: Likewise.
24812 * sysdeps/unix/sparc/sysdep.S: Likewise.
24813 * sysdeps/unix/sparc/sysdep.h: Likewise.
24814 * sysdeps/unix/start.c: Likewise.
24815 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24816 * sysdeps/x86_64/sysdep.h: Likewise.
24817
df78418a
UD
248182012-01-07 Ulrich Drepper <drepper@gmail.com>
24819
a784e502
UD
24820 [BZ #13553]
24821 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24822 for non-gcc.
24823 * argp/argp-fmtstream.h: Use const instead __const.
24824 * argp/argp.h: Likewise.
24825 * assert/assert.h: Likewise.
24826 * bits/fenv.h: Likewise.
24827 * bits/sched.h: Likewise.
24828 * bits/sigset.h: Likewise.
24829 * bits/sigthread.h: Likewise.
24830 * catgets/nl_types.h: Likewise.
24831 * conform/data/pthread.h-data: Likewise.
24832 * crypt/crypt-private.h: Likewise.
24833 * crypt/crypt.h: Likewise.
24834 * crypt/crypt_util.c: Likewise.
24835 * ctype/ctype.h: Likewise.
24836 * debug/execinfo.h: Likewise.
24837 * debug/mbsnrtowcs_chk.c: Likewise.
24838 * debug/mbsrtowcs_chk.c: Likewise.
24839 * debug/wcsnrtombs_chk.c: Likewise.
24840 * debug/wcsrtombs_chk.c: Likewise.
24841 * debug/wcstombs_chk.c: Likewise.
24842 * dirent/dirent.h: Likewise.
24843 * dlfcn/dlfcn.h: Likewise.
24844 * elf/neededtest4.c: Likewise.
24845 * grp/grp.h: Likewise.
24846 * gshadow/gshadow.h: Likewise.
24847 * iconv/gconv.h: Likewise.
24848 * iconv/gconv_int.h: Likewise.
24849 * iconv/gconv_simple.c: Likewise.
24850 * iconv/iconv.h: Likewise.
24851 * iconv/loop.c: Likewise.
24852 * iconv/skeleton.c: Likewise.
24853 * include/aio.h: Likewise.
24854 * include/aliases.h: Likewise.
24855 * include/argz.h: Likewise.
24856 * include/arpa/inet.h: Likewise.
24857 * include/assert.h: Likewise.
24858 * include/dirent.h: Likewise.
24859 * include/dlfcn.h: Likewise.
24860 * include/execinfo.h: Likewise.
24861 * include/fcntl.h: Likewise.
24862 * include/fenv.h: Likewise.
24863 * include/glob.h: Likewise.
24864 * include/grp.h: Likewise.
24865 * include/libintl.h: Likewise.
24866 * include/mntent.h: Likewise.
24867 * include/netdb.h: Likewise.
24868 * include/pwd.h: Likewise.
24869 * include/rpc/netdb.h: Likewise.
24870 * include/sched.h: Likewise.
24871 * include/search.h: Likewise.
24872 * include/shadow.h: Likewise.
24873 * include/signal.h: Likewise.
24874 * include/stdio.h: Likewise.
24875 * include/stdlib.h: Likewise.
24876 * include/string.h: Likewise.
24877 * include/sys/socket.h: Likewise.
24878 * include/sys/stat.h: Likewise.
24879 * include/sys/statfs.h: Likewise.
24880 * include/sys/statvfs.h: Likewise.
24881 * include/sys/syslog.h: Likewise.
24882 * include/sys/time.h: Likewise.
24883 * include/sys/uio.h: Likewise.
24884 * include/time.h: Likewise.
24885 * include/unistd.h: Likewise.
24886 * include/utmp.h: Likewise.
24887 * include/wchar.h: Likewise.
24888 * include/wctype.h: Likewise.
24889 * inet/aliases.h: Likewise.
24890 * inet/arpa/inet.h: Likewise.
24891 * inet/netinet/ether.h: Likewise.
24892 * inet/netinet/in.h: Likewise.
24893 * intl/libintl.h: Likewise.
24894 * io/bits/fcntl2.h: Likewise.
24895 * io/fcntl.h: Likewise.
24896 * io/ftw.h: Likewise.
24897 * io/sys/poll.h: Likewise.
24898 * io/sys/stat.h: Likewise.
24899 * io/sys/statfs.h: Likewise.
24900 * io/sys/statvfs.h: Likewise.
24901 * io/utime.h: Likewise.
24902 * libio/bits/stdio.h: Likewise.
24903 * libio/bits/stdio2.h: Likewise.
24904 * libio/libio.h: Likewise.
24905 * libio/libioP.h: Likewise.
24906 * libio/stdio.h: Likewise.
24907 * locale/lc-ctype.c: Likewise.
24908 * locale/locale.h: Likewise.
24909 * login/utmp.h: Likewise.
24910 * malloc/arena.c: Likewise.
24911 * malloc/malloc.c: Likewise.
24912 * malloc/malloc.h: Likewise.
24913 * malloc/mcheck.c: Likewise.
24914 * malloc/mtrace.c: Likewise.
24915 * math/bits/mathcalls.h: Likewise.
24916 * math/fenv.h: Likewise.
24917 * math/math_private.h: Likewise.
24918 * misc/bits/error.h: Likewise.
24919 * misc/bits/syslog.h: Likewise.
24920 * misc/err.h: Likewise.
24921 * misc/error.h: Likewise.
24922 * misc/fstab.h: Likewise.
24923 * misc/mntent.h: Likewise.
24924 * misc/regexp.h: Likewise.
24925 * misc/search.h: Likewise.
24926 * misc/sgtty.h: Likewise.
24927 * misc/sys/mman.h: Likewise.
24928 * misc/sys/syslog.h: Likewise.
24929 * misc/sys/uio.h: Likewise.
24930 * misc/sys/xattr.h: Likewise.
24931 * misc/ttyent.h: Likewise.
24932 * nis/rpcsvc/ypclnt.h: Likewise.
24933 * nss/nss.h: Likewise.
24934 * posix/bits/unistd.h: Likewise.
24935 * posix/fnmatch.h: Likewise.
24936 * posix/glob.h: Likewise.
24937 * posix/sched.h: Likewise.
24938 * posix/spawn.h: Likewise.
24939 * posix/sys/wait.h: Likewise.
24940 * posix/unistd.h: Likewise.
24941 * posix/wordexp.h: Likewise.
24942 * pwd/pwd.h: Likewise.
24943 * resolv/netdb.h: Likewise.
24944 * resource/sys/resource.h: Likewise.
24945 * rt/aio.h: Likewise.
24946 * rt/bits/mqueue2.h: Likewise.
24947 * rt/mqueue.h: Likewise.
24948 * shadow/shadow.h: Likewise.
24949 * signal/signal.h: Likewise.
24950 * socket/send.c: Likewise.
24951 * socket/sendto.c: Likewise.
24952 * socket/sys/socket.h: Likewise.
24953 * stdio-common/printf.h: Likewise.
24954 * stdlib/bits/stdlib.h: Likewise.
24955 * stdlib/fmtmsg.h: Likewise.
24956 * stdlib/monetary.h: Likewise.
24957 * stdlib/stdlib.h: Likewise.
24958 * stdlib/ucontext.h: Likewise.
24959 * streams/stropts.h: Likewise.
24960 * string/argz.h: Likewise.
24961 * string/bits/string2.h: Likewise.
24962 * string/string.h: Likewise.
24963 * string/strings.h: Likewise.
24964 * sunrpc/rpc/auth.h: Likewise.
24965 * sunrpc/rpc/auth_des.h: Likewise.
24966 * sunrpc/rpc/clnt.h: Likewise.
24967 * sunrpc/rpc/netdb.h: Likewise.
24968 * sunrpc/rpc/pmap_clnt.h: Likewise.
24969 * sunrpc/rpc/xdr.h: Likewise.
24970 * sysdeps/generic/inttypes.h: Likewise.
24971 * sysdeps/generic/net/if.h: Likewise.
24972 * sysdeps/generic/sys/swap.h: Likewise.
24973 * sysdeps/gnu/net/if.h: Likewise.
24974 * sysdeps/gnu/utmpx.h: Likewise.
24975 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
24976 * sysdeps/i386/i486/bits/string.h: Likewise.
24977 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
24978 * sysdeps/s390/bits/string.h: Likewise.
24979 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
24980 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
24981 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24982 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
24983 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
24984 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
24985 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
24986 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
24987 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
24988 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24989 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
24990 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24991 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
24992 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24993 * sysdeps/unix/sysv/linux/readv.c: Likewise.
24994 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
24995 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24996 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24997 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24998 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24999 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25000 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25001 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25002 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25003 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25004 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25005 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25006 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25007 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25008 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25009 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25010 * sysvipc/sys/ipc.h: Likewise.
25011 * sysvipc/sys/msg.h: Likewise.
25012 * sysvipc/sys/sem.h: Likewise.
25013 * sysvipc/sys/shm.h: Likewise.
25014 * termios/termios.h: Likewise.
25015 * time/sys/time.h: Likewise.
25016 * time/time.h: Likewise.
25017 * wcsmbs/bits/wchar2.h: Likewise.
25018 * wcsmbs/uchar.h: Likewise.
25019 * wcsmbs/wchar.h: Likewise.
25020 * wctype/wctype.h: Likewise.
25021
0269750c
UD
25022 [BZ #13551]
25023 * Makeconfig: Remove all but ELF support including AIX support.
25024 * Makerules: Likewise.
25025 * config.h.in: Likewise.
25026 * config.make.in: Likewise.
25027 * configure: Likewise.
25028 * configure.in: Likewise.
25029 * csu/Makefile: Likewise.
25030 * csu/version.c: Likewise.
25031 * debug/Makefile: Likewise.
25032 * dlfcn/Makefile: Likewise.
25033 * elf/Makefile: Likewise.
25034 * extra-lib.mk: Likewise.
25035 * iconv/Makefile: Likewise.
25036 * include/libc-symbols.h: Likewise.
25037 * include/shlib-compat.h: Likewise.
25038 * resolv/Makefile: Likewise.
25039 * resolv/res_libc.c: Likewise.
25040 * rt/Makefile: Likewise.
25041 * sysdeps/i386/asm-syntax.h: Likewise.
25042 * sysdeps/i386/sysdep.h: Likewise.
25043 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25044 * sysdeps/mach/sysdep.h: Likewise.
25045 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25046 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25047 * sysdeps/s390/asm-syntax.h: Likewise.
25048 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25049 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25050 * sysdeps/sh/sysdep.h: Likewise.
25051 * sysdeps/unix/sparc/sysdep.h: Likewise.
25052 * sysdeps/wordsize-32/divdi3.c: Likewise.
25053 * sysdeps/x86_64/sysdep.h: Likewise.
25054
00bbd29b
UD
25055 * argp/Versions: Remove _argp_unlock_xxx.
25056
25057 [BZ #13559]
25058 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25059 * abilist/libBrokenLocale.abilist: Likewise.
25060 * abilist/libanl.abilist: Likewise.
25061 * abilist/libc.abilist: Likewise.
25062 * abilist/libcrypt.abilist: Likewise.
25063 * abilist/libdl.abilist: Likewise.
25064 * abilist/libm.abilist: Likewise.
25065 * abilist/libnsl.abilist: Likewise.
25066 * abilist/libpthread.abilist: Likewise.
25067 * abilist/libresolv.abilist: Likewise.
25068 * abilist/librt.abilist: Likewise.
25069 * abilist/libthread_db.abilist: Likewise.
25070 * abilist/libutil.abilist: Likewise.
25071 * abilist/libnss_db.abilist: New file.
25072
25073 * scripts/abilist.awk: Add support for indirect functions.
25074
a2693a0e
UD
25075 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25076
3f05895f
UD
25077 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25078
ecb6fb48
UD
25079 * shlib-versions: Remove entries for ports architectures.
25080
664f8cb9
UD
25081 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25082 files in ports.
25083 * elf/stackguard-macros.h: Remove support for IA-64.
25084 * elf/tst-auditmod1.c: Likewise.
25085 * sysdeps/generic/ldsodefs.h: Likewise.
25086
7ae81d88
UD
25087 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25088 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25089 configure files.
25090
bdeba135
UD
25091 [BZ #13552]
25092 * configure.in: Remove --enable-omitfp support.
25093 * FAQ.in: Adjust.
25094 * config.make.in: Likewise.
25095 * Makeconfig: Likewise.
25096 * manual/install.texi: Likewise.
25097
d75a0a62
UD
25098 In case anyone cares, the IA-64 architecture could move to ports.
25099 * sysdeps/ia64/*: Removed.
25100 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 25101 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 25102
dcc9756b
UD
25103 [BZ #13555]
25104 * configure.in: Remove entries for unsupported architectures.
25105
d3761ebc 25106 [BZ #13533]
9954432e
UD
25107 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25108 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25109 routines.
25110 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25111 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25112 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25113 fall back to using wcrtomb.
25114 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25115 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25116 renaming.
25117 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25118 * wcsmbs/tst-c16c32-1.c: New file.
25119
25120 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25121 local variable.
25122
c3a87236
UD
25123 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25124
28926a1b
UD
25125 * elf/tst-unique3.cc: Add explicit declaration of gets.
25126 * elf/tst-unique3lib.cc: Likewise.
25127 * elf/tst-unique3lib2.cc: Likewise.
25128 * elf/tst-unique4.cc: Likewise.
25129
df78418a
UD
25130 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25131
8ecd6b2a
JM
251322012-01-06 Joseph Myers <joseph@codesourcery.com>
25133
25134 [BZ #13566]
25135 * assert/assert.h (static_assert): Don't define for C++.
25136 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25137 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25138
9f115170
UD
251392012-01-03 Ulrich Drepper <drepper@gmail.com>
25140
5e0d0300
UD
25141 * iconv/loop.c (single loop): Fix assertion in storing of
25142 remaining bytes.
25143
9f115170
UD
25144 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25145
81fb02b0
UD
251462012-01-01 Ulrich Drepper <drepper@gmail.com>
25147
25148 * posix/getconf.c: Update copyright year.
25149 * nss/getent.c: Likewise.
a316c1f6 25150 * nss/makedb.c: Likewise.
81fb02b0
UD
25151 * iconv/iconvconfig.c: Likewise.
25152 * iconv/iconv_prog.c: Likewise.
25153 * elf/ldconfig.c: Likewise.
a316c1f6
UD
25154 * elf/pldd.c: Likewise.
25155 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
25156 * catgets/gencat.c: Likewise.
25157 * csu/version.c: Likewise.
25158 * elf/ldd.bash.in: Likewise.
25159 * elf/sprof.c (print_version): Likewise.
25160 * locale/programs/locale.c: Likewise.
25161 * locale/programs/localedef.c: Likewise.
a316c1f6 25162 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
25163 * nscd/nscd.c (print_version): Likewise.
25164 * debug/xtrace.sh: Likewise.
25165 * malloc/memusage.sh: Likewise.
25166 * malloc/mtrace.pl: Likewise.
25167 * debug/catchsegv.sh: Likewise.
25168
2ba92745
JJ
251692011-12-30 Jakub Jelinek <jakub@redhat.com>
25170
25171 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25172 pure attribute.
25173
dadebdae
UD
251742011-12-24 Ulrich Drepper <drepper@gmail.com>
25175
d3761ebc 25176 [BZ #13533]
db6af3eb
UD
25177 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25178 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25179 transformations.
25180 * iconv/gconv_int.h: Likewise.
25181 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25182 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25183 from libc for GLIBC_2.16.
25184 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25185 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25186 * wcsmbs/uchar.h: Really define mbstate_t.
25187 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25188 * wcsmbs/c16rtomb.c: New file.
25189 * wcsmbs/mbrtoc16.c: New file.
25190 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25191 for C/POSIX locale.
25192 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25193 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25194
dadebdae
UD
25195 * wcsmbs/wchar.h: Add missing __restrict.
25196
67371b56
UD
251972011-12-23 Ulrich Drepper <drepper@gmail.com>
25198
74033a25
UD
25199 [BZ #13532]
25200 * time/Makefile (routines): Add timespec_get.
25201 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25202 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25203 timespec for ISO C11.
25204 * time/timespec_get.c: New file.
25205 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25206 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25207
380d7e87
UD
25208 [BZ #13531]
25209 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25210 * stdlib/stdlib.h: Declare aligned_alloc.
25211 * Versions.def: Add GLIBC_2.16 for libc.
25212 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25213
4e9e7a35
UD
25214 [BZ 13527]
25215 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25216 ISO C11.
25217
380d7e87 25218 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
25219 code.
25220
03a71829
UD
25221 [BZ #13528]
25222 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25223
839e283e
UD
25224 [BZ #13529]
25225 * assert/assert.h (static_assert): Define.
25226
ce5294e2 25227 * version.h: Update for 2.16 development version.
90fa7312 25228
8d44e150 25229 [BZ #13526]
d7809905
UD
25230 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25231 _ISOC11_SOURCE.
25232
c0da14cd
UD
25233 * version.h (RELEASE): Bump for 2.15 release.
25234 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25235
530a3249
MP
25236 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25237 Patch by Marek Polacek <mpolacek@redhat.com>.
25238
67371b56
UD
25239 * bits/byteswap.h: Protect long long constants with __extension__.
25240 * sysdeps/i386/bits/byteswap.h: Likewise.
25241 * sysdeps/ia64/bits/byteswap.h: Likewise.
25242 * sysdeps/s390/bits/byteswap.h: Likewise.
25243 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25244
15db4de1
LD
252452011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25246
25247 [BZ #13540]
bbe315ea
LD
25248 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25249 destination buffer.
15db4de1
LD
25250 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25251
2b2596b1
MP
252522011-12-23 Marek Polacek <polacek@redhat.com>
25253
25254 * elf/dl-addr.c (determine_info): Add inline keyword.
25255 * elf/tst-auditmod4b.c (check_avx): Likewise.
25256 * elf/tst-auditmod6b.c (check_avx): Likewise.
25257 * elf/tst-auditmod6c.c (check_avx): Likewise.
25258 * elf/tst-auditmod7b.c (check_avx): Likewise.
25259
70c6c246
UD
252602011-12-23 Ulrich Drepper <drepper@gmail.com>
25261
25262 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25263 !__SSE_MATH__.
25264
c044cf14
LD
252652011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25266
15db4de1 25267 [BZ #13540]
c044cf14
LD
25268 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25269 processing for last bytes.
25270
6b13d9d9
BH
252712011-08-06 Bruno Haible <bruno@clisp.org>
25272
d455f537
BH
25273 [BZ #13061]
25274 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25275 U+0385, not to U+1FEE.
25276
6b13d9d9
BH
25277 [BZ #13062]
25278 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25279 entry for U+00A5 U+0301.
25280
db910efd
UD
252812011-12-22 Ulrich Drepper <drepper@gmail.com>
25282
27deeafc
UD
25283 [BZ #13166]
25284 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25285 buffer for the output is too small.
25286
aed9d171
UD
25287 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25288 optimization.
25289
db910efd
UD
25290 [BZ #13185]
25291 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25292 SSE flags if possible.
25293
2bd779ae
LD
252942011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25295
e7f9dac3 25296 [BZ #13540]
2bd779ae
LD
25297 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25298 processing for last bytes.
25299
154bfc16
JM
253002011-12-22 Joseph Myers <joseph@codesourcery.com>
25301
25302 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25303 (syscall-list-default-options, syscall-list-default-condition)
25304 (syscall-list-includes): Define.
25305 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25306 list of ABIs and options and #if conditions for each ABI. Do not
25307 handle common syscalls between ABIs specially.
25308 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25309 Remove.
25310 (syscall-list-variants, syscall-list-32bit-options)
25311 (syscall-list-32bit-condition, syscall-list-64bit-options)
25312 (syscall-list-64bit-condition): Define.
25313 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25314 (syscall-list-variants, syscall-list-32bit-options)
25315 (syscall-list-32bit-condition, syscall-list-64bit-options)
25316 (syscall-list-64bit-condition): Define.
25317 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25318 Remove.
25319 (syscall-list-variants, syscall-list-32bit-options)
25320 (syscall-list-32bit-condition, syscall-list-64bit-options)
25321 (syscall-list-64bit-condition): Define.
25322 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25323 Remove.
25324 (syscall-list-variants, syscall-list-32bit-options)
25325 (syscall-list-32bit-condition, syscall-list-64bit-options)
25326 (syscall-list-64bit-condition): Define.
25327
21eaf3a5
UD
253282011-12-22 Ulrich Drepper <drepper@gmail.com>
25329
16c6f992
UD
25330 * locale/iso-639.def: Add brx entry.
25331
41043168
UD
25332 [BZ #13328]
25333 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25334 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25335
21eaf3a5
UD
25336 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25337 __feraiseexcept_renamed.
25338
e3a851a2
UD
253392011-12-21 Ulrich Drepper <drepper@gmail.com>
25340
4920765e
UD
25341 [BZ #13538]
25342 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25343 EPOLLET with unsigned values.
25344 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25345 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25346
e3a851a2
UD
25347 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25348 to large cancellation.
25349 * math/s_cacoshf.c: Likewise.
25350 * math/s_cacoshl.c: Likewise.
25351
b27e24b8
RK
253522011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25353
25354 [BZ #13305]
aebefeee 25355 [BZ #12786]
b27e24b8
RK
25356 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25357 * math/s_cacoshf.c: Likewise.
25358 * math/s_cacoshl.c: Likewise.
25359
ee190f67
UD
253602011-12-21 Ulrich Drepper <drepper@gmail.com>
25361
25362 [BZ #13439]
25363 * iconv/gconv.h: Define __GCONV_SWAP.
25364 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25365 * iconvdata/utf-16.c: Likewise.
25366 * iconvdata/utf-32.c: Likewise.
25367
707f25df
AS
253682011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25369
25370 [BZ #13524]
25371 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25372 numerator after shifting it by one limb.
25373
d2daaa1e
RÁE
253742011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25375
25376 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25377 under [__USE_EXTERN_INLINES].
25378
a4647e72
UD
253792011-12-17 Ulrich Drepper <drepper@gmail.com>
25380
25381 [BZ #13446]
25382 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25383
f0b264f1
AZ
253842011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25385
25386 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25387 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25388 optimized code.
25389 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25390 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25391 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25392 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25393 for strncasecmp/strncasecmp_l compilation.
25394 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25395 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25396
8ef4f244
MP
253972011-12-08 Marek Polacek <mpolacek@redhat.com>
25398
25399 [BZ #13484]
25400 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25401 of __asm__.
25402
97ac2654
UD
254032011-12-17 Ulrich Drepper <drepper@gmail.com>
25404
25405 [BZ #13506]
25406 * time/tzfile.c (__tzfile_read): Check values from file header.
25407
91d2a845
WS
254082011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25409
25410 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25411 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25412 * powerpc/powerpc32/dl-start.S: Likewise.
25413 * powerpc/powerpc32/elf/start.S: Likewise.
25414 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25415 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25416 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25417 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25418 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25419 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25420 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25421 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25422 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25423 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25424 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25425 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25426 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25427 * powerpc/powerpc32/memset.S: Likewise.
25428 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25429 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25430 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25431 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25432 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25433 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25434 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25435 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25436 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25437 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25438 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25439 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25440 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25441
a1267ba1
AZ
254422011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25443
25444 * math/libm-test.inc: Added more nearbyint tests.
25445 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25446 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25447 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25448 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25449
ad8ac1bd
RL
254502011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25451
25452 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25453 FD_CLOEXEC.
25454
1d3e4b61
UD
254552011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25456
25457 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25458 Add wcscpy-ssse3 wcscpy-c.
25459 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25460 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25461 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25462 * sysdeps/x86_64/wcschr.S: New file.
25463 * sysdeps/x86_64/wcsrchr.S: New file.
25464 * string/test-strcmp.c: Remove checking of wcscmp function for
25465 wrong alignments.
25466 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25467 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25468 wcsrchr-sse2 wcsrchr-c.
25469 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25470 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25471 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25472 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25473 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25474 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25475 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25476 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25477 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25478 * wcsmbc/wcschr.c (WCSCHR): New macro.
25479
5b330a2d
UD
254802011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25481
25482 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25483 * wcsmbs/test-wcsrchr.c: New file.
25484 * string/test-strrchr.c: Add wcsrchr support.
25485 (WIDE): New macro.
25486 * wcsmbs/test-wcscpy.c: New file.
25487 * string/test-strcpy.c: Add wcscpy support.
25488 (WIDE): New macro.
26428b7c 25489
f039c043
UD
254902011-12-10 Ulrich Drepper <drepper@gmail.com>
25491
25492 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25493 the inner loop.
25494
850fb039
AS
254952011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25496
25497 [BZ #13472]
25498 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25499
4efbd5cb
UD
255002011-12-04 Ulrich Drepper <drepper@gmail.com>
25501
52ff5dd0 25502 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 25503 Minor optimizations.
52ff5dd0 25504
4efbd5cb
UD
25505 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25506 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25507 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25508
8a426e12
UD
255092011-12-03 Ulrich Drepper <drepper@gmail.com>
25510
aff2453d
UD
25511 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25512 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25513 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25514 for gcc to avoid warnings.
25515 * inet/Makefile (tests): Add tst-checks.
25516 * inet/tst-checks.c: New file.
25517
25518 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25519 warning.
25520
25521 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25522 __wmemcmp_sse2.
25523
25524 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25525 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25526
8a426e12
UD
25527 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25528
9bea3473
UD
255292011-12-02 Ulrich Drepper <drepper@gmail.com>
25530
3a965496
UD
25531 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25532 problem.
25533
9bea3473
UD
25534 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25535
f101631b
UD
255362011-11-29 Joseph Myers <joseph@codesourcery.com>
25537
25538 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25539 conditional on GCC version.
25540 (__arch_compare_and_exchange_val_8_acq)
25541 (__arch_compare_and_exchange_val_16_acq)
25542 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25543 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25544 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25545
a98275aa
UD
255462011-12-02 Joseph Myers <joseph@codesourcery.com>
25547
25548 * sysdeps/sh/backtrace.c: New file.
25549
d4cc29a2
AS
255502011-12-02 Andreas Schwab <schwab@redhat.com>
25551
25552 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25553 parenthesis.
25554
6257af2d
AS
255552011-12-01 Andreas Schwab <schwab@redhat.com>
25556
25557 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25558 falling back to utime.
25559
b5f44c1a
AS
255602011-11-30 Andreas Schwab <schwab@redhat.com>
25561
25562 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25563 expectations for float.
25564
f3a6cc0a
AS
255652011-11-29 Andreas Schwab <schwab@redhat.com>
25566
25567 * locale/weight.h (findidx): Add parameter len.
25568 * locale/weightwc.h (findidx): Likewise.
25569 * posix/fnmatch_loop.c (FCT): Adjust caller.
25570 * posix/regcomp.c (build_equiv_class): Likewise.
25571 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25572 * posix/regexec.c (check_node_accept_bytes): Likewise.
25573 * string/strcoll_l.c (STRCOLL): Likewise.
25574 * string/strxfrm_l.c (STRXFRM): Likewise.
25575
9d65ea3a
UD
255762011-11-17 Ulrich Drepper <drepper@gmail.com>
25577
25578 * Makefile.in: Remove CVSOPT handling.
25579 * configure.in: Remove use of AC_REVISION.
25580 * iconvdata/Makefile (distribute): No need to filter out CVS.
25581 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25582 handling.
25583
5583a086
AS
255842011-11-16 Andreas Schwab <schwab@redhat.com>
25585
25586 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25587 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25588 [USE_AS_STRNCASECMP_L]: Likewise.
25589 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25590 NO_TLS_DIRECT_SEG_REFS.
25591 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25592 Fix argument offsets for non-PIC.
25593 [USE_AS_STRNCASECMP_L]: Likewise.
25594 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25595 NO_TLS_DIRECT_SEG_REFS.
25596
d62a8200
UD
255972011-11-15 Ulrich Drepper <drepper@gmail.com>
25598
9d65ea3a 25599 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
25600 O_CLOEXEC.
25601 * locale/loadlocale.c (_nl_load_locale): Likewise.
25602
09f93bd3
AS
256032011-11-15 Andreas Schwab <schwab@redhat.com>
25604
446514f9
AS
25605 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25606 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25607 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25608 (SYSCALL_GETTIME): Set errno on error.
25609
09f93bd3
AS
25610 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25611 count references to noai6ai_cached.
25612
312be3f9
UD
256132011-11-15 Ulrich Drepper <drepper@gmail.com>
25614
25615 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25616
25617 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25618 FD_CLOEXEC for /proc/self/maps.
25619
25620 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25621 FD_CLOEXEC for /proc/meminfo.
25622
25623 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25624 gai.conf.
25625
25626 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25627 FD_CLOEXEC for given file.
25628
25629 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25630
25631 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25632 FD_CLOEXEC for /etc/hosts.
25633 (_gethtent): Likewise.
25634
25635 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25636
25637 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25638 cancellation and set FD_CLOEXEC for /etc/netgroup.
25639
25640 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25641 reading /etc/publickey.
25642
25643 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25644 allow cancellation when reading /etc/group.
25645
25646 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25647 cancellation.
25648 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25649
25650 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25651 when using data file.
25652
25653 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25654
25655 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25656 (write_nis_obj): Use "c" and "e" in fopen.
25657
25658 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25659
25660 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25661
25662 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25663
25664 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25665
25666 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25667 locale.alias.
25668
25669 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25670
25671 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25672
25673 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25674
25675 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25676 file parsing and set FD_CLOEXEC.
25677
82af0fa8
UD
256782011-11-14 Ulrich Drepper <drepper@gmail.com>
25679
25680 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25681
a5fb313c
AS
256822011-11-14 Andreas Schwab <schwab@redhat.com>
25683
25684 * malloc/arena.c (arena_get2): Don't call reused_arena when
25685 _int_new_arena failed.
25686
6abf3465
UD
256872011-11-14 Ulrich Drepper <drepper@gmail.com>
25688
25689 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25690 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25691 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25692 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25693 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25694 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25695 to compile strcasecmp and strncasecmp.
25696 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25697 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25698
25699 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25700
76e3966e
UD
257012011-11-13 Ulrich Drepper <drepper@gmail.com>
25702
25703 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25704 locale-defines.sym to gen-as-const-headers.
25705 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25706 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25707 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25708 to compile strcasecmp and strncasecmp.
25709 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25710 strcasecmp_l and strncasecmp_l.
25711 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25712 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25713 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25714 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25715 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25716 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25717 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25718 * sysdeps/i386/i686/multiarch/strncase.S: New file.
25719 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25720 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25721 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25722
ab26144e
UD
257232011-11-12 Ulrich Drepper <drepper@gmail.com>
25724
7edb22ef
UD
25725 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25726 result of SYSDEP_GETTIME_CPU to retval.
25727 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25728 parameter list to macro. Remove trailing semicolon. Adjust users.
25729
9694fc44
UD
25730 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25731 variable.
25732
8ad89ef8
UD
25733 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25734 mantissa words.
25735 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25736
0c822ef9
UD
25737 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25738 from unused variable.
25739
874e0564
UD
25740 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25741 DWARF definitions.
25742 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25743 for assembling.
25744
3a2edc79
UD
25745 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25746 over namespaces.
25747
f3c2577f
UD
25748 * sunrpc/rpc_prot.c (rejected): Fix case value.
25749
294ce126
UD
25750 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25751 unsigned long long int to avoid warnings in shift.
25752
5e2b63c6
UD
25753 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25754 of use of trans.
25755 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25756 variable tmp.
25757
e7f4b08e
UD
25758 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25759 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25760 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25761
ab26144e
UD
25762 * nis/nis_table.c (nis_list): Use variable of correct type for
25763 result of __follow_path call.
25764
8a6d5255
AZ
257652011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25766
25767 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25768 of math functions ceil, trunc, floor, round, and sqrt, when
25769 avaliable on the platform.
25770 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25771 name clash.
25772 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25773 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25774 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25775
aaddc98c
MP
257762011-10-30 Marek Polacek <mpolacek@redhat.com>
25777
25778 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25779 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25780
95b7042b
RM
257812011-11-11 Roland McGrath <roland@hack.frob.com>
25782
25783 * include/unistd.h: Fix __readlink return type.
25784 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25785
57769839
UD
257862011-11-11 Ulrich Drepper <drepper@gmail.com>
25787
25788 * stdlib/ucontext.h: Undo last change for makecontext.
25789
edc5984d
AS
257902011-11-11 Andreas Schwab <schwab@redhat.com>
25791
98591e58
AS
25792 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25793
edc5984d
AS
25794 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25795 * setjmp/setjmp.h: Mark functions as non-leaf.
25796 * setjmp/bits/setjmp2.h: Likewise.
25797 * stdlib/ucontext.h: Likewise.
25798
77cdc054
AS
257992011-11-10 Andreas Schwab <schwab@redhat.com>
25800
25801 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25802 (reused_arena): Don't check arena limit.
25803 (arena_get2): Atomically check arena limit.
25804
fe72eebd
UD
258052011-11-08 Ulrich Drepper <drepper@gmail.com>
25806
5f078c32
UD
25807 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25808 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25809
fe72eebd
UD
25810 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25811 instructions.
25812
ae1bc2fa
AS
258132011-11-07 Andreas Schwab <schwab@redhat.com>
25814
7583a88d
AS
25815 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25816 handler when locking.
25817
ae1bc2fa
AS
25818 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25819 Fix size of allocated buffer.
25820
10fb0bfa
AS
258212011-11-04 Andreas Schwab <schwab@redhat.com>
25822
998832a4
AS
25823 [BZ #10103]
25824 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25825 declarations for long double functions.
25826 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25827
10fb0bfa
AS
25828 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25829
3d7ba52b
AS
258302011-11-03 Andreas Schwab <schwab@redhat.com>
25831
a9ae54a1
AS
25832 * nscd/nscd.c (main): Don't start AVC thread until credentials are
25833 installed.
25834
3d7ba52b
AS
25835 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25836 is disabled.
25837
bc8db248
ST
258382011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
25839
25840 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25841
45b96dd6
AS
258422011-11-01 Andreas Schwab <schwab@linux-m68k.org>
25843
647776f6
AS
25844 * include/alloca.h (stackinfo_alloca_round): Define.
25845 (extend_alloca): Use it.
25846 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25847 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25848 here.
25849
d91a8b93
AS
25850 * scripts/check-local-headers.sh: Ignore libaudit.h.
25851
45b96dd6
AS
25852 * nscd/Makefile (extra-objs): Make recursively expanded.
25853
432d41ce
UD
258542011-11-01 Ulrich Drepper <drepper@gmail.com>
25855
34372fc6
UD
25856 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25857 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25858
fadb59f8
UD
25859 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25860 * posix/tst-rfc3484-2.c: Likewise.
25861 * posix/tst-rfc3484-3.c: Likewise.
25862
78239589
UD
25863 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25864 process_vm_writev.
25865 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25866 process_vm_writev.
25867 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25868 process_vm_writev from libc using GLIBC_2.15 version.
25869
432d41ce
UD
25870 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25871
02f9c6cf
PP
258722011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
25873
25874 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25875 stack usage.
25876
3a2c0242
UD
258772011-10-31 Ulrich Drepper <drepper@gmail.com>
25878
f4ec4833
UD
25879 [BZ #13367]
25880 * nss/getent.c (initgroups_keys): Show error message in case no group
25881 names are given.
25882
3a2c0242
UD
25883 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25884 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25885 __bump_nl_timestamp.
25886 * nscd/connections (nscd_init): When host database is served open
25887 netlink socket and request notification about configuration changes.
25888 (main_loop_poll): Track netlink file descriptor and bump timestamp
25889 in case data becomes available.
25890 (main_loop_epoll): Likewise.
25891 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25892 (database_pers_head): Add extra_data fileds.
25893 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25894 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25895 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25896 Adjust caller.
25897 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25898 in6ai data, call __free_in6ai.
25899 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25900 Add -DHAVE_NETLINK.
25901 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
25902 interface information. Reuse previous data if netlink timestamp
25903 is not changed.
25904 (__bump_nl_timestamp): New function.
25905 (__free_in6ai): New function.
25906
636064eb
UD
259072011-10-30 Ulrich Drepper <drepper@gmail.com>
25908
25909 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25910 close_not_cancel_no_status here.
25911 (__check_pf): Reorganize code a bit to not call close twice if OOM.
25912
9beb2334
UD
259132011-10-29 Ulrich Drepper <drepper@gmail.com>
25914
6ef76f3b
UD
25915 [BZ #13276]
25916 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25917 return value.
25918
0ffc4f3e 25919 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
25920 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25921 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25922
cb95113e
UD
259232011-07-03 Andreas Jaeger <aj@suse.de>
25924
25925 [BZ #10709]
25926 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25927 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25928 * math/libm-test.inc (sin_test): Add test case.
25929
a1b560ff
UD
259302011-10-29 Ulrich Drepper <drepper@gmail.com>
25931
c9aaface
UD
25932 [BZ #13337]
25933 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25934 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25935
d272e7f1
UD
25936 * elf/chroot_canon.c (chroot_canon): Cleanups.
25937
1bc33071
UD
25938 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25939
1760874d
TJ
25940 [BZ #13335]
25941 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25942 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25943
51d91b18
UD
25944 * string/test-strchr.c: Make usable for strchrnul testing.
25945 * string/test-strchrnul.c: New file.
25946 * string/Makefile (strop-tests): Add strchrnul.
25947
a1b560ff 25948 * po/it.po: Update from translation team.
b611fb81 25949 * po/es.po: Likewise.
a1b560ff 25950
a5b81e1f
UD
259512011-10-28 Ulrich Drepper <drepper@gmail.com>
25952
fd52bc6d
UD
25953 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25954 the three constants needed as parameters. Drop the others.
25955 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25956 __m128i_strloadu_tolower.
52e4b9eb
UD
25957 Create and initialize variable zero and use it in all the places
25958 where _mm_setzero_si128 was used.
fd52bc6d 25959
a5b81e1f
UD
25960 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
25961 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
25962 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
25963 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
25964 anymore.
25965 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
25966 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
25967 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
25968 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
25969 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
25970 __mpranred, __mptan.
25971 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
25972 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
25973 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
25974 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
25975 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
25976 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
25977 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
25978 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
25979 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
25980
b4343346
AS
259812011-10-28 Andreas Schwab <schwab@redhat.com>
25982
0c92d8a8
AS
25983 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
25984 redefine if SHARED.
25985 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
25986
b4343346
AS
25987 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
25988 wide char related routines to wcsmbs subdir.
25989
3871f58f
AS
259902011-10-27 Andreas Schwab <schwab@redhat.com>
25991
25992 [BZ #13344]
25993 * misc/sys/cdefs.h (__THROWNL): Define.
25994 * posix/unistd.h: Use __THREADNL instead of __THREAD
25995 for memory synchronization functions.
25996
94d44d9f
RM
259972011-10-26 Roland McGrath <roland@hack.frob.com>
25998
21b64b15 25999 [BZ #13349]
94d44d9f
RM
26000 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26001 doesn't exist.
26002 * manual/stdio.texi (Obstack Streams): Node removed.
26003
f6ce9294
AS
260042011-10-26 Andreas Schwab <schwab@redhat.com>
26005
80479147
AS
26006 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26007 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26008 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26009
f6ce9294
AS
26010 * math/math_private.h (math_force_eval): Allow non-addressable
26011 arguments.
26012 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26013
618280a1
UD
260142011-10-25 Ulrich Drepper <drepper@gmail.com>
26015
e0016b11
UD
26016 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26017 file is not needed.
26018
26019 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26020 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26021 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26022 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26023 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26024 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26025 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26026 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26027 Add AVX variants.
26028 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26029 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26030 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26031 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26032 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26033 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26034 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26035 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26036 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26037 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26038 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26039 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26040 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26041 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26042 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26043 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26044 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26045 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26046 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26047
26048 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26049 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26050
618280a1
UD
26051 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26052 place. Use VEX encoding when compiling for AVX.
26053
37822576
AS
260542011-10-25 Andreas Schwab <schwab@redhat.com>
26055
1f1e1947
AS
26056 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26057 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26058
37822576
AS
26059 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26060
31ea014d
UD
260612011-10-25 Ulrich Drepper <drepper@gmail.com>
26062
d7826aa1 26063 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 26064 useless if() expression.
d7826aa1
UD
26065 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26066 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26067 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26068 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26069 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26070 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26071 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26072 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26073 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26074 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26075 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26076 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26077 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26078 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26079 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26080 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26081 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26082 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26083 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26084
31ea014d
UD
26085 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26086
16437fec
AS
260872011-10-25 Andreas Schwab <schwab@redhat.com>
26088
26089 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26090 condition.
26091 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26092
31d3cc00
UD
260932011-10-25 Ulrich Drepper <drepper@gmail.com>
26094
26095 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26096 .text section. Avoid duplicate constants.
26097 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26098 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26099 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26100 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26101 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26102 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26103 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26104 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26105 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26106 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26107 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26108 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26109 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26110 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26111 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26112 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26113 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26114 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26115 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26116 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26117 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26118 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26119 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26120 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26121 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26122 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26123 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26124 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26125 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26126 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26127 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26128 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26129 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26130 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26131 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26132 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26133 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26134 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26135 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26136 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26137 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26138 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26139 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26140 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26141 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26142
58985aa9
UD
261432011-10-24 Ulrich Drepper <drepper@gmail.com>
26144
202c9deb
UD
26145 * sysdeps/x86_64/dla.h: Move to ...
26146 * sysdeps/x86_64/fpu/dla.h: ...here.
26147 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26148 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 26149
af968f62
UD
26150 * config.make.in: Add have-mfma4 entry.
26151 * configure.in: Substitute libc_cv_cc_fma4.
26152 * math/Makefile (dbl-only-routines): Add sincostab.
26153 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26154 Use __sincostab not sincos.
26155 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26156 name is a macro.
26157 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26158 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26159 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26160 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
26161 using __copysign.
26162 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26163 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26164 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26165 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26166 and __inv.
26167 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26168 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26169 __copysign.
26170 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
26171 define aliases when function name is a macro.
26172 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26173 sysdeps/ieee754/dbl-64/sincos.tbl.
26174 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26175 fma4-enabled routines.
26176 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26177 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26178 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26179 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26180 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26181 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26182 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26183 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26184 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26185 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26186 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26187 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26188 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26189 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26190 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26191 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26192 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26193 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26194 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26195 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26196 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26197 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26198 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26199 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26200 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26201 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26202 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26203 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26204 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26205 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26206
58985aa9
UD
26207 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26208 rename.
26209 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26210 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26211 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26212 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26213 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26214 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26215 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26216 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26217
a201fbcf
AS
262182011-10-24 Andreas Schwab <schwab@redhat.com>
26219
26220 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26221
fc2ee42a
LD
262222011-10-23 Ulrich Drepper <drepper@gmail.com>
26223
bb3129bd
UD
26224 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26225
0275fff8
UD
26226 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26227 prediction.
26228 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26229
2fa2ae85
UD
26230 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26231 Remove unused variable magic_bits.
26232 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26233
fc2ee42a
LD
26234 * string/strnlen.c: Define and use STRNLEN macro.
26235 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26236 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26237 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26238 * wcsmbs/wcslen.c: Define and use WCSLEN.
26239 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26240 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26241 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26242 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26243 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26244 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26245 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26246
ce7dd29f
LD
262472011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26248
26249 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26250 strnlen-sse2-no-bsf.
26251 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26252 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26253 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26254 Add strnlen support.
26255 (USE_AS_STRNLEN): New macro.
26256 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26257 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26258 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26259 * sysdeps/x86_64/wcslen.S: New file.
26260
979c70a3
MZ
262612011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26262
26263 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26264 XMM-moves are used for copying on small sizes.
26265
2d09f82f
LD
262662011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26267
26268 * wcsmbs/Makefile (strop-tests): Add wcschr.
26269 * wcsmbs/test-wcschr.c: New file.
26270 * string/test-strchr.c: Update.
26271 Add wcschr support.
26272 (WIDE): New macro.
26273
619fccca
LD
262742011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26275
2d09f82f 26276 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
26277 * wcsmbs/test-wcslen.c: New file.
26278 * string/test-strlen.c: Update.
26279 Add wcslen support.
26280 (WIDE): New macro.
26281
09f699ea
UD
262822011-10-23 Ulrich Drepper <drepper@gmail.com>
26283
26284 * po/it.po: Update from translation team.
26285
95584d3b
LD
262862011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26287
26288 * sysdeps/x86_64/wcscmp.S: Update.
26289 Fix wrong comparison semantics.
26290 wcscmp shall use signed comparison not unsigned.
26291 Don't use substraction to avoid overflow bug.
26292 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26293 * wcsmbc/wcscmp.c: Likewise.
26294 * string/test-strcmp.c: Likewise.
26295 Add new tests to check cases with negative values.
26296
c8b3296b
UD
262972011-10-23 Ulrich Drepper <drepper@gmail.com>
26298
26299 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26300 * sysdeps/x86_64/dla.h: ...here. New file.
26301 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26302 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26303 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26304 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26305 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26306 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26307 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26308 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26309 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26310
246ad57a
AS
263112011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26312
26313 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26314 __ynl_finite aliases.
26315
a1a87169
UD
263162011-10-22 Ulrich Drepper <drepper@gmail.com>
26317
0d355eb7
UD
26318 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26319
a1a87169
UD
26320 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26321 define DLA_FMA.
26322 [DLA_FMA] (EMULV): Use DLA_FMA.
26323 [DLA_FMA] (MUL12): Use EMULV.
26324 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26325 that are not needed.
26326 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26327 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26328 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26329 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26330 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26331 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26332 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26333
ee2aafe0
AS
263342011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26335
26336 * math/s_nan.c: Undef __nan.
26337 * math/s_nanf.c: Undef __nanf.
26338 * math/s_nanl.c: Undef __nanl.
26339 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26340 "math_private.h".
26341
bc62c2fb
UD
263422011-10-22 Ulrich Drepper <drepper@gmail.com>
26343
77425c63
UD
26344 * math/s_catan.c: Add branch predictions.
26345 * math/s_catanf.c: Likewise.
26346 * math/s_catanh.c: Likewise.
26347 * math/s_catanhf.c: Likewise.
26348 * math/s_catanhl.c: Likewise.
26349 * math/s_catanl.c: Likewise.
26350 * math/s_cexp.c: Likewise.
26351 * math/s_cexpf.c: Likewise.
26352 * math/s_cexpl.c: Likewise.
26353 * math/s_clog.c: Likewise.
26354 * math/s_clog10.c: Likewise.
26355 * math/s_clog10f.c: Likewise.
26356 * math/s_clog10l.c: Likewise.
26357 * math/s_clogf.c: Likewise.
26358 * math/s_clogl.c: Likewise.
26359 * math/s_csqrt.c: Likewise.
26360 * math/s_csqrtf.c: Likewise.
26361 * math/s_csqrtl.c: Likewise.
26362 * math/s_ctanf.c: Likewise.
26363 * math/s_ctanh.c: Likewise.
26364 * math/s_ctanhf.c: Likewise.
26365 * math/s_ctanhl.c: Likewise.
26366 * math/s_ctanl.c: Likewise.
26367
bc62c2fb
UD
26368 * math/math_private.h: Define __nan, __nanf, __nanl.
26369 * math/s_cacosh.c: Include <math_private.h>.
26370 * math/s_cacoshl.c: Likewise.
26371 * math/s_casinh.c: Likewise.
26372 * math/s_casinhf.c: Likewise.
26373 * math/s_casinhl.c: Likewise.
26374 * math/s_ccos.c: Rely entire on ccosh.
26375 * math/s_ccosf.c: Rely entire on ccoshf.
26376 * math/s_ccosl.c: Rely entirely on ccoshl.
26377 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26378 Remove tests for FE_INVALID.
26379 * math/s_ccoshf.c: Likewise.
26380 * math/s_ccoshl.c: Likewise.
26381 * math/s_csin.c: Likewise.
26382 * math/s_csinf.c: Likewise.
26383 * math/s_csinh.c Likewise.
26384 * math/s_csinhf.c: Likewise.
26385 * math/s_csinhl.c: Likewise.
26386 * math/s_csinl.c: Likewise.
26387 * math/s_ctan.c: Likewise.
26388 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26389 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26390 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26391
8ec250a4
UD
263922011-10-21 Ulrich Drepper <drepper@gmail.com>
26393
c196fed8
UD
26394 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26395 compilation problems.
26396
8ec250a4
UD
26397 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26398 __builtin_expect.
26399
8d4f46c6
UD
264002011-10-20 Ulrich Drepper <drepper@gmail.com>
26401
ed72b654
UD
26402 * sysdeps/i386/configure.in: Test for -mfma4 option.
26403 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26404 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26405 COMMON_CPUID_INDEX_80000001.
26406 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26407 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26408 use it if FMA3 is not supported.
26409 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26410
8d4f46c6
UD
26411 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26412 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26413
d45c60c2
AS
264142011-10-20 Andreas Schwab <schwab@redhat.com>
26415
26416 [BZ #12892]
26417 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26418 it would create a cycle with a link time dependency.
26419
d9a4d2ab
UD
264202011-10-19 Ulrich Drepper <drepper@gmail.com>
26421
855d1560
UD
26422 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26423 instruction.
26424 * string/Makefile (strop-tests): Add rawmemchr.
26425 * string/test-rawmemchr.c: New file.
26426
d9a4d2ab
UD
26427 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26428 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26429 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26430 when compiling str{,n}casecmp and when AVX is available. Hook up
26431 new optimized code in initializers.
26432
8f3b1ffe
AS
264332011-10-19 Andreas Schwab <schwab@redhat.com>
26434
26435 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26436 __feraiseexcept instead of feraiseexcept.
26437
d38f1dba
UD
264382011-10-18 Ulrich Drepper <drepper@gmail.com>
26439
d9a8d0ab
UD
26440 * math/math_private.h: Define defaults for libc_fetestexcept and
26441 libc_feupdateenv.
26442 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26443 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26444 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26445 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26446 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26447 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26448 libc_fetestexcept and libc_feupdateenv.
26449
4855e3dd
UD
26450 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26451 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26452 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26453 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26454 libc_feholdexcept_setround.
26455
581d30e3
UD
26456 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26457 Add s_nearbyint-c and s_nearbyintf-c.
26458 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26459 nearbyintf inlines.
26460 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26461 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26462 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26463 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26464
d38f1dba
UD
26465 * math/math_private.h: Define defaults for libc_fegetround,
26466 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26467 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26468 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26469 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26470 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26471 standard functions.
26472 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26473 Remove comments and hacks for old compiler versions.
26474 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26475 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26476 libc_feholdexceptl.
26477
caa6c9d8
AS
264782011-10-18 Andreas Schwab <schwab@redhat.com>
26479
26480 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
26481 (__feraiseexcept_renamed): Add __NTH.
26482 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
26483 namespace violations.
26484
97c066e6
UD
264852011-10-17 Ulrich Drepper <drepper@gmail.com>
26486
99ce7b04
UD
26487 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26488
1004d182
UD
26489 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26490
228a984d
UD
26491 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26492 recently added interfaces.
26493 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26494
c8553a6a
UD
26495 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26496 about macro parameter expansion.
26497
ed22dcf6
UD
26498 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26499 __NO_MATH_INLINES is defined. Cleanups.
26500
26501 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26502 and __floorf is target has SSE4.1.
26503 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26504 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26505 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26506 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26507
b171c137
UD
26508 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26509 name.
26510 (floorf): Likewise.
26511
97c066e6
UD
26512 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26513
629f62ef
AS
265142011-10-17 Andreas Schwab <schwab@redhat.com>
26515
49a43d80
AS
26516 * misc/sys/cdefs.h: Fix last change.
26517
629f62ef
AS
26518 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26519 database lookup.
26520
e453f6cd
UD
265212011-10-16 Ulrich Drepper <drepper@gmail.com>
26522
aa78043a
UD
26523 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26524
ad0f5cad
UD
26525 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26526 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26527 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26528 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26529 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26530 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26531 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26532 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26533 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26534 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26535 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26536 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26537 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26538 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26539 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26540 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26541 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26542 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26543 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26544 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26545 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26546 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26547
26548 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26549 ceil, ceilf, floor, floorf.
26550
26551 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26552 Perform IRELATIVE relocations last.
26553
e453f6cd
UD
26554 * elf/do-rel.h: Add another parameter nrelative, replacing the
26555 local variable with the same name. Change name of the function
26556 to end in Rel or Rela (uppercase).
26557 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26558 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26559 elf_dynamic_do_##reloc function.
26560
fd5bdc09
UD
265612011-10-15 Ulrich Drepper <drepper@gmail.com>
26562
79b195b5
UD
26563 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26564 is sufficient, at least on modern CPUs.
26565
d4a28569
UD
26566 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26567
b61099b5
UD
26568 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26569 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26570
bcf01e6d
UD
26571 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26572 __expl_finite.
26573 * math/bits/math-finite.h: Add entries for exp.
26574 * math/e_expl.c: Add __*_finite alias.
26575 * sysdeps/i386/fpu/e_exp.S: Likewise.
26576 * sysdeps/i386/fpu/e_expf.S: Likewise.
26577 * sysdeps/i386/fpu/e_expl.c: Likewise.
26578 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26579 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26580 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26581 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26582 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26583 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26584 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26585
ba1a0d59
UD
26586 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26587 is sufficient, at least on modern CPUs.
26588
fd5bdc09
UD
26589 * ctype/ctype-info.c (__ctype_init): Define.
26590 * include/ctype.h (__ctype_init): Declare.
26591 (__ctype_b_loc): The variable is always initialized.
26592 (__ctype_toupper_loc): Likewise.
26593 (__ctype_tolower_loc): Likewise.
26594 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26595 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26596
7872cfb0
AS
265972011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26598
b468825a
AS
26599 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26600
7872cfb0
AS
26601 * configure.in: Also look in $cxxmachine/include for C++ system
26602 headers.
26603
be13f7bf
LD
266042011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26605
26606 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26607 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26608 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26609 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26610 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26611 (USE_AS_WMEMCMP): New macro.
26612 Fixing indents.
26613 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26614 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26615 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26616 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26617 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26618 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26619 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26620 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26621 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26622 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26623 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26624 (USE_AS_WMEMCMP): New macro.
26625 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26626 * sysdeps/string/test-memcmp.c: Update.
26627 Fix simple_wmemcmp.
26628 Add new tests.
26629 * wcsmbs/wmemcmp.c: Update.
26630 (WMEMCMP): New macro.
26631 Fix overflow bug.
26632
556a2007
AJ
266332011-10-12 Andreas Jaeger <aj@suse.de>
26634
26635 [BZ #13268]
26636 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26637
538faaa7
UD
266382011-10-15 Ulrich Drepper <drepper@gmail.com>
26639
ab6737ff
UD
26640 * libio/iofwide.c (do_length): Avoid warning.
26641
538faaa7
UD
26642 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26643
396a21b1
UD
266442011-10-14 Ulrich Drepper <drepper@gmail.com>
26645
cdf2901f
UD
26646 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26647
38ad40ce
UD
26648 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26649 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26650 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26651 * sysdeps/i386/i686/fpu/e_log.S: New file.
26652 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26653 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26654
396a21b1
UD
26655 * ctype/ctype.h: Add support for inlined isXXX functions when
26656 compiling C++ code.
26657
6b1f68c9
AS
266582011-10-14 Andreas Schwab <schwab@redhat.com>
26659
349290c0
AS
26660 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26661
6b1f68c9
AS
26662 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26663
f2282d42
RM
266642011-10-13 Roland McGrath <roland@hack.frob.com>
26665
26666 [BZ #13291]
26667 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26668
5298ffa8
AS
266692011-10-13 Andreas Schwab <schwab@redhat.com>
26670
714fad23
AS
26671 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26672 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26673 feraiseexcept.
26674
81dcc7fb
AS
26675 * sysdeps/x86_64/memrchr.S: Check for zero size.
26676
5298ffa8
AS
26677 * string/stratcliff.c: Add memrchr tests.
26678
951fbcec
LD
266792011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26680
26681 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26682 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26683 rawmemchr-sse2 rawmemchr-sse2-bsf.
26684 * sysdeps/i386/i686/multiarch/memchr.S: New file.
26685 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26686 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26687 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26688 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26689 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26690 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26691 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26692 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26693 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26694 * string/memrchr.c (MEMRCHR): New macro.
26695
0ac5ae23
UD
266962011-10-12 Ulrich Drepper <drepper@gmail.com>
26697
26698 Add integration with gcc's -ffinite-math-only and optimize wrapper
26699 functions in libm.
26700 * Versions.def: Define GLIBC_2.15 version for libm.
26701 * math/Makefile (headers): Add bits/math-finite.h.
26702 * math/bits/math-finite.h: New file.
26703 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26704 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26705 * math/e_acoshl.c: Add __*_finite alias.
26706 * math/e_acosl.c: Likewise.
26707 * math/e_asinl.c: Likewise.
26708 * math/e_atan2l.c: Likewise.
26709 * math/e_atanhl.c: Likewise.
26710 * math/e_coshl.c: Likewise.
26711 * math/e_exp10.c: Likewise.
26712 * math/e_exp10f.c: Likewise.
26713 * math/e_exp10l.c: Likewise.
26714 * math/e_exp2l.c: Likewise.
26715 * math/e_fmodl.c: Likewise.
26716 * math/e_gammal_r.c: Likewise.
26717 * math/e_hypotl.c: Likewise.
26718 * math/e_j0l.c: Likewise.
26719 * math/e_j1l.c: Likewise.
26720 * math/e_jnl.c: Likewise.
26721 * math/e_lgammal_r.c: Likewise.
26722 * math/e_log10l.c: Likewise.
26723 * math/e_log2l.c: Likewise.
26724 * math/e_logl.c: Likewise.
26725 * math/e_powl.c: Likewise.
26726 * math/e_sinhl.c: Likewise.
26727 * math/e_sqrtl.c: Likewise.
26728 * math/e_scalb.c: Completely rewritten and optimized.
26729 * math/e_scalbf.c: Likewise.
26730 * math/e_scalbl.c: Likewise.
26731 * math/w_acos.c: Likewise.
26732 * math/w_acosf.c: Likewise.
26733 * math/w_acosl.c: Likewise.
26734 * math/w_acosh.c: Likewise.
26735 * math/w_acoshf.c: Likewise.
26736 * math/w_acoshl.c: Likewise.
26737 * math/w_asin.c: Likewise.
26738 * math/w_asinf.c: Likewise.
26739 * math/w_asinl.c: Likewise.
26740 * math/w_atan2.c: Likewise.
26741 * math/w_atan2f.c: Likewise.
26742 * math/w_atan2l.c: Likewise.
26743 * math/w_atanh.c: Likewise.
26744 * math/w_atanhf.c: Likewise.
26745 * math/w_atanhl.c: Likewise.
26746 * math/w_exp10.c: Likewise.
26747 * math/w_exp10f.c: Likewise.
26748 * math/w_exp10l.c: Likewise.
26749 * math/w_fmod.c: Likewise.
26750 * math/w_fmodf.c: Likewise.
26751 * math/w_fmodl.c: Likewise.
26752 * math/w_j0.c: Likewise.
26753 * math/w_j0f.c: Likewise.
26754 * math/w_j0l.c: Likewise.
26755 * math/w_j1.c: Likewise.
26756 * math/w_j1f.c: Likewise.
26757 * math/w_j1l.c: Likewise.
26758 * math/w_jn.c: Likewise.
26759 * math/w_jnf.c: Likewise.
26760 * math/w_log.c: Likewise.
26761 * math/w_logf.c: Likewise.
26762 * math/w_logl.c: Likewise.
26763 * math/w_log10.c: Likewise.
26764 * math/w_log10f.c: Likewise.
26765 * math/w_log10l.c: Likewise.
26766 * math/w_log2.c: Likewise.
26767 * math/w_log2f.c: Likewise.
26768 * math/w_log2l.c: Likewise.
26769 * math/w_pow.c: Likewise.
26770 * math/w_powf.c: Likewise.
26771 * math/w_powl.c: Likewise.
26772 * math/w_remainder.c: Likewise.
26773 * math/w_remainderf.c: Likewise.
26774 * math/w_remainderl.c: Likewise.
26775 * math/w_scalb.c: Likewise.
26776 * math/w_scalbf.c: Likewise.
26777 * math/w_scalbl.c: Likewise.
26778 * math/w_sqrt.c: Likewise.
26779 * math/w_sqrtf.c: Likewise.
26780 * math/w_sqrtl.c: Likewise.
26781 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26782 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26783 used.
26784 * math/math_private.h: Declare __kernel_standard_f.
26785 * math/w_cosh.c: Remove cruft and optimize a bit.
26786 * math/w_coshf.c: Likewise.
26787 * math/w_coshl.c: Likewise.
26788 * math/w_exp2.c: Likewise.
26789 * math/w_exp2f.c: Likewise.
26790 * math/w_exp2l.c: Likewise.
26791 * math/w_hypot.c: Likewise.
26792 * math/w_hypotf.c: Likewise.
26793 * math/w_hypotl.c: Likewise.
26794 * math/w_lgamma.c: Likewise.
26795 * math/w_lgamma_r.c: Likewise.
26796 * math/w_lgammaf.c: Likewise.
26797 * math/w_lgammaf_r.c: Likewise.
26798 * math/w_lgammal.c: Likewise.
26799 * math/w_lgammal_r.c: Likewise.
26800 * math/w_sinh.c: Likewise.
26801 * math/w_sinhf.c: Likewise.
26802 * math/w_sinhl.c: Likewise.
26803 * math/w_tgamma.c: Likewise.
26804 * math/w_tgammaf.c: Likewise.
26805 * math/w_tgammal.c: Likewise.
26806 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26807 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26808 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26809 Minor optimizations. Pretty printing. Remove cruft.
26810 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26811 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26812 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26813 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26814 * sysdeps/i386/fpu/e_acosl.c: Likewise.
26815 * sysdeps/i386/fpu/e_asin.S: Likewise.
26816 * sysdeps/i386/fpu/e_asinf.S: Likewise.
26817 * sysdeps/i386/fpu/e_atan2.S: Likewise.
26818 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26819 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26820 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26821 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26822 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26823 * sysdeps/i386/fpu/e_exp10.S: Likewise.
26824 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26825 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26826 * sysdeps/i386/fpu/e_exp2.S: Likewise.
26827 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26828 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26829 * sysdeps/i386/fpu/e_fmod.S: Likewise.
26830 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26831 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26832 * sysdeps/i386/fpu/e_hypot.S: Likewise.
26833 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26834 * sysdeps/i386/fpu/e_log.S: Likewise.
26835 * sysdeps/i386/fpu/e_log10.S: Likewise.
26836 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26837 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26838 * sysdeps/i386/fpu/e_log2.S: Likewise.
26839 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26840 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26841 * sysdeps/i386/fpu/e_logf.S: Likewise.
26842 * sysdeps/i386/fpu/e_logl.S: Likewise.
26843 * sysdeps/i386/fpu/e_pow.S: Likewise.
26844 * sysdeps/i386/fpu/e_powf.S: Likewise.
26845 * sysdeps/i386/fpu/e_powl.S: Likewise.
26846 * sysdeps/i386/fpu/e_remainder.S: Likewise.
26847 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26848 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26849 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26850 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26851 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26852 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26853 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26854 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26855 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26856 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26857 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26858 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26859 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26860 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26861 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26862 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26863 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26864 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26865 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26866 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26867 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26868 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26869 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26870 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26871 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26872 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26873 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26874 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26875 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26876 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26877 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26878 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26879 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26880 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26881 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26882 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26883 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26884 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26885 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26886 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26887 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26888 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26889 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26890 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26891 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26892 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26893 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26894 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26895 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26896 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26897 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26898 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26899 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26900 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26901 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26902 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26903 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26904 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26905 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26906 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26907 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26908 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26909 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26910 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26911 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26912 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26913 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26914 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26915 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26916 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26917 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26918 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26919 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26920 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26921 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26922 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26923 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26924 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26925 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26926 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26927 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26928 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26929 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26930 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26931 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26932 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26933 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26934 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26935 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26936 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26937 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26938 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26939 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26940 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26941 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26942 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26943 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26944 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26945 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26946 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26947 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26948 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26949 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26950 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26951 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26952 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26953 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26954 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26955 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26956 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
26957 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
26958 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
26959 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26960 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26961 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26962 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26963 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
26964 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26965 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
26966 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
26967 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
26968 (__isnanf): Likewise.
26969 (__isinf_ns): Likewise.
26970 (__isinf_nsf): Likewise.
26971 (__finite): Likewise.
26972 (__finitef): Likewise.
26973 (__ieee754_sqrt): Define as macro.
26974 (__ieee754_sqrtf): Define as macro.
26975 (__ieee754_sqrtl): Define as macro.
26976 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
26977 inlined copy.
26978 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
26979 __FINITE_MATH_ONLY__ consistent.
26980 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
26981
12cc2fcd
AS
269822011-10-10 Andreas Schwab <schwab@linux-m68k.org>
26983
a843a204
AS
26984 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
26985 of rawmemchr.
26986
12cc2fcd
AS
26987 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
26988
c853acd5
UD
269892011-10-09 Ulrich Drepper <drepper@gmail.com>
26990
26991 * po/ja.po: Update from translation team.
26992
c658d255
RM
269932011-10-08 Roland McGrath <roland@hack.frob.com>
26994
110946e4
RM
26995 * locale/programs/locarchive.c (prepare_address_space): New function.
26996 (create_archive, enlarge_archive, open_archive): Use it.
26997
50604220
RM
26998 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
26999 inside [SHARED], where it is used.
27000
c658d255
RM
27001 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27002
27003 * nss/getent.c (netgroup_keys): Remove unused variable.
27004 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27005
6a621eb7
UD
270062011-10-08 Ulrich Drepper <drepper@gmail.com>
27007
7edb55ce
UD
27008 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27009 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27010 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27011 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27012 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27013 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27014 * math/Makefile (libm-calls): Add s_isinf_ns.
27015 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27016 * math/multc3.c: Likewise.
27017 * math/s_casin.c: Likewise.
27018 * math/s_casinf.c: Likewise.
27019 * math/s_casinl.c: Likewise.
27020 * math/s_ccos.c: Likewise.
27021 * math/s_ccosf.c: Likewise.
27022 * math/s_ccosl.c: Likewise.
27023 * math/s_ctan.c: Likewise.
27024 * math/s_ctanf.c: Likewise.
27025 * math/s_ctanh.c: Likewise.
27026 * math/s_ctanhf.c: Likewise.
27027 * math/s_ctanhl.c: Likewise.
27028 * math/s_ctanl.c: Likewise.
27029 * math/w_fmod.c: Likewise.
27030 * math/w_fmodf.c: Likewise.
27031 * math/w_fmodl.c: Likewise.
27032 * math/w_remainder.c: Likewise.
27033 * math/w_remainderf.c: Likewise.
27034 * math/w_remainderl.c: Likewise.
27035 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27036 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27037 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27038 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27039 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27040 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27041 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27042 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27043
187da0ae
UD
27044 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27045 of the number.
27046 * stdio-common/printf_fphex.c: Likewise.
27047 * stdio-common/printf_size.c: Likewise.
27048
9277c064
UD
27049 * math/e_exp10.c: Include math_private.h using <...> not "...".
27050 * math/e_exp10f.c: Likewise.
27051 * math/e_exp10l.c: Likewise.
27052 * math/e_exp2l.c: Likewise.
27053 * math/e_j0l.c: Likewise.
27054 * math/e_j1l.c: Likewise.
27055 * math/e_jnl.c: Likewise.
27056 * math/e_lgammal_r.c: Likewise.
27057 * math/e_rem_pio2l.c: Likewise.
27058 * math/e_scalb.c: Likewise.
27059 * math/e_scalbf.c: Likewise.
27060 * math/e_scalbl.c: Likewise.
27061 * math/k_cosl.c: Likewise.
27062 * math/k_sinl.c: Likewise.
27063 * math/k_tanl.c: Likewise.
27064 * math/s_cacoshf.c: Likewise.
27065 * math/s_catan.c: Likewise.
27066 * math/s_catanf.c: Likewise.
27067 * math/s_catanh.c: Likewise.
27068 * math/s_catanhf.c: Likewise.
27069 * math/s_catanhl.c: Likewise.
27070 * math/s_catanl.c: Likewise.
27071 * math/s_ccosh.c: Likewise.
27072 * math/s_ccoshf.c: Likewise.
27073 * math/s_ccoshl.c: Likewise.
27074 * math/s_cexp.c: Likewise.
27075 * math/s_cexpf.c: Likewise.
27076 * math/s_cexpl.c: Likewise.
27077 * math/s_clog.c: Likewise.
27078 * math/s_clog10.c: Likewise.
27079 * math/s_clog10f.c: Likewise.
27080 * math/s_clog10l.c: Likewise.
27081 * math/s_clogf.c: Likewise.
27082 * math/s_clogl.c: Likewise.
27083 * math/s_csin.c: Likewise.
27084 * math/s_csinf.c: Likewise.
27085 * math/s_csinh.c: Likewise.
27086 * math/s_csinhf.c: Likewise.
27087 * math/s_csinhl.c: Likewise.
27088 * math/s_csinl.c: Likewise.
27089 * math/s_csqrt.c: Likewise.
27090 * math/s_csqrtf.c: Likewise.
27091 * math/s_csqrtl.c: Likewise.
27092 * math/s_ctan.c: Likewise.
27093 * math/s_ctanf.c: Likewise.
27094 * math/s_ctanh.c: Likewise.
27095 * math/s_ctanhf.c: Likewise.
27096 * math/s_ctanhl.c: Likewise.
27097 * math/s_ctanl.c: Likewise.
27098 * math/s_ldexp.c: Likewise.
27099 * math/s_ldexpf.c: Likewise.
27100 * math/s_ldexpl.c: Likewise.
27101 * math/s_significand.c: Likewise.
27102 * math/s_significandf.c: Likewise.
27103 * math/s_significandl.c: Likewise.
27104 * math/w_acos.c: Likewise.
27105 * math/w_acosf.c: Likewise.
27106 * math/w_acosh.c: Likewise.
27107 * math/w_acoshf.c: Likewise.
27108 * math/w_acoshl.c: Likewise.
27109 * math/w_acosl.c: Likewise.
27110 * math/w_asin.c: Likewise.
27111 * math/w_asinf.c: Likewise.
27112 * math/w_asinl.c: Likewise.
27113 * math/w_atan2.c: Likewise.
27114 * math/w_atan2f.c: Likewise.
27115 * math/w_atan2l.c: Likewise.
27116 * math/w_atanh.c: Likewise.
27117 * math/w_atanhf.c: Likewise.
27118 * math/w_atanhl.c: Likewise.
27119 * math/w_cosh.c: Likewise.
27120 * math/w_coshf.c: Likewise.
27121 * math/w_coshl.c: Likewise.
27122 * math/w_dremf.c: Likewise.
27123 * math/w_exp10.c: Likewise.
27124 * math/w_exp10f.c: Likewise.
27125 * math/w_exp10l.c: Likewise.
27126 * math/w_exp2.c: Likewise.
27127 * math/w_exp2f.c: Likewise.
27128 * math/w_fmod.c: Likewise.
27129 * math/w_fmodf.c: Likewise.
27130 * math/w_fmodl.c: Likewise.
27131 * math/w_hypot.c: Likewise.
27132 * math/w_hypotf.c: Likewise.
27133 * math/w_hypotl.c: Likewise.
27134 * math/w_j0.c: Likewise.
27135 * math/w_j0f.c: Likewise.
27136 * math/w_j0l.c: Likewise.
27137 * math/w_j1.c: Likewise.
27138 * math/w_j1f.c: Likewise.
27139 * math/w_j1l.c: Likewise.
27140 * math/w_jn.c: Likewise.
27141 * math/w_jnf.c: Likewise.
27142 * math/w_jnl.c: Likewise.
27143 * math/w_lgamma.c: Likewise.
27144 * math/w_lgamma_r.c: Likewise.
27145 * math/w_lgammaf.c: Likewise.
27146 * math/w_lgammaf_r.c: Likewise.
27147 * math/w_lgammal.c: Likewise.
27148 * math/w_lgammal_r.c: Likewise.
27149 * math/w_log.c: Likewise.
27150 * math/w_log10.c: Likewise.
27151 * math/w_log10f.c: Likewise.
27152 * math/w_log10l.c: Likewise.
27153 * math/w_log2.c: Likewise.
27154 * math/w_log2f.c: Likewise.
27155 * math/w_log2l.c: Likewise.
27156 * math/w_logf.c: Likewise.
27157 * math/w_logl.c: Likewise.
27158 * math/w_pow.c: Likewise.
27159 * math/w_powf.c: Likewise.
27160 * math/w_powl.c: Likewise.
27161 * math/w_remainder.c: Likewise.
27162 * math/w_remainderf.c: Likewise.
27163 * math/w_remainderl.c: Likewise.
27164 * math/w_scalb.c: Likewise.
27165 * math/w_scalbf.c: Likewise.
27166 * math/w_scalbl.c: Likewise.
27167 * math/w_sinh.c: Likewise.
27168 * math/w_sinhf.c: Likewise.
27169 * math/w_sinhl.c: Likewise.
27170 * math/w_sqrt.c: Likewise.
27171 * math/w_sqrtf.c: Likewise.
27172 * math/w_sqrtl.c: Likewise.
27173 * math/w_tgamma.c: Likewise.
27174 * math/w_tgammaf.c: Likewise.
27175 * math/w_tgammal.c: Likewise.
27176
6a621eb7
UD
27177 * po/ja.po: Update from translation team.
27178
bf582445
AJ
271792011-09-29 Andreas Jaeger <aj@suse.de>
27180
f9efbf3a
AJ
27181 [BZ #13179]
27182 * sunrpc/netname.c (netname2host): Fix logic.
27183
bf582445
AJ
27184 [BZ #6779]
27185 [BZ #6783]
27186 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27187 correctly.
27188 * math/w_remainder.c (__remainder): Likewise.
27189 * math/w_remainderf.c (__remainderf): Likewise.
27190 * math/libm-test.inc (remainder_test): Add test cases.
27191
48693bea
AK
271922011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27193
27194 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27195 sdiv_qrnnd.
27196
42622229
LD
271972011-10-07 Ulrich Drepper <drepper@gmail.com>
27198
27199 * string/test-memcmp.c: Avoid unncessary #defines.
27200 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27201
093ecf92
LD
272022011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27203
27204 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27205 Use new sse2 version for core i3 - i7 as it's faster
27206 than sse42 version.
27207 (bit_Prefer_PMINUB_for_stringop): New.
27208 * sysdeps/x86_64/rawmemchr.S: Update.
27209 Replace with faster SSE2 version.
27210 * sysdeps/x86_64/memrchr.S: New file.
27211 * sysdeps/x86_64/memchr.S: Update.
27212 Replace with faster SSE2 version.
27213
fde56e5c
MP
272142011-09-12 Marek Polacek <mpolacek@redhat.com>
27215
27216 * elf/dl-load.c (lose): Add cast to avoid warning.
27217
21fd49a9
UD
272182011-10-07 Ulrich Drepper <drepper@gmail.com>
27219
5a06e643
UD
27220 * po/ca.po: Update from translation team.
27221
684ae515
UD
27222 * inet/getnetgrent_r.c: Hook up nscd.
27223 * nscd/Makefile (routines): Add nscd_netgroup.
27224 (nscd-modules): Add netgroupcache.
27225 (CFLAGS-netgroupcache.c): Define.
27226 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27227 (cache_search): Add const to second parameter.
27228 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27229 INNETGR.
27230 (dbs): Add netgrdb entry.
27231 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27232 (verify_persistent_db): Handle netgrdb.
27233 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27234 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27235 GETFDNETGR.
27236 (netgroup_response_header): Define.
27237 (innetgroup_response_header): Define.
27238 (datahead): Add netgroup_response_header and innetgroup_response_header
27239 elements.
27240 * nscd/nscd.conf: Add entries for netgroup cache.
27241 * nscd/nscd.h (dbtype): Add netgrdb.
27242 (_PATH_NSCD_NETGROUP_DB): Define.
27243 (netgroup_iov_disabled): Declare.
27244 (xmalloc, xcalloc, xrealloc): Move declarations here.
27245 (cache_search): Adjust prototype.
27246 Add netgroup-related prototypes.
27247 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27248 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27249 (__nscd_innetgr): Declare.
27250 * nscd/selinux.c (perms): Use access_vector_t as element type and
27251 add netgroup-related initializers.
27252 * nscd/netgroupcache.c: New file.
27253 * nscd/nscd_netgroup.c: New file.
27254 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27255 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27256 For four parameters use innetgr.
27257 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27258 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27259 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27260 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27261
21fd49a9
UD
27262 * nscd/connections.c (register_traced_file): Don't register file
27263 for disabled databases.
27264
054c0457
UD
272652011-10-06 Ulrich Drepper <drepper@gmail.com>
27266
32b63198
UD
27267 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27268
054c0457
UD
27269 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27270 from tree and freeing node.
27271
64031225
JO
272722011-09-25 Jiri Olsa <jolsa@redhat.com>
27273
27274 * nss/nsswitch.c (__nss_database_lookup): Handle
27275 nss_parse_service_list out of memory case.
27276
0490345c
JO
272772011-09-15 Jiri Olsa <jolsa@redhat.com>
27278
27279 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27280 out of memory case.
27281
3a62d00d
AS
272822011-10-04 Andreas Schwab <schwab@redhat.com>
27283
27284 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27285 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27286 pass it down.
27287 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27288 elf_machine_rela, elf_machine_lazy_rel.
27289 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27290 (ELF_DYNAMIC_DO_REL): Likewise.
27291 (ELF_DYNAMIC_DO_RELA): Likewise.
27292 (ELF_DYNAMIC_RELOCATE): Likewise.
27293 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27294 to ELF_DYNAMIC_DO_REL.
27295 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27296 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27297 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27298 elf_machine_rela.
27299 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27300 skip_ifunc, don't call ifunc function if non-zero.
27301 (elf_machine_rela): Likewise.
27302 (elf_machine_lazy_rel): Likewise.
27303 (elf_machine_lazy_rela): Likewise.
27304 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27305 (elf_machine_lazy_rel): Likewise.
27306 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27307 Likewise.
27308 (elf_machine_lazy_rel): Likewise.
27309 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27310 Likewise.
27311 (elf_machine_lazy_rel): Likewise.
27312 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27313 (elf_machine_lazy_rel): Likewise.
27314 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27315 (elf_machine_lazy_rel): Likewise.
27316 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27317 (elf_machine_lazy_rel): Likewise.
27318 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27319 (elf_machine_lazy_rel): Likewise.
27320 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27321 (elf_machine_lazy_rel): Likewise.
27322 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27323 (elf_machine_lazy_rel): Likewise.
27324
68577918
UD
273252011-09-28 Ulrich Drepper <drepper@gmail.com>
27326
27327 * nss/nss_files/files-init.c (_nss_files_init): Use static
27328 initialization for all the *_traced_file variables.
27329
68822d74
AS
273302011-09-28 Andreas Schwab <schwab@redhat.com>
27331
27332 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27333
2056100b
RM
273342011-09-27 Roland McGrath <roland@hack.frob.com>
27335
27336 [BZ #13226]
27337 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27338
32c76b63
AS
273392011-09-27 Andreas Schwab <schwab@redhat.com>
27340
27341 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27342 Reread the line before reparsing it.
27343
bf972c9d
AS
273442011-09-26 Andreas Schwab <schwab@redhat.com>
27345
27346 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27347
e057a1b5
JM
273482011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27349 Maxim Kuvyrkov <maxim@codesourcery.com>
27350 Joseph Myers <joseph@codesourcery.com>
27351
27352 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27353 if needed for __stack_chk_guard.
27354
bc7e1c36
RM
273552011-09-19 Roland McGrath <roland@hack.frob.com>
27356
ecb1482f
RM
27357 * sysdeps/posix/spawni.c (script_execute): Always define it.
27358 It will be optimized away if unused.
27359 (maybe_script_execute): New function.
27360 (__spawni): Call it.
27361
bc7e1c36
RM
27362 * Makerules: Don't include tls.make.
27363 (config-tls): Always set to thread.
27364 * tls.make.c: File removed.
27365
1c3b002b
MF
273662011-09-19 Mike Frysinger <vapier@gentoo.org>
27367
27368 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27369 * config.make.in (CPPFLAGS-config): New substituted variable.
27370
2840865d
UD
273712011-09-15 Ulrich Drepper <drepper@gmail.com>
27372
88738eb6
UD
27373 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27374
cbf645a6 27375 [BZ #13192]
2840865d
UD
27376 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27377 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27378
b402e91a
RM
273792011-09-15 Roland McGrath <roland@hack.frob.com>
27380
27381 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27382 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27383 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27384 (CALL_FAIL): Likewise.
27385 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27386 (CALL_FAIL): Macro removed.
27387 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27388
4c1a1f71
UD
273892011-09-15 Ulrich Drepper <drepper@gmail.com>
27390
27391 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27392 for __FINITE_MATH_ONLY__ == 1.
27393
edc121be
AS
273942011-09-15 Andreas Schwab <schwab@redhat.com>
27395
27396 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27397 __ieee754_sqrt instead of sqrt.
27398 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27399 __ieee754_sqrtf instead of sqrtf.
27400 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27401 __floorf instead of floorf.
27402 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27403 __floorf, __truncf instead of floorf, truncf.
27404
cd205654
UD
274052011-09-14 Ulrich Drepper <drepper@gmail.com>
27406
ee4d0315
UD
27407 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27408
cd205654
UD
27409 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27410 __extern_always_inline.
27411 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27412 32-bit.
27413
48b67d71
AS
274142011-09-14 Andreas Schwab <schwab@redhat.com>
27415
27416 * elf/rtld.c (dl_main): Also relocate in dependency order when
27417 doing symbol dependency testing.
27418
1ae12c75
AS
274192011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27420
27421 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27422 Always define `refsym'.
27423
995a80df
AS
274242011-09-13 Andreas Schwab <schwab@redhat.com>
27425
e529793b
AS
27426 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27427 (__FD_ELT): Renamed from __FDELT.
27428 * misc/bits/select2.h (__FD_ELT): Likewise.
27429 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27430 __FD_MASK instead of __FDELT, __FDMASK.
27431 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27432 Likewise.
27433 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27434 Likewise.
27435
52d4fef8
AS
27436 * elf/Makefile (gen-ldd): Fix pattern.
27437
995a80df
AS
27438 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27439 (init_tls): Likewise.
27440
8682f8b0
UD
274412011-09-12 Ulrich Drepper <drepper@gmail.com>
27442
27443 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27444
de82006d
AS
274452011-09-12 Andreas Schwab <schwab@redhat.com>
27446
a7c8e6a1
AS
27447 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27448 `struct cmsghdr *' instead of `void *'.
27449 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27450 Likewise.
27451
0f31fe77
AS
274522011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27453
27454 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27455 if non-absolute.
27456 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27457 ldd_rewrite_script.
0f31fe77 27458
32b4c839
UD
274592011-09-11 Ulrich Drepper <drepper@gmail.com>
27460
83cd1420
UD
27461 * configure.in: Remove --with-tls option.
27462 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27463 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27464 out in case it is missing.
27465 * sysdeps/ia64/elf/configure.in: Likewise.
27466 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27467 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27468 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27469 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27470 * sysdeps/sh/elf/configure.in: Likewise.
27471 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27472 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27473 * sysdeps/x86_64/elf/configure.in: Likewise.
27474 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27475 * sysdeps/mach/hurd/tls.h: Likewise.
27476
633f745d
UD
27477 [BZ #13067]
27478 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27479
f318beb8
UD
27480 [BZ #13090]
27481 * configure.in: Fix use of AC_INIT.
27482
32b4c839
UD
27483 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27484
3ce1f295
UD
274852011-09-10 Ulrich Drepper <drepper@gmail.com>
27486
bb016596
UD
27487 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27488 __set_errno.
8e58439c
UD
27489 * malloc/hooks.c: Likewise.
27490
aebae053 27491 [BZ #11929]
02d46fc4
UD
27492 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27493 variables statically.
27494 (narenas): Initialize.
27495 (list_lock): Initialize.
bb016596
UD
27496 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27497 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
27498 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27499 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27500 Add initializers to main_arena and mp_.
27501 (malloc_state): Remove pagesize member. Change all users to use
27502 GLRO(dl_pagesize).
27503
27504 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27505 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27506 is always initialized.
27507
22a89187
UD
27508 * malloc/malloc.c: Removed unused configurations and dead code.
27509 * malloc/arena.c: Likewise.
27510 * malloc/hooks.c: Likewise.
02d46fc4 27511 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 27512
d063d164
UD
27513 * include/tls.h: Removed. USE___THREAD must always be defined.
27514 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27515 * elf/dl-libc.c: Likewise.
27516 * elf/dl-tsd.c: Likewise.
27517 * include/errno.h: Likewise.
27518 * include/netdb.h: Likewise.
27519 * include/resolv.h: Likewise.
27520 * inet/herrno-loc.c: Likewise.
27521 * inet/herrno.c: Likewise.
27522 * malloc/arena.c: Likewise.
27523 * malloc/hooks.c: Likewise.
27524 * malloc/malloc.c: Likewise.
27525 * resolv/res-state.c: Likewise.
27526 * resolv/res_libc.c: Likewise.
27527 * sysdeps/i386/dl-machine.h: Likewise.
27528 * sysdeps/ia64/dl-machine.h: Likewise.
27529 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27530 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27531 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27532 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27533 * sysdeps/sh/dl-machine.h: Likewise.
27534 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27535 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27536 * sysdeps/unix/i386/sysdep.S: Likewise.
27537 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27538 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27539 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27540 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27541 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27542 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27543 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27544 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27545 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27546 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27547 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27548 * sysdeps/x86_64/dl-machine.h: Likewise.
27549 * tls.make.c: Likewise.
27550
3ce1f295
UD
27551 * configure.in: Remove --with-__thread option. Make tests for
27552 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27553 tls_model attribute fail if no support is available. Remove
27554 USE_IN_LIBIO.
27555 * Makeconfig: Adjust for dropped configure option. All features are
27556 now mandatory.
27557 * Makerules: Likewise.
27558 * Versions.def: Likewise.
27559 * argp/argp-fmtstream.c: Likewise.
27560 * argp/argp-fmtstream.h: Likewise.
27561 * argp/argp-help.c: Likewise.
27562 * assert/assert.c: Likewise.
27563 * config.h.in: Likewise.
27564 * config.make.in: Likewise.
27565 * configure: Likewise.
27566 * configure.in: Likewise.
27567 * csu/Versions: Likewise.
27568 * csu/init.c: Likewise.
27569 * elf/tst-audit2.c: Likewise.
27570 * elf/tst-tls10.c: Likewise.
27571 * elf/tst-tls10.h: Likewise.
27572 * elf/tst-tls11.c: Likewise.
27573 * elf/tst-tls12.c: Likewise.
27574 * elf/tst-tls14.c: Likewise.
27575 * elf/tst-tlsmod11.c: Likewise.
27576 * elf/tst-tlsmod12.c: Likewise.
27577 * elf/tst-tlsmod13.c: Likewise.
27578 * elf/tst-tlsmod13a.c: Likewise.
27579 * elf/tst-tlsmod14a.c: Likewise.
27580 * elf/tst-tlsmod15b.c: Likewise.
27581 * elf/tst-tlsmod16a.c: Likewise.
27582 * elf/tst-tlsmod16b.c: Likewise.
27583 * elf/tst-tlsmod7.c: Likewise.
27584 * elf/tst-tlsmod8.c: Likewise.
27585 * elf/tst-tlsmod9.c: Likewise.
27586 * gmon/gmon.c: Likewise.
27587 * grp/fgetgrent_r.c: Likewise.
27588 * grp/putgrent.c: Likewise.
27589 * hurd/fopenport.c: Likewise.
27590 * include/libc-symbols.h: Likewise.
27591 * include/tls.h: Likewise.
27592 * intl/gettextP.h: Likewise.
27593 * intl/loadinfo.h: Likewise.
27594 * locale/global-locale.c: Likewise.
27595 * locale/localeinfo.h: Likewise.
27596 * mach/devstream.c: Likewise.
27597 * malloc/arena.c: Likewise.
27598 * malloc/set-freeres.c: Likewise.
27599 * misc/err.c: Likewise.
27600 * misc/getttyent.c: Likewise.
27601 * misc/mntent_r.c: Likewise.
27602 * posix/getopt.c: Likewise.
27603 * posix/wordexp.c: Likewise.
27604 * pwd/fgetpwent_r.c: Likewise.
27605 * resolv/Versions: Likewise.
27606 * resolv/res_hconf.c: Likewise.
27607 * shadow/fgetspent_r.c: Likewise.
27608 * shadow/putspent.c: Likewise.
27609 * stdio-common/printf_fphex.c: Likewise.
27610 * stdio-common/tmpfile.c: Likewise.
27611 * stdlib/abort.c: Likewise.
27612 * stdlib/fmtmsg.c: Likewise.
27613 * sunrpc/auth_unix.c: Likewise.
27614 * sunrpc/clnt_perr.c: Likewise.
27615 * sunrpc/clnt_tcp.c: Likewise.
27616 * sunrpc/clnt_udp.c: Likewise.
27617 * sunrpc/clnt_unix.c: Likewise.
27618 * sunrpc/openchild.c: Likewise.
27619 * sunrpc/svc_simple.c: Likewise.
27620 * sunrpc/svc_tcp.c: Likewise.
27621 * sunrpc/svc_udp.c: Likewise.
27622 * sunrpc/svc_unix.c: Likewise.
27623 * sunrpc/xdr.c: Likewise.
27624 * sunrpc/xdr_array.c: Likewise.
27625 * sunrpc/xdr_rec.c: Likewise.
27626 * sunrpc/xdr_ref.c: Likewise.
27627 * sunrpc/xdr_stdio.c: Likewise.
27628
1248c1c4
PB
276292011-09-09 Ulrich Drepper <drepper@gmail.com>
27630
27631 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27632
276332011-07-03 Andreas Jaeger <aj@suse.de>
27634
27635 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27636 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27637 regenerate with gen-libm-tests.pl.
27638
276392010-05-12 Petr Baudis <pasky@suse.cz>
27640
27641 [BZ #11589]
27642 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27643 around j0() zero points by switching to j1().
27644 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27645 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27646 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27647 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27648
f22e1074
UD
276492011-09-09 Ulrich Drepper <drepper@gmail.com>
27650
f19009c1
UD
27651 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27652 instead of 0.
27653 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 27654 instead of 0.
f19009c1
UD
27655 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27656 Patch in part by Pavel Roskin <proski@gnu.org>.
27657
3f8cc204
UD
27658 [BZ #13138]
27659 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27660 realloc.
27661 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27662 Free memory block if necessary.
27663
f22e1074
UD
27664 [BZ #12847]
27665 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27666 be NULL. Don't lock in this case.
27667
0a2349f9
RM
276682011-09-09 Roland McGrath <roland@hack.frob.com>
27669
27670 * elf/elf.h (ELFOSABI_GNU): New macro.
27671 (ELFOSABI_LINUX): Define to that.
27672
f3cdd467
DZ
276732011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27674
27675 * string/strncat.c (strncat): Undef the symbol in case it has been
27676 defined in bits/string.h.
27677
74718d13
UD
276782011-09-09 Ulrich Drepper <drepper@gmail.com>
27679
633e9e0f
UD
27680 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27681
0a2349f9 27682 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
27683 link map.
27684
f9924780
AJ
276852011-08-17 Andreas Jaeger <aj@suse.de>
27686
27687 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27688
7f5517aa
PP
276892011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27690 Ian Lance Taylor <iant@google.com>
27691
27692 * math/libm-test.inc (lround_test): New testcase.
27693 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27694
762011fe
UD
276952011-09-08 Ulrich Drepper <drepper@gmail.com>
27696
92963737
UD
27697 * Makefile: Remove support for automatic cvs check-ins.
27698 * Makerules: Likewise.
27699 * config.make.in: Likewise.
27700 * configure.in: Likewise.
27701 * intl/Makefile: Likewise.
27702 * locale/Makefile: Likewise.
27703 * po/Makefile: Likewise.
27704 * posix/Makefile: Likewise.
27705 * sysdeps/gnu/Makefile: Likewise.
27706 * sysdeps/mach/hurd/Makefile: Likewise.
27707 * sysdeps/sparc/sparc32/Makefile: Likewise.
27708
b0727fd8
JS
27709 [BZ #13118]
27710 * posix/Makefile (bug-regex32-ENV): Define.
27711 Patch by John Stanley <jpsinthemix@verizon.net>.
27712
a0f33f99
UD
27713 * misc/Makefile (headers): Add bits/select2.h.
27714 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27715 * misc/bits/select2.h: New file.
27716 * include/bits/select2.h: New file.
27717 * debug/Makefile (routines): Add fdelt_chk.
27718 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27719 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27720 FD_ISSET.
27721 * debug/fdelt_chk.c: New file.
27722
762011fe
UD
27723 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
27724 * wcsmbs/test-wmemcmp.c: Likewise.
27725 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 27726 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
27727
277282011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27729
27730 * string/Makefile (strop-tests): Add memcmp.
27731 * string/test-wmemcmp.c: New file.
27732 * string/test-memcmp.c: Add wmemcmp support.
27733
7f513ec8
RM
277342011-09-08 Roland McGrath <roland@hack.frob.com>
27735
0442afb4
RM
27736 [BZ #13153]
27737 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27738 2011-07-19 change.
27739
7f513ec8
RM
27740 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27741 garbage value in a __mach_port_mod_refs call in the cases of the
27742 task-self and thread-self ports.
27743
a12b2239
ST
277442011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27745
27746 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27747
610f9ab4
AS
277482011-09-08 Andreas Schwab <schwab@redhat.com>
27749
7f513ec8 27750 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 27751
48882a1a
LD
277522011-09-07 Ulrich Drepper <drepper@gmail.com>
27753
b49865be
UD
27754 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27755
fdc86bc9
UD
27756 * elf/dl-libc.c (dlerror_run): Pass back error code from
27757 dl_catch_error.
27758
c966526a
UD
27759 [BZ #13123]
27760 * elf/dl-load.c (lose): Free l_origin if it is valid.
27761
48882a1a
LD
27762 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27763 names.
27764 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27765 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27766 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27767 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27768 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27769 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27770
77a2a8b4
AZ
277712011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27772
27773 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27774 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27775 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27776 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27777 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27778 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27779 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27780 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27781 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27782 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27783
24f579d8
AM
277842011-08-15 Alan Modra <amodra@gmail.com>
27785
27786 [BZ #13092]
27787 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27788 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27789 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27790 ppc_mcount to static-only-routines.
27791 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27792 __mcount_internal.
27793 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27794 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27795
3d4837df
UD
277962011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27797
27798 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27799 for finite and infinity parameters.
27800
22700377
WS
278012011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27802
27803 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27804 and add nop instructions for throughput optimization.
27805 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27806
5025581e
WS
278072011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27808
27809 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27810 aligned copy for power7 with vector-scalar instructions.
27811 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27812
08a300c9
L
278132011-07-24 H.J. Lu <hongjiu.lu@intel.com>
27814
27815 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27816 AVX check.
27817
59178ef9
AS
278182011-09-07 Andreas Schwab <schwab@redhat.com>
27819
27820 [BZ #13144]
27821 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27822 last change.
27823
e38ba7ab
UD
278242011-09-07 Ulrich Drepper <drepper@gmail.com>
27825
27826 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27827 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27828 syscall wrapper around clock_gettime in __vdso_clock_gettime.
27829 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27830 clock_gettime.
27831
d53a73ac
UD
278322011-09-06 Ulrich Drepper <drepper@gmail.com>
27833
fc8bffcc
UD
27834 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27835 Forgot to demangle the pointer.
27836
ceaa0c5d
UD
27837 * sysdeps/i386/sysdep.h: Define atom_text_section.
27838 * sysdeps/x86_64/sysdep.h: Likewise.
27839 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27840 section with atom_text_section.
27841 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27842 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27843 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27844 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27845 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27846
a77d3c17
UD
27847 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27848 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27849 already be defined. Change to take two parameters and don't assign
27850 result to variable. Adjust all users.
27851 Define INTERNAL_GETTIME if not already defined.
27852 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27853 call.
27854 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27855 HAVE_CLOCK_GETTIME_VSYSCALL.
27856 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27857
d53a73ac
UD
27858 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27859 gettimeofday vsyscall, just use time.
27860
a8f84144
AS
278612011-09-06 Andreas Schwab <schwab@redhat.com>
27862
27863 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27864 <errno.h>.
27865
ef606249
UD
278662011-09-06 Ulrich Drepper <drepper@gmail.com>
27867
27868 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27869 syscall on x86-64.
27870 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27871 syscall.
27872 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27873 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27874 syscall if possible.
27875
6585cb60
UD
278762011-09-05 Ulrich Drepper <drepper@gmail.com>
27877
27878 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27879 e_ident. Don't pass to find_mapsXX.
27880 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27881
a5f524e4
LD
278822011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27883
27884 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27885 strchr-sse2-no-bsf strrchr-sse2-no-bsf
27886 * sysdeps/x86_64/multiarch/strchr.S: Update.
27887 Check bit_slow_BSF bit.
27888 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27889 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27890 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27891
554881ef
UD
278922011-09-05 Ulrich Drepper <drepper@gmail.com>
27893
d96de963
UD
27894 [BZ #13134]
27895 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27896 before glibc 2.15.
27897 (tryshell): Define.
27898 (__spawni): Change last parameter to be flag. Test
27899 SPAWN_XFLAGS_USE_PATH flag to use path or not.
27900 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27901 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27902 * posix/spawni.c: Likewise.
27903 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27904 * posix/spawnp.c: Likewise. Change normal version to use
27905 SPAWN_XFLAGS_USE_PATH.
27906 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27907 SPAWN_XFLAGS_TRY_SHELL.
27908
d48e5868
UD
27909 [BZ #13150]
27910 * posix/glob.h: Remove gcc 1.x support.
27911
554881ef
UD
27912 [BZ #13068]
27913 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27914
693fb948
LD
279152011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27916
27917 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27918 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27919 strrchr-sse2-bsf
27920 * sysdeps/i386/i686/multiarch/strchr.S: New file.
27921 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27922 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27923 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27924 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27925 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27926
1b48c537
UD
279272011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27928
49d42c37
UD
27929 * sysdeps/x86_64/wcscmp.S: New file.
27930
1b48c537
UD
27931 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27932 wcscmp-c wcscmp-sse2
27933 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27934 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27935 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27936 * wcsmbs/wcscmp.c: Allow renaming.
27937
15c95c5d
DM
279382011-09-05 David S. Miller <davem@davemloft.net>
27939
27940 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27941 stack slot, rather than the struct return pointer slot.
27942 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27943 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27945 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27946
2f0ad8f3
UD
279472011-09-05 Ulrich Drepper <drepper@gmail.com>
27948
d88ae418
UD
27949 * po/ja.po: Update from translation team.
27950
2f0ad8f3
UD
27951 [BZ #13144]
27952 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27953 kernel in 64-bit binaries.
27954
5f4318d1
DM
279552011-09-01 David S. Miller <davem@davemloft.net>
27956
27957 * elf/elf.h (HWCAP_SPARC_*): Move to..
27958 * sysdeps/sparc/sysdep.h: this new file and add new values.
27959 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
27960 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
27961 _DL_HWCAP_COUNT to 24.
27962 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27963 entries.
27964 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
27965 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
27966 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
27967 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
27968 instead of magic constants.
27969 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27970
3ba57516
DM
279712011-08-31 David S. Miller <davem@davemloft.net>
27972
27973 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
27974 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
27975 Reimplement to do errno handling inline.
27976 (SYSCALL_ERROR_HANDLER): New macro.
27977 (__SYSCALL_STRING): Do not do errno handling in asm.
27978 (__CLONE_SYSCALL_STRING): Delete.
27979 (__INTERNAL_SYSCALL_STRING): Delete.
27980 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
27981 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
27982 (PSEUDO): Reimplement to do errno handling inline.
27983 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
27984 (SYSCALL_ERROR_HANDLER): New macro.
27985 (__SYSCALL_STRING): Do not do errno handling in asm.
27986 (__CLONE_SYSCALL_STRING): Delete.
27987 (__INTERNAL_SYSCALL_STRING): Delete.
27988 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
27989 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
27990 i386.
27991 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
27992 (inline_syscall*): Add 'err' argument.
27993 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
27994 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
27995 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
27996 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
27997
27998 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
27999 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28000
2bc17433
AS
280012011-08-30 Andreas Schwab <schwab@redhat.com>
28002
28003 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28004
fbeb5f4d
JO
280052011-08-29 Jiri Olsa <jolsa@redhat.com>
28006
28007 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28008 directive.
28009
ad69cc26
DM
280102011-08-24 David S. Miller <davem@davemloft.net>
28011
28012 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28013
39dd69df
AS
280142011-08-24 Andreas Schwab <schwab@redhat.com>
28015
28016 * elf/Makefile: Add rules to build and run unload8 test.
28017 * elf/unload8.c: New file.
28018 * elf/unload8mod1.c: New file.
28019 * elf/unload8mod1x.c: New file.
28020 * elf/unload8mod2.c: New file.
28021 * elf/unload8mod3.c: New file.
28022
28023 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28024 it wasn't used.
28025
2c0b250a
DM
280262011-08-23 David S. Miller <davem@davemloft.net>
28027
28028 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28029 subtract stack bias.
28030 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28031 %sp not %fp in calculations.
28032 (_JMPBUF_UNWINDS_ADJ): Likewise.
28033
22044b48
DM
28034 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28035 (aio_suspend): Call it to force an exception region around the
28036 AIO_MISC_WAIT() invocation.
28037
2cae4995
AS
280382011-08-23 Andreas Schwab <schwab@redhat.com>
28039
28040 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28041 backslash.
28042
873a772e
AJ
280432011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28044
28045 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28046 protection macro.
28047 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28048 and <dl-machine.h>.
28049 (Elf64_FuncDesc): Remove.
28050
25ad0df1
DM
280512011-08-22 David S. Miller <davem@davemloft.net>
28052
28053 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28054 sigaltstack check, add missing cfi directives.
28055 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28056 missing cfi directives, and sigaltstack handling.
28057
e888bcbe
AS
280582011-08-16 Andreas Schwab <schwab@redhat.com>
28059
28060 [BZ #11724]
28061 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28062 object is seen twice.
28063 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28064
28065 * elf/Makefile (distribute): Add tst-initorder2.c.
28066 (tests): Add tst-initorder2.
28067 (modules-names): Add tst-initorder2a tst-initorder2b
28068 tst-initorder2c tst-initorder2d. Add rules to build them.
28069 ($(objpfx)tst-initorder2.out): New rule.
28070 * elf/tst-initorder2.c: New file.
28071 * elf/tst-initorder2.exp: New file.
28072
87162f46
AS
280732011-08-22 Andreas Schwab <schwab@redhat.com>
28074
70538b7f
AS
28075 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28076
f55ffe58
AS
28077 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28078 dependencies back to end of function.
28079
87162f46
AS
28080 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28081 $(elfobjdir)/ld.so.
28082
91b392a4
UD
280832011-08-21 Ulrich Drepper <drepper@gmail.com>
28084
28085 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28086 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28087 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28088 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28089 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28090 of __vdso_gettimeofday.
28091 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28092 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28093 attribute_hidden.
28094 (_libc_vdso_platform_setup): Remove initialization of
28095 __vdso_gettimeofday and __vdso_time.
28096
5c43483f
UD
280972011-08-20 Ulrich Drepper <drepper@gmail.com>
28098
775a77e7
UD
28099 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28100 and fgetc_unlocked.
28101 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28102 getc_unlocked.
89f447ed 28103
49c74ba9
UD
28104 * elf/dl-open.c (add_to_global): Report additions to the global scope
28105 for LD_DEBUG=scopes.
28106 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 28107 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 28108
5c43483f
UD
28109 [BZ #13114]
28110 * stdio-common/Makefile (tests): Add bug24.
28111 * stdio-common/bug24.c: New file.
28112
a101b025
AJ
281132011-08-19 Andreas Jaeger <aj@suse.de>
28114
28115 [BZ #13114]
28116 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28117 non-existant file when using close-on-exec mode.
28118
c88f1766
UD
281192011-08-20 Ulrich Drepper <drepper@gmail.com>
28120
0276a718
UD
28121 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28122 the very first instruction.
28123
c88f1766
UD
28124 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28125 the CFI state in the end.
28126 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28127 inclusion of dl-trampoline.h.
28128 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28129
51ccffa0
AS
281302011-08-19 Andreas Schwab <schwab@redhat.com>
28131
94d7165f
AS
28132 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28133 expectations for long double.
28134
51ccffa0
AS
28135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28136 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28137
fd708658 281382011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
28139
28140 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28141 artificual limit depends upon the system page size.
28142
44f0a71e
UD
281432011-08-17 Ulrich Drepper <drepper@gmail.com>
28144
28145 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28146 * resolv/Makefile: Define CFLAGS-libresolv.
28147
8de79a24
AS
281482011-08-17 Andreas Schwab <schwab@redhat.com>
28149
28150 * nss/makedb.c (compute_tables): Make variables used in nested
28151 function static.
28152
27724598
UD
281532011-08-17 Ulrich Drepper <drepper@gmail.com>
28154
c5305d88
UD
28155 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28156 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28157 if buffer was too small.
28158
27724598
UD
28159 * elf/pldd.c (main): Attach to all threads in the process.
28160 Rewrite /proc handling to use *at functions.
28161
076fe015
UD
281622011-08-16 Ulrich Drepper <drepper@gmail.com>
28163
174baab3
UD
28164 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28165 specifies first scope to show.
28166 (dl_open_worker): Update callers. Move printing scope of new
28167 object to before the relocation.
44f0a71e 28168 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
28169 * sysdeps/generic/ldsodefs.h: Update declaration.
28170
076fe015
UD
28171 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28172 string for the scope number.
28173
a60df2c3
UD
281742011-08-14 Ulrich Drepper <drepper@gmail.com>
28175
28176 * nscd/servicescache.c (cache_addserv): Make sure written is always
28177 initialized.
28178
5e4287d1
RM
281792011-08-14 Roland McGrath <roland@hack.frob.com>
28180
85ae0589
RM
28181 * sysdeps/i386/i486/bits/atomic.h
28182 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28183 statement expression, so as to suppress "set but not used" warning.
28184 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28185
69f63097
RM
28186 * string/strncat.c (STRNCAT): Use prototype definition.
28187
675456ef
RM
28188 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28189 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28190 -Iprograms here.
28191 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28192 (localedef-modules): Add localedef.
28193 (locale-modules): Add locale.
28194
5e4287d1
RM
28195 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28196 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28197 to avoid a warning.
28198
9c96ff23
DM
281992011-08-14 David S. Miller <davem@davemloft.net>
28200
28201 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28202 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28203
f9ddf089
UD
282042011-08-13 Ulrich Drepper <drepper@gmail.com>
28205
44f0a71e 28206 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
28207 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28208 * elf/rtld.c (dl_main): Set l_name of vDSO.
28209 Call _dl_show_scope when DL_DEBUG_SCOPES.
28210 (process_dl_debug): Recognize scopes flag and also set it for all.
28211 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28212 Declare _dl_show_scope.
28213
1dc27704
UD
28214 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28215 (do_dlopen): Pass caller_dlopen to dl_open.
28216 (__libc_dlopen_mode): Initialize caller_dlopen.
28217
f9ddf089
UD
28218 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28219 of libc. Make tolower call locale-independent. Optimize a bit by
28220 using isdigit instead of isalnum.
28221 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28222
9ac533d3
UD
282232011-08-12 Ulrich Drepper <drepper@gmail.com>
28224
28225 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28226 was a dependency or dynamically loaded.
28227
89edf2e9
UD
282282011-08-11 Ulrich Drepper <drepper@gmail.com>
28229
8e999d29
UD
28230 * intl/l10nflist.c: Allow architecture-specific pop function.
28231 * sysdeps/x86_64/l10nflist.c: New file.
28232
89edf2e9
UD
28233 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28234 classification.
28235
14d96785
AS
282362011-08-10 Andreas Schwab <schwab@redhat.com>
28237
28238 * include/dirent.h: Add libc_hidden_proto for scandirat and
28239 scandirat64. Don't declare __scandirat64.
28240 * dirent/scandirat.c: Add libc_hidden_def.
28241 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28242 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28243
6761ac04
DM
282442011-08-10 David S. Miller <davem@davemloft.net>
28245
28246 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28247 enum.
28248 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28249 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28250 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28251
c55fbd1e
UD
282522011-08-09 Ulrich Drepper <drepper@gmail.com>
28253
28254 * Versions.def [libc]: Add GLIBC_2.15.
28255 * dirent/Makefile (routines): Add scandirat and scandirat64.
28256 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28257 GLIBC_2.15.
28258 * dirent/dirent.h: Declare scandirat and scandirat64.
28259 * dirent/scandirat.c: New file.
28260 * dirent/scandirat64.c: New file.
28261 * sysdeps/wordsize-64/scandirat.c: New file.
28262 * sysdeps/wordsize-64/scandirat64.c: New file.
28263 * dirent/opendir.c: Define opendirat.
28264 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28265 using scandirat.
28266 * dirent/scandir64.c: Adjust for scandir.c change.
28267 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28268 __scandirat64, and __scandir_cancel_handler.
28269 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28270 additional parameter and use openat instead of open (outside of ld.so).
28271 Add new __opendir as wrapper around __opendirat.
28272 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28273 here without requiring old scandirat implementation.
28274
879165f2
UD
282752011-08-08 Ulrich Drepper <drepper@gmail.com>
28276
28277 * dirent/scandir.c (cancel_handler): Renamed to
28278 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28279 defined. Adjust users.
28280 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28281 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28282
cb7e923b
UD
282832011-08-04 Ulrich Drepper <drepper@gmail.com>
28284
16292edd
UD
28285 * string/test-string.h (IMPL): Use __STRING to expand name and then
28286 stringify it.
28287
cb7e923b
UD
28288 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28289 of cleanups.
28290
cff82933
LD
282912011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28292
28293 * string/Makefile: Update.
28294 (strop-tests): Append strncat.
28295 * string/test-wcscmp.c: New file.
28296 New comprehensive test for wcscmp.
28297 * string/test-strcmp.c: Update.
28298 (WIDE): New define.
28299
9be9bfcc
AS
283002011-07-22 Andreas Schwab <schwab@redhat.com>
28301
28302 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28303 line.
28304
2e96f1c7
AS
283052011-07-26 Andreas Schwab <schwab@redhat.com>
28306
28307 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28308 encoding to ACE if AI_IDN.
28309
85188888
JJ
283102011-08-01 Jakub Jelinek <jakub@redhat.com>
28311
28312 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28313 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28314
5fa16e9b
LD
283152011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28316
28317 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28318 Fix overflow bug in strncat.
28319 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28320
28321 * string/test-strncat.c: Update.
28322 Add new tests for checking overflow bugs.
28323
283242011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28325
28326 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28327 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28328 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28329 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28330 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28331 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28332 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28333 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28334 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28335
28336 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28337 (USE_AS_STRCAT): Define.
28338 Add strcat and strncat support.
28339 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28340
8c1a459f
AS
283412011-07-25 Andreas Schwab <schwab@redhat.com>
28342
28343 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28344 __n bigger than INT_MAX+1.
28345 (__strncmp_g): Likewise.
28346
bba33c28
UD
283472011-07-23 Ulrich Drepper <drepper@gmail.com>
28348
798be72d
UD
28349 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28350 * libio/stido.h: Likewise.
28351
8accd4dc
UD
28352 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28353 (AF_NFC): Define.
28354 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28355 (AF_NFC): Define.
28356
cbff0d96
UD
28357 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28358 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28359 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28360 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28361 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28362
9191c04a
UD
28363 [BZ #13021]
28364 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28365 installed.
28366
bba33c28
UD
28367 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28368 typo.
28369 (_dl_x86_64_save_sse): Likewise.
28370
90f139dd
UD
283712011-07-22 Ulrich Drepper <drepper@gmail.com>
28372
1aae088a
UD
28373 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28374 OSXSAVE.
28375 (_dl_x86_64_save_sse): Likewise.
28376
8e2045f5
UD
28377 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28378
90f139dd
UD
28379 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28380
1d002f25
AS
283812011-07-21 Andreas Schwab <schwab@redhat.com>
28382
28383 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28384 change.
28385 (_dl_x86_64_save_sse): Use correct AVX check.
28386
21137f89
UD
283872011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28388
28389 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28390 bug in strncpy/strncat.
28391 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28392
a65c0b7a
UD
283932011-07-21 Ulrich Drepper <drepper@gmail.com>
28394
28395 * string/tester.c (test_strcat): Add tests for different alignments
28396 of source and destination.
28397 (test_strncat): Likewise.
28398
6986b98a
UD
283992011-07-20 Ulrich Drepper <drepper@gmail.com>
28400
90bb2039
UD
28401 [BZ #12852]
28402 * posix/glob.c (glob): Check passed in values before using them in
28403 expressions to avoid some overflows.
28404 (glob_in_dir): Likewise.
28405
5644ef54
UD
28406 [BZ #13007]
28407 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28408 check for AVX enablement so that we don't crash with old kernels and
28409 new hardware.
28410 * elf/tst-audit4.c: Add same checks here.
28411 * elf/tst-audit6.c: Likewise.
28412
28413 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 28414
bfc9dc9b
AS
284152011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28416
28417 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28418
702e64bb
UD
284192011-07-20 Ulrich Drepper <drepper@gmail.com>
28420
28421 * po/cs.po: Update from translation team.
28422 * po/bg.po: Likewise.
28423
295e904f
MP
284242011-07-12 Marek Polacek <mpolacek@redhat.com>
28425
28426 * misc/sys/cdefs.h: Add support for const attribute.
28427 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28428 to gnu_dev_{major,minor,makedev} functions.
28429
3ff94596
MP
284302011-07-20 Marek Polacek <mpolacek@redhat.com>
28431
28432 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28433
28b59fca
AS
284342011-07-20 Andreas Schwab <schwab@redhat.com>
28435
28436 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28437 strlen results.
28438
19df733e
AK
284392011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28440
28441 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28442 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28443 register in order to avoid conflicts with the soft frame pointer
28444 being held in r11 when necessary.
28445 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28446 (INTERNAL_VSYSCALL_NCS): Likewise.
28447
c8835729
MP
284482011-07-14 Marek Polacek <mpolacek@redhat.com>
28449
28450 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28451 * elf/dl-fini.c (_dl_fini): Adjust caller.
28452 * elf/dl-close.c (_dl_close_worker): Likewise.
28453 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28454
b902330c
MP
284552011-07-15 Marek Polacek <mpolacek@redhat.com>
28456
8991e135
MP
28457 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28458 "aux_cache->nlibs < 0".
28459
b902330c
MP
28460 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28461 in the reload-count case.
28462
99710781
LD
284632011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28464
28465 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28466 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28467 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28468 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28469 * sysdeps/x86_64/multiarch/strcat.S: New file.
28470 * sysdeps/x86_64/multiarch/strncat.S: New file.
28471 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28472 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28473 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28474 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28475 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28476 (USE_AS_STRCAT): Define.
28477 Add strcat and strncat support.
28478 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28479 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28480 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28481 * string/strncat.c: Update.
28482 (USE_AS_STRNCAT): Define.
28483 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28484 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28485 and i7.
28486 * sysdeps/x86_64/multiarch/init-arch.h
28487 (bit_Prefer_PMINUB_for_stringop): New.
28488 (index_Prefer_PMINUB_for_stringop): Likewise.
28489 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28490 bit_Prefer_PMINUB_for_stringop.
28491
7dc6bd90
UD
284922011-07-19 Ulrich Drepper <drepper@gmail.com>
28493
28494 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28495 buffer64.
28496 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28497 of casting of buffer.
28498 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28499 buffer32 and buffer64.
28500 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28501 writes instead of casting of buffer.
28502 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28503 buffer32.
28504 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28505 casting of buffer.
28506
e0e72284
AS
285072011-07-19 Andreas Schwab <schwab@redhat.com>
28508
28509 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28510
feb1eb0b
UD
285112011-07-19 Ulrich Drepper <drepper@gmail.com>
28512
28513 * nscd/nscd.c (termination_handler): Don't do anything for a database
28514 if it has not yet been initialized.
28515
298711ff
UD
285162011-07-18 Ulrich Drepper <drepper@gmail.com>
28517
28518 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28519
285202011-07-15 Marek Polacek <mpolacek@redhat.com>
28521
28522 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28523
f9d68389
UD
285242011-07-18 Ulrich Drepper <drepper@gmail.com>
28525
28526 * po/nl.po: Update from translation team.
28527 * po/sv.po: Likewise.
28528
db290cf5
RM
285292011-07-16 Roland McGrath <roland@hack.frob.com>
28530
28531 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28532 now disallowed by GCC.
5c550700 28533
fd5e21c7
RM
28534 * configure.in (use-default-link): Default to yes if a test -shared
28535 link meets our qualifications.
28536 * configure: Regenerated.
28537
5c550700
RM
28538 * config.make.in (output-format): New variable.
28539 * configure.in: Check for ld --print-output-format support.
28540 * configure: Regenerated.
28541 * Makerules ($(common-objpfx)format.lds)
28542 [$(output-format) != unknown]: Just use $(output-format),
28543 instead of the linker-script munging.
28544
9fa2c032
RM
285452011-07-14 Roland McGrath <roland@hack.frob.com>
28546
a6928d51
RM
28547 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28548 of $(common-objpfx)shlib.lds.
28549 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28550
661607b3
RM
28551 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28552 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28553
9fa2c032
RM
28554 * configure.in (-z relro check): Adjust test code to add a large
28555 writable data section after it.
28556 * configure: Regenerated.
28557
defe9061
RM
285582011-07-11 Roland McGrath <roland@hack.frob.com>
28559
28560 * configure.in (-z relro check): Fix test code to make the variable
28561 truly const.
28562 * configure: Regenerated.
28563
319b9ad4
UD
285642011-07-11 Ulrich Drepper <drepper@gmail.com>
28565
28566 * nscd/nscd.h (struct traced_file): Define.
28567 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28568 elements. Add traced_files.
28569 (inotify_fd): Declare.
28570 (register_traced_file): Declare.
28571 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28572 (inotify_fd): Export.
28573 (resolv_conf_descr): Remove.
28574 (nscd_init): Move inotify descriptor creation to main.
28575 Don't register files for notification here.
28576 (register_traced_file): New function.
28577 (invalidate_cache): Don't use reset_res to determine whether to call
28578 res_init, go through the list of registered files.
28579 (main_loop_poll): The inotify descriptors are now stored in the
28580 structures for the traced files.
28581 (main_loop_epoll): Likewise
28582 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28583 to __nss_disable_nscd.
28584 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28585 for a database anymore. Check the records for all the registered
28586 files instead.
28587 * nss/Makefile (libnss_files-routines): Add files-init.
28588 (libnss_db-routines): Add db-init.
28589 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28590 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28591 * nss/nss_db/db-init.c: New file.
28592 * nss/nss_files/files-init.c: New file.
28593 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28594 __nss_lookup_function.
28595 (__nss_lookup_function): Call nss_load_library.
28596 (nss_load_all_libraries): New function.
28597 (__nss_disable_nscd): Take parameter with callback function for files
28598 to register. Set is_nscd. Load all the DSOs for the NSS modules
28599 used for the cached services.
28600 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28601 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28602 options for features to all the files in nscd.
28603
28604 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28605
23bee3e8
RM
286062011-07-10 Roland McGrath <roland@hack.frob.com>
28607
28608 * csu/elf-init.c (__libc_csu_init): Comment typo.
28609
46a5b7f0
UD
286102011-07-09 Ulrich Drepper <drepper@gmail.com>
28611
28612 * po/pl.po: Update from translation team.
28613 * po/ja.po: Likewise.
28614 * po/ru.po: Likewise.
28615 * po/ko.po: Likewise.
28616 * po/fr.po: Likewise.
28617
d30cf5bb
RM
286182011-07-09 Roland McGrath <roland@hack.frob.com>
28619
113ddea4
RM
28620 * configure.in (.ctors/.dtors header and trailer check):
28621 Use an empirical test on a built program.
28622 * configure: Regenerated.
28623
574920b4
RM
28624 * configure.in (-z relro check): Use an empirical test on a built DSO.
28625 Detect, but do not require, on ia64.
28626 * configure: Regenerated.
28627
d30cf5bb
RM
28628 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28629 Update tests that use readelf to use $READELF instead.
28630 * configure: Regenerated.
28631
8538fdb3
UD
286322011-07-08 Ulrich Drepper <drepper@gmail.com>
28633
28634 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28635 if the result is not used.
28636
04d08991
AJ
286372011-07-05 Andreas Jaeger <aj@suse.de>
28638
28639 [BZ#9696]
28640 * stdlib/tst-strtod.c: Add testcase.
28641
de283087
AD
286422011-07-07 Ulrich Drepper <drepper@gmail.com>
28643
4e5f31c8 28644 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 28645 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
28646 The latter has a higher limit. Take additional parameter to pass to
28647 the new function.
28648 (__pathconf): Pass file to __statfs_link_max.
28649 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28650 __statfs_link_max.
28651 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28652 __statfs_link_max.
28653
de283087
AD
28654 [BZ #12868]
28655 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28656 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28657 Handle Lustre.
28658 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28659 (__statfs_filesize_max): Likewise.
28660 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28661
c75fa153
AJ
286622011-07-05 Andreas Jaeger <aj@suse.de>
28663
28664 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28665
1a544854
UD
286662011-07-06 Marek Polacek <mpolacek@redhat.com>
28667
28668 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28669 `status' variable.
28670 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28671 Likewise.
28672
6f0eec67
UD
286732011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28674
28675 * Makefile (strop-tests): Add strncat.
28676 * string/test-strncat.c: New file.
28677
aae30307
UD
286782011-06-30 Marek Polacek <mpolacek@redhat.com>
28679
28680 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28681
c0cfb5eb
UD
286822011-06-21 Andreas Jaeger <aj@suse.de>
28683
28684 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28685 Copy rule from iconvdata/Makefile.
28686
01636b21
UD
286872011-07-06 Ulrich Drepper <drepper@gmail.com>
28688
28689 [BZ #12922]
28690 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28691 but no long options are defined, just return 'W'.
28692
9895c8bc
UD
286932011-06-22 Marek Polacek <mpolacek@redhat.com>
28694
28695 [BZ #9696]
28696 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28697
5d4cf042
UD
286982011-07-06 Ulrich Drepper <drepper@gmail.com>
28699
28700 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28701 netgroups to read.
960e5535 28702 (innetgr): Likewise.
5d4cf042 28703
751eb97e
RM
287042011-07-05 Roland McGrath <roland@hack.frob.com>
28705
28706 * config.make.in (install_root): Default to $(DESTDIR).
28707
f15f1e45
UD
287082011-07-05 Ulrich Drepper <drepper@gmail.com>
28709
28710 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28711
4e34ac6a
RM
287122011-07-02 Roland McGrath <roland@hack.frob.com>
28713
5e9b6af4
RM
28714 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28715
84f9ea0f
RM
28716 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28717 containing directory rather than embedding absolute directory names.
28718
ea5ee9f7
RM
28719 * scripts/check-local-headers.sh: Rewritten using awk.
28720 Match by word, not by line. Print error messages for matches.
28721 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28722
1b74661a
RM
28723 * Makerules [shlib-lds-flags empty]:
28724 ($(common-objpfx)libc_pic.opts): New target.
28725 ($(common-objpfx)libc_pic.os.clean): New target.
28726 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28727
28728 * config.make.in (OBJCOPY): New variable.
28729 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28730 * configure: Regenerated.
28731
f781ef40
RM
28732 * config.make.in (use-default-link): New variable.
28733 * configure.in (use_default_link): Grok --with-default-link to set it.
28734 * configure: Regenerated.
28735 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28736 (shlib-lds, shlib-lds-flags): Define to empty.
28737
2d4fa81e
RM
28738 * Makerules (shlib-lds): New variable.
28739 (shlib-lds-flags): New variable.
28740 (build-shlib, build-moduile, build-module-asneeded): Use it.
28741 ($(common-objpfx)libc.so): Use $(shlib-lds).
28742 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28743 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28744
31fffa6b
RM
28745 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28746 DT_FLAGS/DT_FLAGS_1 with zero flags.
28747
4e34ac6a
RM
28748 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28749 linker script munging.
28750
fcfc776b
UD
287512011-07-02 Ulrich Drepper <drepper@gmail.com>
28752
28753 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28754 as 128-bit value.
28755 * crypt/sha512.c (sha512_process_block): Perform total addition using
28756 128-bit if possible.
28757 (__sha512_finish_ctx): Likewise.
28758 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28759 as 64-bit value.
28760 * crypt/sha256.c (SWAP64): Define.
28761 (sha256_process_block): Perform total addition using 64-bit if
28762 possible.
28763 (__sha256_finish_ctx): Likewise.
28764
99231d9a
UD
287652011-07-01 Ulrich Drepper <drepper@gmail.com>
28766
28767 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28768 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28769 * nscd/hstcache.c (cache_addhst): Likewise.
28770 * nscd/grpcache.c (cache_addgr): Likewise.
28771 * nscd/aicache.c (addhstaiX): Likewise
28772 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28773
445b4a53
TK
287742011-07-01 Thorsten Kukuk <kukuk@suse.de>
28775
28776 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28777 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28778 * nscd/hstcache.c (cache_addhst): Likewise.
28779 * nscd/grpcache.c (cache_addgr): Likewise.
28780 * nscd/aicache.c (addhstaiX): Likewise
28781
6d4d8e8e
AS
287822011-07-01 Andreas Schwab <schwab@redhat.com>
28783
28784 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28785 domain only when needed.
28786
89f654c5
AS
287872011-06-30 Andreas Schwab <schwab@redhat.com>
28788
28789 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28790 is always restored.
28791
cf3b23ff
UD
287922011-06-29 Ulrich Drepper <drepper@gmail.com>
28793
28794 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28795 are re-adding the entry.
28796 * nscd/servicescache.c (cache_addserv): Likewise.
28797
751626f9
AJ
287982011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28799
28800 * sysdeps/generic/dl-irel.h: fix protection against multiple
28801 inclusions.
28802 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28803
9113ea1f
UD
288042011-06-28 Ulrich Drepper <drepper@gmail.com>
28805
5c0b8d90
UD
28806 [BZ #12935]
28807 * malloc/memusage.sh: Fix quoting in message.
28808 * debug/xtrace.sh: Likewise.
28809
9113ea1f
UD
28810 * configure.in: Remove support for --experimental-malloc option, make
28811 it the default.
28812 * config.make.in: Likewise.
28813 * malloc/Makefile: Likewise.
28814
a4172181
AS
288152011-06-27 Andreas Schwab <schwab@redhat.com>
28816
28817 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28818 two-byte characters.
28819
78a7eee7
RM
288202011-06-27 Roland McGrath <roland@hack.frob.com>
28821
62bede13
RM
28822 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28823 AC_CACHE_CHECK invocation.
28824 * configure: Regenerated.
28825
78a7eee7
RM
28826 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28827
5ce33a62
UD
288282011-06-27 Ulrich Drepper <drepper@gmail.com>
28829
034807a9
UD
28830 [BZ #12350]
28831 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
28832 bit from old_res_options.
28833
4902da17
UD
28834 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28835
5ce33a62
UD
28836 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28837 value type for setfct.
28838
c2344f56
L
288392011-06-23 H.J. Lu <hongjiu.lu@intel.com>
28840
28841 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28842 __gettimeofday instead of gettimeofday.
28843
68468076
UD
288442011-06-26 Ulrich Drepper <drepper@gmail.com>
28845
28846 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28847
acb0d739
L
288482011-06-24 H.J. Lu <hongjiu.lu@intel.com>
28849
28850 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28851
28852 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28853 info.
28854
8912479f
L
288552011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28856
28857 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28858 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28859 strcpy-sse2-unaligned strncpy-sse2-unaligned
28860 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28861 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28862 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28863 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28864 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28865 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28866 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28867 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28868 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28869 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28870 (STRCPY): Support SSE2 and SSSE3 versions.
28871
d5495a11
UD
288722011-06-24 Ulrich Drepper <drepper@gmail.com>
28873
28874 [BZ #12874]
28875 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28876 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28877 kernels which artificially limit size of requests.
28878
0b1cbaae
L
288792011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28880
28881 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28882 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28883 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28884 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28885 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28886 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28887 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28888 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28889 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28890 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28891 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28892 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28893 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28894 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28895 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28896 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28897 Enable unaligned load optimization for Intel Core i3, i5 and i7
28898 processors.
28899 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28900 Define.
28901 (index_Fast_Unaligned_Load): Define.
28902 (HAS_FAST_UNALIGNED_LOAD): Define.
28903
07f494a0
MP
289042011-06-23 Marek Polacek <mpolacek@redhat.com>
28905
28906 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28907
fa3fc0fe
UD
289082011-06-22 Ulrich Drepper <drepper@gmail.com>
28909
28910 [BZ #12907]
28911 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28912 until it is clear that the information is realy needed.
28913 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28914
e12df166
AS
289152011-06-22 Andreas Schwab <schwab@redhat.com>
28916
28917 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28918
852eb34d
UD
289192011-06-22 Ulrich Drepper <drepper@gmail.com>
28920
84e2a551
UD
28921 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28922 /sys/devices/system/cpu/online if it is usable.
28923
852eb34d
UD
28924 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28925 reading the information from the /proc filesystem to once a second.
28926
6e502e19
UD
289272011-06-21 Andreas Jaeger <aj@suse.de>
28928
28929 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28930 NULL after inclusion of kernel headers.
28931
75d39ff2
UD
289322011-06-21 Ulrich Drepper <drepper@gmail.com>
28933
51f9aa6a
UD
28934 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28935 calls to internal_setent.
28936
c0244a9d
UD
28937 [BZ #12885]
28938 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28939 addresses using gethostbyname4_r ignore IPv4 addresses.
28940
c5e3c2ae
UD
28941 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28942 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
28943
75d39ff2
UD
28944 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28945
42675c6f
DM
289462011-06-20 David S. Miller <davem@davemloft.net>
28947
28948 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28949 inclusions.
28950 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28951
28952 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28953 (elf_irel): Use it.
28954 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28955 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28956 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
28957 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
28958 * sysdeps/x86_64/dl-irel.h: Likewise.
28959
28960 * elf/dl-runtime.c: Use elf_ifunc_invoke.
28961 * elf/dl-sym.c: Likewise.
28962
57912a71
UD
289632011-06-15 Ulrich Drepper <drepper@gmail.com>
28964
28965 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
28966 need to dereference resplen2.
28967
ee22793d
AS
289682011-06-14 Andreas Schwab <schwab@redhat.com>
28969
28970 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
28971
a9e836b0
UD
289722011-06-15 Ulrich Drepper <drepper@gmail.com>
28973
77fb9117
UD
28974 * Makeconfig: Define vardbdir and inst_vardbdir.
28975 * nss/Makefile: Add rules to install db-Makefile.
28976
40c1b22c
UD
28977 * nss/nss_db/db-XXX.c: Cleanup.
28978
9f2da732
UD
28979 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
28980 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
28981 GLIBC_PRIVATE.
28982 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
28983 * nss/makedb.c: Implement -g option to specify that value strings
28984 are generated and should not be added to table iterated over for
28985 get*ent calls.
28986 * nss/nss_db/db-initgroups.c: New file.
28987
82e9a1f7
UD
28988 * nss/getent.c: Add support for initgroups lookups through getgrouplist
28989 interface.
28990
c41af17e
UD
28991 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
28992 (internal_getgrouplist): Adjust to name change.
28993 Update use_initgroups_entry if this is not the first call.
28994 * nss/databases.def: Add initgroups entry.
28995
a9e836b0
UD
28996 * nss/makedb.c (compute_tables): Check result of multiple hash table
28997 sizes to minimize maximum chain length.
28998
2666d441
UD
289992011-06-14 Ulrich Drepper <drepper@gmail.com>
29000
29001 * Versions.def: Add entry for libnss_db.
29002 * shlib-versions: Likewise.
29003 * nss/Makefile: Add rules to build libnss_db.
29004 * nss/Versions: Add libnss_db information. Organize libnss_files
29005 entries better.
29006 * nss/db-Makefile: Add gshadow support. Change rules for the new
29007 makedb progra. Some minor improvements to generate smaller files.
29008 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29009 here from...
29010 * nss/makedb.c: ...here.
29011 Improve database format to be smaller and require less memory at
29012 runtime.
29013 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29014 db anymore.
29015 * nss/nss_db/db-netgrp.c: Likewise.
29016 * nss/nss_db/db-open.c: Likewise.
29017 * nss/nss_files/flies-XXX.x: Adjust comments.
29018 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29019 * nss/nss_files/files-grp.c: Likewise.
29020 * nss/nss_files/files-hosts.c: Likewise.
29021 * nss/nss_files/files-network.c: Likewise.
29022 * nss/nss_files/files-proto.c: Likewise.
29023 * nss/nss_files/files-pwd.c: Likewise.
29024 * nss/nss_files/files-rpc.c: Likewise.
29025 * nss/nss_files/files-service.c: Likewise.
29026 * nss/nss_files/files-sgrp.c: Likewise.
29027 * nss/nss_files/files-spwd.c: Likewise.
29028 * nss/nss_db/db-alias.c: Removed.
29029 * nss/nss_db/dummy-db.h: Removed.
29030
9ee76b5a
UD
290312011-06-02 Ulrich Drepper <drepper@gmail.com>
29032
29033 * nss/makedb.c: Rewritten to not use database library.
29034 * nss/Makefile: Update to build new makedb program.
29035
c71ca1f8
AJ
290362011-06-14 Andreas Jaeger <aj@suse.de>
29037
29038 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29039 memset declaration.
29040
3154bfb8
UD
290412011-06-10 Andreas Schwab <schwab@redhat.com>
29042
29043 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29044 tmpbuf.
29045
b350afab
RM
290462011-06-10 Roland McGrath <roland@hack.frob.com>
29047
decd4e50
RM
29048 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29049 * elf/Makefile ($(objpfx)ld.so): Likewise.
29050
5615eaf2
RM
29051 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29052 Don't list ld.so twice in dependencies.
29053
29054 * posix/bug-regex31.c: Include <stdlib.h>.
29055
29056 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29057
29058 * nis/nss_compat/compat-spwd.c
29059 (getspent_next_nss_netgr): Remove unused variable.
29060 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29061
29062 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29063 nonmembers" output to use the right array.
29064
29065 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29066
29067 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29068
29069 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29070 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29071 * catgets/gencat.c (read_input_file): Likewise.
29072 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29073
29074 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29075 variable definition inside #if's controlling its use.
29076
29077 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29078
29079 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29080
29081 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29082
29083 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29084 unreachable code.
29085
29086 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29087
b68e08db
RM
29088 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29089 * configure: Regenerated.
29090
b350afab
RM
29091 * Makerules: Revert last change.
29092 * elf/Makefile: Likewise.
29093
28368601
RM
290942011-06-09 Roland McGrath <roland@hack.frob.com>
29095
29096 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29097 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29098 (reloc-link): Likewise.
29099
11988f8f
UD
291002011-06-09 Ulrich Drepper <drepper@gmail.com>
29101
29102 * elf/Makefile: Add rules to build pldd.
29103 * elf/pldd.c: New file.
29104 * elf/pldd-xx.c: New file.
29105
e80fab37
UD
291062011-06-07 Ulrich Drepper <drepper@gmail.com>
29107
29108 * version.h: Update for 2.15 development version.
29109
9b849836
DM
291102011-06-07 David S. Miller <davem@davemloft.net>
29111
29112 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29113 ifuncs.
29114 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29115 elf_machine_lazy_rel): Likewise.
29116 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29117 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29118 elf_machine_lazy_rel): Likewise.
29119 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29120 dl_hwcap via passed in argument.
29121 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29122 Likewise.
29123
5a31b283
AK
291242011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29125
29126 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29127
069e52f8
RM
291282011-06-06 Roland McGrath <roland@hack.frob.com>
29129
29130 [BZ #12849]
29131 * manual/fdl-1.1.texi: New file, verbatim from:
29132 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29133 * manual/lgpl-2.1.texi: New file, verbatim from:
29134 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29135 * manual/Makefile (licenses): New variable, list those new file names.
29136 (texis): Use it.
29137 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29138
29139 * manual/fdl.texi: File removed.
29140 * manual/lesser.texi: File removed.
29141 * manual/libc.texinfo (Copying, Documentation License):
29142 Use new @include file names, put @appendix directive before @include.
29143
f16846a5
JJ
291442011-06-04 Jakub Jelinek <jakub@redhat.com>
29145
29146 [BZ #12841]
29147 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29148 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29149 (mq_open): Add __NTH.
29150
3d29045b
L
291512011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29152
29153 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29154 Assume Intel Core i3/i5/i7 processor if AVX is available.
29155
8c297311
UD
291562011-05-31 Ulrich Drepper <drepper@gmail.com>
29157
29158 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29159 typo.
29160
c8fc0c91
UD
291612011-05-31 Andreas Schwab <schwab@redhat.com>
29162
29163 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29164 memory. Use alloca_account. Fix memory leak when retrying.
29165
5b27a807
UD
291662011-05-31 Ulrich Drepper <drepper@gmail.com>
29167
356f8bc6
UD
29168 * version.h (RELEASE): Bump for 2.14 release.
29169 * include/features.h (__GLIBC_MINOR__): Bump to 14.
29170
5b27a807
UD
29171 * config.make.in (RANLIB): Remove entry.
29172
01f16ab0
UD
291732011-05-30 Ulrich Drepper <drepper@gmail.com>
29174
41fce8bd
UD
29175 * po/Makefile (po-sed-cmd): Add ksh to extensions.
29176 (libc.pot): Work around missing support for .ksh extension in xgettext.
29177
4769ae77
UD
29178 [BZ #12684]
29179 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29180 if both request failed.
29181 (send_dg): In case of server errors clear resplen or *resplen2.
29182
6b1e7d19
UD
29183 [BZ #12454]
29184 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29185 when there are multiple maps.
29186 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29187 (_dl_fini): Remove test here.
29188
01f16ab0
UD
29189 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29190
b1ebd700
UD
291912011-05-29 Ulrich Drepper <drepper@gmail.com>
29192
7ae22829
UD
29193 [BZ #12350]
29194 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29195 bit from old_res_options.
29196 (gaih_inet): Likewise.
29197
553149f6 29198 [BZ #11099]
18a84741 29199 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
29200 as signed.
29201
652ffab1
UD
29202 * resolv/res_init.c (res_setoptions): Make the code more compact.
29203
16985fd0
UD
29204 [BZ #11558]
29205 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29206 set RES_USEVC.
29207
0464f746
UD
29208 [BZ #11634]
29209 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29210
7d17596c
UD
29211 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29212
cf6bbbd7
UD
29213 [BZ #11781]
29214 * malloc/malloc.h: Declare malloc hook variables as volatile.
29215
13f1ab36
UD
29216 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29217 in last patch.
29218
b1ebd700
UD
29219 [BZ #11799]
29220 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 29221 raise in the comment.
80e2212d
UD
29222 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29223 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29224 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 29225
ce67228d
UD
292262011-05-28 Ulrich Drepper <drepper@gmail.com>
29227
8887a920
UD
29228 [BZ #12811]
29229 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29230 grow the buffers more if it already has to be sufficient.
29231 (build_wcs_upper_buffer): Likewise.
29232 * posix/regexec.c (check_matching): Likewise.
29233 (clean_state_log_if_needed): Likewise.
29234 (extend_buffers): Don't enlarge buffers beyond size of the input
29235 buffer.
29236 Patches mostly by Emil Wojak <emil@wojak.eu>.
29237 * posix/bug-regex32.c: New file.
29238 * posix/Makefile (tests): Add bug-regex32.
29239
4f031072
UD
29240 * locale/findlocale.c (_nl_find_locale): Return right away if
29241 _nl_explode_name failed.
29242 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29243
d0478f0c
UD
29244 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29245
de81b246
UD
29246 * debug/xtrace.sh: Unify messages.
29247 * malloc/memusage.sh: Likewise.
29248
c738465a
UD
29249 [BZ #12813]
29250 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29251 time symbol from vDSO. Substitute with vsyscall if not available.
29252 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29253 __vdso_time.
29254
f1f929d7
UD
29255 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29256 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29257 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29258 Add sendmmsg and internal_sendmmsg.
29259 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29260 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29261 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29262
ce67228d
UD
29263 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29264 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29265 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29266
e57420c6
UD
292672011-05-27 Ulrich Drepper <drepper@gmail.com>
29268
a8509ca5
UD
29269 [BZ #12813]
29270 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29271 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29272 available.
29273 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29274 __vdso_getcpu.
29275
e57420c6
UD
29276 [BZ #12814]
29277 * iconvdata/Makefile (tests): Add bug-iconv9.
29278 * iconvdata/bug-iconv9.c: New file.
29279
4d07db15
AS
292802011-05-27 Andreas Schwab <schwab@redhat.com>
29281
29282 [BZ #12814]
29283 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29284
ea486f69
JJ
292852011-05-25 Jakub Jelinek <jakub@redhat.com>
29286
29287 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29288 (struct user_regs_struct): Change intcs field back to cs.
29289
6f038433
UD
292902011-05-25 Ulrich Drepper <drepper@gmail.com>
29291
29292 * po/ja.po: Update from translation team.
29293
67f86a25
UD
292942011-05-23 Ulrich Drepper <drepper@gmail.com>
29295
29296 [BZ #12795]
29297 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29298 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29299
def7fbd6
AS
293002011-05-20 Andreas Schwab <schwab@redhat.com>
29301
29302 * stdlib/longlong.h: Update from GCC.
29303
f50ef8f1
AS
293042011-05-23 Andreas Schwab <schwab@redhat.com>
29305
29306 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29307 parameter name.
29308 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29309 Add parameter name.
29310 (__sysconf): Pass it down.
29311
de7ce8f1
UD
293122011-05-22 Ulrich Drepper <drepper@gmail.com>
29313
f2962a71
UD
29314 [BZ #12671]
29315 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29316 some situations.
29317 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29318 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29319 add in in __libc_use_alloca calls. Adjust callers.
29320 (glob): Use malloc in some situations.
29321
de7ce8f1
UD
29322 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29323 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29324 pltexit.
29325
aec84f53
UD
293262011-05-21 Ulrich Drepper <drepper@gmail.com>
29327
05bb4a68
UD
29328 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29329 and CLOCK_BOOTTIME_ALARM.
29330
7ea72f99
UD
29331 [BZ #12782]
29332 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29333 is returned.
29334
7e4afad5
UD
29335 * string/_strerror.c (__strerror_r): Print negative errors as signed
29336 numbers.
29337
8e211fec
UD
29338 [BZ #12777]
29339 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29340 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29341 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29342
f7d82dc9
UD
29343 * configure.in: Fix typo in redirection and correct removal of test
29344 files in two cases.
29345
cc9e536d
UD
29346 [BZ #12788]
29347 * locale/setlocale.c (new_composite_name): Fix test to check for
29348 identical name of all categories.
29349
aec84f53
UD
29350 [BZ #12792]
29351 * libio/filedoalloc.c (local_isatty): New function.
29352 (_IO_file_doallocate): Use local_isatty.
29353 * stdio-common/perror.c (perror): In case a new stream is used
29354 forward the stream error.
29355 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29356 error flag.
29357
78e64fdc
RT
293582011-05-20 Ulrich Drepper <drepper@gmail.com>
29359
34a9094f
UD
29360 [BZ #11869]
29361 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29362 alloca.
29363 * include/alloca.h (extend_alloca_account): Define.
29364
78e64fdc
RT
29365 [BZ #11857]
29366 * posix/regex.h: Fix comments with documentation of user-accessible
29367 fields after compilation and describe correct free'ing of pattern
29368 after re_compile_pattern.
29369 Patch by Reuben Thomas <rrt@sc3d.org>.
29370
457bddfc
RA
293712011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29372
29373 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29374 and -mno-altivec to prevent the compiler from using Altivec and/or
29375 VSX instructions when the corresponding registers are not available.
29376
a4527b51
AS
293772011-05-19 Andreas Schwab <schwab@redhat.com>
29378
29379 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29380
ed690b2f
UD
293812011-05-19 Ulrich Drepper <drepper@gmail.com>
29382
29383 * libio/freopen.c (freopen): Use __dup2, not dup2.
29384 * libio/freopen64.c (freopen64): Likewise.
29385
8db73634
L
293862011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29387
29388 [BZ #12775]
29389 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29390 * math/Makefile (tests): Add test-powl.
29391 (CFLAGS-test-powl.c): Define.
29392 * math/test-powl.c: New file.
29393
0a197a9d
L
293942011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29395
29396 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29397
ee30c380
UD
293982011-05-17 Ulrich Drepper <drepper@gmail.com>
29399
29400 [BZ #11837]
29401 * iconvdata/gb18030.c: Update to GB18020-2005.
29402
6ce75379
UD
294032011-05-16 Ulrich Drepper <drepper@gmail.com>
29404
a4b89fd8
AR
29405 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29406 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29407 Patch by Aharon Robbins <arnold@skeeve.com>.
29408
ea389b12
UD
29409 [BZ #11892]
29410 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29411 on the stack.
29412
68a3f91f
UD
29413 [BZ #11895]
29414 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29415 through underflows.
29416
15cc7dd1
UD
29417 [BZ #12766]
29418 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29419 point to strings before performing equality test for error_one_per_line
29420 mode.
29421
f3799213
UD
29422 [BZ #11697]
29423 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29424
d79a9c94
UD
29425 [BZ #11820]
29426 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29427 (struct user_fpregs_struct): Avoid __uint*_t types.
29428
56e5eb46
UD
29429 [BZ #6420]
29430 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29431 symbol info. Use it instead of calling _dl_addr locally.
29432 (lock_and_info): New function.
29433 (tr_freehook): Call lock_and_info and pass symbol info as additional
29434 parameter to tr_where.
29435 (tr_mallochook): Likewise.
29436 (tr_reallochook): Likewise.
29437 (tr_memalignhook): Likewise.
29438
6ce75379
UD
29439 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29440 used and couldn't be at all thread-safe.
29441
f8a3b5bf
UD
294422011-05-15 Ulrich Drepper <drepper@gmail.com>
29443
94b7cc37
UD
29444 * libio/freopen.c (freopen): Don't close old file descriptor
29445 before the new one is opened. Instead dup the new file descriptor
29446 to the old one after the new stream is created.
29447 * libio/freopen64.c (freopen64): Likewise.
29448 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29449 * libio/fileops.c (_IO_new_file_close_it): Handle new
29450 _IO_FLAGS2_NOCLOSE flag.
29451 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29452 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29453 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29454 _IO_FLAGS2_NOCLOSE flag.
29455 * include/unistd.h: Add hidden_proto for dup3.
29456 Define __have_dup3.
29457 * io/dup3.c: Define hidden symbol.
29458 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29459
bd25564e
UD
29460 [BZ #7101]
29461 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29462 when an incomplete long option is used.
29463 * posix/tst-getopt_long1.c: New file.
29464 * posix/Makefile (tests): Add tst-getopt_long1.
29465
c84cfef4
UD
29466 [BZ #10138]
29467 * scripts/config.guess: Update from autoconf-2.68.
29468 * scripts/config.sub: Likewise.
29469
3b85df27
UD
29470 [BZ #10157]
29471 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29472 tests into ...
29473 (has_cpuclock): ...this. New function.
29474 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29475 macro here based on has_cpuclock code.
29476
15a856b1
UD
29477 [BZ #10149]
29478 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29479 First byte (not low byte) is now always NUL.
29480 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29481
05f399e6
UD
29482 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29483 Use non-cancelable interfaces.
29484
10a52685 29485 [BZ #9809]
94ecc67d
UD
29486 * locale/iso-639.def: Add entry for Sorani.
29487
f8a3b5bf
UD
29488 [BZ #11901]
29489 * include/stdlib.h: Move include protection to the right place.
29490 Define abort_msg_s. Declare __abort_msg with it.
29491 * stdlib/abort.c (__abort_msg): Adjust type.
29492 * assert/assert.c (__assert_fail_base): New function. Majority
29493 of code from __assert_fail. Allocate memory for __abort_msg with
29494 mmap.
29495 (__assert_fail): Now call __assert_fail_base.
29496 * assert/assert-perr.c: Remove bulk of implementation. Use
29497 __assert_fail_base.
29498 * include/assert.hL Declare __assert_fail_base.
29499 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29500 mmap.
29501 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29502
1af4e298
UD
295032011-05-14 Ulrich Drepper <drepper@gmail.com>
29504
f8a3b5bf 29505 [BZ #11952]
d26dfc60
MG
29506 [BZ #12453]
29507 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29508 until all modules are registered in the DTV.
29509 * elf/Makefile: Add rules to build and run tst-tls19.
29510 * elf/tst-tls19.c: New file.
29511 * elf/tst-tls19mod1.c: New file.
29512 * elf/tst-tls19mod2.c: New file.
29513 * elf/tst-tls19mod3.c: New file.
29514 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29515
2fc54d6f
UD
29516 [BZ #12083]
29517 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29518 correctly.
29519
98d76b46
UD
29520 [BZ #12601]
29521 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29522 two-byte sequence errors.
29523 * iconvdata/Makefile (tests): Add bug-iconv8.
29524 * iconvdata/bug-iconv8.c: New file.
29525
da3c19ef
UD
29526 [BZ #12626]
29527 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29528 buf2 definition.
29529
ca408c15
UD
29530 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29531
d6f67f7d
UD
29532 [BZ #12432]
29533 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29534 (dummy_getcfa): New function.
29535 (init): Get _Unwind_GetCFA address, use dummy if not found.
29536 (backtrace_helper): In recursion check, also check whether CFA changes.
29537 (__backtrace): Completely initialize arg.
29538
1af4e298 29539 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
29540 storing incomplete byte sequence in state object. Avoid testing for
29541 guaranteed too small input if we know there is enough data available.
1af4e298 29542
da62f81b
AS
295432011-05-11 Andreas Schwab <schwab@redhat.com>
29544
29545 * Makeconfig (+link-pie): Indent.
29546 * Rules (binaries-pie): Define if $(have-fpie) and
29547 $(build-shared).
29548 (binaries-shared): Also filter out $(binaries-pie).
29549 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29550 * nscd/Makefile (others-pie): Add nscd.
29551 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29552 ($(objpfx)nscd): Remove command override.
29553 * login/Makefile (others-pie): Add pt_chown.
29554 ($(objpfx)pt_chown): Remove command override.
29555 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29556 remove command overrides.
29557
fcabc0f8
UD
295582011-05-13 Ulrich Drepper <drepper@gmail.com>
29559
20030ae6
UD
29560 * libio/tst_putwc.c: Fix error messages.
29561
fcabc0f8
UD
29562 [BZ #12724]
29563 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29564 currently writing and seek to current position when not.
29565 * libio/Makefile (tests): Add bug-fclose1.
29566 * libio/bug-fclose1.c: New file.
29567
320a5dc0
PB
295682011-05-12 Ulrich Drepper <drepper@gmail.com>
29569
29570 [BZ #12511]
29571 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29572 don't set DF_1_NODELETE here.
29573 (do_lookup_x): When entering new entry test for copy relocation
29574 and if necessary set DF_1_NODELETE flag.
29575 * elf/tst-unique4.cc: New file.
29576 * elf/tst-unique4.h: New file.
29577 * elf/tst-unique4lib.cc: New file.
29578 * elf/Makefile: Add rules to build and run tst-unique4.
29579 Patch by Piotr Bury <pbury@goahead.com>.
29580
22836f52
UD
295812011-05-11 Ulrich Drepper <drepper@gmail.com>
29582
f574184a
UD
29583 [BZ #12052]
29584 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29585
e1fb097f
UD
29586 [BZ #12625]
29587 * misc/mntent_r.c (addmntent): Flush the stream after the output
29588
22836f52
UD
29589 [BZ #12393]
29590 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29591 (is_trusted_path_normalize): Skip initial colon. Append slash
29592 to empty buffer. Duplicate is_trusted_path code but allow
29593 constructed patch to be prefix.
29594 (is_dst): Allow $ORIGIN followed by /.
29595 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29596 Correct testing of result of is_trusted_path_normalize
29597 (decompose_rpath): Fix warning.
29598
7b3b0b2a
UD
295992011-05-10 Ulrich Drepper <drepper@gmail.com>
29600
29601 [BZ #11257]
29602 * grp/initgroups.c (internal_getgrouplist): When we found the service
29603 list through the initgroups entry in nsswitch.conf do not always
29604 continue on a successful lookup. Don't always use the
eac80ce2 29605 __nss_group_database value if it is set.
7b3b0b2a
UD
29606 * nss/nsswitch.conf (initgroups): Change action for successful db
29607 lookup to continue for compatibility.
29608
2a81eaa5
UD
296092011-05-09 Ulrich Drepper <drepper@gmail.com>
29610
be97a69e
UD
29611 [BZ #11532]
29612 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29613 and CP774 modules.
29614 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29615 and CP774 modules.
29616 * iconvdata/tst-tables.sh: Likewise.
29617 * iconvdata/cp770.c: New file.
29618 * iconvdata/cp771.c: New file.
29619 * iconvdata/cp772.c: New file.
29620 * iconvdata/cp773.c: New file.
29621 * iconvdata/cp774.c: New file.
29622 * iconvdata/testdata/CP770: New file.
29623 * iconvdata/testdata/CP770..UTF8: New file.
29624 * iconvdata/testdata/CP771: New file.
29625 * iconvdata/testdata/CP771..UTF8: New file.
29626 * iconvdata/testdata/CP772: New file.
29627 * iconvdata/testdata/CP772..UTF8: New file.
29628 * iconvdata/testdata/CP773: New file.
29629 * iconvdata/testdata/CP773..UTF8: New file.
29630 * iconvdata/testdata/CP774: New file.
29631 * iconvdata/testdata/CP774..UTF8: New file.
29632
29633 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29634 END CHARMAP line.
29635 * iconvdata/gen-8bit-gap.sh: Likewise.
29636 * iconvdata/gen-8bit.sh: Likewise.
29637
c1e9e399
UD
29638 * locale/iso-639.def: Add ary entry.
29639
24c55fb3 29640 [BZ #11258]
96b4b1b0
UD
29641 * locale/C-translit.h.in: Add U20A1 transliteration.
29642
bdc2f971
KB
29643 [BZ #12178]
29644 * locale/iso-639.def: Add wae entry.
29645 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29646
2952b117
UD
29647 [BZ #12545]
29648 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29649 for n.
29650
2a81eaa5
UD
29651 [BZ #12711]
29652 * locale/C-translit.h.in: Add entry for U20B9.
29653 Patch by pravin.d.s@gmail.com.
29654
28377d1b
UD
296552011-05-08 Ulrich Drepper <drepper@gmail.com>
29656
7fb90fb8
UD
29657 [BZ #12713]
29658 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29659 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
29660 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29661 in rtld. Use *stat64.
7fb90fb8 29662 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 29663 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 29664 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
29665 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29666 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29667 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29668 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29669 __fstatat64 macros.
7fb90fb8
UD
29670 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29671 * dirent/rewinddir.c: Add libc_hidden_def.
29672 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 29673 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 29674
28377d1b
UD
29675 * include/dirent.h (__alloc_dir): Add flags parameter.
29676 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29677 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29678 __alloc_dir.
29679 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29680 from fdopendir if O_CLOEXEC is already set.
29681
66bdbaa4
AM
296822011-03-15 Alan Modra <amodra@gmail.com>
29683
29684 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29685 l_tls_firstbyte_offset non-zero. Save padding offset in
29686 l_tls_firstbyte_offset for later use.
29687 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29688 freeing static tls block.
29689
95721191
JN
296902011-03-05 Jonathan Nieder <jrnieder@gmail.com>
29691
29692 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29693 where #ifdef was intended. The intent is to prevent ARG_MAX from
29694 being defined by the kernel headers.
29695
f87dfb1f
UD
296962011-05-07 Ulrich Drepper <drepper@gmail.com>
29697
29698 [BZ #12734]
29699 * resolv/resolv.h: Define RES_NOTLDQUERY.
29700 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29701 no-tld-query and set RES_NOTLDQUERY.
29702 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29703 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29704 modern BIND to search name as TLD unless forbidden.
29705
47c3cd7a
UD
297062011-05-07 Petr Baudis <pasky@suse.cz>
29707 Ulrich Drepper <drepper@gmail.com>
29708
29709 [BZ #12393]
29710 * elf/dl-load.c (fillin_rpath): Move trusted path check...
29711 (is_trusted_path): ...to here.
c1e9ea35 29712 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 29713 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 29714 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 29715
8a35c912
PP
297162011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29717
29718 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29719 __BEGIN/__END_DECLS.
29720
acd41f47
UD
297212011-05-06 Ulrich Drepper <drepper@gmail.com>
29722
29723 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29724 NSS_STATUS_NOTFOUND if no record was found.
29725
597df647
AS
297262011-05-05 Andreas Schwab <schwab@redhat.com>
29727
29728 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29729 (headers-not-in-tirpc): Remove rpc/netdb.h
29730 * resolv/netdb.h: Revert last change.
29731
b9af1301
PP
297322011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29733
29734 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29735 circular dependency between libgcc.a and libc.a.
29736
4e34d5f5
AS
297372011-05-05 Andreas Schwab <schwab@redhat.com>
29738
29739 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29740 * nis/Makefile: Don't install rpcsvc/*.
29741 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29742 instead of <rpc/types.h>.
29743 (MAXHOSTNAMELEN): Define.
29744
00ee369c
AS
297452011-05-03 Andreas Schwab <schwab@redhat.com>
29746
29747 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29748
0b592a30
MB
297492011-04-28 Maciej Babinski <mbabinski@google.com>
29750
29751 [BZ #12714]
29752 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29753 gethostbyname4_r when IPv6 results are possible.
29754
6e04cbbe
UD
297552011-05-02 Ulrich Drepper <drepper@gmail.com>
29756
29757 [BZ #12723]
29758 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29759 _PC_PIPE_BUF handling.
29760
e4ecafe0
BH
297612011-04-30 Bruno Haible <bruno@clisp.org>
29762
29763 [BZ #12717]
29764 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29765 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29766 to 'int'.
29767 * inet/getnameinfo.c (getnameinfo): Likewise.
29768
125ee683
UD
297692011-04-29 Ulrich Drepper <drepper@gmail.com>
29770
29771 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29772 to groups setting in database lookup.
29773 * nss/nsswitch.conf: Add initgroups entry.
29774
b722481a
EB
297752011-04-22 Ulrich Drepper <drepper@gmail.com>
29776
29777 [BZ #12685]
29778 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29779 mode string.
29780 Patch by Eric Blake <eblake@redhat.com>.
29781
4df46dbd
L
297822011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29783
29784 * sunrpc/Makefile (need-export-routines): Add svc_run.
29785 (routines): Remove svc_run.
29786 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29787 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29788 * sunrpc/svc_run.c (svc_run): Likewise.
29789 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29790
e84142d2
UD
297912011-04-21 Ulrich Drepper <drepper@gmail.com>
29792
29793 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29794 problem in reallocation in last patch.
29795
877175d8
UD
297962011-04-20 Ulrich Drepper <drepper@gmail.com>
29797
29798 * sunrpc/Makefile: Move inclusion of Rules.
29799
ab8eed78
UD
298002011-04-19 Ulrich Drepper <drepper@gmail.com>
29801
29802 * nss/nss_files/files-initgroups.c: New file.
29803 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29804 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29805 _nss_files_initgroups_dyn.
29806
e3d8f584
RS
298072011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29808
29809 * elf/elf.h (R_ARM_IRELATIVE): Define.
29810
af190f45
UD
298112011-04-19 Ulrich Drepper <drepper@gmail.com>
29812
29813 * po/ru.po: Update from translation team.
29814
53cf59ef
UD
298152011-04-17 Ulrich Drepper <drepper@gmail.com>
29816
29817 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29818 dependencies.
29819
4c559bcd
MF
298202011-02-06 Mike Frysinger <vapier@gentoo.org>
29821
29822 [BZ #12653]
29823 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29824 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29825 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29826 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29827 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29828
4420675c
AS
298292011-03-28 Andreas Schwab <schwab@linux-m68k.org>
29830
29831 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29832 differing bytes.
29833 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29834 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29835 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29836
75ea32ab
UD
298372011-04-17 Ulrich Drepper <drepper@gmail.com>
29838
29839 [BZ #12420]
29840 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29841 storing it.
29842 * stdlib/bug-getcontext.c: New file.
29843 * stdlib/Makefile: Add rules to build and run bug-getcontext.
29844
27390476
AK
298452011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29846
29847 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29848 instructions into .machine "z9-109".
29849 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29850 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29851
10442705
AK
298522011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29853
29854 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29855 between environment variables and auxiliary vector.
29856
7b57bfe5
UD
298572011-04-16 Ulrich Drepper <drepper@gmail.com>
29858
29859 * Makefile: Add rules to build linkobj/libc.so.
29860 * include/libc-symbols.h: Define libc_hidden_nolink.
29861 * include/rpc/auth.h: Mark functions which are to be hidden.
29862 * include/rpc/auth_des.h: Likewise.
29863 * include/rpc/auth_unix.h: Likewise.
29864 * include/rpc/clnt.h: Likewise.
29865 * include/rpc/des_crypt.h: Likewise.
29866 * include/rpc/key_prot.h: Likewise.
29867 * include/rpc/pmap_clnt.h: Likewise.
29868 * include/rpc/pmap_prot.h: Likewise.
29869 * include/rpc/pmap_rmt.h: Likewise.
29870 * include/rpc/rpc_msg.h: Likewise.
29871 * include/rpc/svc.h: Likewise.
29872 * include/rpc/svc_auth.h: Likewise.
29873 * include/rpc/xdr.h: Likewise.
29874 * nis/Makefile: Link all DSOs against linkobj/libc.so.
29875 * nss/Makefile: Likewise.
29876 * sunrpc/Makefile: Don't install headers. Build library with normal
29877 entry points. Don't build rpcinfo. Link RPC tests appropriately.
29878 * sunrpc/auth_des.c: Hide exported symbols by default, export some
29879 for the compat linking library. Remove use of INTDEF/INTUSE.
29880 * sunrpc/auth_none.c: Likewise.
29881 * sunrpc/auth_unix.c: Likewise.
29882 * sunrpc/authdes_prot.c: Likewise.
29883 * sunrpc/authuxprot.c: Likewise.
29884 * sunrpc/clnt_gen.c: Likewise.
29885 * sunrpc/clnt_perr.c: Likewise.
29886 * sunrpc/clnt_raw.c: Likewise.
29887 * sunrpc/clnt_simp.c: Likewise.
29888 * sunrpc/clnt_tcp.c: Likewise.
29889 * sunrpc/clnt_udp.c: Likewise.
29890 * sunrpc/clnt_unix.c: Likewise.
29891 * sunrpc/des_crypt.c: Likewise.
29892 * sunrpc/des_soft.c: Likewise.
29893 * sunrpc/get_myaddr.c: Likewise.
29894 * sunrpc/key_call.c: Likewise.
29895 * sunrpc/key_prot.c: Likewise.
29896 * sunrpc/netname.c: Likewise.
29897 * sunrpc/pm_getmaps.c: Likewise.
29898 * sunrpc/pm_getport.c: Likewise.
29899 * sunrpc/pmap_clnt.c: Likewise.
29900 * sunrpc/pmap_prot.c: Likewise.
29901 * sunrpc/pmap_prot2.c: Likewise.
29902 * sunrpc/pmap_rmt.c: Likewise.
29903 * sunrpc/publickey.c: Likewise.
29904 * sunrpc/rpc_cmsg.c: Likewise.
29905 * sunrpc/rpc_common.c: Likewise.
29906 * sunrpc/rpc_dtable.c: Likewise.
29907 * sunrpc/rpc_prot.c: Likewise.
29908 * sunrpc/rpc_thread.c: Likewise.
29909 * sunrpc/rtime.c: Likewise.
29910 * sunrpc/svc.c: Likewise.
29911 * sunrpc/svc_auth.c: Likewise.
29912 * sunrpc/svc_authux.c: Likewise.
29913 * sunrpc/svc_raw.c: Likewise.
29914 * sunrpc/svc_run.c: Likewise.
29915 * sunrpc/svc_simple.c: Likewise.
29916 * sunrpc/svc_tcp.c: Likewise.
29917 * sunrpc/svc_udp.c: Likewise.
29918 * sunrpc/svc_unix.c: Likewise.
29919 * sunrpc/svcauth_des.c: Likewise.
29920 * sunrpc/xcrypt.c: Likewise.
29921 * sunrpc/xdr.c: Likewise.
29922 * sunrpc/xdr_array.c: Likewise.
29923 * sunrpc/xdr_float.c: Likewise.
29924 * sunrpc/xdr_intXX_t.c: Likewise.
29925 * sunrpc/xdr_mem.c: Likewise.
29926 * sunrpc/xdr_rec.c: Likewise.
29927 * sunrpc/xdr_ref.c: Likewise.
29928 * sunrpc/xdr_sizeof.c: Likewise.
29929 * sunrpc/xdr_stdio.c: Likewise.
29930
e6c61494
UD
299312011-04-10 Ulrich Drepper <drepper@gmail.com>
29932
29933 [BZ #12650]
29934 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29935 * sysdeps/ia64/dl-tls.h: Likewise.
29936 * sysdeps/powerpc/dl-tls.h: Likewise.
29937 * sysdeps/s390/dl-tls.h: Likewise.
29938 * sysdeps/sh/dl-tls.h: Likewise.
29939 * sysdeps/sparc/dl-tls.h: Likewise.
29940 * sysdeps/x86_64/dl-tls.h: Likewise.
29941 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29942
34fe483e
AS
299432011-03-14 Andreas Schwab <schwab@redhat.com>
29944
29945 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29946 rpath element also skip the following colon.
29947 (expand_dynamic_string_token): Add is_path parameter and pass
29948 down to DL_DST_REQUIRED and _dl_dst_substitute.
29949 (decompose_rpath): Call expand_dynamic_string_token with
29950 non-zero is_path. Ignore empty rpaths.
29951 (_dl_map_object_from_fd): Call expand_dynamic_string_token
29952 with zero is_path.
29953
f12a32e6
AS
299542011-04-08 Andreas Schwab <schwab@linux-m68k.org>
29955
29956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29957 Make cancelable.
29958
38a7d692
UD
299592011-04-09 Ulrich Drepper <drepper@gmail.com>
29960
29961 [BZ #12655]
29962 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
29963 Patch by Filipe David Manana <fdmanana@apache.org>.
29964
e451d22b
AS
299652011-04-07 Andreas Schwab <schwab@redhat.com>
29966
29967 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
29968 Maintain aligned stack.
29969 (CHECK_RSP): Remove unused macro.
29970
dedc7c7b
UD
299712011-04-03 Ulrich Drepper <drepper@gmail.com>
29972
29973 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
29974 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
29975
94521213
UD
299762011-04-02 Ulrich Drepper <drepper@gmail.com>
29977
29978 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
29979
8cb700c0 29980 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 29981
0354e355
L
299822011-03-26 H.J. Lu <hongjiu.lu@intel.com>
29983
29984 [BZ #12518]
29985 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
29986 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
29987 * sysdeps/x86_64/memmove.c: New file.
29988 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
29989 (memcpy): Renamed to ...
29990 (__new_memcpy): This.
29991 (memcpy): Provide GLIBC_2_14 memcpy.
29992 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
29993 (memcpy): Provide GLIBC_2_2_5 memcpy.
29994
8593482f
UD
299952011-04-01 Ulrich Drepper <drepper@gmail.com>
29996
29997 [BZ #12631]
29998 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
29999
81a5726b
AS
300002011-03-30 Andreas Schwab <schwab@redhat.com>
30001
30002 * misc/syncfs.c: New file.
30003 * misc/Makefile (routines): Add syncfs.
30004 * posix/unistd.h: Declare syncfs.
30005 * sysdeps/unix/syscalls.list: Add syncfs.
30006
00e5419f
AS
300072011-04-01 Andreas Schwab <schwab@redhat.com>
30008
30009 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30010 open_by_handle_at.
30011 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30012 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30013 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30014 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30015 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30016 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30017 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30018
748876bf
UD
300192011-04-01 Ulrich Drepper <drepper@gmail.com>
30020
658e451d
UD
30021 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30022 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30023 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30024 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30025 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30026 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30027 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30028
748876bf
UD
30029 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30030 sync_file_range.c with -fexceptions.
30031 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30032 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30033 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30034 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30035 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30036 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30037 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
30038 sync_file_range as cancellation point
30039 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30040 now a wrapper around __call_sync_file_range with cancellation handling.
30041 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30042 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30043 function name to __call_sync_file_range.
30044 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30045 Add call_sync_file_range.
748876bf 30046
6e63d5e1
AS
300472011-04-01 Andreas Schwab <schwab@redhat.com>
30048
30049 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 30050 bits/timex.h.
6e63d5e1 30051
46998f74
UD
300522011-04-01 Ulrich Drepper <drepper@gmail.com>
30053
4c1423ed
UD
30054 * iconv/iconv.h: Fix typo in comment.
30055 * io/fcntl.h: Likewise.
30056 * libio/stdio.h: Likewise.
30057 * posix/spawn.h: Likewise.
30058 * posix/unistd.h: Likewise.
30059 * stdlib/stdlib.h: Likewise.
30060 * time/time.h: Likewise.
30061 * wcsmbs/wchar.h: Likewise.
30062
158648c0
UD
30063 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30064 open_by_handle): Add.
30065 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30066 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30067 Augment a few comments.
30068 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30069 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30070 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30071 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30072 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30073 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30074 open_by_handle.
30075
46998f74
UD
30076 * io/fcntl.h (AT_EMPTY_PATH): Define.
30077
83fe108b
UD
300782011-03-30 Ulrich Drepper <drepper@gmail.com>
30079
30080 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30081 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30082 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30083 to...
30084 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
30085 * Versions.def: Add GLIBC_2.14.
30086 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30087 Export.
83fe108b 30088
bb242059
UD
300892011-03-22 Ulrich Drepper <drepper@gmail.com>
30090
30091 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30092 round counter.
30093 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30094
c97a1282
L
300952011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30096
30097 [BZ #12597]
30098 * string/test-strncmp.c (do_page_test): New function.
30099 (check2): Likewise.
30100 (test_main): Call check2.
30101 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30102
2a115601
UD
301032011-03-20 Ulrich Drepper <drepper@gmail.com>
30104
30105 [BZ #12587]
30106 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30107 Handle cache information in CPU leaf 4.
30108 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30109
8126d904
UD
301102011-03-18 Ulrich Drepper <drepper@gmail.com>
30111
042c49c6 30112 [BZ #12583]
8126d904
UD
30113 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30114 character representation.
30115 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30116
ccfe366e
RA
301172011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30118
30119 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30120 END(__isnan) to END(__isnanf) to match function entry point/label
30121 EALIGN(__isnanf,...).
30122
c6e13027
JJ
301232011-03-10 Jakub Jelinek <jakub@redhat.com>
30124
30125 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30126
33f85a3f
UD
301272011-03-10 Ulrich Drepper <drepper@gmail.com>
30128
028478fa
UD
30129 [BZ #12510]
30130 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30131 copy from the symbol referenced in the relocation to initialize the
30132 used variable.
30133 Patch by Piotr Bury <pbury@goahead.com>.
30134 * elf/Makefile: Add rules to build and tst-unique3.
30135 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30136 * elf/tst-unique3.cc: New file.
30137 * elf/tst-unique3.h: New file.
30138 * elf/tst-unique3lib.cc: New file.
30139 * elf/tst-unique3lib2.cc: New file.
30140
33f85a3f
UD
30141 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30142
03592fc7
MF
301432011-03-10 Mike Frysinger <vapier@gentoo.org>
30144
30145 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30146 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30147 to _start.
03592fc7 30148
6a5ee102
UD
301492011-03-06 Ulrich Drepper <drepper@gmail.com>
30150
30151 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30152 to-be-loaded object along a path to loader is ld.so.
30153
7e4ba49c
HJ
301542011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30155 Ulrich Drepper <drepper@gmail.com>
30156
30157 * sysdeps/x86_64/memset.S: After aligning destination, code
30158 branches to different locations depending on the value of
30159 misalignment, when multiarch is enabled. Fix this.
30160
301612011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30162
30163 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30164 Set _x86_64_preferred_memory_instruction for AMD processsors.
30165 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30166 Set bit_Prefer_SSE_for_memop for AMD processors.
30167
13a804de
UD
301682011-03-04 Ulrich Drepper <drepper@gmail.com>
30169
30170 * libio/fmemopen.c (fmemopen): Optimize a bit.
30171
9d25c392
AS
301722011-03-03 Andreas Schwab <schwab@redhat.com>
30173
30174 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30175
a5543c6a
RM
301762011-03-03 Roland McGrath <roland@redhat.com>
30177
30178 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30179
012d35f7
DM
301802011-02-28 Aurelien Jarno <aurelien@aurel32.net>
30181
7e4ba49c 30182 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
30183 __bzero_ultra1 instead of __memset_ultra1.
30184
4bff6e01
AS
301852011-02-23 Andreas Schwab <schwab@redhat.com>
30186 Ulrich Drepper <drepper@gmail.com>
30187
30188 [BZ #12509]
30189 * include/link.h (struct link_map): Add l_orig_initfini.
30190 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30191 returning unsuccessfully.
30192 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30193 close of a file loaded at startup, restore the original l_initfini
30194 list.
30195 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30196 list, store the pointer.
30197 * elf/Makefile ($(objpfx)noload-mem): New rule.
30198 (noload-ENV): Define.
30199 (tests): Add $(objpfx)noload-mem.
30200 * elf/noload.c: Include <memcheck.h>.
30201 (main): Call mtrace. Close all opened handles.
30202
f2092faf
AS
302032011-02-17 Andreas Schwab <schwab@redhat.com>
30204
30205 [BZ #12454]
30206 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30207 dependencies are missing.
30208
6c8a2e88
ST
302092011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30210
f2092faf 30211 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
30212 Hurd needs munmap.
30213 * sysdeps/mach/hurd/ifreq.h: New file.
30214
84a42118
PB
302152011-01-27 Petr Baudis <pasky@suse.cz>
30216 Ulrich Drepper <drepper@gmail.com>
30217
071f805e 30218 [BZ 12445]#
84a42118
PB
30219 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30220 to extend_alloca().
30221 * stdio-common/bug23.c: New file.
30222 * stdio-common/Makefile (tests): Add bug23.
30223
e23fe25b
AS
302242010-09-28 Andreas Schwab <schwab@redhat.com>
30225 Ulrich Drepper <drepper@gmail.com>
30226
30227 [BZ #12489]
30228 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30229 before performing relro protection. At old place add assertion
30230 to make sure nothing changed.
30231
d3f02e10
NS
302322011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30233 Glauber de Oliveira Costa <glommer@gmail.com>
30234
30235 * elf/elf.h: Add new ARM TLS relocs.
30236
d55fd7a5
RA
302372011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30238
30239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30240 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30241 cast from r3.
30242 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30243 'tests' variable.
30244 * sysdeps/wordsize-64/tst-writev.c: New file.
30245
2206397e
RA
302462011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30247
30248 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30249 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30250 insns in _dl_start to prevent a TOC reference before relocs are
30251 resolved.
30252
e9433893
UD
302532011-02-15 Ulrich Drepper <drepper@gmail.com>
30254
30255 [BZ #12469]
30256 * Makeconfig: Remove RANLIB definition.
30257 * Makerules: Don't use RANLIB.
30258 * aclocal.m4: Remove ranlib test.
30259 * configure.in: No need to check for ranlib.
30260 * elf/rtld-Rules: Don't use RANLIB.
30261
f75286c6
ST
302622011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30263
8e31c82d
ST
30264 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30265 protection macro.
30266 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30267 inclusion protection macro.
30268
f75286c6
ST
30269 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30270 SIGRTMIN and SIGRTMAX and print information in that case only when
30271 SIGRTMIN is defined.
30272
c1d0e639
JJ
302732011-02-11 Jakub Jelinek <jakub@redhat.com>
30274
30275 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30276 arginfo fn returning -1.
30277
30278 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30279 and thousands string is zero terminated.
30280
edf9294e
AS
302812011-02-03 Andreas Schwab <schwab@redhat.com>
30282
30283 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30284 sysdeps/unix/sysv/linux/bits/socket.h.
30285
2b7e92df
ST
302862011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30287
edf9294e
AS
30288 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30289 (__CPU_COUNT): Remove old macros.
30290 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30291 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30292 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
30293 (__sched_cpualloc, __sched_cpufree): Add declarations.
30294
a4c7ea7b
UD
302952011-02-05 Ulrich Drepper <drepper@gmail.com>
30296
30297 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30298 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30299 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30300 (readdhstai): Return value of addhstaiX call.
30301 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30302 (addgrbyX): Return value returned by cache_addgr.
30303 (readdgrbyname): Return value returned by addgrbyX.
30304 (readdgrbygid): Likewise.
30305 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30306 (addpwbyX): Return value returned by cache_addpw.
30307 (readdpwbyname): Return value returned by addhstbyX.
30308 (readdpwbyuid): Likewise.
30309 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30310 (addservbyX): Return value returned by cache_addserv.
30311 (readdservbyname): Return value returned by addservbyX:
30312 (readdservbyport): Likewise.
30313 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30314 (addhstbyX): Return value returned by cache_addhst.
30315 (readdhstbyname): Return value returned by addhstbyX.
30316 (readdhstbyaddr): Likewise.
30317 (readdhstbynamev6): Likewise.
30318 (readdhstbyaddrv6): Likewise.
30319 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30320 (readdinitgroups): Return value returned by addinitgroupsX.
30321 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30322 (prune_cache): Keep track of timeout value of re-added entries.
30323 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30324 * nscd/nscd.h: Adjust prototypes of readd* functions.
30325
a0bf67cc
RM
303262011-02-04 Roland McGrath <roland@redhat.com>
30327
30328 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30329 (nis_stats): Likewise.
30330 * nis/nis_modify.c (nis_modify): Likewise.
30331 * nis/nis_remove.c (nis_remove): Likewise.
30332 * nis/nis_add.c (nis_add): Likewise.
30333
30334 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30335
30336 * posix/fnmatch_loop.c: Add some consts.
30337
30338 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30339
435b95eb
L
303402011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30341
30342 [BZ #12460]
30343 * config.make.in (config-cflags-novzeroupper): Define.
30344 * configure.in: Substitute libc_cv_cc_novzeroupper.
30345 * elf/Makefile (AVX-CFLAGS): Define.
30346 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30347 (CFLAGS-tst-auditmod4a.c): Likewise.
30348 (CFLAGS-tst-auditmod4b.c): Likewise.
30349 (CFLAGS-tst-auditmod6b.c): Likewise.
30350 (CFLAGS-tst-auditmod6c.c): Likewise.
30351 (CFLAGS-tst-auditmod7b.c): Likewise.
30352 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30353
8517b15e
UD
303542011-02-02 Ulrich Drepper <drepper@gmail.com>
30355
30356 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30357 function to the callback.
30358 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30359
10a656fe
AS
303602011-02-02 Andreas Schwab <schwab@redhat.com>
30361
30362 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30363 of errno.
30364
968dad0a
UD
303652011-01-19 Ulrich Drepper <drepper@gmail.com>
30366
9f94d2ea 30367 [BZ #11724]
968dad0a
UD
30368 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30369 of constructors.
30370 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30371 of destructors.
30372 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30373
30374 [BZ #11724]
30375 * elf/Makefile: Add rules to build and run new test.
30376 * elf/tst-initorder.c: New file.
30377 * elf/tst-initorder.exp: New file.
30378 * elf/tst-initordera1.c: New file.
30379 * elf/tst-initordera2.c: New file.
30380 * elf/tst-initordera3.c: New file.
30381 * elf/tst-initordera4.c: New file.
30382 * elf/tst-initorderb1.c: New file.
30383 * elf/tst-initorderb2.c: New file.
30384 * elf/tst-order-a1.c: New file.
30385 * elf/tst-order-a2.c: New file.
30386 * elf/tst-order-a3.c: New file.
30387 * elf/tst-order-a4.c: New file.
30388 * elf/tst-order-b1.c: New file.
30389 * elf/tst-order-b2.c: New file.
30390 * elf/tst-order-main.c: New file.
30391 New test case by George Gensure <werkt0@gmail.com>.
30392
86e92359
UD
303932010-10-01 Andreas Schwab <schwab@redhat.com>
30394
30395 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30396 decoding ACE if AI_CANONIDN.
30397
5d5732b0
UD
303982011-01-18 Ulrich Drepper <drepper@gmail.com>
30399
30400 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30401
a77e8cbc
UD
304022011-01-17 Ulrich Drepper <drepper@gmail.com>
30403
6392473f
UD
30404 * version.h (RELEASE): Bump for 2.13 release.
30405 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30406
620a0529
UD
30407 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30408
18ba70a5
UD
30409 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30410 MADV_NOHUGEPAGE.
32465c3e
UD
30411 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30412 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30413 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30414 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30415 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30416 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30417
c0dafcf1
UD
30418 * posix/getconf.c: Update copyright year.
30419 * catgets/gencat.c: Likewise.
30420 * csu/version.c: Likewise.
30421 * debug/catchsegv.sh: Likewise.
30422 * debug/xtrace.sh: Likewise.
30423 * elf/ldconfig.c: Likewise.
30424 * elf/ldd.bash.in: Likewise.
30425 * elf/sprof.c (print_version): Likewise.
30426 * iconv/iconv_prog.c: Likewise.
30427 * iconv/iconvconfig.c: Likewise.
30428 * locale/programs/locale.c: Likewise.
30429 * locale/programs/localedef.c: Likewise.
30430 * malloc/memusage.sh: Likewise.
30431 * malloc/mtrace.pl: Likewise.
30432 * nscd/nscd.c (print_version): Likewise.
30433 * nss/getent.c: Likewise.
30434
a77e8cbc
UD
30435 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30436 PF_CAIF, and PF_ALG.
30437 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30438
77e8bddf
AS
304392011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30440
1f20b93a
AS
30441 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30442 (modules-names): Use them.
30443 (ifunc-test-modules, ifunc-pie-tests): Define.
30444 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30445 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30446 (test-extras): Likewise.
30447 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30448 $(compile-command.c).
30449 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30450 (all-built-dso): Define.
30451 (check-textrel.out, check-execstack.out): Depend on it.
30452
77e8bddf
AS
30453 * configure.in: Don't override --enable-multi-arch.
30454
bc425b33
UD
304552011-01-15 Ulrich Drepper <drepper@gmail.com>
30456
30457 [BZ #6812]
30458 * nscd/hstcache.c (tryagain): Define.
30459 (cache_addhst): Return tryagain not notfound for temporary errors.
30460 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30461 failed.
30462
794c3ad3
UD
304632011-01-14 Ulrich Drepper <drepper@gmail.com>
30464
70181fdd
UD
30465 [BZ #10563]
30466 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30467 to make the syscall.
30468 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30469
794c3ad3
UD
30470 [BZ #12378]
30471 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30472 and fall back to matching as normal character if the string ends before
30473 the matching ']' is found. This is what POSIX requires.
30474 * posix/testfnm.c: Adjust test result.
30475 * posix/globtest.sh: Adjust test result. Add new test.
30476 * posix/tst-fnmatch.input: Likewise.
30477 * posix/tst-fnmatch2.c: Add new test.
30478
68dc9497
AS
304792010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30480
30481 * elf/Makefile (check-execstack): Revert last change. Depend on
30482 check-execstack.h.
30483 (check-execstack.h): New target.
30484 (generated): Add check-execstack.h.
30485 * elf/check-execstack.c: Include "check-execstack.h".
30486 (main): Revert last change.
30487 (handle_file): Return zero if GNU_STACK is absent and
30488 DEFAULT_STACK_PERMS doesn't include PF_X.
30489
451f001b
UD
304902011-01-13 Ulrich Drepper <drepper@gmail.com>
30491
cfa28e56
UD
30492 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30493 in child fails because the descriptor is already closed.
8cf8ce17
UD
30494 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30495 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30496 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 30497
1086d70d
UD
30498 [BZ #12397]
30499 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30500 syscall.
30501
451f001b
UD
30502 [BZ #10484]
30503 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30504 temporary buffer used to handle multi lookups locally.
a85b5cb4 30505 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 30506
08769175
UD
305072011-01-12 Ulrich Drepper <drepper@gmail.com>
30508
30509 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30510 loader is ld.so.
30511
5e49c52e
UD
305122011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30513
30514 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30515 alignment for SSE2.
30516
60522a5f
UD
305172011-01-12 Ulrich Drepper <drepper@gmail.com>
30518
30519 [BZ #12394]
30520 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30521 characters. When rounding increased number of integer digits recompute
30522 number of groups.
30523 * stdio-common/tst-grouping.c: New file.
30524 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30525
f257bbd7
UD
305262011-01-09 Ulrich Drepper <drepper@gmail.com>
30527
30528 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30529 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30530
30531 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30532 void.
30533 * bits/select.h: Likewise.
30534
fa9c15cb
UD
305352011-01-08 Ulrich Drepper <drepper@gmail.com>
30536
30537 * po/ja.po: Update from translation team.
30538
16c2895f
DM
305392011-01-04 David S. Miller <davem@sunset.davemloft.net>
30540
30541 [BZ #11155]
30542 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30543 implementation just like for lxstat, fxstatat, et al.
30544
2543fef2
JM
305452010-12-27 Jim Meyering <meyering@redhat.com>
30546
30547 [BZ #12348]
30548 * posix/regexec.c (build_trtable): Return failure indication upon
30549 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30550
98727dbe
UD
305512010-12-25 Ulrich Drepper <drepper@gmail.com>
30552
5bd6dc5c
UD
30553 [BZ #12201]
30554 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30555 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30556 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30557 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30558
97983464
UD
30559 [BZ #12207]
30560 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30561
98727dbe
UD
30562 [BZ #12204]
30563 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30564 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30565
4a531bb0
L
305662010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30567
30568 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30569 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30570 script has SORT_BY_INIT_PRIORITY.
30571 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30572 NO_CTORS_DTORS_SECTIONS is defined.
30573 * elf/soinit.c: Likewise.
30574 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30575 NO_CTORS_DTORS_SECTIONS is defined.
30576 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30577 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30578 * sysdeps/sh/init-first.c: Likewise.
30579 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30580
07eb4b71
UD
305812010-12-24 Ulrich Drepper <drepper@gmail.com>
30582
30583 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30584 always use the slow path.
30585
30950a5f
RA
305862010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30587
30588 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30589 similar rule which adds the sysdep directories to the header search in
30590 order to pick up the correct platform stackinfo.h.
30591 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30592 perform test if it is, otherwise return successfully without testing.
30593 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30594 DEFAULT_STACK_PERMS define in stackinfo.h.
30595 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30596 defined in stackinfo.h.
30597 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30598 DEFAULT_STACK_PERMS defined in stackinfo.h.
30599 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30600 * sysdeps/ia64/stackinfo.h: Likewise.
30601 * sysdeps/s390/stackinfo.h: Likewise.
30602 * sysdeps/sh/stackinfo.h: Likewise.
30603 * sysdeps/sparc/stackinfo.h: Likewise.
30604 * sysdeps/x86_64/stackinfo.h: Likewise.
30605 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30606 PF_X for powerpc64. Retain PF_X for powerpc32.
30607
db753e2c
UD
306082010-12-19 Ulrich Drepper <drepper@gmail.com>
30609
14b697f7
UD
30610 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30611 accurately.
db753e2c
UD
30612 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30613 GETDENTS_64BIT_ALIGNED.
30614
28300719
UD
306152010-12-14 Ulrich Drepper <dreper@gmail.com>
30616
14b697f7 30617 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 30618
4f197237
AS
306192010-12-10 Andreas Schwab <schwab@redhat.com>
30620
dbb0472f
AS
30621 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30622 _GNU_SOURCE.
30623
4f197237
AS
30624 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30625 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30626 Remove __restrict.
30627 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30628 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30629
fb88ac72
UD
306302010-12-09 Ulrich Drepper <drepper@gmail.com>
30631
30632 [BZ #11655]
30633 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30634 are initialized.
30635
42acbb92
JJ
306362010-12-09 Jakub Jelinek <jakub@redhat.com>
30637
30638 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30639
c038d98d
UD
306402010-12-03 Ulrich Drepper <drepper@gmail.com>
30641
30642 * po/it.po: Update from translation team.
30643
3a4a2499
L
306442010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30645
30646 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30647 unused codes.
30648
1e24cf6e
UD
306492010-11-30 Ulrich Drepper <drepper@gmail.com>
30650
30651 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30652
a7690819
AS
306532010-11-24 Andreas Schwab <schwab@redhat.com>
30654
30655 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30656 specially.
30657 (gaih_getanswer_slice): Likewise.
30658
3bf8d1b1
JJ
306592010-10-20 Jakub Jelinek <jakub@redhat.com>
30660
30661 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30662
6db52fbb
PB
306632010-05-31 Petr Baudis <pasky@suse.cz>
30664
30665 [BZ #11149]
30666 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30667 silently even in the chroot mode.
30668
eaca7569
UD
306692010-11-22 Ulrich Drepper <drepper@gmail.com>
30670
30671 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30672 last patch a bit. Pretty printing
30673
3056dcdb
UD
306742010-05-31 Petr Baudis <pasky@suse.cz>
30675
30676 [BZ #10085]
30677 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30678 initialization of skip_initgroups_dyn.
30679
cf7c9078
UD
306802010-11-19 Ulrich Drepper <drepper@gmail.com>
30681
30682 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30683 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30684
a1fb5e3e
UD
306852010-11-16 Ulrich Drepper <drepper@gmail.com>
30686
30687 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30688
3540d66b
AS
306892010-11-11 Andreas Schwab <schwab@redhat.com>
30690
30691 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30692 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30693 (tst-fnmatch-ENV): Set MALLOC_TRACE.
30694 ($(objpfx)tst-fnmatch-mem): New rule.
30695 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30696 * posix/tst-fnmatch.c (main): Call mtrace.
30697
13b69574
L
306982010-11-11 H.J. Lu <hongjiu.lu@intel.com>
30699
30700 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30701 Support Intel processor model 6 and model 0x2c.
30702
da93d214
LM
307032010-11-10 Luis Machado <luisgpm@br.ibm.com>
30704
30705 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30706 signed comparison.
30707
8ca52c6e
L
307082010-11-09 H.J. Lu <hongjiu.lu@intel.com>
30709
30710 [BZ #12205]
30711 * string/test-strncasecmp.c (check_result): New function.
30712 (do_one_test): Use it.
30713 (check1): New function.
30714 (test_main): Use it.
30715 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30716 Support strcasecmp and strncasecmp.
30717
69da074d
UD
307182010-11-08 Ulrich Drepper <drepper@gmail.com>
30719
30720 [BZ #12194]
30721 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30722 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30723
ff02d528
L
307242010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30725
30726 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30727 IFUNC support.
30728 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30729 memset-x86-64.
30730 * sysdeps/x86_64/multiarch/bzero.S: New file.
30731 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30732 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30733 * sysdeps/x86_64/multiarch/memset.S: New file.
30734 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30735 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30736 Set bit_Prefer_SSE_for_memop for Intel processors.
30737 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30738 Define.
30739 (index_Prefer_SSE_for_memop): Define.
30740 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30741
344d0b54
LM
307422010-11-04 Luis Machado <luisgpm@br.ibm.com>
30743
30744 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30745 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30746
c0dde15b
UD
307472010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30748
30749 [BZ #12191]
30750 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30751 (__x86_64_raw_data_cache_size_half): Likewise.
30752 (__x86_64_raw_shared_cache_size): Likewise.
30753 (__x86_64_raw_shared_cache_size_half): Likewise.
30754
30755 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30756 (__x86_64_raw_data_cache_size_half): Likewise.
30757 (__x86_64_raw_shared_cache_size): Likewise.
30758 (__x86_64_raw_shared_cache_size_half): Likewise.
30759 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30760 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30761 and __x86_64_raw_shared_cache_size_half. Round
30762 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30763 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30764 to multiple of 256 bytes.
30765
0e516e0e
MS
307662010-11-03 Ulrich Drepper <drepper@gmail.com>
30767
30768 [BZ #12167]
30769 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30770 of inacessible symlinks. Verify result of symlink before returning it.
30771 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30772 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30773
0e012e87
ER
307742010-10-28 Erich Ritz <erichritz@gmail.com>
30775
30776 * math/math.h (isinf): Fix typo in comment.
30777
de0ff7bc
UD
307782010-11-01 Ulrich Drepper <drepper@gmail.com>
30779
30780 * po/da.po: Update from translation team.
30781
fa41c84d
UD
307822010-10-26 Ulrich Drepper <drepper@gmail.com>
30783
30784 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30785 is added to the list.
30786
f0967738
AK
307872010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30788 Ulrich Drepper <drepper@gmail.com>
30789
30790 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30791 the global list here. Move code to...
30792 (_dl_add_to_namespace_list): ...here. New function.
30793 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30794 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30795 * elf/dl-load.c (lose): Don't remove the element from the list.
30796 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30797 (_dl_map_object): Likewise.
30798
307992010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
30800
30801 [BZ #12159]
30802 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30803 into all bytes of SSE register.
30804 Patch by Richard Li <richardpku@gmail.com>.
30805
f0967738 308062010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
30807
30808 [BZ #12140]
30809 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30810 perturbing.
30811
d0b9e94f
MB
308122010-10-20 Michael B. Brutman <brutman@us.ibm.com>
30813
30814 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30815 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30816 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30817 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30819 submachine.
30820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30821
8e9f92e9
AS
308222010-10-22 Andreas Schwab <schwab@redhat.com>
30823
30824 * include/dlfcn.h (__RTLD_SECURE): Define.
30825 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
30826 mode & __RTLD_SECURE instead.
30827 (open_path): Rename preloaded parameter to secure.
30828 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30829 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30830 * elf/dl-deps.c (openaux): Likewise.
30831 * elf/rtld.c (struct map_args): Remove is_preloaded.
30832 (map_doit): Don't use it.
30833 (dl_main): Likewise.
30834 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30835 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30836
bc96fbda
AS
308372010-09-09 Andreas Schwab <schwab@redhat.com>
30838
30839 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30840 (sysd-rules-targets): Remove duplicates.
30841 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30842 rtld-%.$o dependency.
30843
22cd1c9b
AS
308442010-10-18 Andreas Schwab <schwab@redhat.com>
30845
30846 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30847 _dl_map_object do it.
30848
18edac48
UD
308492010-10-19 Ulrich Drepper <drepper@gmail.com>
30850
30851 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30852 fast fma builtins, define the macros in the C99 standard.
30853 (FP_FAST_FMAF): Likewise.
30854 (FP_FAST_FMAL): Likewise.
30855 * sysdeps/x86_64/bits/mathdef.h: Likewise.
30856
30857 * bits/mathdef.h: Update copyright year.
30858 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30859
d2050124
MM
308602010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
30861
30862 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30863 builtins, define the macros in the C99 standard.
30864 (FP_FAST_FMAF): Likewise.
30865 (FP_FAST_FMAL): Likewise.
30866 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30867 multiply/add.
30868 (FP_FAST_FMAF): Likewise.
30869
475facd1
JJ
308702010-10-15 Jakub Jelinek <jakub@redhat.com>
30871
30872 [BZ #3268]
30873 * math/libm-test.inc (fma_test): Some new testcases.
30874 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30875 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30876 y and infinite z. Do multiplication by C already in long double.
30877 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30878 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30879 y and infinite z. Do bitwise or of inexact bit into u.d.
30880 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30881 * sysdeps/i386/fpu/s_fmaf.S: Removed.
30882 * sysdeps/i386/fpu/s_fma.S: Removed.
30883 * sysdeps/i386/fpu/s_fmal.S: Removed.
30884
7c08a05c
JJ
308852010-10-16 Jakub Jelinek <jakub@redhat.com>
30886
30887 [BZ #3268]
30888 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30889 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30890 computation is not scheduled after fetestexcept. Fix value
30891 of minimum denormal long double.
30892
f3f7372d
JJ
308932010-10-14 Jakub Jelinek <jakub@redhat.com>
30894
30895 [BZ #3268]
30896 * math/libm-test.inc (fma_test): Add some more tests.
30897 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30898 correctly.
30899
14d43591
AS
309002010-10-15 Andreas Schwab <schwab@redhat.com>
30901
30902 * scripts/data/localplt-s390-linux-gnu.data: New file.
30903 * scripts/data/localplt-s390x-linux-gnu.data: New file.
30904
5e908464
JJ
309052010-10-13 Jakub Jelinek <jakub@redhat.com>
30906
30907 [BZ #3268]
30908 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30909 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30910 instead of dbl-64.
30911 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30912 inlines.
30913 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30914 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30915 if one of x and y is very large and the other is subnormal.
30916 * sysdeps/s390/fpu/s_fmaf.c: New file.
30917 * sysdeps/s390/fpu/s_fma.c: New file.
30918 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30919 * sysdeps/powerpc/fpu/s_fma.S: New file.
30920 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30921 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30922 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30923
309242010-10-12 Jakub Jelinek <jakub@redhat.com>
30925
30926 [BZ #3268]
30927 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30928 fma tests.
30929 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30930 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30931 * sysdeps/i386/i686/multiarch/s_fma.c: Include
30932 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30933 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30934 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30935 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30936
b833d51f
UD
309372010-10-12 Ulrich Drepper <drepper@redhat.com>
30938
30939 [BZ #12078]
30940 * posix/regcomp.c (parse_branch): One more memory leak plugged.
30941 * posix/bug-regex31.input: Add test case.
30942
1751705d
UD
309432010-10-11 Ulrich Drepper <drepper@gmail.com>
30944
e9b9cbf5
UD
30945 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30946 * posix/bug-regex31.input: New file.
30947
30948 [BZ #12078]
30949 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30950 (parse_sub_exp): Fix last change, use postorder.
30951
ef06edbe
UD
30952 * posix/bug-regex31.c: New file.
30953 * posix/Makefile: Add rules to build and run bug-regex31.
30954
a129c80d
UD
30955 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
30956
30957 [BZ #12078]
30958 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
30959
b76b818e
UD
30960 [BZ #12108]
30961 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
30962 to have entries in sys_siglist.
30963
1751705d
UD
30964 [BZ #12093]
30965 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30966 be NULL.
30967
9ff8d36f
JJ
309682010-10-07 Jakub Jelinek <jakub@redhat.com>
30969
30970 [BZ #3268]
30971 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
30972 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
30973 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
30974 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
30975 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30976 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
30977 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
30978 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
30979 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
30980 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
30981 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30982 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
30983 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30984 * math/ftestexcept.c (fetestexcept): Likewise.
30985 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
30986 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
30987 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30988 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
30989 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
30990 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
30991 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30992
af325969
UD
309932010-10-11 Ulrich Drepper <drepper@gmail.com>
30994
c579b202 30995 [BZ #12107]
af325969
UD
30996 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
30997 newline.
30998
67a67b95
UD
309992010-10-06 Ulrich Drepper <drepper@gmail.com>
31000
31001 * string/bug-strstr1.c: New file.
31002 * string/Makefile: Add rules to build and run bug-strstr1.
31003
5fb308bc
EB
310042010-10-05 Eric Blake <eblake@redhat.com>
31005
31006 [BZ #12092]
31007 * string/str-two-way.h (two_way_long_needle): Always clear memory
31008 when skipping input due to the shift table.
31009
45db99c7
UD
310102010-10-03 Ulrich Drepper <drepper@gmail.com>
31011
3b111893
UD
31012 [BZ #12005]
31013 * malloc/mcheck.c: Handle large requests.
31014
45db99c7
UD
31015 [BZ #12077]
31016 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31017 for strncmp and strncasecmp.
31018 * string/stratcliff.c: Add tests for strcmp and strncmp.
31019 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31020
cf7a1eb8
NI
310212010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31022
31023 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31024 __set_fpscr.
31025
6484ba5e
AJ
310262010-09-30 Andreas Jaeger <aj@suse.de>
31027
31028 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31029 (CGROUP_SUPER_MAGIC): Define.
31030 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31031 Handle btrfs and cgroup file systems.
31032 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31033 Likewise.
31034
91c42559
LM
310352010-09-27 Luis Machado <luisgpm@br.ibm.com>
31036
31037 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31038 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31039
87a97932
AK
310402010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31041
31042 [BZ #12067]
31043 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31044 trying to locate the ELF header.
31045
c21cc9bc
AS
310462010-09-27 Andreas Schwab <schwab@redhat.com>
31047
31048 [BZ #11611]
31049 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31050 Mask out sign-bit copies when constructing f_fsid.
31051
315970f6
PB
310522010-09-24 Petr Baudis <pasky@suse.cz>
31053
31054 * debug/stack_chk_fail_local.c: Add missing licence exception.
31055 * debug/warning-nop.c: Likewise.
31056
1ac7a2c7
JM
310572010-09-15 Joseph Myers <joseph@codesourcery.com>
31058
31059 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31060 implementing getdents64 using getdents syscall, set d_type if
31061 __ASSUME_GETDENTS32_D_TYPE.
31062
56801c50
AS
310632010-09-16 Andreas Schwab <schwab@redhat.com>
31064
31065 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31066 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31067
dda51327
UD
310682010-09-21 Ulrich Drepper <drepper@redhat.com>
31069
31070 [BZ #12037]
31071 * posix/unistd.h: Undo change of feature selection for ftruncate from
31072 2010-01-11.
31073
8ffcee4a
UD
310742010-09-20 Ulrich Drepper <drepper@redhat.com>
31075
a545ecd9 31076 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
31077 detection.
31078
e24f0a8b
AS
310792010-09-20 Andreas Schwab <schwab@redhat.com>
31080
31081 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31082 fanotify_mark.
31083 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31084
7291c56f
AS
310852010-09-14 Andreas Schwab <schwab@redhat.com>
31086
31087 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31088 variables after CHECK_SP call.
31089 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31090
bc5fb037
AS
310912010-09-13 Andreas Schwab <schwab@redhat.com>
31092 Ulrich Drepper <drepper@redhat.com>
31093
31094 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31095 re-relocationg ld.so.
31096 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31097 _dl_init_paths call.
31098 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31099 here anymore.
31100
e66e7419
UD
311012010-09-14 Ulrich Drepper <drepper@redhat.com>
31102
31103 * resolv/res_init.c (__res_vinit): Count the default server we added.
31104
c044aa75
CLT
311052010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31106 Ulrich Drepper <drepper@redhat.com>
31107
31108 [BZ #11968]
31109 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31110 (____longjmp_chk): Use %ebx for saving value across system call.
31111 Add unwind info.
31112
32cf4069
AS
311132010-09-06 Andreas Schwab <schwab@redhat.com>
31114
31115 * manual/Makefile: Don't mix pattern rules with normal rules.
31116
817328ee
AS
311172010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31118
31119 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31120 operation.
31121 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31122 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31123 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31124 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31125 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31126 Likewise.
31127
29fddf61
UD
311282010-09-04 Ulrich Drepper <drepper@redhat.com>
31129
31130 [BZ #11979]
31131 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31132 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31133
0959ffc9
UD
311342010-09-02 Ulrich Drepper <drepper@redhat.com>
31135
31136 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31137 * sysdeps/x86_64/addmul_1.S: Likewise.
31138 * sysdeps/x86_64/lshift.S: Likewise.
31139 * sysdeps/x86_64/mul_1.S: Likewise.
31140 * sysdeps/x86_64/rshift.S: Likewise.
31141 * sysdeps/x86_64/sub_n.S: Likewise.
31142 * sysdeps/x86_64/submul_1.S: Likewise.
31143
ece29840
ST
311442010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31145
0959ffc9
UD
31146 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31147 Define __sched_param instead of SCHED_* and sched_param when
ece29840 31148 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 31149 * bits/sched.h [__need_schedparam]
ece29840 31150 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
31151 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31152 (__defined_schedparam): Define to 1.
ece29840
ST
31153 (__sched_param): New structure, identical to sched_param.
31154 (__need_schedparam): Undefine.
31155
e53a31fe
MF
311562010-08-31 Mike Frysinger <vapier@gentoo.org>
31157
fdc0c10d
MF
31158 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31159 (epoll_create1): Declare.
31160
e53a31fe
MF
31161 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31162
a726d796
AS
311632010-08-31 Andreas Schwab <schwab@redhat.com>
31164
31165 [BZ #7066]
31166 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31167 shifting retval into place.
31168
2f3e3dc7
UD
311692010-09-01 Ulrich Drepper <drepper@redhat.com>
31170
f2933da9
UD
31171 * nis/rpcsvc/nis.h: Update copyright notice.
31172 * nis/rpcsvc/nis.x: Likewise.
31173 * nis/rpcsvc/nis_callback.h: Likewise.
31174 * nis/rpcsvc/nis_callback.x: Likewise.
31175 * nis/rpcsvc/nis_object.x: Likewise.
31176 * nis/rpcsvc/nis_tags.h: Likewise.
31177 * nis/rpcsvc/yp.h: Likewise.
31178 * nis/rpcsvc/yp.x: Likewise.
31179 * nis/rpcsvc/ypupd.h: Likewise.
31180 * nis/yp_xdr.c: Likewise.
31181 * nis/ypupdate_xdr.c: Likewise.
31182
2f3e3dc7
UD
31183 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
31184 mainly the body of pmap_getport. Add parameters to specify timeouts.
31185 (pmap_getport): Use __libc_rpc_getport.
31186 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31187 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31188 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31189
f3dcc2f9
AS
311902010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31191
31192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31193 fanotify_mark.
31194
6d34eb5b
RM
311952010-08-27 Roland McGrath <roland@redhat.com>
31196
31197 * sysdeps/i386/i686/multiarch/Makefile
31198 (CFLAGS-varshift.c): New variable.
31199
9ea3de11
UD
312002010-08-27 Ulrich Drepper <drepper@redhat.com>
31201
c96d23fc
UD
31202 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31203 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31204
9ea3de11
UD
31205 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31206
31207 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31208
623aac7f
L
312092010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31210
31211 * sysdeps/x86_64/strlen.S: Unroll the loop.
31212 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31213 strlen-sse2 strlen-sse2-bsf.
31214 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31215 __strlen_no_bsf if bit_Slow_BSF is set.
31216 (__strlen_sse42): Removed.
31217 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31218 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31219
8b2b7715
RM
312202010-08-25 Roland McGrath <roland@redhat.com>
31221
31222 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31223 * sysdeps/x86_64/multiarch/varshift.c: New file.
31224 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31225 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31226 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31227 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31228
e73015f2
L
312292010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31230
31231 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31232 strlen-sse2 strlen-sse2-bsf.
31233 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31234 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31235 (__strlen_sse2): Removed.
31236 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31237 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31238 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31239 bit_Slow_BSF for Atom.
31240 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31241 (index_Slow_BSF): Define.
31242 (HAS_SLOW_BSF): Define.
31243
df24a73e
UD
312442010-08-25 Ulrich Drepper <drepper@redhat.com>
31245
31246 [BZ #10851]
31247 * resolv/res_init.c (__res_vinit): When no server address at all
31248 is given default to loopback.
31249
f2ac4868
RM
312502010-08-24 Roland McGrath <roland@redhat.com>
31251
09055553
RM
31252 * configure.in: Remove config-name.h generation.
31253 * configure: Regenerated.
31254 * config-name.in: File removed.
31255 * scripts/config-uname.sh: New file.
31256 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31257 ($(objdir)config-name.h): New target.
31258
f2ac4868
RM
31259 * sunrpc/rpc_parse.h: Avoid nested comment.
31260
73f27d5e
RH
312612010-08-24 Richard Henderson <rth@redhat.com>
31262 Ulrich Drepper <drepper@redhat.com>
31263 H.J. Lu <hongjiu.lu@intel.com>
31264
31265 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31266 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31267 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31268 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31269 _mm_alignr_epi8 with _mm_loadu_si128.
31270 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31271 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31272 (__m128i_shift_right): Removed.
31273 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31274 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31275 * sysdeps/x86_64/multiarch/varshift.h: New file.
31276 * sysdeps/x86_64/multiarch/varshift.S: New file.
31277
84b9230c
MF
312782010-08-21 Mike Frysinger <vapier@gentoo.org>
31279
31280 * configure.in: Move assembler checks to before sysdep dir checking.
31281
9bbd0ddc
PB
312822010-08-20 Petr Baudis <pasky@suse.cz>
31283
31284 * LICENSES: Sync the sunrpc license.
31285
9da4bb31
UD
312862010-08-19 Ulrich Drepper <drepper@redhat.com>
31287
a7ab6ec8
UD
31288 * sunrpc/auth_des.c: Update copyright notice once again.
31289 * sunrpc/auth_none.c: Likewise.
31290 * sunrpc/auth_unix.c: Likewise.
31291 * sunrpc/authdes_prot.c: Likewise.
31292 * sunrpc/authuxprot.c: Likewise.
31293 * sunrpc/bindrsvprt.c: Likewise.
31294 * sunrpc/clnt_gen.c: Likewise.
31295 * sunrpc/clnt_perr.c: Likewise.
31296 * sunrpc/clnt_raw.c: Likewise.
31297 * sunrpc/clnt_simp.c: Likewise.
31298 * sunrpc/clnt_tcp.c: Likewise.
31299 * sunrpc/clnt_udp.c: Likewise.
31300 * sunrpc/clnt_unix.c: Likewise.
31301 * sunrpc/des_crypt.c: Likewise.
31302 * sunrpc/des_soft.c: Likewise.
31303 * sunrpc/get_myaddr.c: Likewise.
31304 * sunrpc/getrpcport.c: Likewise.
31305 * sunrpc/key_call.c: Likewise.
31306 * sunrpc/key_prot.c: Likewise.
31307 * sunrpc/openchild.c: Likewise.
31308 * sunrpc/pm_getmaps.c: Likewise.
31309 * sunrpc/pm_getport.c: Likewise.
31310 * sunrpc/pmap_clnt.c: Likewise.
31311 * sunrpc/pmap_prot.c: Likewise.
31312 * sunrpc/pmap_prot2.c: Likewise.
31313 * sunrpc/pmap_rmt.c: Likewise.
31314 * sunrpc/rpc/auth.h: Likewise.
31315 * sunrpc/rpc/auth_unix.h: Likewise.
31316 * sunrpc/rpc/clnt.h: Likewise.
31317 * sunrpc/rpc/des_crypt.h: Likewise.
31318 * sunrpc/rpc/key_prot.h: Likewise.
31319 * sunrpc/rpc/netdb.h: Likewise.
31320 * sunrpc/rpc/pmap_clnt.h: Likewise.
31321 * sunrpc/rpc/pmap_prot.h: Likewise.
31322 * sunrpc/rpc/pmap_rmt.h: Likewise.
31323 * sunrpc/rpc/rpc.h: Likewise.
31324 * sunrpc/rpc/rpc_des.h: Likewise.
31325 * sunrpc/rpc/rpc_msg.h: Likewise.
31326 * sunrpc/rpc/svc.h: Likewise.
31327 * sunrpc/rpc/svc_auth.h: Likewise.
31328 * sunrpc/rpc/types.h: Likewise.
31329 * sunrpc/rpc/xdr.h: Likewise.
31330 * sunrpc/rpc_clntout.c: Likewise.
31331 * sunrpc/rpc_cmsg.c: Likewise.
31332 * sunrpc/rpc_common.c: Likewise.
31333 * sunrpc/rpc_cout.c: Likewise.
31334 * sunrpc/rpc_dtable.c: Likewise.
31335 * sunrpc/rpc_hout.c: Likewise.
31336 * sunrpc/rpc_main.c: Likewise.
31337 * sunrpc/rpc_parse.c: Likewise.
31338 * sunrpc/rpc_parse.h: Likewise.
31339 * sunrpc/rpc_prot.c: Likewise.
31340 * sunrpc/rpc_sample.c: Likewise.
31341 * sunrpc/rpc_scan.c: Likewise.
31342 * sunrpc/rpc_scan.h: Likewise.
31343 * sunrpc/rpc_svcout.c: Likewise.
31344 * sunrpc/rpc_tblout.c: Likewise.
31345 * sunrpc/rpc_util.c: Likewise.
31346 * sunrpc/rpc_util.h: Likewise.
31347 * sunrpc/rpcinfo.c: Likewise.
31348 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31349 * sunrpc/rpcsvc/key_prot.x: Likewise.
31350 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31351 * sunrpc/rpcsvc/mount.x: Likewise.
31352 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31353 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31354 * sunrpc/rpcsvc/rex.x: Likewise.
31355 * sunrpc/rpcsvc/rstat.x: Likewise.
31356 * sunrpc/rpcsvc/rusers.x: Likewise.
31357 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31358 * sunrpc/rpcsvc/spray.x: Likewise.
31359 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31360 * sunrpc/rtime.c: Likewise.
31361 * sunrpc/svc.c: Likewise.
31362 * sunrpc/svc_auth.c: Likewise.
31363 * sunrpc/svc_authux.c: Likewise.
31364 * sunrpc/svc_raw.c: Likewise.
31365 * sunrpc/svc_run.c: Likewise.
31366 * sunrpc/svc_simple.c: Likewise.
31367 * sunrpc/svc_tcp.c: Likewise.
31368 * sunrpc/svc_udp.c: Likewise.
31369 * sunrpc/svc_unix.c: Likewise.
31370 * sunrpc/svcauth_des.c: Likewise.
31371 * sunrpc/xcrypt.c: Likewise.
31372 * sunrpc/xdr.c: Likewise.
31373 * sunrpc/xdr_array.c: Likewise.
31374 * sunrpc/xdr_float.c: Likewise.
31375 * sunrpc/xdr_mem.c: Likewise.
31376 * sunrpc/xdr_rec.c: Likewise.
31377 * sunrpc/xdr_ref.c: Likewise.
31378 * sunrpc/xdr_sizeof.c: Likewise.
31379 * sunrpc/xdr_stdio.c: Likewise.
31380
9da4bb31
UD
31381 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31382 handling.
31383
bdaa77bc
AS
313842010-08-19 Andreas Schwab <schwab@redhat.com>
31385
31386 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31387
fe2f79db
LM
313882010-08-19 Luis Machado <luisgpm@br.ibm.com>
31389
31390 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31391 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31392 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31393 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31394 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31395 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31396 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31397 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31398 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31399 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31400 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31401 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31402 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31403 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31404
b9b42ee0
AB
314052010-07-26 Anton Blanchard <anton@samba.org>
31406
31407 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31408 * malloc/arena.c (heap_trim): Likewise.
31409
1c06ba31
UD
314102010-08-16 Ulrich Drepper <drepper@redhat.com>
31411
31412 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31413 here. Not...
31414 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31415 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31416
f8392f40
L
314172010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31418
31419 * sysdeps/i386/elf/Makefile: New file.
31420
3162f12e
AS
314212010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31422
31423 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31424 from fanotify_init.
31425 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31426 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31427
28c90b2c
UD
314282010-08-15 Ulrich Drepper <drepper@redhat.com>
31429
31430 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31431 of strncasecmp_l.
1feccb6c 31432 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 31433
ca6bb004
UD
314342010-08-14 Ulrich Drepper <drepper@redhat.com>
31435
e9f82e0d
UD
31436 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31437 strncase_l-nonascii.
31438 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31439 Add strncase_l-ssse3.
31440 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31441 * sysdeps/x86_64/strcmp.S: Likewise.
31442 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31443 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31444 * sysdeps/x86_64/strncase.S: New file.
31445 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31446 * sysdeps/x86_64/strncase_l.S: New file.
31447 * string/Makefile (strop-tests): Add strncasecmp.
31448 * string/test-strncasecmp.c: New file.
31449
31450 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31451 warning.
31452
ca6bb004
UD
31453 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31454 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31455
052fa7b3
AS
314562010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31457
31458 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31459
962dba78
UD
314602010-08-12 Ulrich Drepper <drepper@redhat.com>
31461
31462 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31463 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31464 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31465
bebff237
AM
314662010-05-01 Alan Modra <amodra@gmail.com>
31467
31468 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31469 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31470 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31471 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31472 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31473 tidying. Don't tail-call __sigjmp_save for static lib.
31474 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31475 save location.
31476 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31477 (CALL_MCOUNT): Add eh info, and nop after bl.
31478 (TAIL_CALL_SYSCALL_ERROR): New macro.
31479 (PSEUDO_RET): Use it.
31480 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31481 Correct save location of integer regs and cr.
31482 (_dl_profile_resolve): Correct cr save location. Delete nops
31483 after bl when SHARED. Reduce cfi size a little by better
31484 placement of cfi directives.
31485 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31486 make a stack frame. Instead use parm save area as a temp.
31487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31488 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31490 Don't make a stack frame for parent, use parm save area.
31491 Increase child stack frame to 112 bytes. Don't save unused reg,
31492 and adjust reg usage. Set up cfi on error recovery and
31493 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31495 (__makecontext): Add dummy nop after jump to exit.
31496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31497 Use correct parm save area and cr save, reduce stack frame.
31498 Correct cfi for possible PSEUDO_RET frame setup.
31499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31500 Branch to local label emitted by PSEUDO_RET rather than
31501 __syscall_error.
31502
02637374
AS
315032010-08-12 Andreas Schwab <schwab@redhat.com>
31504
31505 [BZ #11904]
31506 * locale/programs/locale.c (print_assignment): New function.
31507 (show_locale_vars): Use it.
31508
c3e2f19b
UD
315092010-08-11 Ulrich Drepper <drepper@redhat.com>
31510
3cdaa6ad
UD
31511 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31512 field.
31513 (struct statfs64): Likewise.
31514 (_STATFS_F_FLAGS): Define.
31515 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31516 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31517 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31518 (ST_VALID): Define locally.
31519 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31520 __statvfs_getflags, use the provided value.
31521 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31522 __ASSUME_STATFS_F_FLAGS.
31523
754f7da3
UD
31524 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31525
10b3bedc
UD
31526 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31527 Add sys/fanotify.h.
31528 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31529 fanotify_mask for GLIBC_2.13.
31530 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31531 fanotify_init and fanotify_mark.
31532 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31533 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31534
c08fb0d7
UD
31535 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31536 Add prlimit.
31537 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31538 prlimit64 for GLIBC_2.13.
31539 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31540 prlimit64.
31541 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31542 syscall.
31543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31544 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31545 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31546 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31547 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31548 add prlimit alias.
31549 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31550
15bac72b
UD
31551 [BZ #11903]
31552 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31553 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31554
c3e2f19b
UD
31555 * nss/Makefile: Add rules to build and run tst-nss-test1.
31556 * shlib-versions: Add entry for libnss_test1.
31557 * nss/nss_test1.c: New file.
31558 * nss/tst-nss-test1.c: New file.
31559
31560 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31561 (__nss_configure_lookup): Set appropriate entry in
31562 __nss_configure_lookup to true.
31563 * nss/nsswitch.h: Define enum with indeces of databases in
31564 databases and __nss_database_custom arrays. Declare
31565 __nss_database_custom.
31566 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31567 to avoid using nscd when custom rules are installed.
31568 * nss/getXXbyYY_r.c: Likewise.
31569 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31570
31571 * nss/nss_files/files-parse.c: Whitespace fixes.
31572
f15ce4d8
UD
315732010-08-09 Ulrich Drepper <drepper@redhat.com>
31574
31575 [BZ #11883]
31576 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31577 * posix/fnmatch_loop.c: Likewise.
31578
d22e4cc9
AK
315792010-07-17 Andi Kleen <ak@linux.intel.com>
31580
31581 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31582 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31583 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31584 * Versions.def [GLIBC_2.13]: Add.
31585
805bc17d
UD
315862010-08-06 Ulrich Drepper <drepper@redhat.com>
31587
31588 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31589 Also fail if tpwd after pwuid call is NULL.
31590
5a42321d
ST
315912010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31592
31593 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31594 when converting to ms.
31595
fd3ebeda
ST
315962010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31597
31598 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31599 EOPNOTSUPP errors with ENOTTY.
31600 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31601 EOPNOTSUPP errors with ENOTTY.
31602
73507d3a
UD
316032010-07-31 Ulrich Drepper <drepper@redhat.com>
31604
31605 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31606 Add strcasecmp_l-ssse3.
31607 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31608 strcasecmp.
31609 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31610 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31611 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31612
fe36dd02
UD
316132010-07-30 Ulrich Drepper <drepper@redhat.com>
31614
66f6765a
UD
31615 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31616
42e08a54
UD
31617 * string/Makefile (strop-tests): Add strcasecmp.
31618 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31619 strcasecmp_l-nonascii.
31620 (gen-as-const-headers): Add locale-defines.sym.
31621 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31622 * sysdeps/x86_64/strcasecmp.S: New file.
31623 * sysdeps/x86_64/strcasecmp_l.S: New file.
31624 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31625 * sysdeps/x86_64/locale-defines.sym: New file.
31626 * string/test-strcasecmp.c: New file.
31627
fe36dd02
UD
31628 * string/test-strcasestr.c: Test both ends of the range of characters.
31629 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31630
48cbc0d6
RM
316312010-07-29 Roland McGrath <roland@redhat.com>
31632
76e6d6bc 31633 [BZ #11856]
48cbc0d6
RM
31634 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31635
880113d9
UD
316362010-07-27 Ulrich Drepper <drepper@redhat.com>
31637
31638 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31639 for ld.so.
31640
deb9cabb
AS
316412010-07-27 Andreas Schwab <schwab@redhat.com>
31642
31643 * manual/memory.texi (Malloc Tunable Parameters): Document
31644 M_PERTURB.
31645
1c7570ff
RM
316462010-07-26 Roland McGrath <roland@redhat.com>
31647
31648 [BZ #11840]
31649 * configure.in (-fgnu89-inline check): Set and substitute
31650 gnu89_inline, not libc_cv_gnu89_inline.
31651 * configure: Regenerated.
31652 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31653
24fb0f88
UD
316542010-07-26 Ulrich Drepper <drepper@redhat.com>
31655
31656 * string/test-strnlen.c: New file.
31657 * string/Makefile (strop-tests): Add strnlen.
31658 * string/tester.c (test_strnlen): Add a few more test cases.
31659 * string/tst-strlen.c: Better error reporting.
31660
31661 * sysdeps/x86_64/strnlen.S: New file.
31662
8e96b93a
UD
316632010-07-24 Ulrich Drepper <drepper@redhat.com>
31664
31665 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31666 lower-latency instructions.
31667
dbc676d4
UD
316682010-07-23 Ulrich Drepper <drepper@redhat.com>
31669
31670 * string/test-strcasestr.c: New file.
31671 * string/test-strstr.c: New file.
31672 * string/Makefile (strop-tests): Add strstr and strcasestr.
31673 * string/str-two-way.h: Don't undefine MAX.
31674 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31675
f6a31e0e
AS
316762010-07-21 Andreas Schwab <schwab@redhat.com>
31677
31678 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31679 strcasestr-nonascii.
31680 (CFLAGS-strcasestr-nonascii.c): Define.
31681 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31682 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31683 Remove unused attribute.
31684
5dbc3b6c
RM
316852010-07-20 Roland McGrath <roland@redhat.com>
31686
31687 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31688 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
31689 ld.so.cache was broken. With it, there is no way to disable dsocaps
31690 like LD_HWCAP_MASK can disable hwcaps.
31691
23d101d8
EPM
316922010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31693
31694 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31695
cc9f2e47
UD
316962010-07-16 Ulrich Drepper <drepper@redhat.com>
31697
31698 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31699 call in strcasestr.
31700 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31701 __strcasestr_sse42_nonascii.
31702 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31703 strcasestr-nonascii.c.
31704 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31705
77c1b069
LM
317062010-06-15 Luis Machado <luisgpm@br.ibm.com>
31707
31708 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31709 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31710 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31711 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31712
440566c3
UD
317132010-07-09 Ulrich Drepper <drepper@redhat.com>
31714
31715 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31716 fcntl.
31717
5be9d05d
AS
317182010-07-06 Andreas Schwab <schwab@redhat.com>
31719
c30b7ee2 31720 [BZ #11577]
5be9d05d
AS
31721 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31722 dl_signal_cerror.
31723
8a492a67
UD
317242010-07-06 Ulrich Drepper <drepper@redhat.com>
31725
31726 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31727 _PC_PIPE_BUF using F_GETPIPE_SZ.
31728
713df3d5
RM
317292010-07-05 Roland McGrath <roland@redhat.com>
31730
31731 * manual/arith.texi (Rounding Functions): Fix rint description
31732 implicit in round description.
31733
702e8f14
UD
317342010-07-02 Ulrich Drepper <drepper@redhat.com>
31735
31736 * elf/Makefile: Fix linking for a few tests to make recent linker
31737 happy.
31738
52ed8be9
AS
317392010-06-30 Andreas Schwab <schwab@redhat.com>
31740
31741 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31742 $(common-objpfx)libc_nonshared.a.
31743
f47c9a11
LM
317442010-06-21 Luis Machado <luisgpm@br.ibm.com>
31745
31746 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31747 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31748 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31749 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31750 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31751 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31752 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31753 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31768 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31769 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31770 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31771 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31772 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31773 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31774 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31775 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31776 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31777 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31778 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31779 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31794
6fb8cbcb
L
317952010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31796
31797 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31798 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31799 * string/memmove.c (memmove): Renamed to ...
31800 (MEMMOVE): ...this. Default to memmove.
31801 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31802 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31803 (END_CHK): Define.
31804 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31805 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31806 mempcpy-ssse3-back memmove-ssse3-back.
31807 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31808 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31809 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31810 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31811 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31812 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31813 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31814 * sysdeps/x86_64/multiarch/memmove.c: New file.
31815 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31816 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31817 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31818 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31819 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31820 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31821 Define.
31822 (index_Fast_Copy_Backward): Define.
31823 (HAS_ARCH_FEATURE): Define.
31824 (HAS_FAST_REP_STRING): Define.
31825 (HAS_FAST_COPY_BACKWARD): Define.
31826
4e733bac 318272010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
31828
31829 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31830 Restore proper fallback handling.
31831
63c4ed22
UD
318322010-06-19 Ulrich Drepper <drepper@redhat.com>
31833
ac2b484c
UD
31834 [BZ #11701]
31835 * posix/group_member.c (__group_member): Correct checking loop.
31836
63c4ed22
UD
31837 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31838 OOM in getpwuid_r correctly. Return error number when the caller
31839 should return, otherwise -1.
31840 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31841 call returning > 0 value.
31842 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31843
765ade4b
AS
318442010-06-07 Andreas Schwab <schwab@redhat.com>
31845
31846 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31847 libc_nonshared.a from targets in modules-names.
31848
80da2e09
KS
318492010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
31850
31851 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31852 requires it.
31853
158db122
LM
318542010-06-10 Luis Machado <luisgpm@br.ibm.com>
31855
31856 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31857 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31858 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31859 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31860
caa78cf8
AS
318612010-06-02 Andreas Schwab <schwab@redhat.com>
31862
31863 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31864
b2ef2c01
UD
318652010-06-14 Ulrich Drepper <drepper@redhat.com>
31866
31867 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31868 and F_GETPIPE_SZ.
31869 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31870 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31871 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31872 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31873 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31874 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31875
fbd643b6
RM
318762010-06-14 Roland McGrath <roland@redhat.com>
31877
31878 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31879
f32f2869
JJ
318802010-06-07 Jakub Jelinek <jakub@redhat.com>
31881
31882 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31883 __REDIRECT followed by __THROW.
31884 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31885 * posix/getopt.h (getopt): Likewise.
31886
2a50c078
EPM
318872010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31888
31889 * hurd/lookup-at.c (__file_name_lookup_at): Accept
31890 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
31891 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31892 in AT_FLAGS.
31893 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31894 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31895
eb5ad2eb
LM
318962010-05-28 Luis Machado <luisgpm@br.ibm.com>
31897
31898 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31899
3c88fe1e
L
319002010-05-26 H.J. Lu <hongjiu.lu@intel.com>
31901
31902 [BZ #11640]
31903 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31904 Properly check family and model.
31905
d2f73151
TY
319062010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
31907
31908 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31909
ebd2e13d
LM
319102010-05-24 Luis Machado <luisgpm@br.ibm.com>
31911
31912 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31913
b32b8b45
UD
319142010-05-21 Ulrich Drepper <drepper@redhat.com>
31915
31916 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31917 symbol reference.
31918
9acbe24d
AS
319192010-05-19 Andreas Schwab <schwab@redhat.com>
31920
31921 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31922 symbol reference.
31923
f0ccf6ea
AS
319242010-05-21 Andreas Schwab <schwab@redhat.com>
31925
3d04ff3a
AS
31926 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31927 and internal_recvmmsg.
31928 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31929 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31930 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31931 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31932
f0ccf6ea
AS
31933 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31934 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31935 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31936
5b08ac57
AS
319372010-05-20 Andreas Schwab <schwab@redhat.com>
31938
31939 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31940
4828935d
LM
319412010-05-17 Luis Machado <luisgpm@br.ibm.com>
31942
31943 POWER7 optimizations.
31944 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31945 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31946
373d545e
UD
319472010-05-19 Ulrich Drepper <drepper@redhat.com>
31948
31949 * version.h: Update for 2.13 development version.
31950
21a2b1ae
AS
319512010-05-12 Andrew Stubbs <ams@codesourcery.com>
31952
31953 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31954 exceptions. Return 0.
31955
3f7dcb2b
RM
319562010-05-07 Roland McGrath <roland@redhat.com>
31957
31958 * elf/ldconfig.c (main): Add a const.
31959
5f24d53a 319602010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 31961
a160f8d8
UD
31962 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
31963 (args_options): Add no-idn option.
31964 (ahosts_keys_int): Add idn_flags to ai_flags.
31965 (parse_option): Handle 'i' option to clear idn_flags.
31966
5f24d53a
UD
31967 * malloc/malloc.c (_int_free): Possible race in the most recently
31968 added check. Only act on the data if no current modification
31969 happened.
265bb1ce
UD
31970
31971See ChangeLog.17 for earlier changes.