]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Disable elision for any pthread_mutexattr_settype call
[thirdparty/glibc.git] / ChangeLog
CommitLineData
1c81621c
L
12013-07-02 H.J. Lu <hongjiu.lu@intel.com>
2
3 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
4 SSE4.2 strcasecmp for libc.a.
5 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6
77f01ab5
JM
72013-07-02 Joseph Myers <joseph@codesourcery.com>
8
9 [BZ #13304]
10 * soft-fp/op-common.h (_FP_FMA): New macro.
11 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
12 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
13 (_FP_MUL_MEAT_1_imm): ... here.
14 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
15 (_FP_MUL_MEAT_1_wide): ... here.
16 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17 (_FP_MUL_MEAT_1_hard): ... here.
18 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
19 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
20 (_FP_MUL_MEAT_2_wide): ... here.
21 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
22 (_FP_MUL_MEAT_2_wide_3mul): ... here.
23 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
24 (_FP_MUL_MEAT_2_gmp): ... here.
25 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
26 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
27 (_FP_MUL_MEAT_4_wide): ... here.
28 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
29 (_FP_MUL_MEAT_4_gmp): ... here.
30 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
31 (_FP_WFRACBITS_DW_S): Likewise.
32 (_FP_WFRACXBITS_DW_S): Likewise.
33 (_FP_HIGHBIT_DW_S): Likewise.
34 (FP_FMA_S): Likewise.
35 (_FP_FRAC_HIGH_DW_S): Likewise.
36 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
37 (_FP_WFRACBITS_DW_D): Likewise.
38 (_FP_WFRACXBITS_DW_D): Likewise.
39 (_FP_HIGHBIT_DW_D): Likewise.
40 (FP_FMA_D): Likewise.
41 (_FP_FRAC_HIGH_DW_D): Likewise.
42 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
43 (_FP_WFRACBITS_DW_E): Likewise.
44 (_FP_WFRACXBITS_DW_E): Likewise.
45 (_FP_HIGHBIT_DW_E): Likewise.
46 (FP_FMA_E): Likewise.
47 (_FP_FRAC_HIGH_DW_E): Likewise.
48 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
49 (_FP_WFRACBITS_DW_Q): Likewise.
50 (_FP_WFRACXBITS_DW_Q): Likewise.
51 (_FP_HIGHBIT_DW_Q): Likewise.
52 (FP_FMA_Q): Likewise.
53 (_FP_FRAC_HIGH_DW_Q): Likewise.
54 * soft-fp/fmasf4.c: New file.
55 * soft-fp/fmadf4.c: Likewise.
56 * soft-fp/fmatf4.c: Likewise.
57
6308fd9a
LD
582013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
59
60 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
62 Silvermont.
63 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
64 macro.
65 (index_Slow_SSE4_2): Likewise.
66 (index_Prefer_PMINUB_for_stringop): Likewise.
67 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
68 bit_Slow_SSE4_2 is set.
69 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
70 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
71
89cd9569
RA
722013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
73
74 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
75 rtld_global._dl_hwcap2.
76 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
77 POWER8.
78 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
79 POWER8 feature descriptions defined in _dl_hwcap2.
80 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
81 string handling for POWER8 feature bits.
82 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
83 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
84 _dl_powerpc_cap_flags.
85 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
86 * sysdeps/powerpc/rtld-global-offsets.sym
87 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
88 _dl_hwcap2 in the rtld_global_ro structure.
89
1ae8bfe0
RA
902013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
91
92 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
93 hardware capabilities in support of AT_HWCAP2.
94 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
95 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
96 GLRO(dl_hwcap2).
97 (_dl_show_auxv): Add support for calling _dl_procinfo to display
98 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
99 explicitly the unknown a_type display mechanism is used.
100 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
101 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
102 struct member.
103 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
104 to macro prototype for AT_HWCAP2 support.
105 * sysdeps/i386/dl-procinfo.h: Likewise.
106 * sysdeps/s390/dl-procinfo.h: Likewise.
107 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
108 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
109 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
110 return -1 for unknown a_type display fallback.
111 * sysdeps/sparc/dl-procinfo.h: Likewise.
112 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
113 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
114
8fbec010
JM
1152013-06-28 Joseph Myers <joseph@codesourcery.com>
116
117 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
118 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
119
0432680e
PY
1202013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
121
122 [BZ #12492]
123 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
124 mprotect making __stack_prot writable.
125
ce61a2ad
NF
1262013-06-28 Nathan Froyd <froydnj@codesourcery.com>
127 Joseph Myers <joseph@codesourcery.com>
128
129 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
130 as being properly aligned.
131
f91f1c0f
MR
1322013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
133
3d0f5d0c
MR
134 * dlfcn/modstatic5.c: New file.
135 * dlfcn/tststatic5.c: New file.
136 * dlfcn/Makefile (tests): Add tststatic5.
137 (tests-static): Likewise.
138 (modules-names): Add modstatic5.
139 (tststatic5-ENV): New variable.
140 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
141
f91f1c0f
MR
142 [BZ #15022]
143 * elf/dl-support.c (_dl_main_map): New variable.
144 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
145 (_dl_nns, _dl_load_adds): Set to 1.
146 (_dl_initial_searchlist): Refer to _dl_main_map.
147 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
148 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
149 call to _dl_get_origin.
150 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
151 around call_map.
152 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
153 * dlfcn/modstatic3.c: New file.
154 * dlfcn/tststatic3.c: New file.
155 * dlfcn/tststatic4.c: New file.
156 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
157 (tests-static): Likewise.
158 (modules-names): Add modstatic3.
159 (tststatic3-ENV, tststatic4-ENV): New variables.
160 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
161 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
162
cbe7d24b
JM
1632013-06-26 Joseph Myers <joseph@codesourcery.com>
164
165 * configure.in (CC): Require GCC version 4.4 or later.
166 * configure: Regenerated.
167 * manual/install.texi (Tools for Compilation): Update GCC version
168 requirement.
169 * INSTALL: Regenerated.
170
11b8a0e1
LD
1712013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
172
173 [BZ #15674]
bb5bb87c
L
174 * string/test-memcmp.c (check2): New.
175 (main): Call check2.
176
11b8a0e1
LD
177 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
178
b0037103
MR
1792013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
180
181 [BZ #15022]
182 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
183 over to...
184 (dl_open_worker) [!SHARED]: ... here.
185
c18c701d
RA
1862013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
187
188 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
189
1d17fa5f
RH
1902013-06-25 Richard Henderson <rth@redhat.com>
191
192 * locale/programs/locarchive.c: Include <libc-internal.h>
193
8fcb833a
JM
1942013-06-25 Joseph Myers <joseph@codesourcery.com>
195
196 * manual/texinfo.tex: Update to version 2013-06-21.17, with
197 trailing whitespace removed.
198
17db6e8d
MF
1992013-06-24 Mike Frysinger <vapier@gentoo.org>
200
201 [BZ #10283]
17db6e8d
MF
202 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
203 * locale/programs/locarchive.c: Include libc-mmap.h.
204 (prepare_address_space): Take two new outputs (the mmap base and len).
205 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
206 values.
207 (create_archive): Declare new mmap base and len values for
208 prepare_address_space, and store the result in ah.
209 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
210 (enlarge_archive): If ah->mmap_base is not NULL, use that and
211 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
212 Declare new mmap base and len values for
213 prepare_address_space, and store the result in new_ah.
214 (open_archive): Declare new mmap base and len values for
215 prepare_address_space, and store the result in ah.
216 (close_archive): If ah->mmap_base is not NULL, use that and
217 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
218 * sysdeps/generic/libc-mmap.h: New file.
219
d605071e
MF
2202013-06-24 Mike Frysinger <vapier@gentoo.org>
221
222 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
223 (ALIGN_UP): Likewise.
224 (PTR_ALIGN_DOWN): Likewise.
225 (PTR_ALIGN_UP): Likewise.
226
2f063a6e
RA
2272013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
228
229 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
230 entry mapped to PPC_PLATFORM_POWER8.
231 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
232 POWER8.
233 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
234 (_dl_string_platform): Add case for exporting platform position for
235 POWER8.
236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
237 search path to sysdeps/powerpc/powerpc32/power8 directory.
238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
239 search path to sysdeps/powerpc/powerpc64/power8 directory.
240 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
241 power7 directories.
242 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
243 power7 directories.
244
a31ee4b3
SP
2452013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
246
a74ca98f
SP
247 * INSTALL: Regenerate.
248
a31ee4b3
SP
249 * nscd/connections.c (nscd_init): Fix comment.
250
695c378f
JM
2512013-06-22 Joseph Myers <joseph@codesourcery.com>
252
d8412221
JM
253 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
254
695c378f
JM
255 [BZ #15667]
256 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
257 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
258
d1d54715
MR
2592013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
260
261 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
262 DL_DST_REQ_STATIC.
263 (DL_DST_REQ_STATIC): Remove macro.
264
8fdda7af
JM
2652013-06-21 Joseph Myers <joseph@codesourcery.com>
266
267 [BZ #7006]
268 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
269 with a shift of 0 bits.
270
f3bc5e5a
MR
2712013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
272
273 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
274 $(tststatic-ENV).
275
be09e8c9
KK
2762013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
277
278 [BZ #15655]
279 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
280
85c2e611
AZ
2812013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
282
283 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
284 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
285 accepts -fno-tree-loop-distribute-patterns.
286 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
287 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
288 recursive call.
289 * string/memset.c (memset): Likewise.
290 * string/test-memmove.c (simple_memmove): Disable loop transformation
291 to library calls.
292 * string/test-memset.c (simple_memset): Likewise.
293 * benchtests/bench-memmove.c (simple_memmove): Likewise.
294 * benchtests/bench-memset.c (simple_memset): Likewise.
295 * configure: Regenerated.
296
c91e0825
JM
2972013-06-20 Joseph Myers <joseph@codesourcery.com>
298
b8c792af
JM
299 * math/test-misc.c (main): Ignore fesetround failure when failures
300 of subsequent rounding tests would be ignored.
301
c91e0825
JM
302 [BZ #15654]
303 * math/fedisblxcpt.c (fedisableexcept): Return 0.
304 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
305 * math/fegetenv.c (__fegetenv): Return 0.
306 * math/fegetexcept.c (fegetexcept): Return 0.
307 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
308 FE_TONEAREST.
309 * math/feholdexcpt.c (feholdexcept): Return 0.
310 * math/fesetenv.c (__fesetenv): Return 0.
311 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
312 argument FE_TONEAREST.
313 * math/feupdateenv.c (__feupdateenv): Return 0.
314 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
315
bfcacbde
RM
3162013-06-18 Roland McGrath <roland@hack.frob.com>
317
318 * elf/rtld-Rules (rtld-compile-command.S): New variable.
319 (rtld-compile-command.s, rtld-compile-command.c): New variables.
320 ($(objpfx)rtld-%.os rules): Use them.
321
e55a9b25
AZ
3222013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
323
324 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
325 fields.
326
346d65b3
RM
3272013-06-17 Roland McGrath <roland@hack.frob.com>
328
12086fb4
RM
329 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
330 length of target pattern, then descending length of dependency pattern.
331 * configure.in (AWK): Require gawk 3.1.2 or newer.
332 * manual/install.texi (Tools for Compilation): Say that we do.
333 * configure: Regenerated.
334
346d65b3
RM
335 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
336 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
337 * scripts/sysd-rules.awk: ... this new script.
338 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
339 than a glob-style pattern.
340
1a846317
JM
3412013-06-17 Joseph Myers <joseph@codesourcery.com>
342
343 * math/test-misc.c (main): Do not treat incorrectly rounded
344 conversions as failure unless ROUNDING_TESTS passes.
345
8fc75e6f
JM
3462013-06-15 Joseph Myers <joseph@codesourcery.com>
347
3711a167
JM
348 [BZ #15631]
349 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
350 restore exception state around main square root computation, then
351 check for inexactness explicitly.
352
8fc75e6f
JM
353 * math/libm-test.inc (fma_test_data): Add another test.
354
61dd6208
SP
3552013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
356
adf23d2c
SP
357 * manual/threads.texi (Non-POSIX Extensions): New document
358 node. Document pthread_getattr_default_np and
359 pthread_setattr_default_np.
360
61dd6208
SP
361 * Versions.def (libpthread): Add GLIBC_2.18.
362 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
364 Likewise.
365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
366 Likewise.
367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
368 Likewise.
369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
370 Likewise.
371 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
372 Likewise.
373 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
374 Likewise.
375 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
376 Likewise.
377 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
378 Likewise.
379 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
380 Likewise.
381
d086fc7b
LD
3822013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
383
384 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
385 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
386
747ef469
SP
3872013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
388 H.J. Lu <hjl.tools@gmail.com>
389
390 [BZ #15627]
391 * sysdeps/x86_64/rtld-memset.c: Remove file.
392 * sysdeps/x86_64/rtld-memset.S: New file.
393
1b2feed2
JM
3942013-06-14 Joseph Myers <joseph@codesourcery.com>
395
396 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
397 (test_in_one_mode): Take arguments for whether the rounding mode
398 is supported for each floating-point type.
399 (do_test): Pass new arguments to test_in_one_mode using
400 ROUNDING_TESTS.
401
a58ad3f8
RM
4022013-06-13 Roland McGrath <roland@hack.frob.com>
403
404 * posix/tst-waitid.c (do_test): Distinguish different instances of
405 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
406 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
407 before entering the kernel for waitpid.
408
c204ab28
SP
4092013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
410
411 * NEWS: Fix note on clock function precision. Text by Roland
412 McGrath.
413
f4a29fba
RM
4142013-06-13 Roland McGrath <roland@hack.frob.com>
415
416 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
417 it into place only when and if the sanity check passes.
418
1f24b9ad
JM
4192013-06-13 Joseph Myers <joseph@codesourcery.com>
420
421 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
422 output for whether conversion result is exact. Take argument
423 indicating whether type is IBM long double.
424 (round_for_all): Change need_exact field to ibm_ld.
425 * stdlib/tst-strtod-round.c (struct exactness): New type.
426 (struct test): Change bool ld_ok field to struct exactness exact.
427 (TEST): Update all definitions for change to field.
428 (tests): Regenerate array contents.
429 (test_in_one_mode): Take pointer to new field instead of old ld_ok
430 field value. Check for IBM long double here.
431 (do_test): Update calls to test_in_one_mode.
432
58206c68
SP
4332013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
434
435 [BZ #12515]
436 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
437 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
438
2d6f4c5b 4392013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
440
441 [BZ #15605]
442 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
443 generated by the compiler on loop optimizations.
444 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
445 general definitions.
446
94f2c076
JM
4472013-06-12 Joseph Myers <joseph@codesourcery.com>
448
449 * math/bug-nextafter.c: Include <math-tests.h>.
450 (main): Only test for exceptions if EXCEPTION_TESTS is true for
451 the relevant type.
452 * math/bug-nexttoward.c: Include <math-tests.h>.
453 (main): Only test for exceptions if EXCEPTION_TESTS is true for
454 the relevant type.
455 * math/test-misc.c: Include <math-tests.h>.
456 (main): Only test for exceptions if EXCEPTION_TESTS is true for
457 the relevant type.
458
e0e50a0a
AJ
4592013-06-12 Andreas Jaeger <aj@suse.de>
460
461 * po/ia.po: Update Interlingua translation from translation
462 project.
463
25061094
SP
4642013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
465
466 * include/fenv.h: Include stdbool.h.
467 (struct rm_ctx): New structure.
468 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
469 Define macro.
470 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
471 (SET_RESTORE_ROUNDF): Likewise.
472 (SET_RESTORE_ROUNDL): Likewise.
473 (SET_RESTORE_ROUND_NOEX): Likewise.
474 (SET_RESTORE_ROUND_NOEXF): Likewise.
475 (SET_RESTORE_ROUND_NOEXL): Likewise.
476 (SET_RESTORE_ROUND_53BIT): Likewise.
477 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
478 (libc_feresetround_noexf_ctx): Likewise.
479 (libc_feresetround_noexl_ctx): Likewise.
480 (libc_feholdsetround_53bit_ctx): Likewise.
481 (libc_feresetround_53bit_ctx): Likewise.
482 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
483 (libc_feholdexcept_setround_sse_ctx): New function.
484 (libc_fesetenv_sse_ctx): Likewise.
485 (libc_feupdateenv_sse_ctx): Likewise.
486 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
487 (libc_feholdexcept_setround_387_ctx): Likewise.
488 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
489 (libc_feholdsetround_387_prec_ctx): Likewise.
490 (libc_feholdsetround_387_ctx): Likewise.
491 (libc_feholdsetround_387_53bit_ctx): Likewise.
492 (libc_feholdsetround_sse_ctx): Likewise.
493 (libc_feresetround_sse_ctx): Likewise.
494 (libc_feresetround_387_ctx): Likewise.
495 (libc_feupdateenv_387_ctx): Likewise.
496 (libc_feholdexcept_setroundf_ctx): Define macro.
497 (libc_fesetenvf_ctx): Likewise.
498 (libc_feupdateenvf_ctx): Likewise.
499 (libc_feholdsetroundf_ctx): Likewise.
500 (libc_feresetroundf_ctx): Likewise.
501 (libc_feholdexcept_setround_ctx): Likewise.
502 (libc_fesetenv_ctx): Likewise.
503 (libc_feupdateenv_ctx): Likewise.
504 (libc_feholdsetround_ctx): Likewise.
505 (libc_feresetround_ctx): Likewise.
506 (libc_feholdexcept_setroundl_ctx): Likewise.
507 (libc_feupdateenvl_ctx): Likewise.
508 (libc_feholdsetroundl_ctx): Likewise.
509 (libc_feresetroundl_ctx): Likewise.
510 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
511 (libc_feresetround_53bit_ctx): Likewise.
512
59b30555
SP
5132013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
514
515 * locale/iso-639.def: Convert to UTF-8.
516
f1d73d30
JM
5172013-06-11 Joseph Myers <joseph@codesourcery.com>
518
519 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
520 (EXCEPTION_TESTS_double): Likewise.
521 (EXCEPTION_TESTS_long_double): Likewise.
522 (EXCEPTION_TESTS): Likewise.
523 * math/libm-test.inc (test_exceptions): Only test exceptions if
524 EXCEPTION_TESTS (FLOAT).
525
94aca5e7
SP
5262013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
527
528 * benchtests/Makefile (string-bench): Add strcpy_chk and
529 stpcpy_chk.
530 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
531 * benchtests/bench-stpcpy_chk.c: New file.
532 * benchtests/bench-strcpy_chk-ifunc.c: New file.
533 * benchtests/bench-strcpy_chk.c: New file.
534 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
535 code.
536 (do_test): Likewise.
537
fac0c5f2
RA
5382013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
539
540 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
541 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
542 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
543 with tabs where appropriate.
544 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
545 dl-procinfo.h.
546 [PPC_PLATFORM_PPC440]: Likewise.
547 [PPC_PLATFORM_PPC464]: Likewise.
548 [PPC_PLATFORM_PPC476]: Likewise.
549 (_dl_string_platform): Add support for detecting ppc405, ppc440,
550 ppc464, and ppc476 platform strings merging from ports/
551 dl-procinfo.h.
552
f22bc486
AS
5532013-06-11 Andreas Schwab <schwab@suse.de>
554
555 [BZ #14991]
556 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
557 (from_ucs4_idx): Regenerate.
558 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
559 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
560 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
561 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
562 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
563 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
564 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
565 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
566 from FROM_LOOP and TO_LOOP specific macros.
567 (BODY): Handle combining characters.
568 * iconvdata/BIG5HKSCS.irreversible: Update.
569 * iconvdata/BIG5HKSCS.precomposed: New file.
570 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
571 characters.
572 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
573
c1f75dc3
SP
5742013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
575
4eacded2
SP
576 * include/sys/time.h: Fix indentation and add copyright header.
577
fec799f8
SP
578 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
579 (do_test): Likewise.
580 * string/test-memchr.c (do_one_test): Likewise.
581 (do_test): Likewise.
582 * string/test-memcmp.c (do_one_test): Likewise.
583 (do_test): Likewise.
584 * string/test-memcpy.c (do_one_test): Likewise.
585 (do_test): Likewise.
586 * string/test-memmem.c (do_one_test): Likewise.
587 (do_test): Likewise.
588 (do_random_tests): Likewise.
589 * string/test-memmove.c (do_one_test): Likewise.
590 (do_test): Likewise.
591 * string/test-memset.c (do_one_test): Likewise.
592 (do_test): Likewise.
593 * string/test-rawmemchr.c (do_one_test): Likewise.
594 (do_test): Likewise.
595 * string/test-strcasecmp.c (do_one_test): Likewise.
596 (do_test): Likewise.
597 * string/test-strcasestr.c (do_one_test): Likewise.
598 (do_test): Likewise.
599 * string/test-strcat.c (do_one_test): Likewise.
600 (do_test): Likewise.
601 * string/test-strchr.c (do_one_test): Likewise.
602 (do_test): Likewise.
603 * string/test-strcmp.c (do_one_test): Likewise.
604 (do_test): Likewise.
605 * string/test-strcpy.c (do_one_test): Likewise.
606 (do_test): Likewise.
607 * string/test-string.h: Likewise.
608 (test_init): Likewise.
609 * string/test-strlen.c (do_one_test): Likewise.
610 (do_test): Likewise.
611 * string/test-strncasecmp.c (do_one_test): Likewise.
612 (do_test): Likewise.
613 * string/test-strncat.c (do_one_test): Likewise.
614 (do_test): Likewise.
615 * string/test-strncmp.c (do_one_test): Likewise.
616 (do_test_limit): Likewise.
617 (do_test): Likewise.
618 * string/test-strncpy.c (do_one_test): Likewise.
619 (do_test): Likewise.
620 * string/test-strnlen.c (do_one_test): Likewise.
621 (do_test): Likewise.
622 * string/test-strpbrk.c (do_one_test): Likewise.
623 (do_test): Likewise.
624 * string/test-strrchr.c (do_one_test): Likewise.
625 (do_test): Likewise.
626 * string/test-strspn.c (do_one_test): Likewise.
627 (do_test): Likewise.
628 * string/test-strstr.c (do_one_test): Likewise.
629 (do_test): Likewise.
630
97020474
SP
631 * benchtests/Makefile (string-bench): Add string benchmarks.
632 * benchtests/bench-bcopy-ifunc.c: New file.
633 * benchtests/bench-bcopy.c: New file.
634 * benchtests/bench-bzero-ifunc.c: New file.
635 * benchtests/bench-bzero.c: New file.
636 * benchtests/bench-memccpy-ifunc.c: New file.
637 * benchtests/bench-memccpy.c: New file.
638 * benchtests/bench-memchr-ifunc.c: New file.
639 * benchtests/bench-memchr.c: New file.
640 * benchtests/bench-memcmp-ifunc.c: New file.
641 * benchtests/bench-memcmp.c: New file.
642 * benchtests/bench-memmem-ifunc.c: New file.
643 * benchtests/bench-memmem.c: New file.
644 * benchtests/bench-memmove-ifunc.c: New file.
645 * benchtests/bench-memmove.c: New file.
646 * benchtests/bench-mempcpy-ifunc.c: New file.
647 * benchtests/bench-mempcpy.c: New file.
648 * benchtests/bench-memset-ifunc.c: New file.
649 * benchtests/bench-memset.c: New file.
650 * benchtests/bench-rawmemchr-ifunc.c: New file.
651 * benchtests/bench-rawmemchr.c: New file.
652 * benchtests/bench-stpcpy-ifunc.c: New file.
653 * benchtests/bench-stpcpy.c: New file.
654 * benchtests/bench-stpncpy-ifunc.c: New file.
655 * benchtests/bench-stpncpy.c: New file.
656 * benchtests/bench-strcasecmp-ifunc.c: New file.
657 * benchtests/bench-strcasecmp.c: New file.
658 * benchtests/bench-strcasestr-ifunc.c: New file.
659 * benchtests/bench-strcasestr.c: New file.
660 * benchtests/bench-strcat-ifunc.c: New file.
661 * benchtests/bench-strcat.c: New file.
662 * benchtests/bench-strchr-ifunc.c: New file.
663 * benchtests/bench-strchr.c: New file.
664 * benchtests/bench-strchrnul-ifunc.c: New file.
665 * benchtests/bench-strchrnul.c: New file.
666 * benchtests/bench-strcmp-ifunc.c: New file.
667 * benchtests/bench-strcmp.c: New file.
668 * benchtests/bench-strcpy-ifunc.c: New file.
669 * benchtests/bench-strcpy.c: New file.
670 * benchtests/bench-strcspn-ifunc.c: New file.
671 * benchtests/bench-strcspn.c: New file.
672 * benchtests/bench-strlen-ifunc.c: New file.
673 * benchtests/bench-strlen.c: New file.
674 * benchtests/bench-strncasecmp-ifunc.c: New file.
675 * benchtests/bench-strncasecmp.c: New file.
676 * benchtests/bench-strncat-ifunc.c: New file.
677 * benchtests/bench-strncat.c: New file.
678 * benchtests/bench-strncmp-ifunc.c: New file.
679 * benchtests/bench-strncmp.c: New file.
680 * benchtests/bench-strncpy-ifunc.c: New file.
681 * benchtests/bench-strncpy.c: New file.
682 * benchtests/bench-strnlen-ifunc.c: New file.
683 * benchtests/bench-strnlen.c: New file.
684 * benchtests/bench-strpbrk-ifunc.c: New file.
685 * benchtests/bench-strpbrk.c: New file.
686 * benchtests/bench-strrchr-ifunc.c: New file.
687 * benchtests/bench-strrchr.c: New file.
688 * benchtests/bench-strspn-ifunc.c: New file.
689 * benchtests/bench-strspn.c: New file.
690 * benchtests/bench-strstr-ifunc.c: New file.
691 * benchtests/bench-strstr.c: New file.
692
c1f75dc3
SP
693 * benchtests/Makefile: Disable parallel execution of targets.
694 (string-bench): Add memcpy.
695 (benchset): New variable to store a list of benchmark sets.
696 (bench-func): Renamed from bench.
697 (bench-set): New target.
698 (bench): Depend on bench-func and bench-set.
699 * benchtests/README: Add section on benchmark sets.
700 * benchtests/bench-memcpy-ifunc.c: New file.
701 * benchtests/bench-memcpy.c: New file.
702 * benchtests/bench-string.h: New file.
703
50fd745b
AS
7042013-06-11 Andreas Schwab <schwab@suse.de>
705
706 [BZ #15577]
707 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
708 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
709 values in the triple.
710 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
711 terminator in the group key.
712
3ee7e9fe
AJ
7132013-06-11 Andreas Jaeger <aj@suse.de>
714
715 * po/zh_TW.po: Update Chinese (traditional) translation from
716 translation project.
717
89fb6835
SP
7182013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
719
720 * include/time.h (__clock_gettime): Add libc_hidden_proto.
721 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
722 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
723 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
724 (clock_getcpuclockid): Likewise.
725 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
726 Add weak_alias and libc_hidden_def.
727 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
728 * rt/clock_gettime.c (clock_gettime): Rename to
729 __clock_gettime. Add weak_alias and libc_hidden_def.
730 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
731 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
732 __clock_nanosleep. Add weak_alias and libc_hidden_def.
733 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
734 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
735 Likewise.
736 * rt/clock_settime.c (clock_settime): Rename to
737 __clock_settime. Add weak_alias and libc_hidden_def.
738 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
739
0efa6f8b
JM
7402013-06-10 Joseph Myers <joseph@codesourcery.com>
741
b8c61b4b
JM
742 * mach/err_boot.sub: Remove trailing whitespace.
743 * mach/err_ipc.sub: Likewise.
744 * mach/err_mach.sub: Likewise.
745
0efa6f8b
JM
746 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
747 (ROUNDING_TESTS_double): Likewise.
748 (ROUNDING_TESTS_long_double): Likewise.
749 (ROUNDING_TESTS): Likewise.
750 * math/libm-test.inc: Include <math-tests.h>.
751 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
752 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
753 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
754 (IF_ROUND_INIT_FE_UPWARD): Likewise.
755
50b818bf
SP
7562013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
757
758 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
759 of assigning.
760
60d2f8f3
JM
7612013-06-08 Joseph Myers <joseph@codesourcery.com>
762
4902d2c3
JM
763 * sysdeps/gnu/errlist.awk: Do not generate space at end of
764 otherwise empty TRANS lines.
765 * sysdeps/gnu/errlist.c: Regenerated.
766
60d2f8f3
JM
767 * catgets/gencat.c (error_print): Use (void) in function
768 definition.
769 * crypt/crypt_util.c (__init_des): Likewise.
770 * crypt/speeds.c (Stop): Likewise.
771 (main): Likewise.
772 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
773 * inet/ruserpass.c (token): Likewise.
774 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
775 * intl/localealias.c (extend_alias_table): Likewise.
776 * intl/plural-exp.c (init_germanic_plural): Likewise.
777 * libio/fcloseall.c (__fcloseall): Likewise.
778 * libio/genops.c (_IO_flush_all): Likewise.
779 (_IO_flush_all_linebuffered): Likewise.
780 (_IO_cleanup): Likewise.
781 (_IO_iter_begin): Likewise.
782 (_IO_iter_end): Likewise.
783 (_IO_list_lock): Likewise.
784 (_IO_list_unlock): Likewise.
785 (_IO_list_resetlock): Likewise.
786 * libio/getchar.c (getchar): Likewise.
787 * libio/getchar_u.c (getchar_unlocked): Likewise.
788 * libio/getwchar.c (getwchar): Likewise.
789 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
790 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
791 * login/getpt.c (__getpt): Likewise.
792 * login/tst-utmp.c (main): Likewise.
793 * malloc/hooks.c (__malloc_check_init): Likewise.
794 * malloc/malloc.c (__malloc_stats): Likewise.
795 * malloc/mtrace.c (tr_break): Likewise.
796 (mtrace): Likewise.
797 (muntrace): Likewise.
798 * misc/fstab.c (endfsent): Likewise.
799 * misc/getclktck.c (__getclktck): Likewise.
800 * misc/getdtsz.c (__getdtablesize): Likewise.
801 * misc/gethostid.c (gethostid): Likewise.
802 * misc/getpagesize.c (__getpagesize): Likewise.
803 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
804 (__get_nprocs): Likewise.
805 (__get_phys_pages): Likewise.
806 (__get_avphys_pages): Likewise.
807 * misc/getttyent.c (getttyent): Likewise.
808 (setttyent): Likewise.
809 (endttyent): Likewise.
810 * misc/getusershell.c (getusershell): Likewise.
811 (endusershell): Likewise.
812 (setusershell): Likewise.
813 (initshells): Likewise.
814 * misc/hsearch.c (__hdestroy): Likewise.
815 * misc/sync.c (sync): Likewise.
816 * misc/syslog.c (closelog_internal): Likewise.
817 (closelog): Likewise.
818 * misc/ttyslot.c (ttyslot): Likewise.
819 * misc/vhangup.c (vhangup): Likewise.
820 * posix/fork.c (__fork): Likewise.
821 * posix/getegid.c (__getegid): Likewise.
822 * posix/geteuid.c (__geteuid): Likewise.
823 * posix/getgid.c (__getgid): Likewise.
824 * posix/getpid.c (__getpid): Likewise.
825 * posix/getppid.c (__getppid): Likewise.
826 * posix/getuid.c (__getuid): Likewise.
827 * posix/pause.c (pause): Likewise.
828 * posix/setpgrp.c (setpgrp): Likewise.
829 * posix/setsid.c (__setsid): Likewise.
830 * posix/test-vfork.c (noop): Likewise.
831 * resolv/gethnamaddr.c (_endhtent): Likewise.
832 (_gethtent): Likewise.
833 (ht_endhostent): Likewise.
834 (gethostent): Likewise.
835 (dns_service): Likewise.
836 * stdlib/drand48.c (drand48): Likewise.
837 * stdlib/lrand48.c (lrand48): Likewise.
838 * stdlib/mrand48.c (mrand48): Likewise.
839 * stdlib/rand.c (rand): Likewise.
840 * stdlib/random.c (__random): Likewise.
841 * stdlib/setenv.c (clearenv): Likewise.
842 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
843 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
844 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
845 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
846 (__get_nprocs): Likewise.
847 (__get_phys_pages): Likewise.
848 (__get_avphys_pages): Likewise.
849 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
850 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
851 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
852 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
853 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
854 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
855 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
856 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
857 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
858 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
859 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
860 * sysdeps/mach/hurd/sync.c (sync): Likewise.
861 * sysdeps/posix/clock.c (clock): Likewise.
862 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
863 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
864 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
865 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
866 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
867 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
868 (__get_nprocs_conf): Likewise.
869 (__get_phys_pages): Likewise.
870 (__get_avphys_pages): Likewise.
871 * time/clock.c (clock): Likewise.
872 * time/tzset.c (__tzname_max): Likewise.
873
2e09a79a
JM
8742013-06-07 Joseph Myers <joseph@codesourcery.com>
875
876 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
877 (__bswap_32): Do not use "register".
878 * crypt/crypt.c (_ufc_doit_r): Likewise.
879 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
880 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
881 * gmon/gmon.c (__monstartup): Likewise.
882 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
883 * hurd/hurdmalloc.c (more_memory): Likewise.
884 (malloc): Likewise.
885 (free): Likewise.
886 (realloc): Likewise.
887 (malloc_fork_prepare): Likewise.
888 (malloc_fork_parent): Likewise.
889 (malloc_fork_child): Likewise.
890 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
891 (_svcauth_des): Likewise.
892 * inet/inet_lnaof.c (inet_lnaof): Likewise.
893 * inet/inet_net.c (inet_network): Likewise.
894 * inet/inet_netof.c (inet_netof): Likewise.
895 * inet/rcmd.c (__validuser2_sa): Likewise.
896 * io/fts.c (fts_open): Likewise.
897 (fts_load): Likewise.
898 (fts_close): Likewise.
899 (fts_read): Likewise.
900 (fts_children): Likewise.
901 (fts_build): Likewise.
902 (fts_stat): Likewise.
903 (fts_sort): Likewise.
904 (fts_alloc): Likewise.
905 (fts_lfree): Likewise.
906 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
907 (_IO_file_xsgetn): Likewise.
908 (_IO_file_xsgetn_mmap): Likewise.
909 * libio/iofopncook.c (_IO_cookie_read): Likewise.
910 (_IO_cookie_write): Likewise.
911 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
912 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
913 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
914 * malloc/obstack.c (_obstack_begin): Likewise.
915 (_obstack_begin_1): Likewise.
916 (_obstack_newchunk): Likewise.
917 (_obstack_allocated_p): Likewise.
918 (obstack_free): Likewise.
919 (_obstack_memory_used): Likewise.
920 * misc/getttyent.c (getttynam): Likewise.
921 (getttyent): Likewise.
922 (skip): Likewise.
923 (value): Likewise.
924 * misc/getusershell.c (initshells): Likewise.
925 * misc/syslog.c (__vsyslog_chk): Likewise.
926 * misc/ttyslot.c (ttyslot): Likewise.
927 * nis/nis_hash.c (__nis_hash): Likewise.
928 * posix/fnmatch_loop.c (FCT): Likewise.
929 * posix/getconf.c (print_all): Likewise.
930 (main): Likewise.
931 * posix/getopt.c (exchange): Likewise.
932 * posix/glob.c (globfree): Likewise.
933 (prefix_array): Likewise.
934 (__glob_pattern_type): Likewise.
935 * resolv/arpa/nameser.h (NS_GET16): Likewise.
936 (NS_GET32): Likewise.
937 (NS_PUT16): Likewise.
938 (NS_PUT32): Likewise.
939 * resolv/gethnamaddr.c (getanswer): Likewise.
940 (gethostbyname2): Likewise.
941 (gethostbyaddr): Likewise.
942 (_gethtent): Likewise.
943 (_gethtbyname2): Likewise.
944 (_gethtbyaddr): Likewise.
945 * resolv/ns_print.c (dst_s_get_int16): Likewise.
946 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
947 * resolv/res_init.c (__res_vinit): Likewise.
948 (net_mask): Likewise.
949 * resolv/res_mkquery.c (outchar): Likewise.
950 (PRINT): Likewise.
951 * stdio-common/printf_fp.c (outchar): Likewise.
952 (PRINT): Likewise.
953 * stdio-common/printf_fphex.c (outchar): Likewise.
954 (PRINT): Likewise.
955 * stdio-common/printf_size.c (outchar): Likewise.
956 (PRINT): Likewise.
957 * stdio-common/test_rdwr.c (main): Likewise.
958 * stdio-common/tfformat.c (matches): Likewise.
959 * stdio-common/vfprintf.c (outchar): Likewise.
960 (printf_unknown): Likewise.
961 (buffered_vfprintf): Likewise.
962 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
963 * stdio-common/xbug.c (AppendToBuffer): Likewise.
964 (ReadFile): Likewise.
965 * stdlib/qsort.c (SWAP): Likewise.
966 (_quicksort): Likewise.
967 * stdlib/setenv.c (__add_to_environ): Likewise.
968 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
969 * stdlib/strtol_l.c (__strtol_l): Likewise.
970 * stdlib/tst-strtod.c (main): Likewise.
971 * stdlib/tst-strtol.c (main): Likewise.
972 * stdlib/tst-strtoll.c (main): Likewise.
973 * string/bits/string2.h (__strcmp_cc): Likewise.
974 (__strcmp_cg): Likewise.
975 (__strcspn_c1): Likewise.
976 (__strcspn_c2): Likewise.
977 (__strcspn_c3): Likewise.
978 (__strspn_c1): Likewise.
979 (__strspn_c2): Likewise.
980 (__strspn_c3): Likewise.
981 (__strsep_1c): Likewise.
982 (__strsep_2c): Likewise.
983 (__strsep_3c): Likewise.
984 * string/memccpy.c (__memccpy): Likewise.
985 * string/stpcpy.c (__stpcpy): Likewise.
986 * string/strcmp.c (strcmp): Likewise.
987 * string/strrchr.c (strrchr): Likewise.
988 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
989 Likewise.
990 * sysdeps/mach/hurd/getcwd.c
991 (_hurd_canonicalize_directory_name_internal): Likewise.
992 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
993 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
994 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
995 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
996 Likewise, in both definitions.
997 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
998 definitions.
999 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1000 64] (__bswap_64): Likewise.
1001 * time/test_time.c (main): Likewise.
1002 * time/tzfile.c (__tzfile_read): Likewise.
1003 (__tzfile_compute): Likewise.
1004 * time/tzset.c (__tzset_parse_tz): Likewise.
1005 (tzset_internal): Likewise.
1006 (compute_change): Likewise.
1007 * wcsmbs/wcscat.c (__wcscat): Likewise.
1008 * wcsmbs/wcschr.c (wcschr): Likewise.
1009 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1010 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1011 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1012 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1013 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1014 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1015 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1016 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1017 * wcsmbs/wmemset.c (wmemset): Likewise.
1018
9e54314b
JM
10192013-06-06 Joseph Myers <joseph@codesourcery.com>
1020
1021 * scripts/config.guess: Update to version 2013-05-16.
1022 * scripts/config.sub: Update to version 2013-04-24.
1023 * scripts/install-sh: Update to version 2011-11-20.07.
1024 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1025 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1026
350635a5
OB
10272013-06-06 Ondřej Bílka <neleai@seznam.cz>
1028
1029 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1030 * elf/sln.c: Likewise.
1031 * hurd/hurd/ioctl.h: Likewise.
1032 * hurd/hurdmalloc.c: Likewise.
1033 * hurd/xattr.c: Likewise.
1034 * include/shlib-compat.h: Likewise.
1035 * inet/ruserpass.c: Likewise.
1036 * libio/iofgets_u.c: Likewise.
1037 * libio/iofgetws_u.c: Likewise.
1038 * locale/programs/ld-identification.c: Likewise.
1039 * locale/programs/ld-time.c: Likewise.
1040 * mach/msg-destroy.c: Likewise.
1041 * nss/nss_files/files-netgrp.c: Likewise.
1042 * resolv/res_data.c: Likewise.
1043 * soft-fp/op-1.h: Likewise.
1044 * soft-fp/op-2.h: Likewise.
1045 * soft-fp/op-4.h: Likewise.
1046 * soft-fp/op-common.h: Likewise.
1047 * stdio-common/printf_fphex.c: Likewise.
1048 * stdlib/strtod_l.c: Likewise.
1049 * sunrpc/rpc/clnt.h: Likewise.
1050 * sysdeps/generic/framestate.c: Likewise.
1051 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1052 * sysdeps/i386/bsd-setjmp.S: Likewise.
1053 * sysdeps/i386/__longjmp.S: Likewise.
1054 * sysdeps/i386/setjmp.S: Likewise.
1055 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1056 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1057 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1058 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1059 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1060 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1061 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1062 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1063 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1064 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1065 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1066 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1067 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1068 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1069 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1070 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1071 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1072 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1073 * sysdeps/ieee754/support.c: Likewise.
1074 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1075 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1076 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1077 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1078 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1079 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1080 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1081 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1082 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1083 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1084 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1085 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1086 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1087 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1088 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1089 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1090 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1092
44a988af
OB
10932013-06-05 Ondřej Bílka <neleai@seznam.cz>
1094
25506f09 1095 * posix/transbug.c: Remove executable mode.
44a988af 1096
9c84384c
JM
10972013-06-05 Joseph Myers <joseph@codesourcery.com>
1098
1099 * crypt/speeds.c: Remove trailing whitespace.
1100 * dlfcn/default.c: Likewise.
1101 * elf/ifuncdep2.c: Likewise.
1102 * elf/ifuncmain1.c: Likewise.
1103 * elf/ifuncmain1vis.c: Likewise.
1104 * elf/testobj.h: Likewise.
1105 * elf/tst-stackguard1.c: Likewise.
1106 * gmon/sys/gmon.h: Likewise.
1107 * hurd/hurdmsg.c: Likewise.
1108 * hurd/new-fd.c: Likewise.
1109 * hurd/ports-get.c: Likewise.
1110 * iconvdata/ibm1008_420.c: Likewise.
1111 * inet/tst-getni1.c: Likewise.
1112 * inet/tst-getni2.c: Likewise.
1113 * libio/ioungetc.c: Likewise.
1114 * libio/wfiledoalloc.c: Likewise.
1115 * manual/libm-err-tab.pl: Likewise.
1116 * math/w_dremf.c: Likewise.
1117 * misc/ftruncate.c: Likewise.
1118 * posix/bug-glob2.c: Likewise.
1119 * posix/tst-pcre.c: Likewise.
1120 * posix/wait4.c: Likewise.
1121 * resolv/README: Likewise.
1122 * resolv/res_debug.h: Likewise.
1123 * resolv/tst-inet_ntop.c: Likewise.
1124 * setjmp/bug269-setjmp.c: Likewise.
1125 * soft-fp/extended.h: Likewise.
1126 * soft-fp/op-1.h: Likewise.
1127 * soft-fp/op-2.h: Likewise.
1128 * soft-fp/op-4.h: Likewise.
1129 * soft-fp/op-8.h: Likewise.
1130 * soft-fp/testit.c: Likewise.
1131 * stdio-common/bug16.c: Likewise.
1132 * stdlib/random.c: Likewise.
1133 * sunrpc/rpcsvc/rquota.x: Likewise.
1134 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1135 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1136 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1137 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1138 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1139 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1140 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1141 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1142 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1143 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1144 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1145 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1146 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1147 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1148 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1149 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1150 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1151 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1152 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1153 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1154 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1155 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1156 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1157 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1158 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1159 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1160 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1161 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1162 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1163 * sysdeps/ieee754/s_lib_version.c: Likewise.
1164 * sysdeps/mach/hurd/check_fds.c: Likewise.
1165 * sysdeps/mach/hurd/getsockname.c: Likewise.
1166 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1167 * sysdeps/mach/hurd/recvfrom.c: Likewise.
1168 * sysdeps/powerpc/bits/link.h: Likewise.
1169 * sysdeps/powerpc/dl-procinfo.c: Likewise.
1170 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1171 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1172 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1173 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1174 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1175 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1176 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1177 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1178 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1179 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1180 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1181 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1182 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1183 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1184 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1185 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1186 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1187 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1188 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1189 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1190 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1191 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1192 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1193 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1194 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1195 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1196 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1197 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1198 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1199 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1200 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1201 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1202 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1203 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1204 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1205 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1206 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1207 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1208 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1209 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1210 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1211 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1212 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1213 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1214 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1215 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1216 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1217 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1218 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1219 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1220 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1221 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1222 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1223 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1224 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1225 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1226 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1227 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1228 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1229 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1230 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1231 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1232 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1233 * sysdeps/powerpc/sysdep.h: Likewise.
1234 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1235 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1236 * sysdeps/sh/dl-trampoline.S: Likewise.
1237 * sysdeps/sh/memset.S: Likewise.
1238 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1239 * sysdeps/sh/strlen.S: Likewise.
1240 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1241 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1242 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1243 * sysdeps/sparc/sparc32/rem.S: Likewise.
1244 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1245 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1246 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1247 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1248 * sysdeps/sparc/sparc32/urem.S: Likewise.
1249 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1250 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1251 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1252 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1253 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1254 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1255 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1256 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1257 * sysdeps/unix/bsd/times.c: Likewise.
1258 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1259 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1263 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1264 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1265 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1266 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1267 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1268 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1269 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1270 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1271 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1272 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1273 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1274 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1275 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1276 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1277 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1278 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1279 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1280 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1281 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1282 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1283 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1284 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1285 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1286 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1287 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1288 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1289 * sysdeps/x86_64/strcspn.S: Likewise.
1290
869378a5
RA
12912013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1292
1293 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1294 generated file. Regenerate properly from gen-translit.pl.
1295 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1296 locale/C-translit.h.
1297
840e2943
AS
12982013-06-05 Andreas Schwab <schwab@suse.de>
1299
1300 [BZ #15100]
1301 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1302 week as 6 instead of -1.
1303 * time/tst-strptime.c (day_tests): Add test case.
1304
4c60cb0c
SP
13052013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1306
1307 * sysdeps/generic/math_private.h
1308 (libc_feholdexcept_setround_53bit): Replace with
1309 libc_feholdsetround_53bit.
1310 (libc_feupdateenv_53bit): Replace with
1311 libc_feresetround_53bit.
1312 (SET_RESTORE_ROUND_53BIT): Adjust.
1313
d180203e
SP
13142013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1315
96df079a
SP
1316 * string/test-strchrnul.c: Add copyright header.
1317
d180203e
SP
1318 * posix/tst-getaddrinfo4.c: Increase test timeout.
1319
8b0ccb2d
CD
13202013-06-03 Carlos O'Donell <carlos@redhat.com>
1321
1322 [BZ #15536]
1323 * math/libm-test.inc (MAX_EXP): Remove
1324 (MIN_EXP): Define.
1325 (ulp): Use MIN_EXP - MANT_DIG.
1326 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1327
3b3c4d40
CD
13282013-05-31 Carlos O'Donell <carlos@redhat.com>
1329
1330 * po/be.po: Revert last change.
1331 * po/zh_CN.po: Likewise.
1332 * po/header.pot: Likewise.
1333
fab7ce3f
JM
13342013-05-31 Joseph Myers <joseph@codesourcery.com>
1335
1336 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1337 link-libc-deps to empty as target-specific variable.
1338 * Makerules (link-libc-args): New variable.
1339 (libc-for-link): Likewise.
1340 (link-libc-deps): Likewise.
1341 (lib%.so): Depend on $(link-libc-deps). Link with
1342 $(link-libc-args).
1343 (build-module): Link with $(link-libc-args).
1344 (build-module-asneeded): Likewise.
1345 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1346 list of objects.
1347 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1348 target-specific variable.
1349 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1350 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1351 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1352 libc.
1353 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1354 libc and ld.so.
1355 ($(objpfx)libpcprofile.so): Likewise.
1356 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1357 libc_nonshared.a.
1358 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1359 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1360 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1361 $(link-libc-deps).
1362 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1363 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1364 * login/Makefile ($(objpfx)libutil.so): Likewise.
1365 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1366 * math/Makefile ($(objpfx)libm.so): Likewise.
1367 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1368 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1369 variable instead of depending directly on libc.
1370 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1371 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1372 $(link-libc-deps).
1373 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1374 libc.
1375 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1376 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1377 ($(objpfx)libanl.so): Likewise.
1378 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1379 ld.so.
1380 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1381 $(link-libc-deps).
1382 * sysdeps/i386/fpu/Makefile: Remove file.
1383 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1384 ($(objpfx)libm.so): Remove dependency on ld.so.
1385
eca5920c
PF
13862013-05-30 Patsy Franklin <pfrankli@redhat.com>
1387
1388 [BZ # 15553]
1389 * nis/yp_xdr.c (XDRMAXNAME): Define.
1390 (XDRMAXRECORD): Define.
1391 (xdr_domainname): Use XDRMAXNAME.
1392 (xdr_mapname): Likewise.
1393 (xdr_peername): Likewise.
1394 (xdr_keydat): Use XDRMAXRECORD.
1395 (xdr_valdat): Likewise.
1396
13972013-05-30 Jeff Law <law@redhat.com>
96945714
JL
1398
1399 [BZ #14256]
1400 * manual/errno.texi (ESTALE): Update to account for more than
1401 just NFS file systems.
1402 * sysdeps/gnu/errlist.c: Regenerated.
1403
b9375348
SP
14042013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1405
1406 [BZ #15465]
1407 * elf/Makefile (tests): Add tst-null-argv.
1408 (modules-names): Add tst-null-argv-lib.
1409 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1410 (tst-null-argv-ENV): Set environment for tst-null-argv.
1411 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1412 (RTLD_PROGNAME): New macro.
1413 * elf/tst-null-argv.c: New test case.
1414 * elf/tst-null-argv-lib.c: Library for test case.
1415 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1416 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1417 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1418 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1419 * elf/dl-init.c (call_init): Likewise.
1420 (_dl_init): Likewise.
1421 * elf/dl-load.c (print_search_path): Likewise.
1422 (_dl_map_object): Likewise.
1423 * elf/dl-lookup.c (do_lookup_x): Likewise.
1424 (add_dependency): Likewise.
1425 (_dl_lookup_symbol_x): Likewise.
1426 (_dl_debug_bindings): Likewise.
1427 * elf/dl-open.c (_dl_show_scope): Likewise.
1428 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1429 * elf/dl-version.c (match_symbol): Likewise.
1430 (_dl_check_map_versions): Likewise.
1431 * elf/rtld.c (dl_main): Likewise.
1432 (print_unresolved): Use RTLD_PROGNAME.
1433 (print_missing_version): Likewise.
1434 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1435 (elf_machine_rela): Likewise.
1436 * sysdeps/powerpc/powerpc32/dl-machine.c
1437 (__process_machine_rela): Likewise.
1438 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1439 Likewise.
1440 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1441 Likewise.
1442 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1443 Likewise.
1444 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1445 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1446 Likewise.
1447 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1448 Likewise.
1449 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1450
8a9f20c8
CD
14512013-05-28 Carlos O'Donell <carlos@redhat.com>
1452
1453 * po/be.po: Add descriptive title.
1454 * po/zh_CN.po: Likewise.
1455 * po/header.pot: Likewise.
1456
0e60d68e
MF
14572013-05-28 Mike Frysinger <vapier@gentoo.org>
1458
1459 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1460 error message.
1461 (enlarge_archive): Likewise.
1462
56b672e9
BN
14632013-05-28 Ben North <ben@redfrontdoor.org>
1464
1465 * manual/arith.texi (frexp): It is the magnitude of the return
1466 value which lies in [0.5, 1), not the return value itself.
1467
5e056687
AZ
14682013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1469
1470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1471
2b66ef5d
TS
14722013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1473
528c2405
TS
1474 * stdio-common/bug26.c (main): Correct fscanf template.
1475
07b4c13d
TS
1476 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1477 declare _dl_skip_args.
1478
ec9dd97c
TS
1479 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1480 Don't declare.
1481
2b66ef5d
TS
1482 * manual/platform.texi: Add missing @end deftypefun.
1483
4f8dfe27
JM
14842013-05-24 Joseph Myers <joseph@codesourcery.com>
1485
0323d086
JM
1486 [BZ #15529]
1487 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1488 bit of mantissa of 2^16382.
1489 * math/libm-test.inc (hypot_test_data): Add more tests.
1490
dd4259b9
JM
1491 * math/libm-test.inc: Add drem and pow10 to list of tested
1492 functions.
1493 (pow10_test): New function.
1494 (drem_test): Likewise.
1495 (drem_test_tonearest): Likewise.
1496 (drem_test_towardzero): Likewise.
1497 (drem_test_downward): Likewise.
1498 (drem_test_upward): Likewise.
1499 (main): Call the new functions.
1500
4f8dfe27
JM
1501 * math/libm-test.inc (finite_test_data): Remove.
1502 (finite_test): Run tests from isfinite_test_data.
1503 (gamma_test_data): Remove.
1504 (gamma_test): Run tests from lgamma_test_data.
1505 * sysdeps/i386/fpu/libm-test-ulps: Update.
1506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1507
d116b7c4
AZ
15082013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1509
1510 * manual/platform.texi: Add PowerPC PPR function set documentation.
1511 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1512 implementation.
1513
e96e3767
CD
15142013-05-24 Carlos O'Donell <carlos@redhat.com>
1515
1516 * math/libm-test.inc (MAX_EXP): Define.
1517 (ULPDIFF): Define.
1518 (ulp): New function.
1519 (check_float_internal): Use ULPDIFF.
1520 (cpow_test): Disable failing test.
1521 (check_ulp): Test ulp() implemetnation.
1522 (main): Call check_ulp before starting tests.
1523
b679a606
JM
15242013-05-24 Joseph Myers <joseph@codesourcery.com>
1525
e8bdba36
JM
1526 * math/gen-libm-test.pl (generate_testfile): Do not handle
1527 START_DATA and END_DATA.
1528 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1529 END_DATA.
1530 (acos_tonearest_test_data): Likewise.
1531 (acos_towardzero_test_data): Likewise.
1532 (acos_downward_test_data): Likewise.
1533 (acos_upward_test_data): Likewise.
1534 (acosh_test_data): Likewise.
1535 (asin_test_data): Likewise.
1536 (asin_tonearest_test_data): Likewise.
1537 (asin_towardzero_test_data): Likewise.
1538 (asin_downward_test_data): Likewise.
1539 (asin_upward_test_data): Likewise.
1540 (asinh_test_data): Likewise.
1541 (atan_test_data): Likewise.
1542 (atanh_test_data): Likewise.
1543 (atan2_test_data): Likewise.
1544 (cabs_test_data): Likewise.
1545 (cacos_test_data): Likewise.
1546 (cacosh_test_data): Likewise.
1547 (carg_test_data): Likewise.
1548 (casin_test_data): Likewise.
1549 (casinh_test_data): Likewise.
1550 (catan_test_data): Likewise.
1551 (catanh_test_data): Likewise.
1552 (cbrt_test_data): Likewise.
1553 (ccos_test_data): Likewise.
1554 (ccosh_test_data): Likewise.
1555 (ceil_test_data): Likewise.
1556 (cexp_test_data): Likewise.
1557 (cimag_test_data): Likewise.
1558 (clog_test_data): Likewise.
1559 (clog10_test_data): Likewise.
1560 (conj_test_data): Likewise.
1561 (copysign_test_data): Likewise.
1562 (cos_test_data): Likewise.
1563 (cos_tonearest_test_data): Likewise.
1564 (cos_towardzero_test_data): Likewise.
1565 (cos_downward_test_data): Likewise.
1566 (cos_upward_test_data): Likewise.
1567 (cosh_test_data): Likewise.
1568 (cosh_tonearest_test_data): Likewise.
1569 (cosh_towardzero_test_data): Likewise.
1570 (cosh_downward_test_data): Likewise.
1571 (cosh_upward_test_data): Likewise.
1572 (cpow_test_data): Likewise.
1573 (cproj_test_data): Likewise.
1574 (creal_test_data): Likewise.
1575 (csin_test_data): Likewise.
1576 (csinh_test_data): Likewise.
1577 (csqrt_test_data): Likewise.
1578 (ctan_test_data): Likewise.
1579 (ctan_tonearest_test_data): Likewise.
1580 (ctan_towardzero_test_data): Likewise.
1581 (ctan_downward_test_data): Likewise.
1582 (ctan_upward_test_data): Likewise.
1583 (ctanh_test_data): Likewise.
1584 (ctanh_tonearest_test_data): Likewise.
1585 (ctanh_towardzero_test_data): Likewise.
1586 (ctanh_downward_test_data): Likewise.
1587 (ctanh_upward_test_data): Likewise.
1588 (erf_test_data): Likewise.
1589 (erfc_test_data): Likewise.
1590 (exp_test_data): Likewise.
1591 (exp_tonearest_test_data): Likewise.
1592 (exp_towardzero_test_data): Likewise.
1593 (exp_downward_test_data): Likewise.
1594 (exp_upward_test_data): Likewise.
1595 (exp10_test_data): Likewise.
1596 (exp2_test_data): Likewise.
1597 (expm1_test_data): Likewise.
1598 (fabs_test_data): Likewise.
1599 (fdim_test_data): Likewise.
1600 (finite_test_data): Likewise.
1601 (floor_test_data): Likewise.
1602 (fma_test_data): Likewise.
1603 (fma_towardzero_test_data): Likewise.
1604 (fma_downward_test_data): Likewise.
1605 (fma_upward_test_data): Likewise.
1606 (fmax_test_data): Likewise.
1607 (fmin_test_data): Likewise.
1608 (fmod_test_data): Likewise.
1609 (fpclassify_test_data): Likewise.
1610 (frexp_test_data): Likewise.
1611 (gamma_test_data): Likewise.
1612 (hypot_test_data): Likewise.
1613 (ilogb_test_data): Likewise.
1614 (isfinite_test_data): Likewise.
1615 (isgreater_test_data): Likewise.
1616 (isgreaterequal_test_data): Likewise.
1617 (isinf_test_data): Likewise.
1618 (isless_test_data): Likewise.
1619 (islessequal_test_data): Likewise.
1620 (islessgreater_test_data): Likewise.
1621 (isnan_test_data): Likewise.
1622 (isnormal_test_data): Likewise.
1623 (issignaling_test_data): Likewise.
1624 (isunordered_test_data): Likewise.
1625 (j0_test_data): Likewise.
1626 (j1_test_data): Likewise.
1627 (jn_test_data): Likewise.
1628 (ldexp_test_data): Likewise.
1629 (lgamma_test_data): Likewise.
1630 (lrint_test_data): Likewise.
1631 (lrint_tonearest_test_data): Likewise.
1632 (lrint_towardzero_test_data): Likewise.
1633 (lrint_downward_test_data): Likewise.
1634 (lrint_upward_test_data): Likewise.
1635 (llrint_test_data): Likewise.
1636 (llrint_tonearest_test_data): Likewise.
1637 (llrint_towardzero_test_data): Likewise.
1638 (llrint_downward_test_data): Likewise.
1639 (llrint_upward_test_data): Likewise.
1640 (log_test_data): Likewise.
1641 (log10_test_data): Likewise.
1642 (log1p_test_data): Likewise.
1643 (log2_test_data): Likewise.
1644 (logb_test_data): Likewise.
1645 (logb_downward_test_data): Likewise.
1646 (lround_test_data): Likewise.
1647 (llround_test_data): Likewise.
1648 (modf_test_data): Likewise.
1649 (nearbyint_test_data): Likewise.
1650 (nextafter_test_data): Likewise.
1651 (nexttoward_test_data): Likewise.
1652 (pow_test_data): Likewise.
1653 (pow_tonearest_test_data): Likewise.
1654 (pow_towardzero_test_data): Likewise.
1655 (pow_downward_test_data): Likewise.
1656 (pow_upward_test_data): Likewise.
1657 (remainder_test_data): Likewise.
1658 (remainder_tonearest_test_data): Likewise.
1659 (remainder_towardzero_test_data): Likewise.
1660 (remainder_downward_test_data): Likewise.
1661 (remainder_upward_test_data): Likewise.
1662 (remquo_test_data): Likewise.
1663 (rint_test_data): Likewise.
1664 (rint_tonearest_test_data): Likewise.
1665 (rint_towardzero_test_data): Likewise.
1666 (rint_downward_test_data): Likewise.
1667 (rint_upward_test_data): Likewise.
1668 (round_test_data): Likewise.
1669 (scalb_test_data): Likewise.
1670 (scalbn_test_data): Likewise.
1671 (scalbln_test_data): Likewise.
1672 (signbit_test_data): Likewise.
1673 (sin_test_data): Likewise.
1674 (sin_tonearest_test_data): Likewise.
1675 (sin_towardzero_test_data): Likewise.
1676 (sin_downward_test_data): Likewise.
1677 (sin_upward_test_data): Likewise.
1678 (sincos_test_data): Likewise.
1679 (sinh_test_data): Likewise.
1680 (sinh_tonearest_test_data): Likewise.
1681 (sinh_towardzero_test_data): Likewise.
1682 (sinh_downward_test_data): Likewise.
1683 (sinh_upward_test_data): Likewise.
1684 (sqrt_test_data): Likewise.
1685 (tan_test_data): Likewise.
1686 (tan_tonearest_test_data): Likewise.
1687 (tan_towardzero_test_data): Likewise.
1688 (tan_downward_test_data): Likewise.
1689 (tan_upward_test_data): Likewise.
1690 (tanh_test_data): Likewise.
1691 (tgamma_test_data): Likewise.
1692 (trunc_test_data): Likewise.
1693 (y0_test_data): Likewise.
1694 (y1_test_data): Likewise.
1695 (yn_test_data): Likewise.
1696 (significand_test_data): Likewise.
1697
b679a606
JM
1698 * math/gen-libm-test.pl (@functions): Remove variable.
1699 (generate_testfile): Don't handle START and END lines.
1700 * math/libm-test.inc (START): New macro.
1701 (END): Likewise.
1702 (END_COMPLEX): Likewise.
1703 (acos_test): Use END macro without arguments.
1704 (acos_test_tonearest): Likewise.
1705 (acos_test_towardzero): Likewise.
1706 (acos_test_downward): Likewise.
1707 (acos_test_upward): Likewise.
1708 (acosh_test): Likewise.
1709 (asin_test): Likewise.
1710 (asin_test_tonearest): Likewise.
1711 (asin_test_towardzero): Likewise.
1712 (asin_test_downward): Likewise.
1713 (asin_test_upward): Likewise.
1714 (asinh_test): Likewise.
1715 (atan_test): Likewise.
1716 (atanh_test): Likewise.
1717 (atan2_test): Likewise.
1718 (cabs_test): Likewise.
1719 (cacos_test): Use END_COMPLEX macro without arguments.
1720 (cacosh_test): Likewise.
1721 (carg_test): Use END macro without arguments.
1722 (casin_test): Use END_COMPLEX macro without arguments.
1723 (casinh_test): Likewise.
1724 (catan_test): Likewise.
1725 (catanh_test): Likewise.
1726 (cbrt_test): Use END macro without arguments.
1727 (ccos_test): Use END_COMPLEX macro without arguments.
1728 (ccosh_test): Likewise.
1729 (ceil_test): Use END macro without arguments.
1730 (cexp_test): Use END_COMPLEX macro without arguments.
1731 (cimag_test): Use END macro without arguments.
1732 (clog_test): Use END_COMPLEX macro without arguments.
1733 (clog10_test): Likewise.
1734 (conj_test): Likewise.
1735 (copysign_test): Use END macro without arguments.
1736 (cos_test): Likewise.
1737 (cos_test_tonearest): Likewise.
1738 (cos_test_towardzero): Likewise.
1739 (cos_test_downward): Likewise.
1740 (cos_test_upward): Likewise.
1741 (cosh_test): Likewise.
1742 (cosh_test_tonearest): Likewise.
1743 (cosh_test_towardzero): Likewise.
1744 (cosh_test_downward): Likewise.
1745 (cosh_test_upward): Likewise.
1746 (cpow_test): Use END_COMPLEX macro without arguments.
1747 (cproj_test): Likewise.
1748 (creal_test): Use END macro without arguments.
1749 (csin_test): Use END_COMPLEX macro without arguments.
1750 (csinh_test): Likewise.
1751 (csqrt_test): Likewise.
1752 (ctan_test): Likewise.
1753 (ctan_test_tonearest): Likewise.
1754 (ctan_test_towardzero): Likewise.
1755 (ctan_test_downward): Likewise.
1756 (ctan_test_upward): Likewise.
1757 (ctanh_test): Likewise.
1758 (ctanh_test_tonearest): Likewise.
1759 (ctanh_test_towardzero): Likewise.
1760 (ctanh_test_downward): Likewise.
1761 (ctanh_test_upward): Likewise.
1762 (erf_test): Use END macro without arguments.
1763 (erfc_test): Likewise.
1764 (exp_test): Likewise.
1765 (exp_test_tonearest): Likewise.
1766 (exp_test_towardzero): Likewise.
1767 (exp_test_downward): Likewise.
1768 (exp_test_upward): Likewise.
1769 (exp10_test): Likewise.
1770 (exp2_test): Likewise.
1771 (expm1_test): Likewise.
1772 (fabs_test): Likewise.
1773 (fdim_test): Likewise.
1774 (finite_test): Likewise.
1775 (floor_test): Likewise.
1776 (fma_test): Likewise.
1777 (fma_test_towardzero): Likewise.
1778 (fma_test_downward): Likewise.
1779 (fma_test_upward): Likewise.
1780 (fmax_test): Likewise.
1781 (fmin_test): Likewise.
1782 (fmod_test): Likewise.
1783 (fpclassify_test): Likewise.
1784 (frexp_test): Likewise.
1785 (gamma_test): Likewise.
1786 (hypot_test): Likewise.
1787 (ilogb_test): Likewise.
1788 (isfinite_test): Likewise.
1789 (isgreater_test): Likewise.
1790 (isgreaterequal_test): Likewise.
1791 (isinf_test): Likewise.
1792 (isless_test): Likewise.
1793 (islessequal_test): Likewise.
1794 (islessgreater_test): Likewise.
1795 (isnan_test): Likewise.
1796 (isnormal_test): Likewise.
1797 (issignaling_test): Likewise.
1798 (isunordered_test): Likewise.
1799 (j0_test): Likewise.
1800 (j1_test): Likewise.
1801 (jn_test): Likewise.
1802 (ldexp_test): Likewise.
1803 (lgamma_test): Likewise.
1804 (lrint_test): Likewise.
1805 (lrint_test_tonearest): Likewise.
1806 (lrint_test_towardzero): Likewise.
1807 (lrint_test_downward): Likewise.
1808 (lrint_test_upward): Likewise.
1809 (llrint_test): Likewise.
1810 (llrint_test_tonearest): Likewise.
1811 (llrint_test_towardzero): Likewise.
1812 (llrint_test_downward): Likewise.
1813 (llrint_test_upward): Likewise.
1814 (log_test): Likewise.
1815 (log10_test): Likewise.
1816 (log1p_test): Likewise.
1817 (log2_test): Likewise.
1818 (logb_test): Likewise.
1819 (logb_test_downward): Likewise.
1820 (lround_test): Likewise.
1821 (llround_test): Likewise.
1822 (modf_test): Likewise.
1823 (nearbyint_test): Likewise.
1824 (nextafter_test): Likewise.
1825 (nexttoward_test): Likewise.
1826 (pow_test): Likewise.
1827 (pow_test_tonearest): Likewise.
1828 (pow_test_towardzero): Likewise.
1829 (pow_test_downward): Likewise.
1830 (pow_test_upward): Likewise.
1831 (remainder_test): Likewise.
1832 (remainder_test_tonearest): Likewise.
1833 (remainder_test_towardzero): Likewise.
1834 (remainder_test_downward): Likewise.
1835 (remainder_test_upward): Likewise.
1836 (remquo_test): Likewise.
1837 (rint_test): Likewise.
1838 (rint_test_tonearest): Likewise.
1839 (rint_test_towardzero): Likewise.
1840 (rint_test_downward): Likewise.
1841 (rint_test_upward): Likewise.
1842 (round_test): Likewise.
1843 (scalb_test): Likewise.
1844 (scalbn_test): Likewise.
1845 (scalbln_test): Likewise.
1846 (signbit_test): Likewise.
1847 (sin_test): Likewise.
1848 (sin_test_tonearest): Likewise.
1849 (sin_test_towardzero): Likewise.
1850 (sin_test_downward): Likewise.
1851 (sin_test_upward): Likewise.
1852 (sincos_test): Likewise.
1853 (sinh_test): Likewise.
1854 (sinh_test_tonearest): Likewise.
1855 (sinh_test_towardzero): Likewise.
1856 (sinh_test_downward): Likewise.
1857 (sinh_test_upward): Likewise.
1858 (sqrt_test): Likewise.
1859 (tan_test): Likewise.
1860 (tan_test_tonearest): Likewise.
1861 (tan_test_towardzero): Likewise.
1862 (tan_test_downward): Likewise.
1863 (tan_test_upward): Likewise.
1864 (tanh_test): Likewise.
1865 (tgamma_test): Likewise.
1866 (trunc_test): Likewise.
1867 (y0_test): Likewise.
1868 (y1_test): Likewise.
1869 (yn_test): Likewise.
1870 (significand_test): Likewise.
1871
bae143d2
OB
18722013-05-24 Ondřej Bílka <neleai@seznam.cz>
1873
1874 [BZ #15381]
1875 * libio/genops.c (_IO_no_init): Initialize wide struct info.
1876
9323d39b
EM
18772013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
1878
d4ea44a0 1879 [BZ #14894]
9323d39b
EM
1880 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1881 __ppc_mdoio and __ppc_mdoom.
1882 * manual/platform.texi: Document new functions __ppc_yield,
1883 __ppc_mdoio and __ppc_mdoom.
1884
13e23af7
CD
18852013-05-22 Carlos O'Donell <carlos@redhat.com>
1886
1887 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1888 (main): Mention "tls" pseudo-hwcap is legacy.
1889 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1890
351fe550
JM
18912013-05-22 Joseph Myers <joseph@codesourcery.com>
1892
1893 * math/gen-libm-test.pl (parse_args): Output only string of
1894 arguments as text for test name, not full call or descriptions of
1895 tests for extra outputs.
1896 (generate_testfile): Do not pass function name to parse_args.
1897 Generate this_func variable from START.
1898 * math/libm-test.inc (struct test_f_f_data): Rename test_name
1899 field to arg_str.
1900 (struct test_ff_f_data): Likewise.
1901 (test_ff_f_data_nexttoward): Likewise.
1902 (struct test_fi_f_data): Likewise.
1903 (struct test_fl_f_data): Likewise.
1904 (struct test_if_f_data): Likewise.
1905 (struct test_fff_f_data): Likewise.
1906 (struct test_c_f_data): Likewise.
1907 (struct test_f_f1_data): Likewise. Remove field extra_name.
1908 (struct test_fF_f1_data): Likewise.
1909 (struct test_ffI_f1_data): Likewise.
1910 (struct test_c_c_data): Rename test_name field to arg_str.
1911 (struct test_cc_c_data): Likewise.
1912 (struct test_f_i_data): Likewise.
1913 (struct test_ff_i_data): Likewise.
1914 (struct test_f_l_data): Likewise.
1915 (struct test_f_L_data): Likewise.
1916 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
1917 and extra2_name.
1918 (COMMON_TEST_SETUP): New macro.
1919 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1920 (COMMON_TEST_CLEANUP): Likewise.
1921 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1922 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
1923 macros.
1924 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1925 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
1926 macros.
1927 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1928 (RUN_TEST_fff_f): Take argument string. Call new setup and
1929 cleanup macros.
1930 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1931 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
1932 macros.
1933 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1934 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
1935 macros.
1936 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1937 (RUN_TEST_fF_f1): Take argument string. Call new setup and
1938 cleanup macros.
1939 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1940 (RUN_TEST_fI_f1): Take argument string. Call new setup and
1941 cleanup macros.
1942 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1943 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
1944 cleanup macros.
1945 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1946 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
1947 macros.
1948 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
1949 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
1950 macros.
1951 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
1952 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
1953 macros.
1954 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
1955 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
1956 cleanup macros.
1957 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
1958 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
1959 cleanup macros.
1960 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
1961 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
1962 macros.
1963 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
1964 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
1965 cleanup macros.
1966 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
1967 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
1968 macros.
1969 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
1970 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
1971 macros.
1972 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
1973 (RUN_TEST_fFF_11): Take argument string. Call new setup and
1974 cleanup macros.
1975 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
1976
85118d4d
EBM
19772013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1978
1979 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
1980 to _sifields.sigfault.
1981 (si_addr_lsb): Define new macro.
1982 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1983 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1984 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
1985
7a44c18f
CD
19862013-05-03 Carlos O'Donell <carlos at redhat.com>
1987
1988 [BZ #15441]
1989 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
1990 returns -1.
1991 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
1992 null return -1.
1993 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
1994 loading the domain.
1995
b50a7181
JM
19962013-05-22 Joseph Myers <joseph@codesourcery.com>
1997
1998 * math/gen-libm-test.pl (parse_args): Do not include expected
1999 result in test name.
2000 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2001 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2002 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2003 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2004 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2006
051063c8
SP
20072013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2008
3ce9e010
SP
2009 * benchtests/Makefile: Sort function entries.
2010
051063c8
SP
2011 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2012 tanh, asinh, acosh, atanh.
2013 * benchtests/acos-inputs: New file.
2014 * benchtests/acosh-inputs: New file.
2015 * benchtests/asin-inputs: New file.
2016 * benchtests/asinh-inputs: New file.
2017 * benchtests/atanh-inputs: New file.
2018 * benchtests/cosh-inputs: New file.
2019 * benchtests/log-inputs: New file.
2020 * benchtests/sinh-inputs: New file.
2021 * benchtests/tanh-inputs: New file.
2022
47c22455
DL
20232013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2024
2025 [BZ #15339]
2026 * posix/tst-getaddrinfo4.c: New test.
2027 * posix/Makefile (tests): Add it.
2028
3d04f5db
SP
20292013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2030
2031 [BZ #15339]
2032 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2033 when no services were used.
2034 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2035 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2036
d5dd6189
AS
20372013-05-21 Andreas Schwab <schwab@suse.de>
2038
2039 [BZ #15014]
2040 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2041 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2042 successful.
2043 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2044 redundant variable declarations and reallocation of buffer when
2045 parsing as IPv6 address. Always set NSS status when called from
2046 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2047 buffer too small. Correct computation of needed size.
2048 * nss/Makefile (tests): Add test-digits-dots.
2049 * nss/test-digits-dots.c: New test.
2050
fef94eab
SP
20512013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2052
2053 * benchtests/Makefile: Remove instructions for adding
2054 benchmark tests.
2055 * benchtests/README: New file to explain how to execute and
2056 enhance the benchmark tests.
2057
e39adf43
AS
20582013-05-21 Andreas Schwab <schwab@suse.de>
2059
2060 [BZ #15493]
2061 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2062 * setjmp/tst-sigsetjmp.c: New test.
2063
b2b671b6
OB
20642013-05-20 Ondřej Bílka <neleai@seznam.cz>
2065
2066 * sysdeps/x86_64/memset.S (memset): New implementation.
2067 (__bzero): Likewise.
2068 (__memset_tail): New function.
2069
2d48b41c
OB
20702013-05-20 Ondřej Bílka <neleai@seznam.cz>
2071
2072 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2073 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2074 __memcpy_sse2_unaligned ifunc selection.
2075 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2076 Add memcpy-sse2-unaligned.S.
2077 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2078 Add: __memcpy_sse2_unaligned.
2079
f16cc3eb
JM
20802013-05-19 Joseph Myers <joseph@codesourcery.com>
2081
3e694268
JM
2082 [BZ #15490]
2083 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2084 math_force_eval before restoring floating-point envrionment.
2085 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2086 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2087 Likewise.
2088 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2089 <math_private.h>.
2090 (__nearbyintl): Use math_force_eval before restoring
2091 floating-point environment.
2092 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2093
db62a907
JM
2094 * math/gen-libm-test.pl (special_functions): Remove.
2095 (parse_args): Don't handle TEST_extra. Handle functions with no
2096 return value.
2097 * math/libm-test.inc (struct test_sincos_data): Replace with
2098 struct test_fFF_11_data.
2099 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2100 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2101 (sincos_test_data): Change element type to struct
2102 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2103 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2104 RUN_TEST_LOOP_sincos.
2105 * math/README.libm-test: Don't mention special handling of
2106 individual functions.
2107 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2108 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2109 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2110 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2111 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2113
f16cc3eb
JM
2114 * math/gen-libm-test.pl (get_variable): Remove function.
2115 (parse_args): Don't show pointer parameters to call in test
2116 names. Use "extra output N" in test names for extra outputs
2117 rather than naming variables.
2118
3779b5b6
JM
21192013-05-18 Joseph Myers <joseph@codesourcery.com>
2120
2ee094ff
JM
2121 [BZ #15488]
2122 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2123 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2124 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2125 double tests.
2126 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2127 disable.
2128 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2129 check_long_double.
2130
3779b5b6
JM
2131 * math/gen-libm-test.pl (@tests): Remove variable.
2132 ($count): Likewise.
2133 (new_test): Remove function.
2134 (show_exceptions): New function.
2135 (special_functions): Use show_exceptions instead of new_test.
2136 (parse_args): Likewise.
2137 (generate_testfile): Pass only function name in generated call to
2138 print_max_error or print_complex_max_error.
2139 (get_ulps): Do not handle complex tests specially.
2140 (output_test): Rename to ...
2141 (get_all_ulps_for_test): ... this. Return a string rather than
2142 printing to a file. Require ulps to be present.
2143 (output_ulps): Generate arrays rather than #defines.
2144 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2145 (struct ulp_data): New type.
2146 (BUILD_COMPLEX_ULP): Remove macro.
2147 (compare_ulp_data): New function.
2148 (find_ulps): Likewise.
2149 (find_test_ulps): Likewise.
2150 (find_function_ulps): Likewise.
2151 (find_complex_function_ulps): Likewise.
2152 (print_max_error): Determine allowed ulps using
2153 find_function_ulps.
2154 (print_complex_max_error): Determine allowed ulps using
2155 find_complex_function_ulps.
2156 (check_float_internal): Determine max ulps using find_test_ulps.
2157 (check_float): Do not take max_ulp parameter. Update call to
2158 check_float_internal.
2159 (check_complex): Likewise.
2160 (check_int): Do not take max_ulp parameter.
2161 (check_long): Likewise.
2162 (check_bool): Likewise.
2163 (check_longlong): Likewise.
2164 (struct test_f_f_data): Remove max_ulp field.
2165 (struct test_ff_f_data): Likewise.
2166 (struct test_ff_f_data_nexttoward): Likewise.
2167 (struct test_fi_f_data): Likewise.
2168 (struct test_fl_f_data): Likewise.
2169 (struct test_if_f_data): Likewise.
2170 (struct test_fff_f_data): Likewise.
2171 (struct test_c_f_data): Likewise.
2172 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2173 (struct test_fF_f1_data): Likewise.
2174 (struct test_ffI_f1_data): Likewise.
2175 (struct test_c_c_data): Remove max_ulp field.
2176 (struct test_cc_c_data): Likewise.
2177 (struct test_f_i_data): Likewise.
2178 (struct test_ff_i_data): Likewise.
2179 (struct test_f_l_data): Likewise.
2180 (struct test_f_L_data): Likewise.
2181 (struct test_sincos_data): Likewise.
2182 (RUN_TEST_f_f): Do not handle ulps.
2183 (RUN_TEST_LOOP_f_f): Likewise.
2184 (RUN_TEST_2_f): Likewise.
2185 (RUN_TEST_LOOP_2_f): Likewise.
2186 (RUN_TEST_fff_f): Likewise.
2187 (RUN_TEST_LOOP_fff_f): Likewise.
2188 (RUN_TEST_c_f): Likewise.
2189 (RUN_TEST_LOOP_c_f): Likewise.
2190 (RUN_TEST_f_f1): Likewise.
2191 (RUN_TEST_LOOP_f_f1): Likewise.
2192 (RUN_TEST_fF_f1): Likewise.
2193 (RUN_TEST_LOOP_fF_f1): Likewise.
2194 (RUN_TEST_fI_f1): Likewise.
2195 (RUN_TEST_LOOP_fI_f1): Likewise.
2196 (RUN_TEST_ffI_f1): Likewise.
2197 (RUN_TEST_LOOP_ffI_f1): Likewise.
2198 (RUN_TEST_c_c): Likewise.
2199 (RUN_TEST_LOOP_c_c): Likewise.
2200 (RUN_TEST_cc_c): Likewise.
2201 (RUN_TEST_LOOP_cc_c): Likewise.
2202 (RUN_TEST_f_i): Likewise.
2203 (RUN_TEST_LOOP_f_i): Likewise.
2204 (RUN_TEST_f_i_tg): Likewise.
2205 (RUN_TEST_LOOP_f_i_tg): Likewise.
2206 (RUN_TEST_ff_i_tg): Likewise.
2207 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2208 (RUN_TEST_f_b): Likewise.
2209 (RUN_TEST_LOOP_f_b): Likewise.
2210 (RUN_TEST_f_b_tg): Likewise.
2211 (RUN_TEST_LOOP_f_b_tg): Likewise.
2212 (RUN_TEST_f_l): Likewise.
2213 (RUN_TEST_LOOP_f_l): Likewise.
2214 (RUN_TEST_f_L): Likewise.
2215 (RUN_TEST_LOOP_f_L): Likewise.
2216 (RUN_TEST_sincos): Likewise.
2217 (RUN_TEST_LOOP_sincos): Likewise.
2218
8269107f
JM
22192013-05-17 Joseph Myers <joseph@codesourcery.com>
2220
bb38759d
JM
2221 [BZ #15480]
2222 [BZ #15485]
2223 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2224 main case of finite arguments, set rounding mode to FE_TONEAREST
2225 and discard exceptions.
2226 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2227 exceptions.
2228 (remainder_tonearest_test_data): New variable.
2229 (remainder_test_tonearest): New function.
2230 (remainder_towardzero_test_data): New variable.
2231 (remainder_test_towardzero): New function.
2232 (remainder_downward_test_data): New variable.
2233 (remainder_test_downward): New function.
2234 (remainder_upward_test_data): New variable.
2235 (remainder_test_upward): New function.
2236 (main): Call the new test functions.
2237
a00bdcf0
JM
2238 * math/libm-test.inc (struct test_f_f1_data): Remove field
2239 extra_init.
2240 (struct test_fF_f1_data): Likewise.
2241 (struct test_ffI_f1_data): Likewise.
2242 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2243 based on value of EXTRA_EXPECTED.
2244 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2245 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2246 EXTRA_VAR based on value of EXTRA_EXPECTED.
2247 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2248 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2249 EXTRA_VAR based on value of EXTRA_EXPECTED.
2250 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2251 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2252 EXTRA_VAR based on value of EXTRA_EXPECTED.
2253 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2254 * math/gen-libm-test.pl (parse_args): Don't output initializers
2255 for extra output values.
2256
de407f79
JM
2257 * math/libm-test.inc (check_int): Expect result to be exactly
2258 equal to expected value and do not handle ulps.
2259 (check_long): Likewise.
2260 (check_longlong): Likewise.
2261
8269107f
JM
2262 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2263 exceptions.
2264 (cimag_test_data): Likewise.
2265 (conj_test_data): Likewise.
2266 (copysign_test_data): Likewise.
2267 (cproj_test_data): Likewise.
2268 (creal_test_data): Likewise.
2269 (fabs_test_data): Likewise.
2270 (fdim_test_data): Likewise.
2271 (finite_test_data): Likewise.
2272 (floor_test_data): Likewise.
2273 (fmax_test_data): Likewise.
2274 (fmin_test_data): Likewise.
2275 (fmod_test_data): Likewise.
2276 (fpclassify_test_data): Likewise.
2277 (frexp_test_data): Likewise.
2278 (ilogb_test_data): Likewise.
2279 (isfinite_test_data): Likewise.
2280 (isgreater_test_data): Likewise.
2281 (isgreaterequal_test_data): Likewise.
2282 (isinf_test_data): Likewise.
2283 (isless_test_data): Likewise.
2284 (islessequal_test_data): Likewise.
2285 (islessgreater_test_data): Likewise.
2286 (isnan_test_data): Likewise.
2287 (isnormal_test_data): Likewise.
2288 (issignaling_test_data): Likewise.
2289 (isunordered_test_data): Likewise.
2290 (ldexp_test_data): Likewise.
2291 (lrint_test_data): Likewise.
2292 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2293 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2294 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2295 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2296 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2297 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2298 test input.
2299 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2300 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2301 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2302 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2303 that test input.
2304 (lrint_downward_test_data): Test for "inexact" exceptions.
2305 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2306 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2307 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2308 test input.
2309 (lrint_upward_test_data): Test for "inexact" exceptions.
2310 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2311 test input.
2312 (llrint_test_data): Test for "inexact" exceptions.
2313 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2314 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2315 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2316 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2317 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2318 (llrint_downward_test_data): Test for "inexact" exceptions.
2319 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2320 (llrint_upward_test_data): Test for "inexact" exceptions.
2321 (logb_test_data): Likewise.
2322 (logb_downward_test_data): Likewise.
2323 (nextafter_test_data): Likewise.
2324 (nexttoward_test_data): Likewise.
2325 (remainder_test_data): Likewise.
2326 (remquo_test_data): Likewise.
2327 (scalbn_test_data): Likewise.
2328 (scalbln_test_data): Likewise.
2329 (signbit_test_data): Likewise.
2330 (sqrt_test_data): Likewise.
2331 (significand_test_data): Likewise.
2332
48a18de1
SP
23332013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2334
2335 [BZ #15424]
2336 * benchtests/bench-modf.c (struct args): Mark arg0 as
2337 volatile.
2338 * scripts/bench.pl: Mark members of struct args as volatile.
2339
13d3b41a
AZ
23402013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2341
68191c1d 2342 [BZ # 15497]
13d3b41a
AZ
2343 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2344 negative infinity on POWER6 or lower.
2345 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2346
2848b105
MR
23472013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2348
2349 [BZ #15442]
2350 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2351 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2352 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2353 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2354 (_FP_SETQNAN): New macro.
2355 (_FP_SETQNAN_SEMIRAW): Likewise.
2356 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2357 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2358 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2359 (FP_EXTEND): Use _FP_FRAC_SNANP.
2360 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2361 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2362 into account.
2363 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2364 New macro.
2365 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2366 Likewise.
2367
323e5cb7
JM
23682013-05-16 Joseph Myers <joseph@codesourcery.com>
2369
c58b274f
JM
2370 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2371 with DIVIDE_BY_ZERO_EXCEPTION.
2372 (gamma_test_data): Likewise.
2373 (lgamma_test_data): Likewise.
2374 (log_test_data): Likewise.
2375 (log10_test_data): Likewise.
2376 (log2_test_data): Likewise.
2377 (tgamma_test_data): Likewise.
2378
0ab34904
JM
2379 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2380 (acos_test_tonearest): Likewise.
2381 (acos_test_towardzero): Likewise.
2382 (acos_test_downward): Likewise.
2383 (acos_test_upward): Likewise.
2384 (acosh_test): Likewise.
2385 (asin_test): Likewise.
2386 (asin_test_tonearest): Likewise.
2387 (asin_test_towardzero): Likewise.
2388 (asin_test_downward): Likewise.
2389 (asin_test_upward): Likewise.
2390 (asinh_test): Likewise.
2391 (atan_test): Likewise.
2392 (atanh_test): Likewise.
2393 (atan2_test): Likewise.
2394 (cabs_test): Likewise.
2395 (cacos_test): Likewise.
2396 (cacosh_test): Likewise.
2397 (casin_test): Likewise.
2398 (casinh_test): Likewise.
2399 (catan_test): Likewise.
2400 (catanh_test): Likewise.
2401 (cbrt_test): Likewise.
2402 (ccos_test): Likewise.
2403 (ccosh_test): Likewise.
2404 (cexp_test): Likewise.
2405 (clog_test): Likewise.
2406 (clog10_test): Likewise.
2407 (cos_test): Likewise.
2408 (cos_test_tonearest): Likewise.
2409 (cos_test_towardzero): Likewise.
2410 (cos_test_downward): Likewise.
2411 (cos_test_upward): Likewise.
2412 (cosh_test): Likewise.
2413 (cosh_test_tonearest): Likewise.
2414 (cosh_test_towardzero): Likewise.
2415 (cosh_test_downward): Likewise.
2416 (cosh_test_upward): Likewise.
2417 (cpow_test): Likewise.
2418 (csin_test): Likewise.
2419 (csinh_test): Likewise.
2420 (csqrt_test): Likewise.
2421 (ctan_test): Likewise.
2422 (ctan_test_tonearest): Likewise.
2423 (ctan_test_towardzero): Likewise.
2424 (ctan_test_downward): Likewise.
2425 (ctan_test_upward): Likewise.
2426 (ctanh_test): Likewise.
2427 (ctanh_test_tonearest): Likewise.
2428 (ctanh_test_towardzero): Likewise.
2429 (ctanh_test_downward): Likewise.
2430 (ctanh_test_upward): Likewise.
2431 (erf_test): Likewise.
2432 (erfc_test): Likewise.
2433 (exp_test): Likewise.
2434 (exp_test_tonearest): Likewise.
2435 (exp_test_towardzero): Likewise.
2436 (exp_test_downward): Likewise.
2437 (exp_test_upward): Likewise.
2438 (exp10_test): Likewise.
2439 (exp2_test): Likewise.
2440 (expm1_test): Likewise.
2441 (fmod_test): Likewise.
2442 (gamma_test): Likewise.
2443 (hypot_test): Likewise.
2444 (j0_test): Likewise.
2445 (j1_test): Likewise.
2446 (jn_test): Likewise.
2447 (lgamma_test): Likewise.
2448 (log_test): Likewise.
2449 (log10_test): Likewise.
2450 (log1p_test): Likewise.
2451 (log2_test): Likewise.
2452 (logb_test_downward): Likewise.
2453 (pow_test): Likewise.
2454 (pow_test_tonearest): Likewise.
2455 (pow_test_towardzero): Likewise.
2456 (pow_test_downward): Likewise.
2457 (pow_test_upward): Likewise.
2458 (remainder_test): Likewise.
2459 (remquo_test): Likewise.
2460 (sin_test): Likewise.
2461 (sin_test_tonearest): Likewise.
2462 (sin_test_towardzero): Likewise.
2463 (sin_test_downward): Likewise.
2464 (sin_test_upward): Likewise.
2465 (sincos_test): Likewise.
2466 (sinh_test): Likewise.
2467 (sinh_test_tonearest): Likewise.
2468 (sinh_test_towardzero): Likewise.
2469 (sinh_test_downward): Likewise.
2470 (sinh_test_upward): Likewise.
2471 (sqrt_test): Likewise.
2472 (tan_test): Likewise.
2473 (tan_test_tonearest): Likewise.
2474 (tan_test_towardzero): Likewise.
2475 (tan_test_downward): Likewise.
2476 (tan_test_upward): Likewise.
2477 (tanh_test): Likewise.
2478 (tgamma_test): Likewise.
2479 (y0_test): Likewise.
2480 (y1_test): Likewise.
2481 (yn_test): Likewise.
2482
323e5cb7
JM
2483 * math/gen-libm-test.pl (adjust_arg): Remove function.
2484 (special_function): Remove argument $in_func. Only handle
2485 generating output for tables of tests, not inside functions.
2486 (parse_args): Likewise.
2487 (generate_testfile): Remove variable $in_func. Update call to
2488 parse_args.
2489 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2490 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2491 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2492 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2493 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2494 (MAX_VALUE_INIT): Rename macro to max_value.
2495 (MIN_VALUE_INIT): Rename macro to min_value.
2496 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2497 (plus_zero): Remove variable.
2498 (minus_zero): Likewise.
2499 (plus_infty): Likewise.
2500 (minus_infty): Likewise.
2501 (qnan_value): Likewise.
2502 (max_value): Likewise.
2503 (min_value): Likewise.
2504 (min_subnorm_value): Likewise.
2505
e054f494
RA
25062013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2507
2508 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2509 uint64_t or uint32_t usage.
2510 * crypt/sha256-block.c: Likewise.
2511 * crypt/sha256-crypt.c: Likewise.
2512 * crypt/sha256.c: Likewise.
2513 * crypt/sha512-block.c: Likewise.
2514 * crypt/sha512-crypt.c: Likewise.
2515 * crypt/sha512.c: Likewise.
2516 * debug/backtrace-tst.c: Likewise.
2517 * debug/pcprofiledump.c: Likewise.
2518 * elf/cache.c: Likewise.
2519 * elf/dl-cache.c: Likewise.
2520 * elf/dl-misc.c: Likewise.
2521 * elf/dl-profile.c: Likewise.
2522 * elf/dl-support.c: Likewise.
2523 * elf/ldconfig.c: Likewise.
2524 * elf/sprof.c: Likewise.
2525 * iconv/dummy-repertoire.c: Likewise.
2526 * iconv/iconv_charmap.c: Likewise.
2527 * iconv/skeleton.c: Likewise.
2528 * iconvdata/8bit-generic.c: Likewise.
2529 * iconvdata/cp737.h: Likewise.
2530 * iconvdata/cp775.h: Likewise.
2531 * iconvdata/ibm1008.h: Likewise.
2532 * iconvdata/ibm1025.h: Likewise.
2533 * iconvdata/ibm1046.h: Likewise.
2534 * iconvdata/ibm1097.h: Likewise.
2535 * iconvdata/ibm1112.h: Likewise.
2536 * iconvdata/ibm1122.h: Likewise.
2537 * iconvdata/ibm1123.h: Likewise.
2538 * iconvdata/ibm1124.h: Likewise.
2539 * iconvdata/ibm1129.h: Likewise.
2540 * iconvdata/ibm1130.h: Likewise.
2541 * iconvdata/ibm1132.h: Likewise.
2542 * iconvdata/ibm1133.h: Likewise.
2543 * iconvdata/ibm1137.h: Likewise.
2544 * iconvdata/ibm1140.h: Likewise.
2545 * iconvdata/ibm1141.h: Likewise.
2546 * iconvdata/ibm1142.h: Likewise.
2547 * iconvdata/ibm1143.h: Likewise.
2548 * iconvdata/ibm1144.h: Likewise.
2549 * iconvdata/ibm1145.h: Likewise.
2550 * iconvdata/ibm1146.h: Likewise.
2551 * iconvdata/ibm1147.h: Likewise.
2552 * iconvdata/ibm1148.h: Likewise.
2553 * iconvdata/ibm1149.h: Likewise.
2554 * iconvdata/ibm1153.h: Likewise.
2555 * iconvdata/ibm1154.h: Likewise.
2556 * iconvdata/ibm1155.h: Likewise.
2557 * iconvdata/ibm1156.h: Likewise.
2558 * iconvdata/ibm1157.h: Likewise.
2559 * iconvdata/ibm1158.h: Likewise.
2560 * iconvdata/ibm1160.h: Likewise.
2561 * iconvdata/ibm1161.h: Likewise.
2562 * iconvdata/ibm1162.h: Likewise.
2563 * iconvdata/ibm1163.h: Likewise.
2564 * iconvdata/ibm1164.h: Likewise.
2565 * iconvdata/ibm1166.h: Likewise.
2566 * iconvdata/ibm1167.h: Likewise.
2567 * iconvdata/ibm12712.h: Likewise.
2568 * iconvdata/ibm1390.h: Likewise.
2569 * iconvdata/ibm1399.h: Likewise.
2570 * iconvdata/ibm16804.h: Likewise.
2571 * iconvdata/ibm4517.h: Likewise.
2572 * iconvdata/ibm4899.h: Likewise.
2573 * iconvdata/ibm4909.h: Likewise.
2574 * iconvdata/ibm4971.h: Likewise.
2575 * iconvdata/ibm5347.h: Likewise.
2576 * iconvdata/ibm803.h: Likewise.
2577 * iconvdata/ibm856.h: Likewise.
2578 * iconvdata/ibm901.h: Likewise.
2579 * iconvdata/ibm902.h: Likewise.
2580 * iconvdata/ibm9030.h: Likewise.
2581 * iconvdata/ibm9066.h: Likewise.
2582 * iconvdata/ibm921.h: Likewise.
2583 * iconvdata/ibm922.h: Likewise.
2584 * iconvdata/ibm9448.h: Likewise.
2585 * iconvdata/isiri-3342.h: Likewise.
2586 * iconvdata/jis0201.h: Likewise.
2587 * include/link.h: Likewise.
2588 * include/netdb.h: Likewise.
2589 * inet/check_native.c: Likewise.
2590 * inet/check_pf.c: Likewise.
2591 * inet/getipv4sourcefilter.c: Likewise.
2592 * inet/getnameinfo.c: Likewise.
2593 * inet/getsourcefilter.c: Likewise.
2594 * inet/htonl.c: Likewise.
2595 * inet/setipv4sourcefilter.c: Likewise.
2596 * inet/setsourcefilter.c: Likewise.
2597 * inet/test-inet6_opt.c: Likewise.
2598 * inet/tst-network.c: Likewise.
2599 * locale/C-collate.c: Likewise.
2600 * locale/C-ctype.c: Likewise.
2601 * locale/C-time.c: Likewise.
2602 * locale/C-translit.h: Likewise.
2603 * locale/loadarchive.c: Likewise.
2604 * locale/programs/3level.h: Likewise.
2605 * locale/programs/charmap.c: Likewise.
2606 * locale/programs/charmap.h: Likewise.
2607 * locale/programs/ld-address.c: Likewise.
2608 * locale/programs/ld-collate.c: Likewise.
2609 * locale/programs/ld-ctype.c: Likewise.
2610 * locale/programs/ld-identification.c: Likewise.
2611 * locale/programs/ld-measurement.c: Likewise.
2612 * locale/programs/ld-messages.c: Likewise.
2613 * locale/programs/ld-monetary.c: Likewise.
2614 * locale/programs/ld-name.c: Likewise.
2615 * locale/programs/ld-numeric.c: Likewise.
2616 * locale/programs/ld-paper.c: Likewise.
2617 * locale/programs/ld-telephone.c: Likewise.
2618 * locale/programs/ld-time.c: Likewise.
2619 * locale/programs/linereader.c: Likewise.
2620 * locale/programs/locale.c: Likewise.
2621 * locale/programs/locarchive.c: Likewise.
2622 * locale/programs/locfile.h: Likewise.
2623 * locale/programs/repertoire.c: Likewise.
2624 * locale/programs/simple-hash.c: Likewise.
2625 * locale/programs/simple-hash.h: Likewise.
2626 * malloc/memusage.c: Likewise.
2627 * malloc/memusagestat.c: Likewise.
2628 * nis/nis_defaults.c: Likewise.
2629 * nis/nis_hash.c: Likewise.
2630 * nis/nis_print.c: Likewise.
2631 * nis/nis_xdr.c: Likewise.
2632 * nscd/connections.c: Likewise.
2633 * nscd/hstcache.c: Likewise.
2634 * nscd/nscd_gethst_r.c: Likewise.
2635 * nscd/nscd_getserv_r.c: Likewise.
2636 * nscd/nscd_helper.c: Likewise.
2637 * nscd/servicescache.c: Likewise.
2638 * nss/makedb.c: Likewise.
2639 * nss/nss_db/db-XXX.c: Likewise.
2640 * nss/nss_db/db-initgroups.c: Likewise.
2641 * nss/nss_db/db-netgrp.c: Likewise.
2642 * nss/nss_files/files-network.c: Likewise.
2643 * nss/nss_files/files-parse.c: Likewise.
2644 * posix/bug-regex5.c: Likewise.
2645 * posix/fnmatch_loop.c: Likewise.
2646 * posix/regcomp.c: Likewise.
2647 * posix/regexec.c: Likewise.
2648 * posix/tst-rfc3484-2.c: Likewise.
2649 * posix/tst-rfc3484-3.c: Likewise.
2650 * posix/tst-rfc3484.c: Likewise.
2651 * resolv/nss_dns/dns-canon.c: Likewise.
2652 * resolv/nss_dns/dns-network.c: Likewise.
2653 * resolv/res_init.c: Likewise.
2654 * resolv/res_mkquery.c: Likewise.
2655 * resolv/tst-aton.c: Likewise.
2656 * stdlib/cxa_atexit.c: Likewise.
2657 * stdlib/cxa_finalize.c: Likewise.
2658 * stdlib/gen-fpioconst.c: Likewise.
2659 * stdlib/strtol_l.c: Likewise.
2660 * string/tst-endian.c: Likewise.
2661 * sunrpc/auth_des.c: Likewise.
2662 * sunrpc/clnt_udp.c: Likewise.
2663 * sunrpc/rtime.c: Likewise.
2664 * sunrpc/svcauth_des.c: Likewise.
2665 * sunrpc/xdr.c: Likewise.
2666 * sunrpc/xdr_intXX_t.c: Likewise.
2667 * sunrpc/xdr_rec.c: Likewise.
2668 * sysdeps/generic/ldconfig.h: Likewise.
2669 * sysdeps/generic/ldsodefs.h: Likewise.
2670 * sysdeps/generic/memusage.h: Likewise.
2671 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2672 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2673 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2674 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2675 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2676 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2677 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2678 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2679 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2680 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2681 * sysdeps/posix/getaddrinfo.c: Likewise.
2682 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2683 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2684 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2685 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2686 * sysdeps/powerpc/test-gettimebase.c: Likewise.
2687 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2688 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2689 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2690 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2691 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2692 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2693 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2694 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2695 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2696 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2697 * sysdeps/x86_64/dl-tls.h: Likewise.
2698 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2699 * time/alt_digit.c: Likewise.
2700 * time/era.c: Likewise.
2701 * wcsmbs/tst-c16c32-1.c: Likewise.
2702
8c75f674
JM
27032013-05-16 Joseph Myers <joseph@codesourcery.com>
2704
2705 * math/libm-test.inc (struct test_sincos_data): New type.
2706 (RUN_TEST_LOOP_sincos): New macro.
2707 (sincos_test_data): New variable.
2708 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2709
e6e49e59
RH
27102013-05-16 Richard Henderson <rth@redhat.com>
2711
2712 * math/atest-exp2.c (LIMB64): New macro.
2713 (CONSTSZ): New macro.
2714 (mp_exp1, mp_exp_m1, mp_log2): New variables.
2715 (hexdig): Move ...
2716 (print_mpn_fp): ... to function scope.
2717 (read_mpn_hex): Remove.
2718 (get_log2): Remove.
2719 (exp2_mpn): Use mp_log2.
2720 (main): Use mp_exp1.
2721
15c7c18d
JM
27222013-05-16 Joseph Myers <joseph@codesourcery.com>
2723
105a07df
JM
2724 * math/libm-test.inc: Remove comment about not testing "inexact"
2725 exceptions.
2726 (INEXACT_EXCEPTION): New macro.
2727 (NO_INEXACT_EXCEPTION): Likewise.
2728 (INVALID_EXCEPTION_OK): Update value.
2729 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2730 (OVERFLOW_EXCEPTION_OK): Likewise.
2731 (UNDERFLOW_EXCEPTION_OK): Likewise.
2732 (IGNORE_ZERO_INF_SIGN): Likewise.
2733 (ERRNO_UNCHANGED): Likewise.
2734 (ERRNO_EDOM): Likewise.
2735 (ERRNO_ERANGE): Likewise.
2736 (test_exceptions): Handle testing "inexact" exceptions.
2737 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2738 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2739 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2740 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2741 INEXACT_EXCEPTION.
2742 (rint_towardzero_test_data): Likewise.
2743 (rint_downward_test_data): Likewise.
2744 (rint_upward_test_data): Likewise.
2745
e9eee333
JM
2746 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2747 with OVERFLOW_EXCEPTION.
2748 (exp10_test_data): Likewise.
2749 (exp2_test_data): Likewise.
2750 (expm1_test_data): Likewise.
2751 (lgamma_test_data): Likewise.
2752 (pow_test_data): Likewise.
2753 (tgamma_test_data): Likewise.
2754 (yn_test_data): Remove duplicate test of overflow.
2755
1c38ff73
JM
2756 * math/libm-test.inc (struct test_cc_c_data): New type.
2757 (RUN_TEST_LOOP_cc_c): New macro.
2758 (cpow_test_data): New variable.
2759 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2760
15c7c18d
JM
2761 * math/libm-test.inc (struct test_f_L_data): New type.
2762 (RUN_TEST_LOOP_f_L): New macro.
2763 (llrint_test_data): New variable.
2764 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2765 (llrint_tonearest_test_data): New variable.
2766 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2767 (llrint_towardzero_test_data): New variable.
2768 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2769 (llrint_downward_test_data): New variable.
2770 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2771 (llrint_upward_test_data): New variable.
2772 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2773 (llround_test_data): New variable.
2774 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2775
f137ff13
PC
27762013-05-13 Peter Collingbourne <pcc@google.com>
2777
2778 * math/atest-exp2.c (get_log2): Remove const attribute.
2779
3608cb24
JM
27802013-05-15 Joseph Myers <joseph@codesourcery.com>
2781
2782 * math/libm-test.inc (struct test_f_l_data): New type.
2783 (RUN_TEST_LOOP_f_l): New macro.
2784 (lrint_test_data): New variable.
2785 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2786 (lrint_tonearest_test_data): New variable.
2787 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2788 (lrint_towardzero_test_data): New variable.
2789 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2790 (lrint_downward_test_data): New variable.
2791 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2792 (lrint_upward_test_data): New variable.
2793 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2794 (lround_test_data): New variable.
2795 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2796
39b1f617
PC
27972013-05-15 Peter Collingbourne <pcc@google.com>
2798
1deff3dc
PC
2799 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2800 (EXTRACT_WORDS64) Use where appropriate.
2801 (INSERT_WORDS64) Likewise.
2802
791f3ba0
PC
2803 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2804 constraints with x constraints.
2805 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2806
39b1f617
PC
2807 * malloc/obstack.c (_obstack_compat): Add initializer.
2808
12fba011
EM
28092013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
2810
2811 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2812 si_trapno and add si_addr_lsb to _sifields.sigfault.
2813 (si_trapno): Remove macro.
2814 (si_addr_lsb): Define new macro.
2815 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2816
d369f531
JM
28172013-05-15 Joseph Myers <joseph@codesourcery.com>
2818
b861c6c4
JM
2819 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2820 instead of TEST_f_l.
2821 (llrint_test_tonearest): Likewise.
2822 (llrint_test_towardzero): Likewise.
2823 (llrint_test_downward): Likewise.
2824 (llrint_test_upward): Likewise.
2825 (llround_test): Likewise.
2826
7abeee12
JM
2827 * math/libm-test.inc (struct test_f_i_data): Add comment.
2828 (RUN_TEST_LOOP_f_b): New macro.
2829 (RUN_TEST_LOOP_f_b_tg): Likewise.
2830 (finite_test_data): New variable.
2831 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2832 (isfinite_test_data): New variable.
2833 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2834 (isinf_test_data): New variable.
2835 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2836 (isnan_test_data): New variable.
2837 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2838 (isnormal_test_data): New variable.
2839 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2840 (issignaling_test_data): New variable.
2841 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2842 (signbit_test_data): New variable.
2843 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2844
cbe8c4d3
JM
2845 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2846 with INVALID_EXCEPTION.
2847 (acosh_test_data): Likewise.
2848 (asin_test_data): Likewise.
2849 (atanh_test_data): Likewise.
2850 (fmod_test_data): Likewise.
2851 (log_test_data): Likewise.
2852 (log10_test_data): Likewise.
2853 (log2_test_data): Likewise.
2854 (pow_test_data): Likewise.
2855 (sqrt_test_data): Likewise.
2856 (y0_test_data): Likewise.
2857 (y1_test_data): Likewise.
2858 (yn_test_data): Likewise.
2859
5575c0e5
JM
2860 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2861 function contents.
2862
d369f531
JM
2863 * math/libm-test.inc (struct test_ff_i_data): New type.
2864 (RUN_TEST_LOOP_ff_i_tg): New macro.
2865 (isgreater_test_data): New variable.
2866 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2867 (isgreaterequal_test_data): New variable.
2868 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2869 (isless_test_data): New variable.
2870 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2871 (islessequal_test_data): New variable.
2872 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2873 (islessgreater_test_data): New variable.
2874 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2875 (isunordered_test_data): New variable.
2876 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2877
781fd748
DM
28782013-05-14 David S. Miller <davem@davemloft.net>
2879
2880 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2881
87aa21df
JM
28822013-05-14 Joseph Myers <joseph@codesourcery.com>
2883
5e908270
JM
2884 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2885
f71172e5
JM
2886 * math/libm-test.inc (struct test_fF_f1_data): Change type of
2887 extra_test to int.
2888 (struct test_f_i_data): Change type of max_ulp to int.
2889
8cfa635a
JM
2890 * math/libm-test.inc (test_ffI_f1_data): New type.
2891 (RUN_TEST_LOOP_ffI_f1): New macro.
2892 (remquo_test_data): New variable.
2893 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2894
2bcb36b2
JM
2895 * setjmp/tst-setjmp-fp.c: New file.
2896 * setjmp/Makefile (tests): Add tst-setjmp-fp.
2897 (link-libm): New variable.
2898 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2899
acbd839a
JM
2900 * math/libm-test.inc (struct test_f_i_data): New type.
2901 (RUN_TEST_LOOP_f_i): New macro.
2902 (RUN_TEST_LOOP_f_i_tg): Likewise.
2903 (fpclassify_test_data): New variable.
2904 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2905 (ilogb_test_data): New variable.
2906 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2907
e414d745
JM
2908 * math/libm-test.inc (scalbln_test): Correct function name in END
2909 call.
2910
d9c2a0fd
JM
2911 * math/libm-test.inc (struct test_f_f1_data): Add comment.
2912 (RUN_TEST_LOOP_fI_f1): New macro.
2913 (frexp_test_data): New variable.
2914 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2915
9dc9095d
JM
2916 * math/libm-test.inc (struct test_fF_f1_data): New type.
2917 (RUN_TEST_LOOP_fF_f1): New macro.
2918 (modf_test_data): New variable.
2919 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2920
87aa21df
JM
2921 * math/libm-test.inc (struct test_f_f1_data): New type.
2922 (RUN_TEST_LOOP_f_f1): New macro.
2923 (gamma_test_data): New variable.
2924 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2925 (lgamma_test_data): New variable.
2926 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2927
141af660
CD
29282013-05-13 Carlos O'Donell <carlos@redhat.com>
2929
2930 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2931 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2932 (main): Comment "tls" pseudo-hwcap.
2933
6d33265c
JM
29342013-05-13 Joseph Myers <joseph@codesourcery.com>
2935
68fc074c
JM
2936 * math/libm-test.inc (struct test_fl_f_data): New type.
2937 (RUN_TEST_LOOP_fl_f): New variable.
2938 (scalbln_test_data): New variable.
2939 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2940
243216e1
JM
2941 * math/libm-test.inc (struct test_fi_f_data): New type.
2942 (RUN_TEST_LOOP_fi_f): New macro.
2943 (ldexp_test_data): New variable.
2944 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2945 (scalbn_test_data): New variable.
2946 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2947
6a1992e2
JM
2948 * math/libm-test.inc (struct test_c_f_data): New type.
2949 (RUN_TEST_LOOP_c_f): New macro.
2950 (cabs_test_data): New variable.
2951 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
2952 (carg_test_data): New variable.
2953 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
2954 (cimag_test_data): New variable.
2955 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
2956 (creal_test_data): New variable.
2957 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
2958
0e400df5
JM
2959 * math/libm-test.inc (struct test_if_f_data): New type.
2960 (RUN_TEST_LOOP_if_f): New macro.
2961 (jn_test_data): New variable.
2962 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
2963 (yn_test_data): New variable.
2964 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
2965
6d33265c
JM
2966 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
2967
f98ece5f
AZ
29682013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2969
2970 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
2971 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
2972
0f7d347b
SP
29732013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2974
43fe811b
SP
2975 * benchtests/Makefile (CPPFLAGS-nonlib): Add
2976 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
2977 (bench-deps): Add bench-timing.h.
2978 * benchtests-bench-skeleton.c: Include bench-timing.h.
2979 (main): Use TIMING_* macros instead of clock_gettime.
2980 * benchtests/bench-timing.h: New file.
2981
0f7d347b
SP
2982 [BZ #14582]
2983 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
2984 Renamed from _LIB_VERSION.
2985 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
2986
601a3a5f
JM
29872013-05-12 Joseph Myers <joseph@codesourcery.com>
2988
4f184d30
JM
2989 * math/libm-test.inc (struct test_fff_f_data): New type.
2990 (RUN_TEST_LOOP_fff_f): New macro.
2991 (fma_test_data): New variable.
2992 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
2993 (fma_towardzero_test_data): New variable.
2994 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
2995 (fma_downward_test_data): New variable.
2996 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
2997 (fma_upward_test_data): New variable.
2998 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
2999
08198877
JM
3000 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3001 (struct test_c_c_data): New type.
3002 (RUN_TEST_LOOP_c_c): New macro.
3003 (cacos_test_data): New variable.
3004 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3005 (cacosh_test_data): New variable.
3006 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3007 (casin_test_data): New variable.
3008 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3009 (casinh_test_data): New variable.
3010 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3011 (catan_test_data): New variable.
3012 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3013 (catanh_test_data): New variable.
3014 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3015 (ccos_test_data): New variable.
3016 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3017 (ccosh_test_data): New variable.
3018 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3019 (cexp_test_data): New variable.
3020 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3021 (clog_test_data): New variable.
3022 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3023 (clog10_test_data): New variable.
3024 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3025 (conj_test_data): New variable.
3026 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3027 (cproj_test_data): New variable.
3028 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3029 (csin_test_data): New variable.
3030 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3031 (csinh_test_data): New variable.
3032 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3033 (csqrt_test_data): New variable.
3034 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3035 (ctan_test_data): New variable.
3036 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3037 (ctan_tonearest_test_data): New variable.
3038 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3039 (ctan_towardzero_test_data): New variable.
3040 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3041 (ctan_downward_test_data): New variable.
3042 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3043 (ctan_upward_test_data): New variable.
3044 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3045 (ctanh_test_data): New variable.
3046 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3047 (ctanh_tonearest_test_data): New variable.
3048 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3049 (ctanh_towardzero_test_data): New variable.
3050 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3051 (ctanh_downward_test_data): New variable.
3052 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3053 (ctanh_upward_test_data): New variable.
3054 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3055 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3056 of BUILD_COMPLEX.
3057
601a3a5f
JM
3058 * math/libm-test.inc (struct test_ff_f_data): New type.
3059 (struct test_ff_f_data_nexttoward): Likewise.
3060 (RUN_TEST_LOOP_2_f): New macro.
3061 (RUN_TEST_LOOP_ff_f): Likewise.
3062 (atan2_test_data): New variable.
3063 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3064 (copysign_test_data): New variable.
3065 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3066 (fdim_test_data): New variable.
3067 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3068 (fmax_test_data): New variable.
3069 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3070 (fmin_test_data): New variable.
3071 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3072 (fmod_test_data): New variable.
3073 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3074 (hypot_test_data): New variable.
3075 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3076 (nextafter_test_data): New variable.
3077 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3078 (nexttoward_test_data): New variable.
3079 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3080 (pow_test_data): New variable.
3081 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3082 (pow_tonearest_test_data): New variable.
3083 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3084 (pow_towardzero_test_data): New variable.
3085 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3086 (pow_downward_test_data): New variable.
3087 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3088 (pow_upward_test_data): New variable.
3089 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3090 (remainder_test_data): New variable.
3091 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3092 (scalb_test_data): New variable.
3093 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3094 * sysdeps/i386/fpu/libm-test-ulps: Update.
3095
74c57478
JM
30962013-05-11 Joseph Myers <joseph@codesourcery.com>
3097
8329e4da
JM
3098 * math/libm-test.inc (fma_test): Use max_value instead of local
3099 variable fltmax.
3100 (nextafter_test): Likewise.
3101
74c57478
JM
3102 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3103 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3104 (acos_downward_test_data): New variable.
3105 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3106 (acos_upward_test_data): New variable.
3107 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3108 (acosh_test_data): New variable.
3109 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3110 (asin_test_data): New variable.
3111 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3112 (asin_tonearest_test_data): New variable.
3113 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3114 (asin_towardzero_test_data): New variable.
3115 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3116 (asin_downward_test_data): New variable.
3117 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3118 (asin_upward_test_data): New variable.
3119 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3120 (asinh_test_data): New variable.
3121 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3122 (atan_test_data): New variable.
3123 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3124 (atanh_test_data): New variable.
3125 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3126 (cbrt_test_data): New variable.
3127 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3128 (ceil_test_data): New variable.
3129 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3130 (cos_test_data): New variable.
3131 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3132 (cos_tonearest_test_data): New variable.
3133 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3134 (cos_towardzero_test_data): New variable.
3135 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3136 (cos_downward_test_data): New variable.
3137 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3138 (cos_upward_test_data): New variable.
3139 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3140 (cosh_test_data): New variable.
3141 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3142 (cosh_tonearest_test_data): New variable.
3143 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3144 (cosh_towardzero_test_data): New variable.
3145 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3146 (cosh_downward_test_data): New variable.
3147 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3148 (cosh_upward_test_data): New variable.
3149 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3150 (erf_test_data): New variable.
3151 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3152 (erfc_test_data): New variable.
3153 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3154 (exp_test_data): New variable.
3155 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3156 (exp_tonearest_test_data): New variable.
3157 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3158 (exp_towardzero_test_data): New variable.
3159 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3160 (exp_downward_test_data): New variable.
3161 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3162 (exp_upward_test_data): New variable.
3163 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3164 (exp10_test_data): New variable.
3165 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3166 (exp2_test_data): New variable.
3167 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3168 (expm1_test_data): New variable.
3169 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3170 (fabs_test_data): New variable.
3171 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3172 (floor_test_data): New variable.
3173 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3174 (j0_test_data): New variable.
3175 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3176 (j1_test_data): New variable.
3177 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3178 (log_test_data): New variable.
3179 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3180 (log10_test_data): New variable.
3181 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3182 (log1p_test_data): New variable.
3183 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3184 (log2_test_data): New variable.
3185 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3186 (logb_test_data): New variable.
3187 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3188 (logb_downward_test_data): New variable.
3189 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3190 (nearbyint_test_data): New variable.
3191 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3192 (rint_test_data): New variable.
3193 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3194 (rint_tonearest_test_data): New variable.
3195 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3196 (rint_towardzero_test_data): New variable.
3197 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3198 (rint_downward_test_data): New variable.
3199 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3200 (rint_upward_test_data): New variable.
3201 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3202 (round_test_data): New variable.
3203 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3204 (sin_test_data): New variable.
3205 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3206 (sin_tonearest_test_data): New variable.
3207 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3208 (sin_towardzero_test_data): New variable.
3209 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3210 (sin_downward_test_data): New variable.
3211 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3212 (sin_upward_test_data): New variable.
3213 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3214 (sinh_test_data): New variable.
3215 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3216 (sinh_tonearest_test_data): New variable.
3217 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3218 (sinh_towardzero_test_data): New variable.
3219 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3220 (sinh_downward_test_data): New variable.
3221 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3222 (sinh_upward_test_data): New variable.
3223 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3224 (sqrt_test_data): New variable.
3225 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3226 (tan_test_data): New variable.
3227 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3228 (tan_tonearest_test_data): New variable.
3229 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3230 (tan_towardzero_test_data): New variable.
3231 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3232 (tan_downward_test_data): New variable.
3233 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3234 (tan_upward_test_data): New variable.
3235 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3236 (tanh_test_data): New variable.
3237 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3238 (tgamma_test_data): New variable.
3239 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3240 (trunc_test_data): New variable.
3241 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3242 (y0_test_data): New variable.
3243 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3244 (y1_test_data): New variable.
3245 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3246 (significand_test_data): New variable.
3247 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3248
7187d844
CG
32492013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3250
3251 [BZ #12387]
3252 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3253
f63fae73
PT
32542013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3255
3256 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3257
8a67a4b3
AJ
32582013-05-10 Andreas Jaeger <aj@suse.de>
3259
3260 [BZ #15448]
3261 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3262 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3263
51df539d
JM
32642013-05-10 Joseph Myers <joseph@codesourcery.com>
3265
3266 * math/gen-libm-test.pl (adjust_arg): New function.
3267 (special_functions): Handle generating output in both functions
3268 and arrays.
3269 (parse_args): Likewise.
3270 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3271 $in_func argument to parse_args.
3272 * math/libm-test.inc (struct test_f_f_data): New type.
3273 (IF_ROUND_INIT_): New macro.
3274 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3275 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3276 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3277 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3278 (ROUND_RESTORE_): Likewise.
3279 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3280 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3281 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3282 (ROUND_RESTORE_FE_UPWARD): Likewise.
3283 (RUN_TEST_LOOP_f_f): New macro.
3284 (acos_test_data): New variable.
3285 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3286 (acos_tonearest_test_data): New variable.
3287 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3288
5c637fe5
SP
32892013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3290
3291 * benchtests/bench-skeleton.c (startup): Fix coding style.
3292
ab2b9461
JM
32932013-05-10 Joseph Myers <joseph@codesourcery.com>
3294
3295 [BZ #6809]
3296 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3297 negative infinity argument.
3298 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3299 negative infinity argument.
3300 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3301 negative infinity argument.
3302 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3303 domain errors.
3304
4c0fe6fe
FW
33052013-05-10 Florian Weimer <fweimer@redhat.com>
3306
3307 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3308 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3309 * iconv/iconv_prog.c (main): Likewise.
3310 * locale/programs/charmap-dir.c (charmap_readdir)
3311 (fopen_uncompressed): Likewise.
3312 * locale/programs/locfile.c (siblings_uncached)
3313 (write_locale_data): Use lstat64 instead of lstat.
3314 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3315 stat.
3316
a3375d29
AJ
33172013-05-10 Andreas Jaeger <aj@suse.de>
3318
3319 [BZ #15395]
3320 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3321 localization.
3322 Include <locale.h>.
3323
36129722
CD
33242013-05-09 Carlos O'Donell <carlos@redhat.com>
3325
3326 * elf/dl-close.c (_dl_close_worker): Add comments.
3327
faa7f811
JM
33282013-05-09 Joseph Myers <joseph@codesourcery.com>
3329
ed41ffef
JM
3330 [BZ #15359]
3331 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3332 high part of pi/2.
3333 (__ieee754_rem_pio2l): Update comments.
3334
d0213cd0
JM
3335 [BZ #15429]
3336 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3337 high part of pi/2.
3338 (__ieee754_rem_pio2l): Update comments.
3339
0d3e777a
JM
3340 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3341 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3342
24f56066
JM
3343 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3344 M_PI_4l.
3345
faa7f811
JM
3346 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3347 (M_PI_34_LOG10El): Likewise.
3348 (M_PI2_LOG10El): Likewise.
3349 (M_PI4_LOG10El): Likewise.
3350 (M_PI_LOG10El): Likewise.
3351
e9a5e0fd
AZ
33522013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3353
3354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3355
d8cd06db
JM
33562013-05-08 Joseph Myers <joseph@codesourcery.com>
3357
a0d9f9d7
JM
3358 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3359 (MINUS_ZERO_INIT): Likewise.
3360 (PLUS_INFTY_INIT): Likewise.
3361 (MINUS_INFTY_INIT): Likewise.
3362 (QNAN_VALUE_INIT): Likewise.
3363 (MAX_VALUE_INIT): Likewise.
3364 (MIN_VALUE_INIT): Likewise.
3365 (MIN_SUBNORM_VALUE_INIT): Likewise.
3366 (plus_zero): Initialize with PLUS_ZERO_INIT.
3367 (minus_zero): Initialize with MINUS_ZERO_INIT.
3368 (plus_infty): Initialize with PLUS_INFTY_INIT.
3369 (minus_infty): Initialize with MINUS_INFTY_INIT.
3370 (qnan_value): Initialize with QNAN_VALUE_INIT.
3371 (max_value): Initialize with MAX_VALUE_INIT.
3372 (min_value): Initialize with MIN_VALUE_INIT.
3373 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3374
ae08db3b
JM
3375 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3376 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3377 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3378 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3379
f44bf14a
JM
3380 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3381 (RUN_TEST_2_f): Likewise.
3382 (RUN_TEST_ff_f): Likewise.
3383 (RUN_TEST_fi_f): Likewise.
3384 (RUN_TEST_fl_f): Likewise.
3385 (RUN_TEST_fff_f): Likewise.
3386 (RUN_TEST_c_f): Likewise.
3387 (RUN_TEST_f_f1): Likewise.
3388 (RUN_TEST_fF_f1): Likewise.
3389 (RUN_TEST_fI_f1): Likewise.
3390 (RUN_TEST_ffI_f1): Likewise.
3391 (RUN_TEST_c_c): Likewise.
3392 (RUN_TEST_cc_c): Likewise.
3393 (RUN_TEST_f_i): Likewise.
3394 (RUN_TEST_f_i_tg): Likewise.
3395 (RUN_TEST_ff_i_tg): Likewise.
3396 (RUN_TEST_f_b): Likewise.
3397 (RUN_TEST_f_b_tg): Likewise.
3398 (RUN_TEST_f_l): Likewise.
3399 (RUN_TEST_f_L): Likewise.
3400 (RUN_TEST_sincos): Likewise.
3401 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3402 whether to show exceptions. Do not include ");\n" in return
3403 value.
3404 (special_functions): Output call to RUN_TEST_sincos instead of
3405 check_float calls. Update calls to new_test.
3406 (parse_args): Output call to single RUN_TEST_* macro instead of
3407 check_* calls and other assignments. Update calls to new_test.
3408
d8cd06db
JM
3409 [BZ #2546]
3410 [BZ #2560]
3411 [BZ #5159]
3412 [BZ #15426]
3413 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3414 input to result for tgamma overflow.
3415 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3416 (gamma_coeff): New variable.
3417 (NCOEFF): New macro.
3418 (gamma_positive): New function.
3419 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3420 underflow here. Use gamma_positive instead of exp (lgamma) for
3421 other arguments.
3422 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3423 (gamma_coeff): New variable.
3424 (NCOEFF): New macro.
3425 (gammaf_positive): New function.
3426 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3427 underflow here. Use gamma_positive instead of exp (lgamma) for
3428 other arguments.
3429 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3430 (gamma_coeff): New variable.
3431 (NCOEFF): New macro.
3432 (gammal_positive): New function.
3433 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3434 underflow here. Use gamma_positive instead of exp (lgamma) for
3435 other arguments.
3436 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3437 (gamma_coeff): New variable.
3438 (NCOEFF): New macro.
3439 (gammal_positive): New function.
3440 (__ieee754_gammal_r): Handle positive infinity, overflow and
3441 underflow here. Handle NaN the same as positive infinity. Remove
3442 check x < 0xffffffff for negative integers. Use gamma_positive
3443 instead of exp (lgamma) for other arguments.
3444 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3445 (gamma_coeff): New variable.
3446 (NCOEFF): New macro.
3447 (gammal_positive): New function.
3448 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3449 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3450 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3451 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3452 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3453 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3454 * sysdeps/generic/math_private.h (__gamma_productf): New
3455 prototype.
3456 (__gamma_product): Likewise.
3457 (__gamma_productl): Likewise.
3458 * math/Makefile (libm-calls): Add gamma_product.
3459 * math/libm-test.inc (tgamma_test): Add more tests.
3460 * sysdeps/i386/fpu/libm-test-ulps: Update.
3461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3462
bb7cf681
OB
34632013-05-08 Ondřej Bílka <neleai@seznam.cz>
3464
3465 * benchtests/bench-skeleton.c (main): Preheat CPU.
3466
ba853947
AJ
34672013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3468
3469 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3470
8347c74c
RM
34712013-05-07 Roland McGrath <roland@hack.frob.com>
3472
3473 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3474 and _dl_skip_args_internal.
3475
e8dd4791
CD
34762013-05-07 Carlos O'Donell <carlos@redhat.com>
3477
3478 * manual/message.texi (Message Translation): Talk about users.
3479 Message to key mapping impacts design.
3480
c7405830
RM
34812013-05-06 Roland McGrath <roland@hack.frob.com>
3482
a9173057
RM
3483 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3484
976e2f03
RM
3485 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3486
9723ffc5
RM
3487 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3488 * sysdeps/wordsize-64/glob64.c: ... here.
3489
962e6658
RM
3490 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3491 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3492 New macros.
3493
ee586a6d
RM
3494 * debug/getlogin_r_chk.c: Moved to ...
3495 * login/getlogin_r_chk.c: ... here.
3496 * debug/Makefile (routines): Move getlogin_r_chk to ...
3497 * login/Makefile (routines): ... here.
3498 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3499 * login/Versions (libc: GLIBC_2.4): ... here.
3500
355f9165
RM
3501 * io/poll.c (__poll): Renamed from poll.
3502 Add libc_hidden_def.
3503 (poll): Define as weak alias.
3504
bd9ffde6
RM
3505 * debug/ptsname_r_chk.c: Moved to ...
3506 * login/ptsname_r_chk.c: ... here.
3507 * debug/Makefile (routines): Move ptsname_r_chk to ...
3508 * login/Makefile (routines): ... here.
3509 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3510 * login/Versions (libc: GLIBC_2.4): ... here.
3511
8fb16a04
RM
3512 * posix/getlogin.c: Moved to ...
3513 * login/getlogin.c: ... here.
3514 * posix/getlogin_r.c: Moved to ...
3515 * login/getlogin_r.c: ... here.
3516 * posix/getlogin_r.c: Moved to ...
3517 * login/getlogin_r.c: ... here.
3518 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3519 * login/Makefile (routines): ... here.
3520 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3521 * login/Versions (libc: GLIBC_2.0): ... here.
3522
b99b892f
RM
3523 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3524 (setrlimit): Define as weak alias.
3525
c7405830
RM
3526 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3527 Call __ names for open, ftruncate, and close.
3528 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3529 (truncate): Define as weak alias.
3530
5bf96de5
JM
35312013-05-06 Joseph Myers <joseph@codesourcery.com>
3532
9ea3513c
JM
3533 * math/gen-libm-test.pl (parse_args): Initialize x before each
3534 test of frexp, modf and remquo.
3535
5bf96de5
JM
3536 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3537 test signgam value.
3538
16e616a7
AZ
35392013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3540
3541 [BZ #15418]
3542 [BZ #15419]
3543 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3544 internal tests.
3545 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3546
d5e82754
RM
35472013-05-06 Roland McGrath <roland@hack.frob.com>
3548
3549 * elf/dl-writev.h: New file.
3550 * elf/dl-misc.c: Include it.
3551 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3552 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3553
a7548d41
JM
35542013-05-04 Joseph Myers <joseph@codesourcery.com>
3555
b7dab1e4
JM
3556 * math/libm-test.inc (noXFails): Remove variable.
3557 (noXPasses): Likewise.
3558 (BUILD_COMPLEX_INT): Remove macro.
3559 (print_screen): Remove xfail argument.
3560 (print_screen_max_error): Likewise.
3561 (update_stats): Likewise.
3562 (print_max_error): Likewise. Update calls to other affected
3563 functions.
3564 (print_complex_max_error): Likewise.
3565 (test_single_exception): Update calls to print_screen.
3566 (test_single_errno): Likewise.
3567 (check_float_internal): Remove xfail argument. Update calls to
3568 other affected functions.
3569 (check_float): Likewise.
3570 (check_complex): Likewise.
3571 (check_int): Likewise.
3572 (check_long): Likewise.
3573 (check_bool): Likewise.
3574 (check_longlong): Likewise.
3575 (main): Don't print noXFails and noXPasses.
3576 * math/gen-libm-test.pl (top level): Don't mention expected
3577 failure handling in comment.
3578 (new_test): Don't handle expected failures.
3579 (parse_args): Don't mention expected failure handling in comment.
3580 (generate_testfile): Don't handle expected failures.
3581 (parse_ulps): Likewise.
3582 (print_ulps_file): Likewise.
3583 (get_failure): Remove function.
3584 (output_test): Don't handle expected failures.
3585 * make/README.libm-test: Don't mention expected failure handling.
3586
a7548d41
JM
3587 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3588 (minus_zero): Likewise.
3589 (plus_infty): Likewise.
3590 (minus_infty): Likewise.
3591 (qnan_value): Likewise.
3592 (max_value): Likewise.
3593 (min_value): Likewise.
3594 (min_subnorm_value): Likewise.
3595 (initialize): Do not initialize those variables dynamically.
3596
60bfd54c
RM
35972013-05-03 Roland McGrath <roland@hack.frob.com>
3598
cc0e6ed8
RM
3599 * io/open.c (__open_2): Moved to ...
3600 * io/open_2.c: ... this new file.
3601 * io/open64.c (__open64_2): Moved to ...
3602 * io/open64_2.c: ... this new file.
3603 * io/openat.c (__openat_2): Moved to ...
3604 * io/openat_2.c: ... this new file.
3605 * io/openat64.c (__openat64_2): Moved to ...
3606 * io/openat64_2.c: ... this new file.
3607 * io/Makefile (routines): Add them.
3608 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3609 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3610 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3611 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3612 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3613 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3614 (__openat64): Add hidden_ver.
3615 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3616 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3617
60bfd54c
RM
3618 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3619 Separately conditionalize setting of GLRO(dl_sysinfo) so
3620 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3621 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3622
83e7640f
AZ
36232013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3624
3625 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3626 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3627 definition.
3628 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3629 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3630 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3631 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3632 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3633
d5dc2af3
JM
36342013-05-03 Joseph Myers <joseph@codesourcery.com>
3635
c31a5b1e
JM
3636 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3637 test signgam value.
3638
d5dc2af3
JM
3639 * math/libm-test.inc (hypot_test): Do not use
3640 IGNORE_ZERO_INF_SIGN.
3641
164fd39d
AJ
36422013-05-03 Andreas Jaeger <aj@suse.de>
3643
3644 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3645 Linux 3.9.
3646 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3647 (PF_MAX): Adjust for VSOCK change.
3648
8237f48c
AZ
36492013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3650
3651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3652
9df02941
CD
36532013-05-02 Carlos O'Donell <carlos@redhat.com>
3654
3655 [BZ #15264]
3656 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3657 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3658 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3659
d422395e
DM
36602013-05-02 David S. Miller <davem@davemloft.net>
3661
3662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3663
a07c5731
OB
36642013-05-01 Ondřej Bílka <neleai@seznam.cz>
3665
3666 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3667
1324e37f
RM
36682013-05-01 Roland McGrath <roland@hack.frob.com>
3669
3670 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3671
0695940b
RS
36722013-05-01 Richard Smith <richard@metafoo.co.uk>
3673
bb5f27ad 3674 [BZ #14952]
0695940b
RS
3675 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3676 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3677 Use __attribute__ ((__gnu_inline__)).
3678 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3679 Don't use __attribute__ ((__gnu_inline__)).
3680
10de07f5
JM
36812013-05-01 Joseph Myers <joseph@codesourcery.com>
3682
3683 [BZ #15423]
3684 * math/s_catan.c (__catan): Handle small real or imaginary part of
3685 input specially to avoid spurious underflow.
3686 * math/s_catanf.c (__catanf): Likewise.
3687 * math/s_catanh.c (__catanh): Likewise.
3688 * math/s_catanhf.c (__catanhf): Likewise.
3689 * math/s_catanhl.c (__catanhl): Likewise.
3690 * math/s_catanl.c (__catanl): Likewise.
3691 * math/libm-test.inc (catan_test): Add more tests.
3692 (catanh_test): Likewise.
3693 * sysdeps/i386/fpu/libm-test-ulps: Update.
3694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3695
cb4d5414
AZ
36962013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3697
3698 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3699
caf84319
JM
37002013-04-30 Joseph Myers <joseph@codesourcery.com>
3701
3702 [BZ #15416]
3703 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3704 accurately for denominator in atan2.
3705 * math/s_catanf.c (__catanf): Likewise.
3706 * math/s_catanh.c (__catanh): Likewise.
3707 * math/s_catanhf.c (__catanhf): Likewise.
3708 * math/s_catanhl.c (__catanhl): Likewise.
3709 * math/s_catanl.c (__catanl): Likewise.
3710 * math/libm-test.inc (catan_test): Add more tests.
3711 (catanh_test): Likewise.
3712 * sysdeps/i386/fpu/libm-test-ulps: Update.
3713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3714
d569c6ee
SP
37152013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3716
6dbe713d
SP
3717 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3718
f0ee064b
SP
3719 * benchtests/Makefile (bench): Remove slow benchmarks.
3720 * benchtests/atan-inputs: Add slow benchmark inputs.
3721 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3722 (BENCH_FUNC): Accept variant offset.
3723 (VARIANT): Define.
3724 * benchtests/bench-skeleton.c (main): Run benchmark for each
3725 variant.
3726 * benchtests/cos-inputs: Add slow benchmark inputs.
3727 * benchtests/exp-inputs: Likewise.
3728 * benchtests/pow-inputs: Likewise.
3729 * benchtests/sin-inputs: Likewise.
3730 * benchtests/slowatan-inputs: Remove.
3731 * benchtests/slowatan.c: Remove.
3732 * benchtests/slowcos-inputs: Remove.
3733 * benchtests/slowcos.c: Remove.
3734 * benchtests/slowexp-inputs: Remove.
3735 * benchtests/slowexp.c: Remove.
3736 * benchtests/slowpow-inputs: Remove.
3737 * benchtests/slowpow.c: Remove.
3738 * benchtests/slowsin-inputs: Remove.
3739 * benchtests/slowsin.c: Remove.
3740 * benchtests/slowtan-inputs: Remove.
3741 * benchtests/slowtan.c: Remove.
3742 * benchtests/tan-inputs: Add slow benchmark inputs.
3743 * scripts/bench.pl: Parse comments and directives.
3744
d569c6ee
SP
3745 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3746 in CPPFLAGS.
3747 ($(objpfx)bench-%.c): Remove *-ITER.
3748 * benchtests/bench-modf.c: Remove definition of ITER.
3749 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3750 (main): Loop for DURATION seconds instead of fixed number of
3751 iterations.
3752 * scripts/bench.pl: Don't expect iterations in parameters.
3753
a6a242fe
RM
37542013-04-29 Roland McGrath <roland@hack.frob.com>
3755
3756 * io/fchdir.c (__fchdir): Renamed from fchdir.
3757 (fchdir): Define as weak alias.
3758
f2da7793
JM
37592013-04-29 Joseph Myers <joseph@codesourcery.com>
3760
3761 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3762 (ERRNO_EDOM): Likewise.
3763 (ERRNO_ERANGE): Likewise.
3764 (noErrnoTests): New variable.
3765 (init_max_error): Set errno to 0.
3766 (test_single_errno): New function.
3767 (test_errno): Likewise.
3768 (check_float_internal): Call test_errno. Set errno to 0.
3769 (check_complex): Refer to errno tests in comment.
3770 (check_int): Call test_errno. Set errno to 0.
3771 (check_long): Likewise.
3772 (check_bool): Likewise.
3773 (check_longlong): Likewise.
3774 (cos_test): Use ERRNO_* flags for errno tests instead of
3775 check_int.
3776 (expm1_test): Likewise.
3777 (fmod_test): Likewise.
3778 (ilogb_test): Likewise.
3779 (lgamma_test): Likewise.
3780 (pow_test): Likewise.
3781 (remainder_test): Likewise.
3782 (sin_test): Likewise.
3783 (tan_test): Likewise.
3784 (yn_test): Likewise.
3785 (initialize): Set errno to 0.
3786 (main): Print number of errno tests.
3787 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3788
b1a36ceb
AJ
37892013-04-29 Andreas Jaeger <aj@suse.de>
3790
c3ed8088
AJ
3791 [BZ #15084]
3792 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3793 and RES_USEVC.
3794
f1a24198
AJ
3795 [BZ #15085]
3796 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3797 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3798 unimplemented.
3799
9ce3b2cb
AJ
3800 [BZ #15380]
3801 * stdlib/random.c (__initstate): Return NULL if
3802 __initstate fails.
3803
f1a24198 3804 [BZ #15086]
b1a36ceb
AJ
3805 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3806 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3807 RES_SNGLKUPREOP.
3808
7e7b6f36
AZ
38092013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3810
3811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3812
4d14f449
JM
38132013-04-29 Joseph Myers <joseph@codesourcery.com>
3814
3815 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3816 of individual tests.
3817 (casin_test): Likewise.
3818 (casinh_test): Likewise.
3819
5b4217d7
JM
38202013-04-27 Joseph Myers <joseph@codesourcery.com>
3821
3822 [BZ #15409]
3823 * math/s_catan.c (__catan): Handle arguments with large real or
3824 imaginary part separately without squaring.
3825 * math/s_catanf.c (__catanf): Likewise.
3826 * math/s_catanh.c (__catanh): Likewise.
3827 * math/s_catanhf.c (__catanhf): Likewise.
3828 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3829 and redefine.
3830 (__catanhl): Handle arguments with large real or imaginary part
3831 separately without squaring.
3832 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3833 and redefine.
3834 (__catanl): Handle arguments with large real or imaginary part
3835 separately without squaring.
3836 * math/libm-test.inc (catan_test): Add more tests.
3837 (catanh_test): Likewise.
3838 * sysdeps/i386/fpu/libm-test-ulps: Update.
3839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3840
4220c3ef
AJ
38412013-04-27 Andreas Jaeger <aj@suse.de>
3842
3843 [BZ #15007]
3844 * stdlib/stdlib.h: Update guards for qecvt.
3845 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3846 <stdlib.h>.
3847
4721b2d1
AM
38482013-04-27 Allan McRae <allan@archlinux.org>
3849
3850 * sysdeps/i386/fpu/libm-test-ulps: Update.
3851
f0302940
JM
38522013-04-26 Joseph Myers <joseph@codesourcery.com>
3853
9457fd95
JM
3854 [BZ #15406]
3855 * math/s_catan.c: Include <float.h>.
3856 (__catan): Ensure underflow exception occurs for underflowed
3857 result.
3858 * math/s_catanf.c: Include <float.h>.
3859 (__catanf): Ensure underflow exception occurs for underflowed
3860 result.
3861 * math/s_catanh.c: Include <float.h>.
3862 (__catanh): Ensure underflow exception occurs for underflowed
3863 result.
3864 * math/s_catanhf.c: Include <float.h>.
3865 (__catanhf): Ensure underflow exception occurs for underflowed
3866 result.
3867 * math/s_catanhl.c: Include <float.h>.
3868 (__catanhl): Ensure underflow exception occurs for underflowed
3869 result.
3870 * math/s_catanl.c: Include <float.h>.
3871 (__catanl): Ensure underflow exception occurs for underflowed
3872 result.
3873 * math/libm-test.inc (catan_test): Add more tests.
3874 (catanh_test): Likewise.
3875
f0302940
JM
3876 [BZ #15405]
3877 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3878 underflowed result.
3879 * math/s_ccoshf.c (__ccoshf): Likewise.
3880 * math/s_ccoshl.c (__ccoshl): Likewise.
3881 * math/s_csin.c (__csin): Likewise.
3882 * math/s_csinf.c (__csinf): Likewise.
3883 * math/s_csinh.c (__csinh): Likewise.
3884 * math/s_csinhf.c (__csinhf): Likewise.
3885 * math/s_csinhl.c (__csinhl): Likewise.
3886 * math/s_csinl.c (__csinl): Likewise.
3887 * math/libm-test.inc (ccos_test): Add more tests.
3888 (ccosh_test): Likewise.
3889 (csin_test): Likewise.
3890 (csinh_test): Likewise.
3891
aa630f59
AZ
38922013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3893
3894 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3895 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3896 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3897 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3898 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3899 powerpc/power5+/fpu folders.
3900 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3901
3902
1b835983
MT
39032013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3904
3905 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3906
73709b26
JM
39072013-04-25 Joseph Myers <joseph@codesourcery.com>
3908
3909 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3910 additions to variable.
3911 [$(config-machine) = x86_64] (modules-names): Likewise.
3912 ($(objpfx)tst-audit3): Remove dependency.
3913 ($(objpfx)tst-audit3.out): Likewise.
3914 ($(objpfx)tst-audit4): Likewise.
3915 ($(objpfx)tst-audit4.out): Likewise.
3916 ($(objpfx)tst-audit5): Likewise.
3917 ($(objpfx)tst-audit5.out): Likewise.
3918 ($(objpfx)tst-audit6): Likewise.
3919 ($(objpfx)tst-audit6.out): Likewise.
3920 ($(objpfx)tst-audit7): Likewise.
3921 ($(objpfx)tst-audit7.out): Likewise.
3922 (tst-audit3-ENV): Remove variable.
3923 (tst-audit4-ENV): Likewise.
3924 (tst-audit5-ENV): Likewise.
3925 (tst-audit6-ENV): Likewise.
3926 (tst-audit7-ENV): Likewise.
3927 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3928 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3929 addition to variable.
3930 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3931 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3932 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3933 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3934 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3935 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3936 tst-audit3, tst-audit4 and tst-audit5.
3937 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3938 tst-audit6 and tst-audit7.
3939 [$(subdir) = elf] (modules-names): Add audit modules for those
3940 tests.
3941 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3942 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3943 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3944 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3945 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3946 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3947 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3948 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
3949 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
3950 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
3951 [$(subdir) = elf] (tst-audit3-ENV): New variable.
3952 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
3953 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
3954 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
3955 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
3956 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
3957 Likewise.
3958 [$(subdir) = elf && $(config-cflags-avx) = yes]
3959 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
3960 [$(subdir) = elf && $(config-cflags-avx) = yes]
3961 (CFLAGS-tst-auditmod4a.c): Likewise.
3962 [$(subdir) = elf && $(config-cflags-avx) = yes]
3963 (CFLAGS-tst-auditmod4b.c): Likewise.
3964 [$(subdir) = elf && $(config-cflags-avx) = yes]
3965 (CFLAGS-tst-auditmod6b.c): Likewise.
3966 [$(subdir) = elf && $(config-cflags-avx) = yes]
3967 (CFLAGS-tst-auditmod6c.c): Likewise.
3968 [$(subdir) = elf && $(config-cflags-avx) = yes]
3969 (CFLAGS-tst-auditmod7b.c): Likewise.
3970 * elf/tst-audit3.c: Move to ...
3971 * sysdeps/x86_64/tst-audit3.c: ... here.
3972 * elf/tst-audit4.c: Move to ...
3973 * sysdeps/x86_64/tst-audit4.c: ... here.
3974 * elf/tst-audit5.c: Move to ...
3975 * sysdeps/x86_64/tst-audit5.c: ... here.
3976 * elf/tst-audit6.c: Move to ...
3977 * sysdeps/x86_64/tst-audit6.c: ... here.
3978 * elf/tst-audit7.c: Move to ...
3979 * sysdeps/x86_64/tst-audit7.c: ... here.
3980 * elf/tst-auditmod3a.c: Move to ...
3981 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
3982 * elf/tst-auditmod3b.c: Move to ...
3983 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
3984 * elf/tst-auditmod4a.c: Move to ...
3985 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
3986 * elf/tst-auditmod4b.c: Move to ...
3987 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
3988 * elf/tst-auditmod5a.c: Move to ...
3989 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
3990 * elf/tst-auditmod5b.c: Move to ...
3991 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
3992 * elf/tst-auditmod6a.c: Move to ...
3993 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
3994 * elf/tst-auditmod6b.c: Move to ...
3995 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
3996 * elf/tst-auditmod6c.c: Move to ...
3997 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
3998 * elf/tst-auditmod7a.c: Move to ...
3999 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4000 * elf/tst-auditmod7b.c: Move to ...
4001 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4002
1ef74943
PP
40032013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4004
4005 [BZ #15366]
4006 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4007 define unconditionally.
4008 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4009 define unconditionally.
4010 (INT8_C, INT16_C, etc.): Likewise.
4011
93fd48c5
MR
40122013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4013
ae9552cf
MR
4014 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4015 __ehdr_start with hidden visibility.
4016
93fd48c5
MR
4017 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4018
418601aa
CD
40192013-04-24 Carlos O'Donell <carlos@redhat.com>
4020
4021 * math/libm-test.inc (cos_test): Use accurate hex constants.
4022 (sincost_test): Likewise.
4023
2f38fbfe
JM
40242013-04-24 Joseph Myers <joseph@codesourcery.com>
4025
5e221800
JM
4026 * math/libm-test.inc (catan_test): Add more tests.
4027 (catanh_test): Likewise.
4028
77f143fd
JM
4029 * math/s_catanf.c (__catanf): Use suffixed floating-point
4030 constants.
4031 * math/s_catanhf.c (__catanhf): Likewise.
4032 * math/s_catanhl.c (__catanhl): Likewise.
4033 * math/s_catanl.c (__catanl): Likewise.
4034
2f38fbfe
JM
4035 [BZ #15394]
4036 * math/s_catan.c (__catan): Calculate imaginary part of result
4037 with log1p not log unless computing log of number close to 0.
4038 * math/s_catanf.c (__catanf): Likewise.
4039 * math/s_catanl.c (__catanl): Likewise.
4040 * math/s_catanh.c (__catanh): Calculate real part of result with
4041 log1p not log unless computing log of number close to 0.
4042 * math/s_catanhf.c (__catanhf): Likewise.
4043 * math/s_catanhl.c (__catanhl): Likewise.
4044 * math/libm-test.inc (catan_test): Add more tests.
4045 (catanh_test): Likewise.
4046 * sysdeps/i386/fpu/libm-test-ulps: Update.
4047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4048
45d69176
SP
40492013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4050
4051 * benchtests/Makefile: Mention files in which fast and slow
4052 paths of math functions are implemented.
4053
87f51853
RM
40542013-04-23 Roland McGrath <roland@hack.frob.com>
4055
4056 * sysdeps/posix/timespec_get.c: New file.
4057
3c026539
AZ
40582013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4059
4060 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4061 POWER.
4062 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4063 for POWER.
4064 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4065 powerpc/power5/fpu folders.
4066 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4067 * benchtests/Makefile: Add modf testcase.
4068 * benchtests/bench-modf.c: New file: Benchmark test for mo
4069
ff491d14
SP
40702013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4071
4072 [BZ #14888]
4073 * time/Makefile (tests): Add tst-strptime-whitespace.
4074 * time/strptime_l.c (get_number): Use ISSPACE.
4075 (__strptime_internal): Likewise.
4076 * time/tst-strptime-whitespace.c: New test case.
4077
7ed3f4e8
AS
40782013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4079
4080 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4081 member.
4082 (_nss_files_init): Set it here.
4083
5c95f7b6
HC
40842013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4085
4086 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4087 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4088 unsigned.
4089
d34c9158
JBG
40902013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4091
4092 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4093
2169712d
SP
40942013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4095
4096 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4097 size just once.
4098
29c5de99
DM
40992013-04-21 David S. Miller <davem@davemloft.net>
4100
4101 * po/ru.po: Update Russion translation from translation project.
4102
ccdad15d
AC
41032013-04-17 Adam Conrad <adconrad@0c3.net>
4104
4105 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4106 and setfsgid.
4107
0f122b8d
CD
41082013-04-17 Carlos O'Donell <carlos@redhat.com>
4109
5c5b07da 4110 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 4111 * configure: Regenerate.
5c5b07da 4112 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
4113 Add example to error message.
4114 * sysdeps/i386/configure: Regenerate.
4115
037714dd
SP
41162013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4117
4118 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4119 slowtan.
4120 * benchtests/cos-inputs: New file.
4121 * benchtests/slowcos-inputs: New file.
4122 * benchtests/slowcos.c: New file.
4123 * benchtests/slowtan-inputs: New file.
4124 * benchtests/slowtan.c: New file.
4125 * benchtests/tan-inputs: New file.
4126
e913141d
RM
41272013-04-16 Roland McGrath <roland@hack.frob.com>
4128
4129 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4130 considered kosher.
4131
a2964074
SP
41322013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4133
4856bcd2
SP
4134 * benchtests/Makefile: Include cppflags-iterator.mk to add
4135 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4136
a2964074
SP
4137 * Makefile.in (bench-clean): New target.
4138 * benchtests/Makefile (bench-clean): Likewise.
4139
9fbf9aca
DH
41402013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4141
4142 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4143
207d1e2a
TS
41442013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4145
4146 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4147
306dfba9
AS
41482013-04-15 Andreas Schwab <schwab@suse.de>
4149
4150 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4151 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4152 * nscd/pwdcache.c (cache_addpw): Likewise.
4153 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4154 more than recsize.
4155
206a6699
SP
41562013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4157
4158 * benchtests/Makefile (bench): Write all output to
4159 bench-out.tmp together.
4160
0582f6b3
AS
41612013-04-15 Andreas Schwab <schwab@suse.de>
4162
4163 * nscd/nscd.c (main): Don't fork again after closing files.
4164
acb4325f
SP
41652013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4166
5cb26d0a
SP
4167 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4168
acb4325f
SP
4169 * benchtests/Rules (bench-deps): Collect dependencies into a
4170 single variable. Add Makefile to dependencies.
4171 ($(objpfx)bench-%.c): Depend on bench-deps.
4172
47792506
RM
41732013-04-12 Roland McGrath <roland@hack.frob.com>
4174 Xavier Roche <roche+kml2@exalead.com>
4175
4176 [BZ #15361]
4177 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4178 just that it's a file descriptor.
4179 * manual/llio.texi (Synchronizing AIO Operations): Update description
4180 for EBADF error from aio_fsync.
4181
8fc1bee5
SP
41822013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4183
4184 * Rules (bench): Move target definition...
4185 * benchtests/Makefile: ... here.
4186
aba5e333
CD
41872013-04-11 Carlos O'Donell <carlos@redhat.com>
4188
4189 * math/libm-test.inc (cos_test): Fix PI/2 test.
4190 (sincos_test): Likewise.
4191 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4192 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4193
273cdee8
AS
41942013-04-11 Andreas Schwab <schwab@suse.de>
4195
6ecec3b6
AS
4196 [BZ #13988]
4197 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4198 accept exponent character only when digits were seen.
4199 * stdio-common/Makefile (tests): Add bug26.
4200 * stdio-common/bug26.c: New file.
4201
273cdee8
AS
4202 [BZ #14293]
4203 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4204 non-freeable.
4205
8da491f5
SP
42062013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4207
01dc6df9
SP
4208 * Makeconfig (rtld-prefix): Define built linker prefix.
4209 * Rules (run-bench): Use it.
4210 * math/Makefile (run-regen-ulps): Likewise.
4211
8da491f5
SP
4212 * Rules (bench): Remove eval.
4213
abe7f530
SP
42142013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4215 Roland McGrath <roland@hack.frob.com>
4216 Ondrej Bilka <neleai@seznam.cz>
4217
4218 [BZ #15346]
4219 * time/getdate.c: Include ctype.h and alloca.h.
4220 (__getdate_r): Trim leading and trailing spaces of input.
4221 * time/tst-getdate.c (tests): Add tests with leading and
4222 trailing spaces.
4223
61c23e62
RM
42242013-04-08 Roland McGrath <roland@hack.frob.com>
4225
4226 [BZ #14280]
4227 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4228 when computing value.
4229
7208a313
CD
42302013-04-06 Carlos O'Donell <carlos@redhat.com>
4231
085b2d41
CD
4232 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4233 Use testrun.sh to run libm tests.
4234
7208a313
CD
4235 [BZ #15309]
4236 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4237
872c0acd
MM
42382013-04-06 Marko Myllynen <myllynen@redhat.com>
4239
4240 [BZ #15264]
4241 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4242
26510bdd
CD
42432013-04-06 Carlos O'Donell <carlos@redhat.com>
4244
4245 * Makefile.in (regen-ulps): New target.
4246 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4247 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4248 [ifneq (no,$(PERL)] (regen-ulps): New target.
4249 [ifeq (no,$(PERL)] (regen-ulps): New target.
4250 * math/libm-test.inc (ulps_file_name): Define.
4251 (output_dir): New variable.
4252 (options): Add "output-dir" option.
4253 (parse_opt): Handle 'o' case.
4254 (main): If output_dir is non-NULL use it as a prefix
4255 otherwise use "".
4256 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4257
a01f19c8
CD
42582013-04-06 Carlos O'Donell <carlos@redhat.com>
4259
4260 [BZ #10060, #10062]
4261 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4262 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4263 fail configure if __sync_val_compare_and_swap is not inlined.
4264 * sysdeps/i386/configure: Regenerate.
4265 * configure.in: Build for i686 when configured for i386.
4266 * configure: Regenerate.
4267 * README: Remove i386 reference.
4268
b7a329a5
CD
42692013-04-06 Carlos O'Donell <carlos@redhat.com>
4270
4271 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4272 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4273
bf0f50df
TS
42742013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4275
ee091edf
TS
4276 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4277 (lmsnanval): New variables.
4278 (F): Add conversion tests.
4279 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4280 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4281
a8b792d6
TS
4282 * stdio-common/tstdiomisc.c (F): Properly collect individual
4283 tests' results.
4284
a1cbf437
TS
4285 [BZ #14686, #15336]
4286 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4287 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4288 Instead, use input NaN values or generate a qNaN by arithmetic
4289 operation. Also fix bugs to comply with the standard.
4290 * math/libm-test.inc (remainder_test): Add more tests.
4291
8b43a0c9
TS
4292 [BZ #15335, #15342]
4293 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4294 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4295 input NaN values or generate a qNaN by arithmetic operation.
4296
d91da4ce
TS
4297 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4298 unreachable code.
4299
bf0f50df
TS
4300 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4301 definitions.
4302
05e166c8
JM
43032013-04-03 Joseph Myers <joseph@codesourcery.com>
4304
4305 [BZ #14478]
4306 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4307 underflowed result.
4308 * math/s_cexpf.c (__cexpf): Likewise.
4309 * math/s_cexpl.c (__cexpl): Likewise.
4310 * math/libm-test.inc (cexp_test): Add more tests.
4311
1cef1b19
AS
43122013-04-03 Andreas Schwab <schwab@suse.de>
4313
4314 [BZ #15330]
4315 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4316 order arrays from heap if bigger than alloca cutoff.
4317
74d87055
TS
43182013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4319
4320 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4321 (SNAN_TESTS_double): Refer to GCC PR56831.
4322 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4323 GCC PR56828.
4324
d755bba4
SP
43252013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4326
90d5d5bb
SP
4327 * Rules (bench): Move bench.out after the run is complete.
4328
73e0cd5d
SP
4329 * Rules (bench): Echo currently running benchmark.
4330
64aabd4b
SP
4331 * benchtests/Makefile (bench): Add atan and slowatan.
4332 * benchtests/atan-inputs: New file.
4333 * benchtests/slowatan-inputs: New file.
4334 * benchtests/slowatan.c: New file.
4335
c871eccd
SP
4336 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4337 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4338 its value.
4339
d755bba4
SP
4340 [BZ #15305]
4341 * sysdeps/unix/sysv/linux/kernel-features.h
4342 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4343 __ASSUME_XFS_RESTRICTED_CHOWN.
4344 * sysdeps/unix/sysv/linux/pathconf.c
4345 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4346 Save and restore errno.
4347
52ce4860
JM
43482013-04-02 Joseph Myers <joseph@codesourcery.com>
4349
4350 [BZ #15327]
4351 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4352 arguments using __kernel_casinh.
4353 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4354 arguments using __kernel_casinhf.
4355 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4356 arguments using __kernel_casinhl.
4357 * math/libm-test.inc (cacosh_test): Add more tests.
4358 * sysdeps/i386/fpu/libm-test-ulps: Update.
4359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4360
81f311c2
SP
43612013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4362
e7906a47
SP
4363 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4364 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4365
92e3664b
SP
4366 * bench/Makefile (bench): Add sin and slowsin.
4367 * benchtests/sin-inputs: New file.
4368 * benchtests/slowsin-inputs: New file.
4369 * benchtests/slowsin.c: New file.
4370
81f311c2
SP
4371 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4372 (bench): Add slowexp and slowpow.
4373 (exp-ITER): Increase iterations.
4374 (pow-ITER): Likewise.
4375 * benchtests/exp-inputs: Change input.
4376 * benchtests/pow-inputs: Likewise.
4377 * benchtests/slowexp-inputs: New file.
4378 * benchtests/slowexp.c: New file.
4379 * benchtests/slowpow-inputs: New file.
4380 * benchtests/slowpow.c: New file.
4381
ab0f1aa9
AZ
43822013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4383
4384 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4385 instructions.
4386 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4387 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4388 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4389 * benchtests/Makefile: Add rint benchtest.
4390 * benchtests/rint-inputs: Input for rint benchtest.
4391
57267616
TS
43922013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4393
4394 * Versions.def (libm): Add GLIBC_2.18.
4395 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4396 hidden libm prototypes.
4397 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4398 * math/Makefile (libm-calls): Add s_issignaling.
4399 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4400 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4401 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4402 declaration.
4403 * math/math.h [__USE_GNU] (issignaling): New macro.
4404 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4405 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4406 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4407 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4408 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4409 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4410 * manual/arith.texi (issignaling): New section.
4411 * manual/libm-err-tab.pl (@all_functions): Update comment.
4412 * math/gen-libm-test.pl (parse_args): Apply special handling for
4413 issignaling.
4414 * math/libm-test.inc (print_float, issignaling_test): New
4415 functions.
4416 (check_float_internal): Add issignaling checks.
4417 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4418 default definition.
4419 * sysdeps/powerpc/math-tests.h: New file.
4420 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4421 tests.
4422 * math/test-snan.c (TEST_FUNC): Likewise.
4423
6142896d
DM
44242013-03-30 David S. Miller <davem@davemloft.net>
4425
4426 * po/de.po: Update from translation team.
4427
ccc8cadf
JM
44282013-03-30 Joseph Myers <joseph@codesourcery.com>
4429
4430 [BZ #10357]
4431 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4432 imaginary part less than 1.0 and real part less than 0.5
4433 specially.
4434 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4435 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4436 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4437 (cacos_test): Add more tests.
4438 (casin_test): Likewise.
4439 (casinh_test): Likewise.
4440 * sysdeps/i386/fpu/libm-test-ulps: Update.
4441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4442
0f6a8d4b
SP
44432013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4444
0d1029de
SP
4445 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4446 ONE with its value.
4447
c2d94018
SP
4448 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4449 (__pow_mp): Replace ONE and MONE with their values.
4450 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4451 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4452 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4453 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4454 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4455 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4456
27ec37f1
SP
4457 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4458
a64d7e0e
SP
4459 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4460 (__pow_mp): Replace ZERO and MZERO with their values.
4461 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4462 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4463 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4464 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4465 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4466 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4467 (__sqr): Likewise.
4468
d26dd3eb
SP
4469 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4470
0f6a8d4b
SP
4471 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4472
e57b0c61
RM
44732013-03-28 Roland McGrath <roland@hack.frob.com>
4474
4475 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4476 Declare with __attribute__ ((weak)).
4477 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4478 Call __call_tls_dtors only if it's not NULL.
4479
356b3480
RM
44802013-03-28 Roland McGrath <roland@hack.frob.com>
4481
288f7d79
RM
4482 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4483 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4484 magic __ehdr_start linker symbol if it's defined.
4485 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4486 them up here if it was already done.
4487
dc0a0263
RM
4488 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4489 (_dl_aux_init): Use const in cast when setting it.
4490 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4491 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4492 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4493
3d3436ae
RM
4494 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4495 Declare them here.
4496 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4497 * csu/libc-tls.c: Nor here.
4498 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4499
356b3480
RM
4500 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4501 (__libc_message): Never call vsyslog.
4502
b0f1246a
AM
45032013-03-28 Alan Modra <amodra@gmail.com>
4504
4505 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4506 Define as empty.
4507 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4508 Likewise.
4509
fbbe2b9a
AZ
45102013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4511
4512 [BZ #15214]
4513 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4514 underflow.
4515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4516
1728ab37
SP
45172013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4518
7a86be6e
SP
4519 [BZ #15304]
4520 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4521 Don't add gid passed as argument.
4522
1728ab37
SP
4523 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4524
3a7182a1
JM
45252013-03-27 Joseph Myers <joseph@codesourcery.com>
4526
4527 [BZ #15307]
4528 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4529 imaginary part between 1.0 and 1.5 and real part less than 0.5
4530 specially.
4531 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4532 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4533 * math/libm-test.inc (cacos_test): Add more tests.
4534 (casin_test): Likewise.
4535 (casinh_test): Likewise.
4536 * sysdeps/i386/fpu/libm-test-ulps: Update.
4537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4538
6f2e90e7
SP
45392013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4540
5739f705
SP
4541 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4542 constants.
4543 (norm): Likewise.
4544 (denorm): Likewise.
4545 (__dbl_mp): Likewise.
4546 (add_magnitudes): Likewise.
4547 (sub_magnitudes): Likewise.
4548 (__add): Likewise.
4549 (__sub): Likewise.
4550 (__mul): Likewise.
4551 (__sqr): Likewise.
4552 (__inv): Likewise.
4553 (__dvd): Likewise.
4554
e375e83d
SP
4555 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4556 commented code.
4557 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4558 (__dubcos): Likewise.
4559 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4560 (__ieee754_acos): Likewise.
4561 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4562 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4563 (__exp1): Likewise.
4564 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4565 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4566 (log1): Likewise.
4567 (my_log2): Likewise.
4568 (checkint): Likewise.
4569 * sysdeps/ieee754/dbl-64/e_remainder.c
4570 (__ieee754_remainder): Likewise.
4571 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4572 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4573 (bsloww): Likewise.
4574 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4575
6f2e90e7
SP
4576 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4577 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4578 MANTISSA_STORE_T to store computations on mantissa. Use
4579 macros for rounding and division.
4580 (denorm): Likewise.
4581 (__dbl_mp): Likewise.
4582 (add_magnitudes): Likewise.
4583 (sub_magnitudes): Likewise.
4584 (__mul): Likewise.
4585 (__sqr): Likewise.
4586 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4587 powers of two in terms of TWOPOW macro.
4588 (mp_no): Make type of mantissa as MANTISSA_T.
4589 [!RADIXI]: Define RADIXI.
4590 [!TWO52]: Define TWO52.
4591 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4592
fce14d4e
AZ
45932013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4594
4595 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4596 llroundl symbol when building for PPC32.
4597
9ad027fb
MW
45982013-03-24 Mark H Weaver <mhw@netris.org>
4599
4600 * manual/arith.texi (Normalization Functions): Fix prototypes for
4601 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4602
e42a38dd
AZ
46032013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4604
4605 [BZ #13889]
4606 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4607 high value to check if expl overflow.
4608 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4609 to check for underflow and overflow.
4610 * math/libm-test.inc: Add exp test.
4611
2e0fb521
DL
46122013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4613
4614 [BZ #11120]
4615 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4616 with NOT_IN_libc.
4617
b5784d95
AZ
46182013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4619
4620 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4621 symbol.
4622
5aa4a1a1
TS
46232013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4624
bdef0be7
TS
4625 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4626 wrap blocks consisting of several statements.
4627
5aa4a1a1
TS
4628 * sysdeps/generic/math-tests.h: New file.
4629 * sysdeps/i386/fpu/math-tests.h: Likewise.
4630 * math/test-snan.c: Include it.
4631 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4632
98c48fe5
JM
46332013-03-21 Joseph Myers <joseph@codesourcery.com>
4634
4635 [BZ #15285]
4636 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4637 (__ieee754_j0l): Do not improve calculations using cos of twice
4638 input for inputs above LDBL_MAX / 2.0L.
4639 (__ieee754_y0l): Likewise.
4640 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4641 (__ieee754_j1l): Do not improve calculations using cos of twice
4642 input for inputs above LDBL_MAX / 2.0L.
4643 (__ieee754_y1l): Likewise.
4644 * math/libm-test.inc (j0_test): Add another test.
4645 (j1_test): Likewise.
4646 (y0_test): Likewise.
4647 (y1_test): Likewise.
4648 * sysdeps/i386/fpu/libm-test-ulps: Update.
4649
3775a8bc
SP
46502013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4651
4652 * Rules ($(objpfx)bench-%.c): Include code from a C source
4653 file.
4654
0a1b2ae6
JM
46552013-03-21 Joseph Myers <joseph@codesourcery.com>
4656
4657 [BZ #15287]
4658 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4659 imaginary part 1.0 and real part less than 0.5 specially.
4660 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4661 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4662 * math/libm-test.inc (cacos_test): Add more tests.
4663 (casin_test): Likewise.
4664 (casinh_test): Likewise.
4665 * sysdeps/i386/fpu/libm-test-ulps: Update.
4666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4667
b33d4ce4
SP
46682013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4669
4670 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4671 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4672
bef0b507
JM
46732013-03-20 Joseph Myers <joseph@codesourcery.com>
4674
4675 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4676 * config.make.in (config-cflags-sse4): Remove variable.
4677 (config-cflags-avx): Likewise.
4678 (config-cflags-sse2avx): Likewise.
4679 (config-cflags-novzeroupper): Likewise.
4680 (config-asflags-i686): Likewise.
4681 (have-mfma4): Likewise.
4682 (have-as-vis3): Likewise.
4683 (MIG): Likewise.
4684 * configure.in (MIG): Do not AC_SUBST.
4685 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4686 (libc_cv_cc_sse4): Do not AC_SUBST.
4687 (libc_cv_cc_avx): Likewise.
4688 (libc_cv_cc_sse2avx): Likewise.
4689 (libc_cv_cc_novzeroupper): Likewise.
4690 (libc_cv_cc_fma4): Likewise.
4691 (libc_cv_as_i686): Likewise.
4692 (libc_cv_sparc_as_vis3): Likewise.
4693 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4694 LIBC_CONFIG_VAR.
4695 (config-asflags-i686): Likewise.
4696 (config-cflags-avx): Likewise.
4697 (config-cflags-sse2avx): Likewise.
4698 (have-mfma4): Likewise.
4699 (config-cflags-novzeroupper): Likewise.
4700 * sysdeps/mach/configure.in (MIG): Likewise.
4701 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4702 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4703 LIBC_CONFIG_VAR.
4704 (config-cflags-avx): Likewise.
4705 (config-cflags-sse2avx): Likewise.
4706 (have-mfma4): Likewise.
4707 (config-cflags-novzeroupper): Likewise.
4708 * configure: Regenerated.
4709 * sysdeps/i386/configure: Likewise.
4710 * sysdeps/mach/configure: Likewise.
4711 * sysdeps/sparc/configure: Likewise.
4712 * sysdeps/x86_64/configure: Likewise.
4713
912cc4b3
RM
47142013-03-20 Roland McGrath <roland@hack.frob.com>
4715
4716 [BZ #14812]
4717 * locale/programs/localedef.c (options): Put N_ translation marker
4718 on argument names, not just descriptions.
4719
04eed2b0
MS
47202013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4721
4722 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4723
a065ceff
OB
47242013-03-20 Ondřej Bílka <neleai@seznam.cz>
4725
9bb2a810 4726 [BZ #14176]
a065ceff
OB
4727 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4728
a600e5ce
RM
47292013-03-19 Roland McGrath <roland@hack.frob.com>
4730
4731 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4732 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4733 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4734 [!BEFORE_ABORT] (before_abort): New function.
4735 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4736 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4737 (writev_for_fatal): New function.
4738 (WRITEV_FOR_FATAL): New macro; call that.
4739 (backtrace_and_maps): New function.
4740 (BEFORE_ABORT): New macro; call that.
4741 (struct str_list): Type removed.
4742 (__libc_message, __libc_fatal): Functions removed.
4743 Include <sysdeps/posix/libc_fatal.c> instead.
4744
6b18bea6
JM
47452013-03-19 Joseph Myers <joseph@codesourcery.com>
4746
4747 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4748 constants.
4749 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4750 double constants.
4751
aaa8cb4b
AS
47522013-03-19 Andreas Schwab <schwab@suse.de>
4753
44673770
AS
4754 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4755 * sysdeps/gnu/configure: Regenerate.
4756
aaa8cb4b
AS
4757 * configure.in: Substitute libc_cv_rtlddir.
4758 * configure: Regenerate.
4759 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4760 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4761 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4762 * elf/Makefile (install-others, CFLAGS-interp.c)
4763 (ldso_install, common-ldd-rewrite): Likewise.
4764 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4765 $(inst_slibdir)/$(rtld-installed-name).
4766 * scripts/rellns-sh: Add -p option.
4767 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4768 for source.
4769
d3cfc668
SP
47702013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4771
4772 * manual/nptl.texi: Renamed to ...
4773 * manual/threads.texi: ... this.
4774 * manual/Makefile (chapters): Update.
4775
0e2b9cdd
RM
47762013-03-18 Roland McGrath <roland@hack.frob.com>
4777
4778 [BZ #14812]
4779 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4780 on argument names, not just descriptions.
0e2b9cdd
RM
4781 * malloc/memusagestat.c (options): Likewise.
4782 * nss/getent.c (options): Likewise.
63270c24
RM
4783
47842013-03-18 Benno Schulenberg <bensberg@justemail.net>
4785
4786 [BZ #14812]
4787 * iconv/iconv_prog.c (options): Put N_ translation marker
4788 on argument names, not just descriptions.
4789 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 4790
b2e1393c
OB
47912013-03-18 Ondrej Bilka <neleai@seznam.cz>
4792
4793 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4794 implementation which is faster on all x86_64 architectures.
4795 Tested on AMD, Intel Nehalem, SNB, IVB.
4796 * sysdeps/x86_64/strnlen.S: Likewise.
4797
4798 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4799 Remove all multiarch strlen and strnlen versions.
4800 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4801 Remove strlen and strnlen related parts.
4802
4803 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4804 Inline strlen part.
4805 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4806
4807 * sysdeps/x86_64/multiarch/strlen.S: Remove.
4808 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4809 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4810 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4811 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4812 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4813
ec4ff04d
CD
48142013-03-17 Carlos O'Donell <carlos@redhat.com>
4815
4816 * manual/memory.texi (Malloc Tunable Parameters):
4817 Sort parameters alphabetically. Add comments for missing entries.
4818
cd18e90a
DM
48192013-03-17 David S. Miller <davem@davemloft.net>
4820
4821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4822
2a185d32
JM
48232013-03-16 Joseph Myers <joseph@codesourcery.com>
4824
d2f9799e
JM
4825 [BZ #15283]
4826 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4827 for arguments at most half maximum finite value.
4828 * math/libm-test.inc (j0_test): Add more tests.
4829 (j1_test): Likewise.
4830 (y0_test): Likewise.
4831 (y1_test): Likewise.
4832 * sysdeps/i386/fpu/libm-test-ulps: Update.
4833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4834
2a185d32
JM
4835 [BZ #14155]
4836 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4837 1 / x and functions P and Q for arguments above 0x1p256L.
4838 (__ieee754_y0l): Likewise.
4839 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4840 (__ieee754_y1l): Likewise.
4841 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4842 (j1_test): Likewise.
4843 (y0_test): Likewise.
4844 (y1_test): Likewise.
4845
6cbec759
TS
48462013-03-16 Thomas Schwinge <thomas@codesourcery.com>
4847
4848 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4849 variable.
4850
bc16e260
RM
48512013-03-15 Roland McGrath <roland@hack.frob.com>
4852
aefc9b8c
RM
4853 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4854 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4855 zero since it's initialized to EXEC_PAGESIZE.
4856
bc16e260
RM
4857 * sysdeps/unix/sysv/linux/ldsodefs.h
4858 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4859 * sysdeps/generic/ldsodefs.h: ... here.
4860
a57da955
TS
48612013-03-15 Thomas Schwinge <thomas@codesourcery.com>
4862
af00a34d
TS
4863 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4864
495ded2c
TS
4865 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4866 math/test-snan.c.
4867 * math/test-snan.c: Renamed from
4868 sysdeps/powerpc/fpu/test-powerpc-snan.c.
4869 * math/Makefile (tests): Add test-snan.
4870 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4871 test-powerpc-snan.
4872
777b0332
TS
4873 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4874 SUFFIX. Initialize qNaN_var with __builtin_nan family of
4875 functions.
4876 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
4877 __builtin_nan family of functions.
4878 * math/libm-test.inc (initialize): Initialize qnan_value with
4879 __builtin_nan family of functions.
4880 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4881 Remove variables.
4882 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4883 Remove functions.
4884 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
4885 storage class. Initialize qNaN_var and sNaN_var with
4886 __builtin_nan and __builtin_nans families of functions,
4887 respectively.
4888
64d063b8
TS
4889 * math/libm-test.inc (acosh_test): Also test with qNaN input.
4890 (sqrt_test): Remove duplicate test with qNaN input.
4891 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4892 (round_test, signbit_test, significand_test): Note missing +/-Inf
4893 as well as qNaN tests.
4894
67e971f1
TS
4895 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4896 qNaN_var. Fix a few strings, too.
4897 * math/libm-test.inc (nan_value): Rename to qnan_value.
4898 * math/gen-libm-test.pl (%beautify): Adjust to that.
4899 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4900 * math/test-misc.c (main): Likewise.
4901 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4902 to __qnan_bytes, and __qnan_union, respectively.
4903 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4904 Likewise.
4905 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4906 and lqnanval, respectively.
4907 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4908 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4909 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4910 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4911
64487e12
TS
4912 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4913 * math/test-misc.c (main) [__x86_64__]: Enable test for long
4914 doubles.
4915
e015e27b
TS
4916 * math/test-misc.c (main): Fix copy'n'pastos.
4917 * misc/tst-efgcvt.c (special): Likewise.
4918
a57da955
TS
4919 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4920 Remove declarations.
4921
1e380345
SP
49222013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4923
4924 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4925 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4926 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4927 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4928
ef26eece
AZ
49292013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4930
4931 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4932 macro to return vdso values correctly in IFUNC implementations.
4933 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4934 Optimization by using IFUNC.
4935
8cfdb7e0
SP
49362013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4937 Richard Henderson <rth@redhat.com>
4938 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4939
4940 * Makefile.in (bench): New target.
4941 * NEWS: Mention the benchmark framework.
4942 * Rules (bench): Likewise.
4943 (binaries-bench): Generate binaries for functions to
4944 benchmark.
4945 * benchtests/Makefile: New makefile for benchmark tests.
4946 * benchtests/bench-skeleton.c: New skeleton file for benchmark
4947 programs.
4948 * benchtests/exp-inputs: New input file for EXP function.
4949 * benchtests/pow-inputs: New input file for POW function.
4950 * scripts/bench.pl: New script to generate source files for
4951 benchmark programs.
4952
bcda9880
SP
49532013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4954
d22ca8cd
SP
4955 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4956 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
4957 computations on mantissa. Use macros for rounding and
4958 division.
4959 (denorm): Likewise.
4960 (__dbl_mp): Likewise.
4961 (add_magnitudes): Likewise.
4962 (sub_magnitudes): Likewise.
4963 (__mul): Likewise.
4964 (__sqr): Likewise.
4965 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4966 powers of two in terms of TWOPOW macro.
4967 (mp_no): Make type of mantissa as MANTISSA_T.
4968 [!RADIXI]: Define RADIXI.
4969 [!TWO52]: Define TWO52.
4970 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4971
bcda9880
SP
4972 * manual/nptl.texi (cindex): Modify threads to pthreads.
4973
06d5adfb
JM
49742013-03-15 Joseph Myers <joseph@codesourcery.com>
4975
4976 * sysdeps/x86_64/preconfigure: Regenerated.
4977
41c7328e
JM
49782013-03-14 Joseph Myers <joseph@codesourcery.com>
4979
4980 [BZ #14155]
4981 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
4982 0x1p28 and above.
4983 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
4984 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
4985 0x1p28 and above.
4986 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
4987 * math/libm-test.inc (j0_test): Do not allow one spurious
4988 underflow exception.
4989 (y1_test): Likewise.
4990
e25cfa60
SP
49912013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4992
0409959c
SP
4993 * manual/Makefile (chapters): Add nptl.
4994 * manual/debug.texi (Debugging Support): Add link to Threads
4995 chapter.
4996 * manual/nptl.texi: New file.
4997
e25cfa60
SP
4998 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
4999
58a1335e
PB
50002013-03-14 Petr Baudis <pasky@ucw.cz>
5001
5002 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5003 for non-NULL pointer before the memory validity test. Pointed
5004 out by Holger Brunck <holger.brunck@keymile.com>.
5005
9dc7c64f
AS
50062013-03-13 Andreas Schwab <schwab@suse.de>
5007
5008 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5009 instead of .os.
5010
54206aa6
JM
50112013-03-13 Joseph Myers <joseph@codesourcery.com>
5012
5013 * timezone/zic.c: Update from tzcode 2013b.
5014
e98cdb38
CD
50152013-03-12 Carlos O'Donell <carlos@redhat.com>
5016
5017 * manual/install.texi (Configuring and compiling):
5018 Mention i686 and i586.
5019 * INSTALL: Regenerate.
5020
9967e003
RM
50212013-03-12 Roland McGrath <roland@hack.frob.com>
5022
5023 * sysdeps/init_array/elf-init.c: New file.
5024 * csu/elf-init.c
5025 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5026 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5027
5028 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5029 __gmon_start__ as global, but as static with a .preinit_array pointer.
5030 * sysdeps/init_array/gmon-start.c: New file. Use that.
5031 * sysdeps/init_array/crti.S: New file, empty except for comments.
5032 * sysdeps/init_array/crtn.S: Likewise.
5033
e6b5a293 50342013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
5035
5036 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5037 definining bcopy.
80f844c9
OB
5038 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5039 Remove Prefer_SSE_for_memop.
5040 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5041 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5042 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
5043 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5044 memset-x86-64.
80f844c9 5045 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 5046 Remove bzero, memset ifunc support.
80f844c9
OB
5047 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5048 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5049 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5050 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5051
fb6b0fcb
AS
50522013-03-11 Andreas Schwab <schwab@suse.de>
5053
5054 [BZ #15234]
5055 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5056 by SHLIB_COMPAT.
5057 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5058 (GLIBC_2.16): Remove pthread_atfork.
5059
3e6bd4b1
PP
50602013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5061
5062 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5063 (ptestcases.h): Likewise.
5064
222d7f00
RM
50652013-03-08 Roland McGrath <roland@hack.frob.com>
5066
5067 * Makeconfig ($(common-objpfx)config.status): Depend on
5068 sysdeps/*/preconfigure{,.in} too.
5069
1ba4f030
JM
50702013-03-08 Joseph Myers <joseph@codesourcery.com>
5071
a222d91a
JM
5072 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5073 (__free_hook): Use void * instead of __malloc_ptr_t.
5074 (__malloc_hook): Likewise.
5075 (__realloc_hook): Likewise.
5076 (__memalign_hook): Likewise.
5077 (__after_morecore_hook): Likewise.
5078 * malloc/arena.c (save_malloc_hook): Likewise.
5079 (save_free_hook): Likewise.
5080 * malloc/hooks.c (malloc_hook_ini): Likewise.
5081 (realloc_hook_ini): Likewise.
5082 (memalign_hook_ini): Likewise.
5083 * malloc/malloc.c (malloc_hook_ini): Likewise.
5084 (realloc_hook_ini): Likewise.
5085 (memalign_hook_ini): Likewise.
5086 (__free_hook): Likewise.
5087 (__malloc_hook): Likewise.
5088 (__realloc_hook): Likewise.
5089 (__memalign_hook): Likewise.
5090 (__libc_malloc): Likewise.
5091 (__libc_free): Likewise.
5092 (__libc_realloc): Likewise.
5093 (__libc_memalign): Likewise.
5094 (__libc_valloc): Likewise.
5095 (__libc_pvalloc): Likewise.
5096 (__libc_calloc): Likewise.
5097 (__posix_memalign): Likewise.
5098 * malloc/morecore.c (__sbrk): Likewise.
5099 (__default_morecore): Likewise.
5100
5cc45e10
JM
5101 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5102
dd54b864
JM
5103 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5104 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5105 __malloc_ptrdiff_t.
5106
1ba4f030
JM
5107 * malloc/malloc.h (__malloc_size_t): Remove macro.
5108 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5109 __malloc_size_t.
5110 (old_memalign_hook): Likewise.
5111 (old_realloc_hook): Likewise.
5112 (struct hdr): Likewise.
5113 (flood): Likewise.
5114 (mallochook): Likewise.
5115 (memalignhook): Likewise.
5116 (reallochook): Likewise.
5117 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5118 (tr_old_realloc_hook): Likewise.
5119 (tr_old_memalign_hook): Likewise.
5120 (tr_mallochook): Likewise.
5121 (tr_reallochook): Likewise.
5122 (tr_memalignhook): Likewise.
5123
edf66e57
AZ
51242013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5125
5126 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5127 default_ldbl_pack and using as default implementation.
5128 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5129 implementation.
5130 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5131 redundant definition.
5132 (ldbl_insert_mantissa): Likewise.
5133 (ldbl_canonicalize): Likewise.
5134 (ldbl_nearbyint): Likewise.
5135 (ldbl_pack): Rename to ldbl_pack_ppc.
5136 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5137 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5138 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5139
6d9145d8
SP
51402013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5141
5142 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5143 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5144 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5145 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5146 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5147 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5148 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5149 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5150
4dd4e157
AJ
51512013-03-07 Andreas Jaeger <aj@suse.de>
5152
5153 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5154 bits/mman-linux.h.
5155
adbb8027
SP
51562013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5157
ce544b5b
SP
5158 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5159 Include mpa.h and declare __MPEXP.
5160 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5161 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5162 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5163 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5164 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5165 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5166 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5167
4cc149fd
SP
5168 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5169 (__slowpow): Use long double EXPL and LOGL functions to
5170 compute POW.
5171 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5172 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5173 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5174 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5175 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5176 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5177
e6ebd4a7
SP
5178 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5179 intermediate variable to calculate exponent.
5180 (__sqr): Likewise.
5181 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5182 Likewise.
5183 (__sqr): Likewise.
5184
82a9811d
SP
5185 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5186 [!NO__SQR]: Define __sqr.
5187 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5188 and NO__SQR. Remove all code except __mul and __sqr. Include
5189 sysdeps/ieee754/dbl-64/mpa.c.
5190 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5191
adbb8027
SP
5192 [BZ #12723]
5193 * posix/Makefile (tests): Add tst-pathconf.
5194 * posix/tst-pathconf.c: New test case.
5195 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5196 _PC_PIPE_BUF.
5197 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5198
39120df9
PF
51992013-03-06 Patsy Franklin <pfrankli@redhat.com>
5200
5201 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5202
67525cb8
AJ
52032013-03-06 Andreas Jaeger <aj@suse.de>
5204
664a9ce4
AJ
5205 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5206 definition via __MAP_ANONYMOUS.
5207
8e39047d
AJ
5208 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5209 it's not part of Linux headers.
5210
67525cb8
AJ
5211 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5212 (MAP_HUGE_MASK): Define.
5213
5214 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5215 Define.
5216 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5217 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5218 Define.
5219 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5220 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5221 Define.
5222 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5223 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5224 Define.
5225 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5226
5227 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5228 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5229 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5230 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5231 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5232 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5233
5234 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5235 Handle f2fs.
5236
5237 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5238 Handle f2fs and efivarfs.
5239
5240 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5241 f2fs.
5242
5243 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5244 (EFIVARFS_MAGIC): Add.
5245 (F2FS_LINK_MAX): Add.
5246
e1b42695
PP
52472013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5248
5249 * stdio-common/vfprintf.c: Replace __builtin_expect with
5250 __glibc_unlikely.
5251
2d67d91a
JM
52522013-03-06 Joseph Myers <joseph@codesourcery.com>
5253
5254 [BZ #13550]
5255 * sysdeps/generic/bp-sym.h: Remove file.
5256 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5257 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5258 <bp-sym.h> and <bp-asm.h>.
5259 (__longjmp): Don't use BP_SYM.
5260 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5261 and <bp-asm.h>.
5262 (memcpy): Don't use BP_SYM.
5263 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5264 <bp-sym.h> and <bp-asm.h>.
5265 (memcpy): Don't use BP_SYM.
5266 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5267 <bp-asm.h>.
5268 (memcpy): Don't use BP_SYM.
5269 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5270 <bp-asm.h>.
5271 (memset): Don't use BP_SYM.
5272 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5273 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5274 (__bzero): Don't use BP_SYM.
5275 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5276 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5277 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5278 <bp-sym.h> and <bp-asm.h>.
5279 (memcmp): Don't use BP_SYM. Remove comment about bounded
5280 pointers.
5281 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5282 <bp-sym.h> and <bp-asm.h>.
5283 (memcpy): Don't use BP_SYM.
5284 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5285 <bp-sym.h> and <bp-asm.h>.
5286 (memset): Don't use BP_SYM.
5287 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5288 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5289 (__bzero): Don't use BP_SYM.
5290 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5291 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5292 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5293 <bp-sym.h> and <bp-asm.h>.
5294 (strncmp): Don't use BP_SYM. Remove comment about bounded
5295 pointers.
5296 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5297 <bp-sym.h> and <bp-asm.h>.
5298 (memcpy): Don't use BP_SYM.
5299 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5300 <bp-sym.h> and <bp-asm.h>.
5301 (memset): Don't use BP_SYM.
5302 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5303 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5304 (__bzero): Don't use BP_SYM.
5305 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5306 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5307 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5308 <bp-sym.h> and <bp-asm.h>.
5309 (__memchr): Don't use BP_SYM.
5310 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5311 <bp-sym.h> and <bp-asm.h>.
5312 (memcmp): Don't use BP_SYM. Remove comment about bounded
5313 pointers.
5314 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5315 <bp-sym.h> and <bp-asm.h>.
5316 (memcpy): Don't use BP_SYM.
5317 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5318 <bp-sym.h> and <bp-asm.h>.
5319 (__mempcpy): Don't use BP_SYM.
5320 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5321 <bp-sym.h> and <bp-asm.h>.
5322 (__memrchr): Don't use BP_SYM.
5323 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5324 <bp-sym.h> and <bp-asm.h>.
5325 (memset): Don't use BP_SYM.
5326 (__bzero): Likewise.
5327 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5328 <bp-sym.h> and <bp-asm.h>.
5329 (__rawmemchr): Don't use BP_SYM.
5330 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5331 <bp-sym.h> and <bp-asm.h>.
5332 (__STRCMP): Don't use BP_SYM.
5333 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5334 <bp-sym.h> and <bp-asm.h>.
5335 (strchr): Don't use BP_SYM.
5336 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5337 <bp-sym.h> and <bp-asm.h>.
5338 (__strchrnul): Don't use BP_SYM.
5339 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5340 <bp-sym.h> and <bp-asm.h>.
5341 (strlen): Don't use BP_SYM.
5342 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5343 <bp-sym.h> and <bp-asm.h>.
5344 (strncmp): Don't use BP_SYM. Remove comment about bounded
5345 pointers.
5346 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5347 <bp-sym.h> and <bp-asm.h>.
5348 (__strnlen): Don't use BP_SYM.
5349 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5350 <bp-sym.h> and <bp-asm.h>.
5351 (__GI__setjmp): Don't use BP_SYM.
5352 (_setjmp): Likewise.
5353 (__sigsetjmp): Likewise.
5354 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5355 (L(start_addresses)): Don't use BP_SYM.
5356 (_start): Likewise.
5357 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5358 <bp-asm.h>.
5359 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5360 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5361 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5362 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5363 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5364 <bp-asm.h>.
5365 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5366 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5367 about bounded pointers.
5368 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5369 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5370 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5371 <bp-asm.h>.
5372 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5373 about bounded pointers. Remove GKM FIXME comments.
5374 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5375 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5376 <bp-asm.h>.
5377 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5378 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5379 Remove GKM FIXME comments.
5380 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5381 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5382 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5383 <bp-asm.h>.
5384 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5385 about bounded pointers. Remove GKM FIXME comment.
5386 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5387 and <bp-asm.h>.
5388 (strncmp): Don't use BP_SYM. Remove comment about bounded
5389 pointers.
5390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5391 <bp-sym.h> and <bp-asm.h>.
5392 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5394 <bp-sym.h> and <bp-asm.h>.
5395 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5396 comment.
5397
cdcf361f
PP
53982013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5399
5400 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5401 call free(NULL).
5402
3c4a2b15
DM
54032013-03-05 David S. Miller <davem@davemloft.net>
5404
5405 * po/es.po: Update from translation team.
5406
cdcf361f 54072013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
5408
5409 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5410 <bits/mman-linux.h>.
5411 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5412 is fine.
5413 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5414 <bits/mman-linux.h> to end of file.
5415 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5416 is fine.
5417 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5418 <bits/mman-linux.h> to end of file.
5419 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5420 is fine.
5421 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5422 <bits/mman-linux.h> to end of file.
5423
5424 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5425 (MCL_CURRENT, MCL_FUTURE): Define here.
5426
5f67c04f
AK
54272013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5428
8a4473cc 5429 [BZ #15232]
5f67c04f
AK
5430 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5431 attribute_hidden.
5432 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5433
c3e94a95
AK
54342013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5435
5436 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5437 fourth parameter needed for rt_sigprocmask syscall.
5438 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5439 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5440 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5441 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5442 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5443 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5444
cfb6382a
JM
54452013-03-04 Joseph Myers <joseph@codesourcery.com>
5446
5447 [BZ #13550]
5448 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5449 comment about bounded pointers.
5450 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5451 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5452
539d8e01
AJ
54532013-03-04 Andreas Jaeger <aj@suse.de>
5454
5455 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5456 common definitions.
5457
5458 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5459 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5460 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5461 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5462 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
5463 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5464
2e167a70 54652013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
5466
5467 [BZ #15055]
5468 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5469 __ieee754_sqrl instead of __sqrl.
5470
68508633
JM
54712013-03-01 Joseph Myers <joseph@codesourcery.com>
5472
5473 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5474 * sysdeps/powerpc/fpu_control.h: ... here.
5475 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5476 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5477 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5478 * sysdeps/powerpc/bits/mathinline.h: ... here.
5479
7775448e
RM
54802013-03-01 Roland McGrath <roland@hack.frob.com>
5481
5482 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5483 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5484 to just [NEED_DL_SYSINFO_DSO].
5485 * elf/dl-support.c: Likewise.
5486 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5487 * elf/rtld.c (dl_main): Likewise.
5488 * elf/setup-vdso.h (setup_vdso): Likewise.
5489 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5490 * sysdeps/unix/sysv/linux/dl-sysdep.c
5491 (_dl_discover_osversion): Likewise.
5492
4e9b5995
CD
54932013-03-01 Carlos O'Donell <carlos@redhat.com>
5494
5495 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5496 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5497
e23872c8
SP
54982013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5499
e5c74c63
SP
5500 * NEWS: Mention libm performance improvements and non-x86 PI
5501 futex support.
5502
e23872c8
SP
5503 * csu/libc-start.c (__pthread_initialize_minimal): Change
5504 function arguments.
5505 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5506
b5510883
JM
55072013-02-28 Joseph Myers <joseph@codesourcery.com>
5508
5509 [BZ #13550]
5510 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5511 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5512 <bp-sym.h> and <bp-asm.h>.
5513 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5514 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5515 and <bp-asm.h>.
5516 (memcpy): Don't use BP_SYM.
5517 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5518 <bp-asm.h>.
5519 (__mpn_add_n): Don't use BP_SYM.
5520 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5521 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5522 and <bp-asm.h>.
5523 (__mpn_addmul_1): Don't use BP_SYM.
5524 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5525 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5526 <bp-sym.h>.
5527 (_setjmp): Don't use BP_SYM.
5528 (__novmx_setjmp): Likewise.
5529 (__GI__setjmp): Likewise.
5530 (__vmx_setjmp): Likewise.
5531 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5532 <bp-sym.h>.
5533 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5534 (__bzero): Don't use BP_SYM.
5535 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5536 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5537 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5538 <bp-sym.h> and <bp-asm.h>.
5539 (memcpy): Don't use BP_SYM.
5540 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5541 <bp-sym.h> and <bp-asm.h>.
5542 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5543 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5544 <bp-sym.h> and <bp-asm.h>.
5545 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5546 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5547 <bp-asm.h>.
5548 (__mpn_lshift): Don't use BP_SYM.
5549 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5550 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5551 <bp-asm.h>.
5552 (memset): Don't use BP_SYM.
5553 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5554 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5555 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5556 <bp-asm.h>.
5557 (__mpn_mul_1): Don't use BP_SYM.
5558 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5559 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5560 <bp-sym.h> and <bp-asm.h>.
5561 (memcmp): Don't use BP_SYM.
5562 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5563 <bp-sym.h> and <bp-asm.h>.
5564 (memcpy): Don't use BP_SYM.
5565 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5566 <bp-sym.h> and <bp-asm.h>.
5567 (memset): Don't use BP_SYM.
5568 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5569 <bp-sym.h> and <bp-asm.h>.
5570 (strncmp): Don't use BP_SYM.
5571 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5572 <bp-sym.h> and <bp-asm.h>.
5573 (memcpy): Don't use BP_SYM.
5574 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5575 <bp-sym.h> and <bp-asm.h>.
5576 (memset): Don't use BP_SYM.
5577 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5578 <bp-sym.h> and <bp-asm.h>.
5579 (__memchr): Don't use BP_SYM.
5580 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5581 <bp-sym.h> and <bp-asm.h>.
5582 (memcmp): Don't use BP_SYM.
5583 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5584 <bp-sym.h> and <bp-asm.h>.
5585 (memcpy): Don't use BP_SYM.
5586 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5587 <bp-sym.h> and <bp-asm.h>.
5588 (__mempcpy): Don't use BP_SYM.
5589 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5590 <bp-sym.h> and <bp-asm.h>.
5591 (__memrchr): Don't use BP_SYM.
5592 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5593 <bp-sym.h> and <bp-asm.h>.
5594 (memset): Don't use BP_SYM.
5595 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5596 <bp-sym.h> and <bp-asm.h>.
5597 (__rawmemchr): Don't use BP_SYM.
5598 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5599 <bp-sym.h> and <bp-asm.h>.
5600 (__STRCMP): Don't use BP_SYM.
5601 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5602 <bp-sym.h> and <bp-asm.h>.
5603 (strchr): Don't use BP_SYM.
5604 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5605 <bp-sym.h> and <bp-asm.h>.
5606 (__strchrnul): Don't use BP_SYM.
5607 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5608 <bp-sym.h> and <bp-asm.h>.
5609 (strlen): Don't use BP_SYM.
5610 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5611 <bp-sym.h> and <bp-asm.h>.
5612 (strncmp): Don't use BP_SYM.
5613 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5614 <bp-sym.h> and <bp-asm.h>.
5615 (__strnlen): Don't use BP_SYM.
5616 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5617 <bp-asm.h>.
5618 (__mpn_rshift): Don't use BP_SYM.
5619 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5620 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5621 <bp-sym.h> and <bp-asm.h>.
5622 (__sigsetjmp): Don't use BP_SYM.
5623 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5624 (L(start_addresses)): Don't use BP_SYM.
5625 (_start): Likewise.
5626 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5627 <bp-asm.h>.
5628 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5629 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5630 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5631 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5632 <bp-asm.h>.
5633 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5634 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5635 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5636 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5637 <bp-asm.h>.
5638 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5639 comments.
5640 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5641 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5642 <bp-asm.h>.
5643 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5644 FIXME comments.
5645 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5646 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5647 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5648 <bp-asm.h>.
5649 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5650 comment.
5651 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5652 and <bp-asm.h>.
5653 (strncmp): Don't use BP_SYM,
5654 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5655 <bp-asm.h>.
5656 (__mpn_sub_n): Don't use BP_SYM.
5657 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5658 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5659 and <bp-asm.h>.
5660 (__mpn_submul_1): Don't use BP_SYM.
5661 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5663 <bp-sym.h> and <bp-asm.h>.
5664 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5666 <bp-sym.h> and <bp-asm.h>.
5667 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5668 comment.
5669
8d19fe64
SP
56702013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5671
5672 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5673 Use ZK to minimize writes to Z.
5674 (sub_magnitudes): Simplify code a bit.
5675 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5676 Use ZK to minimize writes to Z.
5677 (sub_magnitudes): Simplify code a bit.
5678
85bd816a
RM
56792013-02-27 Roland McGrath <roland@hack.frob.com>
5680
5681 * csu/gmon-start.c: Add special exception to license text.
5682
b5977bf2
RH
56832013-02-27 Richard Henderson <rth@redhat.com>
5684
5685 * scripts/config.guess: Update from config.git.
5686 * scripts/config.sub: Likewise.
5687
11d6e2f2
SP
56882013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5689
09c14ed2
SP
5690 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5691
a688864e
SP
5692 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5693
6295157a
SP
5694 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5695
b8de2202
SP
5696 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5697
11d6e2f2
SP
5698 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5699
7e80ddb8
RM
57002013-02-26 Roland McGrath <roland@hack.frob.com>
5701
5702 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5703 [$(build-shared = yes].
7e80ddb8 5704
7da6d9ed
SP
57052013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5706
45f05884
SP
5707 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5708 (__mul): Reduce iterations for calculating mantissa.
5709
2236d359
SP
5710 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5711 MPTWO.
5712 (__mpranred): Likewise.
5713
7da6d9ed
SP
5714 [BZ #15160]
5715 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5716 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5717
b7688c42
PE
57182013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5719
5720 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5721 Define __attribute__.
5722
53a5c423
SP
57232013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5724
5725 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5726 unused.
5727 * posix/regex_internal.h (__attribute): Remove.
5728 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5729 (re_string_context_at): Likewise.
5730 (bitset_not): Use __attribute__ and mark function as possibly
5731 unused.
5732 (bitset_merge): Likewise.
5733 (bitset_mask): Likewise.
5734 (re_string_char_size_at): Likewise.
5735 (re_string_wchar_at): Likewise.
5736 (re_string_elem_size_at): Likewise.
5737
60f5a8b5
SP
57382013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5739
2a983a2e
SP
5740 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5741 code.
5742 (cc32): Likewise.
5743
e69804d1
SP
5744 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5745 (__acr): Likewise.
5746 (__cpy): Likewise.
5747 (norm): Likewise.
5748 (denorm): Likewise.
5749 (__dbl_mp): Likewise.
5750 (add_magnitudes): Likewise.
5751 (sub_magnitudes): Likewise.
5752 (__mul): Likewise.
5753 (__inv): Likewise.
5754
2f22a1e8
SP
5755 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5756 style.
5757
8930ddc7
SP
5758 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5759 style.
5760
dc60cb11
SP
5761 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5762 code.
5763
60f5a8b5
SP
5764 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5765 up changes with default code.
5766 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5767 Likewise.
5768
b4d1fd33
AM
57692013-02-24 Allan McRae <allan@archlinux.org>
5770
faf6f8bc
AM
5771 * manual/socket.texi (The Internet Namespace): Order menu items
5772 to match that in the file.
5773
b4d1fd33
AM
5774 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5775 node listing of the info page menu.
5776
2366713d
JM
57772013-02-21 Joseph Myers <joseph@codesourcery.com>
5778
5779 [BZ #13550]
5780 * sysdeps/i386/bp-asm.h: Remove file.
5781 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5782 (PARMS): Do not use macros from bp-asm.h.
5783 (S1): Likewise.
5784 (S2): Likewise.
5785 (SIZE): Likewise.
5786 (__mpn_add_n): Do not use BP_SYM
5787 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5788 "bp-asm.h".
5789 (PARMS): Do not use macros from bp-asm.h.
5790 (S1): Likewise.
5791 (SIZE): Likewise.
5792 (__mpn_addmul_1): Do not use BP_SYM
5793 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5794 "bp-asm.h".
5795 (PARMS): Do not use macros from bp-asm.h.
5796 (SIGMSK): Likewise.
5797 (_setjmp): Likewise. Do not use BP_SYM.
5798 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5799 "bp-asm.h".
5800 (PARMS): Do not use macros from bp-asm.h.
5801 (SIGMSK): Likewise.
5802 (setjmp): Likewise. Do not use BP_SYM.
5803 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5804 "bp-asm.h".
5805 (PARMS): Do not use macros from bp-asm.h.
5806 (__frexp): Do not use BP_SYM.
5807 (frexp): Likewise.
5808 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5809 "bp-asm.h".
5810 (PARMS): Do not use macros from bp-asm.h.
5811 (__frexpf): Do not use BP_SYM.
5812 (frexpf): Likewise.
5813 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5814 "bp-asm.h".
5815 (PARMS): Do not use macros from bp-asm.h.
5816 (__frexpl): Do not use BP_SYM.
5817 (frexpl): Likewise.
5818 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5819 "bp-asm.h".
5820 (PARMS): Do not use macros from bp-asm.h.
5821 (__remquo): Do not use BP_SYM.
5822 (remquo): Likewise.
5823 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5824 "bp-asm.h".
5825 (PARMS): Do not use macros from bp-asm.h.
5826 (__remquof): Do not use BP_SYM.
5827 (remquof): Likewise.
5828 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5829 "bp-asm.h".
5830 (PARMS): Do not use macros from bp-asm.h.
5831 (__remquol): Do not use BP_SYM.
5832 (remquol): Likewise.
5833 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5834 "bp-asm.h".
5835 (PARMS): Do not use macros from bp-asm.h.
5836 (DEST): Likewise.
5837 (SRC): Likewise.
5838 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
5839 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5840 "bp-asm.h".
5841 (PARMS): Do not use macros from bp-asm.h.
5842 (strlen): Do not use BP_SYM.
5843 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5844 "bp-asm.h".
5845 (PARMS): Do not use macros from bp-asm.h.
5846 (S1): Likewise.
5847 (S2): Likewise.
5848 (SIZE): Likewise.
5849 (__mpn_add_n): Do not use BP_SYM.
5850 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5851 "bp-asm.h".
5852 (PARMS): Do not use macros from bp-asm.h.
5853 (S1): Likewise.
5854 (SIZE): Likewise.
5855 (__mpn_addmul_1): Do not use BP_SYM.
5856 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5857 weak_alias.
5858 (bzero): Likewise.
5859 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5860 "bp-asm.h".
5861 (PARMS): Do not use macros from bp-asm.h.
5862 (S): Likewise.
5863 (SIZE): Likewise.
5864 (__mpn_lshift): Do not use BP_SYM.
5865 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5866 "bp-asm.h".
5867 (PARMS): Do not use macros from bp-asm.h.
5868 (DEST): Likewise.
5869 (SRC): Likewise.
5870 (LEN): Likewise.
5871 (memcpy): Likewise. Do not use BP_SYM.
5872 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5873 libc_hidden_def and weak_alias.
5874 (mempcpy): Do not use BP_SYM in weak_alias.
5875 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5876 "bp-asm.h".
5877 (PARMS): Do not use macros from bp-asm.h.
5878 (DEST): Likewise.
5879 (LEN): Likewise.
5880 [!BZERO_P] (CHR): Likewise.
5881 (memset): Likewise. Do not use BP_SYM.
5882 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5883 "bp-asm.h".
5884 (PARMS): Do not use macros from bp-asm.h.
5885 (S1): Likewise.
5886 (SIZE): Likewise.
5887 (__mpn_mul_1): Do not use BP_SYM.
5888 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5889 "bp-asm.h".
5890 (PARMS): Do not use macros from bp-asm.h.
5891 (S): Likewise.
5892 (SIZE): Likewise.
5893 (__mpn_rshift): Do not use BP_SYM.
5894 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5895 "bp-asm.h".
5896 (PARMS): Do not use macros from bp-asm.h.
5897 (STR): Likewise.
5898 (CHR): Likewise.
5899 (strchr): Likewise. Do not use BP_SYM.
5900 (index): Do not use BP_SYM in weak_alias.
5901 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5902 "bp-asm.h".
5903 (PARMS): Do not use macros from bp-asm.h.
5904 (DEST): Likewise.
5905 (SRC): Likewise.
5906 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
5907 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5908 "bp-asm.h".
5909 (PARMS): Do not use macros from bp-asm.h.
5910 (strlen): Do not use BP_SYM.
5911 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5912 "bp-asm.h".
5913 (PARMS): Do not use macros from bp-asm.h.
5914 (S1): Likewise.
5915 (S2): Likewise.
5916 (SIZE): Likewise.
5917 (__mpn_sub_n): Do not use BP_SYM.
5918 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
5919 "bp-asm.h".
5920 (PARMS): Do not use macros from bp-asm.h.
5921 (S1): Likewise.
5922 (SIZE): Likewise.
5923 (__mpn_submul_1): Do not use BP_SYM.
5924 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5925 "bp-asm.h".
5926 (PARMS): Do not use macros from bp-asm.h.
5927 (S1): Likewise.
5928 (S2): Likewise.
5929 (SIZE): Likewise.
5930 (__mpn_add_n): Do not use BP_SYM.
5931 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5932 weak_alias.
5933 (bzero): Likewise.
5934 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5935 "bp-asm.h".
5936 (PARMS): Do not use macros from bp-asm.h.
5937 (BLK2): Likewise.
5938 (LEN): Likewise.
5939 (memcmp): Do not use BP_SYM.
5940 (bcmp): Do not use BP_SYM in weak_alias.
5941 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5942 "bp-asm.h".
5943 (PARMS): Do not use macros from bp-asm.h.
5944 (DEST): Likewise.
5945 (SRC): Likewise.
5946 (LEN): Likewise.
5947 (memcpy): Likewise. Do not use BP_SYM.
5948 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
5949 "bp-asm.h".
5950 (PARMS): Do not use macros from bp-asm.h.
5951 (DEST): Likewise.
5952 (SRC): Likewise.
5953 (LEN): Likewise.
5954 (memmove): Likewise. Do not use BP_SYM.
5955 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
5956 "bp-asm.h".
5957 (PARMS): Do not use macros from bp-asm.h.
5958 (DEST): Likewise.
5959 (SRC): Likewise.
5960 (LEN): Likewise.
5961 (__mempcpy): Likewise. Do not use BP_SYM.
5962 (mempcpy): Do not use BP_SYM in weak_alias.
5963 * sysdeps/i386/i686/memset.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 (LEN): Likewise.
5968 [!BZERO_P] (CHR): Likewise.
5969 (memset): Likewise. Do not use BP_SYM.
5970 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
5971 "bp-asm.h".
5972 (PARMS): Do not use macros from bp-asm.h.
5973 (STR2): Likewise.
5974 (strcmp): Do not use BP_SYM.
5975 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
5976 "bp-asm.h".
5977 (PARMS): Do not use macros from bp-asm.h.
5978 (STR): Likewise.
5979 (DELIM): Likewise.
5980 [USE_AS_STRTOK_R] (SAVE): Likewise.
5981 (FUNCTION): Likewise. Do not use BP_SYM.
5982 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
5983 aliases.
5984 (strtok_r): Likewise.
5985 (__GI___strtok_r): Likewise.
5986 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5987 (PARMS): Do not use macros from bp-asm.h.
5988 (S): Likewise.
5989 (SIZE): Likewise.
5990 (__mpn_lshift): Do not use BP_SYM.
5991 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5992 (PARMS): Do not use macros from bp-asm.h.
5993 (STR): Likewise.
5994 (CHR): Likewise.
5995 (__memchr): Do not use BP_SYM.
5996 (memchr): Do not use BP_SYM in weak_alias.
5997 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5998 (PARMS): Do not use macros from bp-asm.h.
5999 (BLK2): Likewise.
6000 (LEN): Likewise.
6001 (memcmp): Do not use BP_SYM.
6002 (bcmp): Do not use BP_SYM in weak_alias.
6003 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6004 (PARMS): Do not use macros from bp-asm.h.
6005 (S1): Likewise.
6006 (SIZE): Likewise.
6007 (__mpn_mul_1): Do not use BP_SYM.
6008 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6009 "bp-asm.h".
6010 (PARMS): Do not use macros from bp-asm.h.
6011 (STR): Likewise.
6012 (CHR): Likewise.
6013 (__rawmemchr): Do not use BP_SYM.
6014 (rawmemchr): Do not use BP_SYM in weak_alias.
6015 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6016 (PARMS): Do not use macros from bp-asm.h.
6017 (S): Likewise.
6018 (SIZE): Likewise.
6019 (__mpn_rshift): Do not use BP_SYM.
6020 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6021 (PARMS): Do not use macros from bp-asm.h.
6022 (SIGMSK): Likewise.
6023 (__sigsetjmp): Likewise. Do not use BP_SYM.
6024 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6025 (_start): Do not use BP_SYM.
6026 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6027 (PARMS): Do not use macros from bp-asm.h.
6028 (DEST): Likewise.
6029 (SRC): Likewise.
6030 (__stpcpy): Likewise. Do not use BP_SYM.
6031 (stpcpy): Do not use BP_SYM in weak_alias.
6032 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6033 "bp-asm.h".
6034 (PARMS): Do not use macros from bp-asm.h.
6035 (DEST): Likewise.
6036 (SRC): Likewise.
6037 (LEN): Likewise.
6038 (__stpncpy): Likewise. Do not use BP_SYM.
6039 (stpncpy): Do not use BP_SYM in weak_alias.
6040 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6041 (PARMS): Do not use macros from bp-asm.h.
6042 (STR): Likewise.
6043 (CHR): Likewise.
6044 (strchr): Likewise. Do not use BP_SYM.
6045 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6046 "bp-asm.h".
6047 (PARMS): Do not use macros from bp-asm.h.
6048 (STR): Likewise.
6049 (CHR): Likewise.
6050 (__strchrnul): Likewise. Do not use BP_SYM.
6051 (strchrnul): Do not use BP_SYM in weak_alias.
6052 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6053 "bp-asm.h".
6054 (PARMS): Do not use macros from bp-asm.h.
6055 (STOP): Likewise.
6056 (strcspn): Do not use BP_SYM.
6057 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6058 "bp-asm.h".
6059 (PARMS): Do not use macros from bp-asm.h.
6060 (STR): Likewise.
6061 (STOP): Likewise.
6062 (strpbrk): Likewise. Do not use BP_SYM.
6063 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6064 "bp-asm.h".
6065 (PARMS): Do not use macros from bp-asm.h.
6066 (STR): Likewise.
6067 (CHR): Likewise.
6068 (strrchr): Likewise. Do not use BP_SYM.
6069 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6070 (PARMS): Do not use macros from bp-asm.h.
6071 (SKIP): Likewise.
6072 (strspn): Do not use BP_SYM.
6073 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6074 (PARMS): Do not use macros from bp-asm.h.
6075 (STR): Likewise.
6076 (DELIM): Likewise.
6077 (SAVE): Likewise.
6078 (FUNCTION): Likewise. Do not use BP_SYM.
6079 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6080 aliases.
6081 (strtok_r): Likewise.
6082 (__GI___strtok_r): Likewise.
6083 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6084 (PARMS): Do not use macros from bp-asm.h.
6085 (S1): Likewise.
6086 (S2): Likewise.
6087 (SIZE): Likewise.
6088 (__mpn_sub_n): Do not use BP_SYM.
6089 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6090 "bp-asm.h".
6091 (PARMS): Do not use macros from bp-asm.h.
6092 (S1): Likewise.
6093 (SIZE): Likewise.
6094 (__mpn_submul_1): Do not use BP_SYM.
6095 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6096 <bp-sym.h>.
6097 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6098 and <bp-asm.h>.
6099 (PARMS): Do not use macros from bp-asm.h.
6100 (FLAGS): Likewise.
6101 (PTID): Likewise.
6102 (TLS): Likewise.
6103 (CTID): Likewise.
6104 (__clone): Do not use BP_SYM.
6105 (clone): Do not use BP_SYM in weak_alias.
6106 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6107 and <bp-asm.h>.
6108 (PARMS): Do not use macros from bp-asm.h.
6109 (LEN): Likewise.
6110 (__mmap64): Do not use BP_SYM.
6111 (mmap64): Do not use BP_SYM in weak_alias.
6112 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6113 <bp-sym.h> and <bp-asm.h>.
6114 (PARMS): Do not use macros from bp-asm.h.
6115 (__posix_fadvise64_l64): Do not use BP_SYM.
6116 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6117 (PARMS): Do not use macros from bp-asm.h.
6118 (NSOPS): Likewise.
6119 (semtimedop): Do not use BP_SYM.
6120 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6121 and <bp-asm.h>.
6122
582a3cff
AM
61232013-02-21 Allan McRae <allan@archlinux.org>
6124
6125 * manual/message.texi (Charset conversion in gettext):
6126 Move @end statement to beginning of line.
6127
bab8a695
SP
61282013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6129
80945231
SP
6130 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6131 static.
6132 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6133 Likewise.
6134
bab8a695
SP
6135 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6136 (denorm): Likewise.
6137 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6138 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6139
e21d7aa7
AK
61402013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6141
6142 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6143 tail-call to the resolved function if pltexit isn't needed.
6144
4c7a4263
SP
61452013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6146
6147 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6148 or Y being zero as being unlikely.
6149 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6150 Likewise.
6151
41f49342
CD
61522013-02-20 Carlos O'Donell <carlos@redhat.com>
6153
6154 * manual/nss.texi (System Databases and Name Service Switch):
6155 Remove frobnicate @pxref.
6156
50022a93
TS
61572013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6158
6159 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6160 __attribute__ ((unused)) to __attribute__ ((__unused__)).
6161
08cbd996
PM
61622013-02-20 Petr Machata <pmachata@redhat.com>
6163
6164 * elf/elf.h (R_ARM_TARGET1): New macro.
6165 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6166 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6167 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6168 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6169 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6170 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6171 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6172 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6173 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6174 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6175 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6176 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6177 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6178 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6179 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6180 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6181 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6182 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6183 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6184 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6185 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6186 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6187 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6188 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6189 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6190 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6191 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6192 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6193 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6194 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6195 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6196 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6197 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6198 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6199 (R_ARM_THM_GOT_BREL12): Likewise.
6200 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6201 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6202 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6203 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6204 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6205 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6206 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6207 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6208 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6209
c7b275d6
TS
62102013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6211
6212 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6213 __attribute_used__ to __attribute__ ((unused)).
6214
20cd7fb3
SP
62152013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6216
6217 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6218 powerpc mpa.c.
6219 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6220 comment formatting.
6221 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6222
92945b52
JM
62232013-02-19 Joseph Myers <joseph@codesourcery.com>
6224
6225 [BZ #13550]
6226 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6227 Remove macro.
6228 (ENTER): Remove both macro definitions.
6229 (LEAVE): Likewise.
6230 (CHECK_BOUNDS_LOW): Likewise.
6231 (CHECK_BOUNDS_HIGH): Likewise.
6232 (CHECK_BOUNDS_BOTH): Likewise.
6233 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6234 (RETURN_BOUNDED_POINTER): Likewise.
6235 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6236 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6237 (POP_ERRNO_LOCATION_RETURN): Likewise.
6238 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6239 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6240 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6241 macros.
6242 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6243 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6244 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6245 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6246 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6247 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6248 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6249 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6250 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6251 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6252 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6253 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6254 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6255 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6256 removed macros.
6257 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6258 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6259 macros.
6260 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6261 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6262 * sysdeps/i386/i586/memset.S (memset): Likewise.
6263 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6264 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6265 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6266 macros.
6267 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6268 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6269 Change uses of L(2) to L(out).
6270 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6271 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6272 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6273 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6274 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6275 removed macros.
6276 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6277 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6278 macros.
6279 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6280 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6281 (RETURN): Do not use macro LEAVE.
6282 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6283 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6284 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6285 * sysdeps/i386/i686/memset.S (memset): Likewise.
6286 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6287 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6288 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6289 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6290 Likewise.
6291 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6292 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6293 L(1_2) and L(1_3) into L(1).
6294 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6295 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6296 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6297 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6298 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6299 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6300 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6301 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6302 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6303 macros.
6304 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6305 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6306 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6307 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6308 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6309 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6310 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6311 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6312 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6313 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6314 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6315 * sysdeps/i386/strspn.S (strspn): Likewise.
6316 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6317 conditional code.
6318 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6319 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6320 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6321 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6322 L(1_3) into L(1_1).
6323 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6324 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6325 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6326 macros.
6327 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6328
2389741a
JJ
63292013-02-19 Jakub Jelinek <jakub@redhat.com>
6330
6331 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6332 macro.
6333
2016b3cd
SP
63342013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6335
e4f22324
SP
6336 * math/atest-exp.c (exp_mpn): Remove ROUND.
6337 * math/atest-exp2.c (exp_mpn): Likewise.
6338 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6339
2016b3cd
SP
6340 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6341 * stdlib/tst-tls-atexit-lib.c: Likewise.
6342 * stdlib/tst-tls-atexit.c: Likewise.
6343
4be9b544
MF
63442013-02-18 Mike Frysinger <vapier@gentoo.org>
6345
6346 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6347 and __attribute_alloc_size__.
6348
2f62b9ee
MF
63492013-02-18 Mike Frysinger <vapier@gentoo.org>
6350
6351 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6352 __attribute_alloc_size__.
6353 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6354 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6355
6ff444c4
MF
63562013-02-18 Mike Frysinger <vapier@gentoo.org>
6357
6358 * include/programs/xmalloc.h: New file.
6359 * catgets/gencat.c: Include it.
6360 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6361 * elf/pldd.c: Likewise.
6362 * iconv/iconv_charmap.c: Likewise.
6363 * iconv/iconvconfig.c: Likewise.
6364 * iconv/strtab.c: Likewise.
6365 * locale/programs/locale.c: Likewise.
6366 * locale/programs/localedef.h: Likewise.
6367 * locale/programs/simple-hash.c: Likewise.
6368 * nscd/nscd.h: Likewise.
6369 * nss/makedb.c: Likewise.
6370 * sysdeps/generic/ldconfig.h: Likewise.
6371
be179c8a
SP
63722013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6373
ba384f6e
SP
6374 * Versions.def: Add GLIBC_2.18.
6375 * include/link.h (struct link_map): New member l_tls_dtor_count.
6376 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6377 (__call_tls_dtors): Likewise.
6378 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6379 __cxa_thread_atexit_impl.
6380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6381 Likewise.
6382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6383 Likewise.
6384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6385 Likewise.
6386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6387 Likewise.
6388 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6390 Likewise.
6391 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6392 Likewise.
6393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6395 Likewise.
6396 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6397 (tests): Add test case tst-tls-atexit.
6398 (modules-names): Add shared library for tst-tls-atexit.
6399 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
6400 (GLIBC_PRIVATE): Add __call_tls_dtors.
6401 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6402 for libstdc++.
6403 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6404 * stdlib/tst-tls-atexit.c: New test case.
6405 * stdlib/tst-tls-atexit-lib.c: New test case.
6406
ffaa74cf 6407 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 6408
be179c8a
SP
6409 * elf/Versions (ld): Add _dl_find_dso_for_object.
6410 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6411 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6412 (dl_open_worker): Use _dl_find_dso_for_object.
6413 * elf/dl-sym.c (do_sym): Likewise.
6414 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6415
f78b5caa
AK
64162013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6417
6418 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6419 Syntactic changes only.
6420 (_dl_runtime_profile): Do a tail-call to the resolved function.
6421
29691210
JM
64222013-02-17 Joseph Myers <joseph@codesourcery.com>
6423
6424 [BZ #13550]
6425 * sysdeps/x86_64/bp-asm.h: Remove file.
6426 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6427 <bp-sym.h> and <bp-asm.h>.
6428 (__clone): Do not use BP_SYM.
6429 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6430 <bp-sym.h> and <bp-asm.h>.
6431 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6432 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6433 "bp-asm.h".
6434 (_setjmp): Do not use BP_SYM.
6435 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6436 "bp-asm.h".
6437 (setjmp): Do not use BP_SYM.
6438 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6439 libc_hidden_def.
6440 (mempcpy): Do not use BP_SYM in weak_alias.
6441 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6442 "bp-asm.h".
6443 (strchr): Do not use BP_SYM.
6444 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6445 "bp-asm.h".
6446 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6447 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6448 (_start): Do not use BP_SYM.
6449 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6450 "bp-asm.h".
6451 (strcat): Do not use BP_SYM.
6452 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6453 "bp-asm.h".
6454 (STRCMP): Do not use BP_SYM.
6455 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6456 "bp-asm.h".
6457 (STRCPY): Do not use BP_SYM.
6458 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6459 "bp-asm.h".
6460 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6461 "bp-asm.h".
6462 (FUNCTION): Do not use BP_SYM.
6463 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6464 weak_alias.
6465 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6466
f238fd19
AJ
64672013-02-17 Andreas Jaeger <aj@suse.de>
6468
6469 * time/Versions: Sort entries.
6470 * string/Versions: Likewise.
6471 * resolv/Versions: Likewise.
6472 * posix/Versions: Likewise.
6473 * iconv/Versions: Likewise.
6474 * elf/Versions: Likewise.
6475 * wcsmbs/Versions: Likewise.
6476
bd07f23c 64772013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 6478
22af19f9
SP
6479 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6480 loop termination condition.
6481
4709fe76
SP
6482 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6483 variable to calculate EZ.
6484 (__sqr): Likewise.
2d0e0f29
SP
6485
6486 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6487 the lower precision input.
6488
daaa7713
JM
64892013-02-15 Joseph Myers <joseph@codesourcery.com>
6490
6491 [BZ #13550]
6492 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6493 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6494 (run-via-rtld-prefix): Do not handle %-bp tests.
6495 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6496 (all-object-suffixes): Remove .ob.
6497 (bppfx): Remove variable.
6498 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6499 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6500 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6501 [$(build-bounded) = yes] (libtype.ob): Likewise.
6502 * Makerules (elide-routines.ob): Remove variable.
6503 (do-tests-clean): Do not handle *-bp.out.
6504 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6505 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6506 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6507 (tests): Do not include $(tests-bp.out).
6508 (xtests): Do not include $(xtests-bp.out).
6509 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6510 [$(build-bounded) = yes] ($(addprefix
6511 $(objpfx),$(binaries-bounded))): Remove rule.
6512 ($(objpfx)%-bp.out): Remove rule.
6513 * config.make.in (build-bounded): Remove variable.
6514 * crypt/Makefile [$(build-bounded) = yes]
6515 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6516 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6517 append to variable.
6518 [$(build-bounded) = yes] (install-lib): Likewise.
6519 [$(build-bounded) = yes] (generated): Likewise.
6520 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6521 Remove rule.
6522 * intl/Makefile [$(build-bounded) = yes]
6523 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6524 * math/Makefile [$(build-bounded) = yes]
6525 ($(tests:%=$(objpfx)%-bp): Likewise.
6526 * misc/Makefile [$(build-bounded) = yes]
6527 ($(objpfx)tst-tsearch-bp): Likewise.
6528 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6529 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6530 Remove dependency.
6531 * string/Makefile (o-objects.ob): Remove variable.
6532 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6533 (CFLAGS-.ob): Remove variable.
6534 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6535 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6536 both definitions of variable.
6537 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6538 (ASFLAGS-.ob): Remove variable.
6539
e97ed6dd
JM
65402013-02-14 Joseph Myers <joseph@codesourcery.com>
6541
2bdd4ca6
JM
6542 [BZ #13550]
6543 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6544 Remove __BOUNDED_POINTERS__ from condition.
6545 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6546 * string/bits/string2.h [!__NO_STRING_INLINES &&
6547 !__BOUNDED_POINTERS__]: Likewise.
6548 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6549 Likewise.
6550 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6551 Remove conditional code.
6552 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6553 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6554 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6555 condition.
6556
e97ed6dd
JM
6557 [BZ #13550]
6558 * csu/libc-start.c: Do not include <bp-sym.h>.
6559 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6560 * elf/dl-open.c: Do not include <bp-sym.h>.
6561 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6562 * math/fegetenv.c: Do not include <bp-sym.h>.
6563 (fegetenv): Do not use BP_SYM in versioned symbols.
6564 * nptl/sysdeps/pthread/bits/libc-lockP.h
6565 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6566 <bp-sym.h>.
6567 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6568 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6569 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6570 (__pthread_mutex_destroy): Likewise.
6571 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6572 (__pthread_mutex_lock): Likewise.
6573 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6574 (__pthread_mutex_trylock): Likewise.
6575 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6576 (__pthread_mutex_unlock): Likewise.
6577 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6578 (__pthread_mutexattr_init): Likewise.
6579 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6580 (__pthread_mutexattr_destroy): Likewise.
6581 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6582 (__pthread_mutexattr_settype): Likewise.
6583 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6584 (__pthread_rwlock_init): Likewise.
6585 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6586 (__pthread_rwlock_destroy): Likewise.
6587 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6588 (__pthread_rwlock_rdlock): Likewise.
6589 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6590 (__pthread_rwlock_tryrdlock): Likewise.
6591 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6592 (__pthread_rwlock_wrlock): Likewise.
6593 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6594 (__pthread_rwlock_trywrlock): Likewise.
6595 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6596 (__pthread_rwlock_unlock): Likewise.
6597 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6598 (__pthread_key_create): Likewise.
6599 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6600 (__pthread_setspecific): Likewise.
6601 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6602 (__pthread_getspecific): Likewise.
6603 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6604 Likewise.
6605 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6606 (_pthread_cleanup_push_defer): Likewise.
6607 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6608 (_pthread_cleanup_pop_restore): Likewise.
6609 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6610 (pthread_setcancelstate): Likewise.
6611 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6612 <bp-sym.h>.
6613 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6614 (memchr): Do not use BP_SYM in weak_alias.
6615 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6616 (fegetenv): Do not use BP_SYM in versioned symbols.
6617 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6618 (fesetenv): Do not use BP_SYM in versioned symbols.
6619 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6620 (feupdateenv): Do not use BP_SYM in versioned symbols.
6621 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6622 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6623 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6624 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6625 (open64): Do not use BP_SYM in weak_alias.
6626 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6627 (fegetenv): Do not use BP_SYM in versioned symbols.
6628 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6629 (fesetenv): Do not use BP_SYM in versioned symbols.
6630 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6631 (feupdateenv): Do not use BP_SYM in versioned symbols.
6632 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6633 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6634 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6635 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6636 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6637 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6638 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6639 <bp-sym.h>.
6640 (__libc_start_main): Do not use BP_SYM.
6641
d6752ccd
SP
66422013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6643
cb57ce60
SP
6644 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6645 redundant return line.
6646 (norm): Likewise.
6647 (denorm): Likewise.
6648 (dbl_mp): Likewise.
6649 (sub_magnitudes): Likewise.
6650 (__add): Likewise.
6651 (__sub): Likewise.
6652 (__mul): Likewise.
6653 (__inv): Likewise.
6654 (__dvd): Likewise.
6655 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6656 (norm): Likewise.
6657 (denorm): Likewise.
6658 (dbl_mp): Likewise.
6659 (sub_magnitudes): Likewise.
6660 (__add): Likewise.
6661 (__sub): Likewise.
6662 (__mul): Likewise.
6663 (__inv): Likewise.
6664 (__dvd): Likewise.
6665
f414520d
SP
6666 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6667 instead of __mul.
6668 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6669 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6670 (cc32): Likewise.
6671
d6752ccd
SP
6672 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6673 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6674 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6675 of __mul for squares.
6676 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6677 function
6678 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6679 Likewise.
6680 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6681 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6682
70d9946a
JM
66832013-02-13 Joseph Myers <joseph@codesourcery.com>
6684
6685 [BZ #13550]
6686 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6687 code.
6688 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6689 prototype or function definition. Rename ubp_* variables and
6690 parameters. Remove argv definitions conditional on
6691 [__BOUNDED_POINTERS__].
6692 * debug/backtrace.c (__backtrace): Do not use __unbounded.
6693 * elf/dl-runtime.c (_dl_fixup): Likewise.
6694 * include/set-hooks.h (RUN_HOOK): Likewise.
6695 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6696 definition.
6697 * string/strcpy.c (strcpy): Do not use __unbounded.
6698 * sysdeps/generic/frame.h (struct layout): Likewise.
6699 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6700 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6701 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6702 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6703 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6704 (__backtrace): Likewise.
6705 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6706 use __ptrvalue.
6707 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6708 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6709 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6710 Likewise.
6711 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6712 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6713 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6714 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6715 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6716 Do not use __unbounded.
6717 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6718 Rename __unboundedrlimits parameter to rlimits in prototype.
6719 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6720 Do not use __unbounded.
6721 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6722 not use __ptrvalue.
6723 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6724 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6725 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6726 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6727 __ptrvalue or __unbounded.
6728 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6729 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6730 use __unbounded.
6731 (__new_msgctl): Do not use __ptrvalue.
6732 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6733 __unbounded.
6734 (__libc_msgrcv): Do not use __ptrvalue.
6735 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6736 startup_info): Do not use __unbounded.
6737 (__libc_start_main): Likewise. Rename ubp_* variables and
6738 parameters. Remove argv definitions conditional on
6739 [__BOUNDED_POINTERS__].
6740 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6741 __ptrvalue.
6742 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6743 use __unbounded.
6744 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6745 or __ptrvalue.
6746 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6747 use __unbounded.
6748 (__new_shmctl): Do not use __ptrvalue.
6749 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6750 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6751 Likewise.
6752 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6753 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6754 (__libc_sigaction): Likewise.
6755 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6756 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6757 Likewise.
6758 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6759
cc7834d6
OB
67602013-02-13 Ondřej Bílka <neleai@seznam.cz>
6761
ffb1ec7b 6762 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
6763
6764 * string/mempcpy.c: Implement by calling memcpy.
6765
bdf02814
SP
67662013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6767
c2af38aa
SP
6768 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6769
4e92d59e
SP
6770 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6771 evaluation.
6772
909279a5
SP
6773 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6774 values in the mantissa.
6775
bdf02814
SP
6776 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6777 minimize writes to Z.
6778 (sub_magnitudes): Simplify code a bit.
6779
cd525923
RM
67802013-02-12 Roland McGrath <roland@hack.frob.com>
6781
6782 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6783 from the message. The linker prefixes all warnings with that already.
6784
7e2f0d2d
AS
67852013-02-12 Andreas Schwab <schwab@suse.de>
6786
a445af0b
AS
6787 [BZ #15078]
6788 * posix/regexec.c (extend_buffers): Add parameter min_len.
6789 (check_matching): Pass minimum needed length.
6790 (clean_state_log_if_needed): Likewise.
6791 (get_subexp): Likewise.
6792 * posix/Makefile (tests): Add bug-regex34.
6793 (bug-regex34-ENV): Define.
6794 * posix/bug-regex34.c: New file.
6795
7e2f0d2d
AS
6796 [BZ #11561]
6797 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6798 elements compare against the byte sequence of it, not its name.
6799 * posix/Makefile (tests): Add bug-regex35.
6800 (bug-regex35-ENV): Define.
6801 * posix/bug-regex35.c: New file.
6802
a175b684
TV
68032013-02-11 Tom de Vries <tom@codesourcery.com>
6804
6805 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
6806 comment.
6807 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6808 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6809 (CHECK_EOL): Add undef.
6810
310998fe 68112013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
6812
6813 * bits/stdlib-bsearch.h: New file.
6814 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 6815 * stdlib/stdlib.h: Likewise.
41eda41d 6816
8ded91fb
RM
68172013-02-11 Roland McGrath <roland@hack.frob.com>
6818
6819 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6820 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6821 declaration.
6822 * manual/search.texi (Array Search Function): Add missing const in
6823 lfind prototype.
6824 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6825 declaration to use rlim_t.
6826 (Basic Scheduling Functions): Remove erroneous const from
6827 sched_getparam prototype. Remove erroneous * from
6828 sched_get_priority_max and sched_get_priority_min prototypes.
6829 (Resource Usage): Fix summary @comment on vtimes to refer to
6830 sys/vtimes.h rather than vtimes.h.
6831 Add missing *s in vtimes prototype.
6832 (Limits on Resources): Fix ulimit prototype to return long int.
6833 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6834 prototypes to use long int rather than double.
6835 (BSD Random): Fix initstate and setstate to use char *, not void *.
6836 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6837 prototype to make second argument 'struct aiocb64 *const[]'.
6838 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6839 (Status of AIO Operations): Remove erroneous const in aio_return and
6840 aio_return64 prototypes.
6841 (Synchronizing I/O): Fix sync prototype to return void.
6842 * manual/startup.texi (Suboptions): Remove an erroneous const in
6843 getsubopt prototype.
6844 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6845 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6846 use size_t rather than int.
6847 (Scanning All Users): Likewise for getpwent_r.
6848 (Setting Groups): Add missing const to setgroups prototype.
6849 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6850 * manual/socket.texi (Host Names): Fix gethostbyaddr and
6851 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6852 'const void *' rather than 'const char *'.
6853 (Host Address Functions): Likewise for inet_ntop.
6854 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6855 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6856 ssize_t for return value.
6857 (Sending Data): Likewise for send, sendto, sendmsg.
6858 (Socket Option Functions): Add a missing const in setsockopt prototype.
6859 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6860 use wchar_t for the argument.
6861 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6862 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6863 take no arguments.
6864 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6865 double/float/long double for second argument.
6866 Fix return types of significand, significandf, significandl.
6867 * manual/filesys.texi (Setting Permissions): Use mode_t for second
6868 argument in fchmod prototype.
6869 (File Owner): Use uid_t and gid_t in fchown prototype.
6870 (File Times): Add const to utimes, futimes, and lutimes prototypes.
6871 (Making Special Files): Use mode_t and dev_t in mknod prototype.
6872 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6873 use 'const struct dirent **' as argument types to CMP function pointer
6874 argument.
6875 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6876 (File Times): Fix summary magic @comment for struct utimbuf and utime
6877 to refer to utime.h, not time.h.
6878 * manual/string.texi (Argz Functions): Add missing const in
6879 argz_extract and argz_next prototypes.
6880 (Finding Tokens in a String): Likewise for basename.
6881 (String/Array Comparison): Fix typo in wcscasecmp prototype.
6882 (Copying and Concatenation): Fix typo in wmemmove prototype.
6883 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6884 (Signal Stack): Remove erroneous const in sigstack prototype.
6885 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6886 prototype.
6887 (Simple Calendar Time): Likewise for stime.
6888 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6889 prototype.
6890 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6891 say sys/sysctl.h instead.
6892 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6893 and vsyslog prototypes.
6894
fe77fe6d
TV
68952013-02-11 Tom de Vries <tom@codesourcery.com>
6896
6897 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6898 Remove.
6899
3a09b620
RM
69002013-02-11 Roland McGrath <roland@hack.frob.com>
6901
6902 * misc/sys/mman.h: Fix typo in mremap comment.
6903
550a0b89
RM
69042013-02-08 Roland McGrath <roland@hack.frob.com>
6905
6906 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6907 the '\0' terminator.
6908
a2da1673
JM
69092013-02-08 Joseph Myers <joseph@codesourcery.com>
6910
6911 [BZ #13550]
6912 * debug/segfault.c: Don't include <bp-checks.h>.
6913 * sysdeps/generic/bp-checks.h: Remove file.
6914 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6915 (__GETDENTS): Don't use CHECK_N.
6916 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6917 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6918 (__getgroups): Don't use CHECK_N.
6919 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6920 (setgroups): Don't use CHECK_N.
6921 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6922 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6923 (__libc_msgrcv): Don't use CHECK_N.
6924 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6925 (__libc_msgsnd): Don't use CHECK_N.
6926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6927 <bp-checks.h>.
6928 (__libc_pread): Don't use CHECK_N.
6929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6930 include <bp-checks.h>.
6931 (__libc_pread64): Don't use CHECK_N.
6932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6933 include <bp-checks.h>.
6934 (__libc_pwrite): Don't use CHECK_N.
6935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6936 include <bp-checks.h>.
6937 (__libc_pwrite64): Don't use CHECK_N.
6938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6939 <bp-checks.h>.
6940 (__libc_pread): Don't use CHECK_N.
6941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6942 include <bp-checks.h>.
6943 (__libc_pread64): Don't use CHECK_N.
6944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6945 include <bp-checks.h>.
6946 (__libc_pwrite): Don't use CHECK_N.
6947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6948 include <bp-checks.h>.
6949 (__libc_pwrite64): Don't use CHECK_N.
6950 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
6951 (do_pread): Don't use CHECK_N.
6952 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
6953 (do_pread64): Don't use CHECK_N.
6954 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
6955 (do_pwrite): Don't use CHECK_N.
6956 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
6957 (do_pwrite64): Don't use CHECK_N.
6958 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
6959 (__libc_readv): Don't use CHECK_N.
6960 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
6961 (semop): Don't use CHECK_N.
6962 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
6963 <bp-checks.h>.
6964 (semtimedop): Don't use CHECK_N.
6965 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
6966 (__libc_pread): Don't use CHECK_N.
6967 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
6968 <bp-checks.h>.
6969 (__libc_pread64): Don't use CHECK_N.
6970 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
6971 <bp-checks.h>.
6972 (__libc_pwrite): Don't use CHECK_N.
6973 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
6974 <bp-checks.h>.
6975 (__libc_pwrite64): Don't use CHECK_N.
6976 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
6977 <bp-checks.h>.
6978 (__libc_msgrcv): Don't use CHECK_N.
6979 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
6980 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
6981 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
6982 (__libc_writev): Don't use CHECK_N.
6983
b84660a8
RM
69842013-02-08 Roland McGrath <roland@hack.frob.com>
6985
7f3e75f8
RM
6986 * string/strcpy.c: Removed unused variable.
6987
b84660a8
RM
6988 * Makeconfig (+sysdep-includes): Define with := rather than =.
6989 Use an existing include/ subdir of each sysdeps dir before it.
6990
471514d3
CD
69912013-02-08 Carlos O'Donell <carlos@redhat.com>
6992
6993 * nscd/connection.c (register_traced_file): Comment function.
6994 [HAVE_INOTIFY] (union __inev): Define.
6995 [HAVE_INOTIFY] (inotify_check_files): New function.
6996 [HAVE_INOTIFY] (clear_db_cache): Likewise.
6997 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
6998 clear_db_cache.
6999 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7000
b2d3c3be
CD
70012013-02-08 Carlos O'Donell <carlos@redhat.com>
7002
7003 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7004 loaded if not already and that a failure is permanent.
7005
b39949d2
CD
70062013-02-08 Carlos O'Donell <carlos@redhat.com>
7007
ddacd1db 7008 [BZ #15006]
b39949d2
CD
7009 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7010 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7011
b2c9eff4
JM
70122013-02-08 Joseph Myers <joseph@codesourcery.com>
7013
f3aae3f3
JM
7014 [BZ #13550]
7015 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7016 (CHECK_1_NULL_OK): Likewise.
7017 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7018 (__fxstat): Do not use CHECK_1.
7019 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7020 <bp-checks.h>.
7021 (___fxstat64): Do not use CHECK_1.
7022 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7023 <bp-checks.h>.
7024 (__fxstatat): Do not use CHECK_1.
7025 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7026 <bp-checks.h>.
7027 (__fxstatat64): Do not use CHECK_1.
7028 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7029 <bp-checks.h>.
7030 (__fxstat): Do not use CHECK_1.
7031 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7032 <bp-checks.h>.
7033 (__fxstatat): Do not use CHECK_1.
7034 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7035 <bp-checks.h>.
7036 (__getresgid): Do not use CHECK_1.
7037 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7038 <bp-checks.h>.
7039 (__getresuid): Do not use CHECK_1.
7040 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7041 <bp-checks.h>.
7042 (__lxstat): Do not use CHECK_1.
7043 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7044 <bp-checks.h>.
7045 (__old_msgctl): Do not use CHECK_1.
7046 (__new_msgctl): Likewise.
7047 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7048 <bp-checks.h>.
7049 (__new_setrlimit): Do not use CHECK_1.
7050 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7051 <bp-checks.h>.
7052 (__old_shmctl): Do not use CHECK_1.
7053 (__new_shmctl): Likewise.
7054 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7055 <bp-checks.h>.
7056 (__xstat): Do not use CHECK_1.
7057 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7058 (__lxstat): Do not use CHECK_1.
7059 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7060 <bp-checks.h>.
7061 (___lxstat64): Do not use CHECK_1.
7062 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7063 (__old_msgctl): Do not use CHECK_1.
7064 (__new_msgctl): Likewise.
7065 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7066 <bp-checks.h>.
7067 (__gettimeofday): Do not use CHECK_1.
7068 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7069 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7070 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7071 <bp-checks.h>.
7072 (__gettimeofday): Do not use CHECK_1.
7073 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7074 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7075 (__new_shmctl): Do not use CHECK_1.
7076 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7077 <bp-checks.h>.
7078 (do_sigtimedwait): Do not use CHECK_1.
7079 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7080 <bp-checks.h>.
7081 (do_sigwaitinfo): Do not use CHECK_1.
7082 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7083 <bp-checks.h>.
7084 (msgctl): Do not use CHECK_1.
7085 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7086 <bp-checks.h>.
7087 (shmctl): Do not use CHECK_1.
7088 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7089 (ustat): Do not use CHECK_1.
7090 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7091 <bp-checks.h>.
7092 (__fxstat): Do not use CHECK_1.
7093 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7094 <bp-checks.h>.
7095 (__fxstatat): Do not use CHECK_1.
7096 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7097 <bp-checks.h>.
7098 (__lxstat): Do not use CHECK_1.
7099 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7100 <bp-checks.h>.
7101 (__xstat): Do not use CHECK_1.
7102 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7103 (__xstat): Do not use CHECK_1.
7104 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7105 (___xstat64): Do not use CHECK_1.
7106
b2c9eff4
JM
7107 [BZ #13550]
7108 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7109 definitions.
7110 (CHECK_BOUNDS_HIGH): Likewise.
7111 * string/strcpy.c: Do not include <bp-checks.h>.
7112 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7113
f1d70dad
RM
71142013-02-07 Roland McGrath <roland@hack.frob.com>
7115
7116 * nscd/nscd-client.h (__nscd_drop_map_ref):
7117 Add __attribute__ ((unused)).
7118 * nis/nss-nisplus.h (niserr2nss): Likewise.
7119
7120 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7121 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7122
7123 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7124 Remove inline keyword.
7125 * include/rounding-mode.h (round_away): Likewise.
7126 * libio/wfileops.c (adjust_wide_data): Likewise.
7127 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7128 (__m128i_strloadu_tolower): Likewise.
7129 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7130 (__m128i_strloadu_tolower): Likewise.
7131 * time/mktime.c (ydhms_diff): Likewise.
7132 * locale/elem-hash.h (elem_hash): Likewise.
7133 * locale/setlocale.c (setdata): Likewise.
7134 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7135 (re_string_wchar_at): Likewise.
7136 (bitset_not, bitset_merge, bitset_mask): Likewise.
7137 [!(__GNUC__ > 3)] (inline): Remove macro.
7138 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7139 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7140 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7141 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7142 * string/memcmp.c (memcmp_bytes): Likewise.
7143 * locale/programs/locarchive.c (compute_hashval): Likewise.
7144 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7145 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7146 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7147 * nss/getent.c (print_rpc, print_protocols): Likewise.
7148 (print_passwd, print_group, print_aliases): Likewise.
7149 * nis/nss-nisplus.h (niserr2nss): Likewise.
7150 * nscd/connections.c (restart_p): Likewise.
7151 Change return type to bool.
7152
eab55bfb
RM
71532013-02-05 Roland McGrath <roland@hack.frob.com>
7154
7bd642f5
RM
7155 * Makeconfig (all-Depend-files): Add existing
7156 $(sorted-subdirs:=/Depend) files.
7157 (all-subdirs): Remove nss.
7158 * sysdeps/unix/inet/Subdirs: Add it here instead.
7159 * hesiod/Depend: New file.
7160
573c29b2
RM
7161 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7162 instead of calling alloca.
7163
b2e25af0
RM
7164 * io/lseek.c (__lseek): Rename to __libc_lseek.
7165 Define __lseek as an alias.
7166
eab55bfb
RM
7167 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7168
9a0d1941
CD
71692013-02-04 Carlos O'Donell <carlos@redhat.com>
7170
7171 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7172 else clause and remove check for non-standard endianness.
7173
b83bbec4
DM
71742013-02-04 David S. Miller <davem@davemloft.net>
7175
7176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7177
6277fdab
JM
71782013-02-04 Joseph Myers <joseph@codesourcery.com>
7179
7180 [BZ #13550]
7181 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7182 (__ubp_memchr): Remove prototype.
7183 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7184 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7185 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7186 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7187 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7188 Remove alias.
7189 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7190 (__ubp_memchr): Likewise.
7191 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7192 (__ubp_memchr): Likewise.
7193 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7194 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7195 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7196 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7197 CHECK_STRING.
7198 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7199 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7200 (__getcwd): Do not use CHECK_STRING.
7201 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7202 <bp-checks.h>.
7203 (__real_chown): Do not use CHECK_STRING.
7204 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7205 <bp-checks.h>.
7206 (fchownat): Do not use CHECK_STRING.
7207 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7208 CHECK_STRING.
7209 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7210 <bp-checks.h>.
7211 (__lchown): Do not use CHECK_STRING.
7212 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7213 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7214 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7215 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7217 include <bp-checks.h>.
7218 (truncate64): Do not use CHECK_STRING.
7219 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7220 <bp-checks.h>.
7221 (__real_chown): Do not use CHECK_STRING.
7222 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7223 <bp-checks.h>.
7224 (__lchown): Do not use CHECK_STRING.
7225 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7226 <bp-checks.h>.
7227 (__chown): Do not use CHECK_STRING.
7228 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7229 <bp-checks.h>.
7230 (truncate64): Do not use CHECK_STRING.
7231 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7232 Likewise.
7233 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7234 (__xmknod): Do not use CHECK_STRING.
7235 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7236 <bp-checks.h>.
7237 (__xmknodat): Do not use CHECK_STRING.
7238 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7239 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7240
903ae060
AS
72412013-02-04 Andreas Schwab <schwab@suse.de>
7242
7243 [BZ #14142]
7244 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7245 * include/netdb.h: Likewise for h_errno.
7246 * elf/tst-stackguard1.c: Include <tls.h>.
7247
542f9466
JK
72482013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7249
7250 * elf/link.h (struct link_map): Extend the l_addr comment.
7251 * include/link.h (struct link_map): Likewise.
7252
e782a927
JM
72532013-02-01 Joseph Myers <joseph@codesourcery.com>
7254
7255 [BZ #13550]
7256 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7257 (BOUNDED_1): Remove macro.
7258 * debug/backtrace.c: Don't include <bp-checks.h>.
7259 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7260 (__backtrace): Likewise.
7261 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7262 <bp-checks.h>.
7263 (__backtrace): Don't use BOUNDED_1.
7264 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7265 <bp-checks.h>.
7266 (__backtrace): Don't use BOUNDED_1.
7267 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7268 (__backtrace): Don't use BOUNDED_1.
7269 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7270 (shmat): Don't use BOUNDED_N.
7271
8cf28c5e
JM
72722013-01-31 Joseph Myers <joseph@codesourcery.com>
7273
3a7ac8a0
JM
7274 [BZ #13550]
7275 * sysdeps/generic/bp-start.h: Remove file.
7276 * csu/libc-start.c: Don't include <bp-start.h>.
7277 (LIBC_START_MAIN): Set up __environ directly instead of using
7278 INIT_ARGV_and_ENVIRON.
7279 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7280 <bp-start.h>.
7281
f3499f95
JM
7282 [BZ #13550]
7283 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7284 definitions.
7285 (CHECK_FCNTL): Likewise.
7286 (CHECK_N_PAGES): Likewise.
7287
32a45bea
JM
7288 [BZ #13550]
7289 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7290 definitions.
7291 (CHECK_SIGSET_NULL_OK): Likewise.
7292 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7293 <bp-checks.h>.
7294 (sigpending): Don't use CHECK_SIGSET.
7295 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7296 <bp-checks.h>.
7297 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7298 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7299 <bp-checks.h>.
7300 (do_sigsuspend): Don't use CHECK_SIGSET.
7301 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7302 use CHECK_SIGSET.
7303 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7304 (do_sigwait): Don't use CHECK_SIGSET.
7305 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7306 use CHECK_SIGSET.
7307 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7308 include <bp-checks.h>.
7309 (sigpending): Don't use CHECK_SIGSET.
7310 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7311 include <bp-checks.h>.
7312 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7313 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7314 <bp-checks.h>.
7315 (sigpending): Don't use CHECK_SIGSET.
7316 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7317 <bp-checks.h>.
7318 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7319
2e8a5c8c
JM
7320 [BZ #13550]
7321 * sysdeps/generic/bp-semctl.h: Remove file.
7322 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7323 <bp-checks.h> and <bp-semctl.h>.
7324 (__old_semctl): Don't use CHECK_SEMCTL.
7325 (__new_semctl): Likewise.
7326 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7327 and <bp-semctl.h>.
7328 (__old_semctl): Don't use CHECK_SEMCTL.
7329 (__new_semctl): Likewise.
7330 * sysdeps/unix/sysv/linux/sparc/sparc32/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/sparc/sparc64/semctl.c: Don't include
7335 <bp-checks.h> and <bp-semctl.h>.
7336 (semctl): Don't use CHECK_SEMCTL.
7337
c2d54929
JM
7338 [BZ #13550]
7339 * Makerules (elide-bp-thunks): Remove variable.
7340 (elide-routines.oS): Don't use $(elide-bp-thunks).
7341 (elide-routines.os): Likewise.
7342 (elide-routines.o): Likewise.
7343 (elide-routines.op): Likewise.
7344 (elide-routines.og): Likewise.
7345 (objects): Don't use $(bp-thunks).
7346 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7347 include.
7348 (common-generated): Do not add s-proto-bp.d.
7349 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7350 (int): Likewise.
7351 (typ): Likewise.
7352 Do not generate makefile rules for bounded-pointer thunks.
7353 * sysdeps/generic/bp-thunks.h: Remove file.
7354 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7355 * sysdeps/unix/s-proto-bp.S: Likewise.
7356
8cf28c5e
JM
7357 [BZ #15062]
7358 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7359 parts of result separately when argument is not close to line from
7360 -i to i and one part of argument is small.
7361 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7362 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7363 * math/libm-test.inc (cacos_test): Add more tests.
7364 (casin_test): Likewise.
7365 (casinh_test): Likewise.
7366 * sysdeps/i386/fpu/libm-test-ulps: Update.
7367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7368
c4e33b8d
DM
73692013-01-31 David S. Miller <davem@davemloft.net>
7370
7371 * po/de.po: Update from translation team.
7372
3b60b421
MK
73732013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7374
7375 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7376
bb931195
TS
73772013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7378
b5a5da23
TS
7379 * configure.in (_AC_PROG_CC_C89): New definition.
7380 * configure: Regenerate.
7381
bb931195
TS
7382 * configure.in (AC_PROG_CPP): New definition.
7383 * configure: Regenerate.
7384
8c53a12c
JM
73852013-01-23 Joseph Myers <joseph@codesourcery.com>
7386
7387 * debug/tst-backtrace.h: New file.
7388 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7389 (ret): Remove variable.
7390 (x): Likewise.
7391 (FAIL): Remove macro.
7392 (NO_INLINE): Likewise.
7393 (fn1): Use match function instead of strstr.
7394 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7395 (ret): Remove variable.
7396 (x): Likewise.
7397 (FAIL): Remove macro.
7398 (NO_INLINE): Likewise.
7399 (fn): Use match function instead of strstr.
7400 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7401 (ret): Remove variable.
7402 (x): Likewise.
7403 (FAIL): Remove macro.
7404 (NO_INLINE): Likewise.
7405 (handle_signal): Use match function instead of strstr.
7406 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7407 (ret): Remove variable.
7408 (x): Likewise.
7409 (FAIL): Remove macro.
7410 (NO_INLINE): Likewise.
7411 (handle_signal): Use match function instead of strstr.
7412
4858fa2a
RM
74132013-01-23 Roland McGrath <roland@hack.frob.com>
7414
7415 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7416
bae8e7f5
DM
74172013-01-23 David S. Miller <davem@davemloft.net>
7418
7419 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7420 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7421 argument of CAS if possible.
7422 * sysdeps/sparc/sparc64/bits/atomic.h
7423 (__arch_compare_and_exchange_val_32_acq): Likewise.
7424 (__arch_compare_and_exchange_val_64_acq): Likewise.
7425
9cbbc4ae
PT
74262013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7427
7428 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7429 * sysdeps/posix/ulimit.c: ... this.
92a601b8 7430 Include <limits.h>.
67b3f58c 7431 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 7432
5655a0b5
AC
74332013-01-23 Adam Conrad <adconrad@0c3.net>
7434
7435 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7436 (LDFLAGS-tst-array5): Likewise.
7437
052aff95
JM
74382013-01-23 Joseph Myers <joseph@codesourcery.com>
7439
7440 [BZ #15036]
7441 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7442 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7443 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7444 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7445
7c1e01aa
DM
74462013-01-21 David S. Miller <davem@davemloft.net>
7447
7448 * sysdeps/sparc/backtrace.c: New file.
7449 * sysdeps/sparc/sparc32/backtrace.h: New file.
7450 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7451 * sysdeps/sparc/sparc64/backtrace.h: New file.
7452 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7453 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7454 -funwind-tables.
7455
ab087e0a
AS
74562013-01-21 Andreas Schwab <schwab@suse.de>
7457
7458 [BZ #15020]
7459 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7460 closed its stdout.
7461
ed689c2f
AS
74622013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7463
7464 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7465 "mpa2.h".
7466 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7467
31d470ac
JM
74682013-01-18 Joseph Myers <joseph@codesourcery.com>
7469 Mark Mitchell <mark@codesourcery.com>
7470 Tom de Vries <tom@codesourcery.com>
7471 Paul Pluzhnikov <ppluzhnikov@google.com>
7472
7473 * debug/tst-backtrace2.c: New file.
7474 * debug/tst-backtrace3.c: Likewise.
7475 * debug/tst-backtrace4.c: Likewise.
7476 * debug/tst-backtrace5.c: Likewise.
7477 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7478 (CFLAGS-tst-backtrace3.c): Likewise.
7479 (CFLAGS-tst-backtrace4.c): Likewise.
7480 (CFLAGS-tst-backtrace5.c): Likewise.
7481 (LDFLAGS-tst-backtrace2): Likewise.
7482 (LDFLAGS-tst-backtrace3): Likewise.
7483 (LDFLAGS-tst-backtrace4): Likewise.
7484 (LDFLAGS-tst-backtrace5): Likewise.
7485 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7486 tst-backtrace4 and tst-backtrace5.
7487
90567f30 74882013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
7489 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7490
7491 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7492 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7493 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7494 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7496 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7497 "+r" and remove output regs list as redundant. Add explicit inline
7498 asm to specify register of return val to work around compiler codegen
7499 bug. Remove (int) cast on return value. Add return type parameter to
7500 use in macro so that this macro does not truncate return value for
7501 64-bit values.
7502 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7503 pass to INTERNAL_VSYSCALL_NCS.
7504 (INLINE_VSYSCALL): Add 'long int' as return type to
7505 INTERNAL_VSYSCALL_NCS macro invocation.
7506 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7507 INTERNAL_VSYSCALL_NCS macro invocation.
7508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7509
d3b9ea61
SP
75102013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7511
0b57daeb
SP
7512 [BZ #14496]
7513 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7514 Fix application of SIMD FP exception mask.
7515
caa99d06
SP
7516 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7517 mp_no from a power of two.
7518 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7519 __mpexp_twomm1. Use __pow_mp.
7520
d3b9ea61
SP
7521 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7522 multiplication.
7523
1dbaee3c
DM
75242013-01-17 David S. Miller <davem@davemloft.net>
7525
7526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7527
728d7b43
JM
75282013-01-17 Joseph Myers <joseph@codesourcery.com>
7529
7530 [BZ #15023]
7531 * include/complex.h: Condition contents on [!_COMPLEX_H].
7532 (__kernel_casinhf): New prototype.
7533 (__kernel_casinh): Likewise.
7534 (__kernel_casinhl): Likewise.
7535 * math/Makefile (libm_calls): Add k_casinh.
7536 * math/k_casinh.c: New file.
7537 * math/k_casinhf.c: Likewise.
7538 * math/k_casinhl.c: Likewise.
7539 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7540 finite nonzero arguments.
7541 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7542 finite nonzero arguments.
7543 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7544 finite nonzero arguments.
7545 * math/s_casinh.c: Do not include <float.h>.
7546 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7547 * math/s_casinhf.c: Do not include <float.h>.
7548 (__casinhf): Move code for finite nonzero arguments to
7549 k_casinhf.c.
7550 * math/s_casinhl.c: Do not include <float.h>.
7551 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7552 redefine.
7553 (__casinhl): Move code for finite nonzero arguments to
7554 k_casinhl.c.
7555 * math/libm-test.inc (cacos_test): Add more tests.
7556 * sysdeps/i386/fpu/libm-test-ulps: Update.
7557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7558
2a26ef3a
PT
75592013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7560
7561 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7562 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7563 [!HAVE_MREMAP]: Remove [defined linux] case.
7564 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7565
a897655d
SP
75662013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7567
7568 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7569
881ebe89 75702013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
7571
7572 * elf/elf.h (R_386_SIZE32): New relocation.
7573 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7574 R_386_SIZE32.
7575 (elf_machine_rela): Likewise.
7576 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7577 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7578
59981e9b
JM
75792013-01-17 Joseph Myers <joseph@codesourcery.com>
7580
7581 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7582 (FP_FAST_FMA): Do not define.
7583 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7584 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7585 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7586 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7587 !_SOFT_FLOAT]: Likewise.
7588 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7589 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7590 value.
7591 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7592 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7593 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7594 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7595 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7596 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7597 file.
7598
cfa8054f
AS
75992013-01-16 Andreas Schwab <schwab@suse.de>
7600
7601 [BZ #14327]
7602 * include/stdlib.h (__mktemp): Add declaration.
7603 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7604 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7605
dd930cc5
SP
76062013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7607
881ebe89
SP
7608 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7609 definitions.
7610 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7611 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7612 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7613 definitions here.
7614 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7615 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7616 definitions.
7617 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7618 and ONE.
7619 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7620 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7621 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7622 definitions.
7623 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7624 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7625 definitions.
7626 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 7627
dd930cc5
SP
7628 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7629
c19a9f89
DM
76302013-01-15 David S. Miller <davem@davemloft.net>
7631
1aa61767
DM
7632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7633 trunc{,f} to libm-sysdep_routes.
7634 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7636 file.
7637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7639 file.
7640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7641 file.
7642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7644 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7645 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7646 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7647 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7648 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7649 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7650
c42d5e98
DM
7651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7652 nearbyint{,f} to libm-sysdep_routes.
7653 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7655 New file.
7656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7657 file.
7658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7659 New file.
7660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7661 file.
7662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7664 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7665 file.
7666 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7667 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7668 file.
7669 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7670 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7671 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7672
c19a9f89
DM
7673 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7674 libc_feholdexcept and libc_fesetenv.
7675
357679d2
MF
76762013-01-15 Mike Frysinger <vapier@gentoo.org>
7677
7678 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7679
65a82e3d
DM
76802013-01-14 David S. Miller <davem@davemloft.net>
7681
8b954ab9
DM
7682 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7683 (SPARC_ASM_VIS2_IFUNC): Likewise.
7684 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7686 use of 'siam' instruction.
7687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7688 Likewise.
7689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7690 Likewise.
7691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7692 Likewise.
7693 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7694 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7695 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7696 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7698 file.
7699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7700 file.
7701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7702 file.
7703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7704 file.
7705 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7706 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7707 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7708 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7710 new VIS2 routines.
7711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7714 Likewise.
7715 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7716 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7717 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7718 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7720 routines to libm-sysdep_routines.
7721 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7722
65a82e3d
DM
7723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7724 fdim/fdimf to libm-sysdep_routines.
7725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7726 file.
7727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7729 file.
7730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7733 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7734 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7735 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7736 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7737
e34ab705
SP
77382013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7739
2a91b573
SP
7740 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7741 to optimize copies.
7742
1066a534
SP
7743 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7744 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7745 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7746
e34ab705
SP
7747 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7748 local variable MPTWO.
7749 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7750 Likewise.
7751
aba5e596
MF
77522013-01-13 Mike Frysinger <vapier@gentoo.org>
7753
7754 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7755 GLOB_NOESCAPE.
7756
e557e9e5
MF
77572013-01-13 Mike Frysinger <vapier@gentoo.org>
7758
7759 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7760
0428cec9
MF
77612013-01-13 Mike Frysinger <vapier@gentoo.org>
7762
7763 * manual/pattern.texi (glob_t): Document gl_flags.
7764 (glob64_t): Likewise.
7765
8794a964
DM
77662013-01-11 David S. Miller <davem@davemloft.net>
7767
66438c3f
RM
7768 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7769 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7770 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
7771 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7772 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7773 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7774 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7775 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7776 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7777 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7778 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7779 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7780 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7781
4ae4244d
DM
7782 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7783 sparc V9 rather than using V8 code.
7784 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7785 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7786
8794a964
DM
7787 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7788 Move to...
7789 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7790 Here.
7791
6270516e
RM
77922013-01-11 Roland McGrath <roland@hack.frob.com>
7793
7794 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7795 not in the main loop.
7796 * configure: Regenerated.
7797
6a57d931
JM
77982013-01-11 Joseph Myers <joseph@codesourcery.com>
7799
7800 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7801 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7802 to just #else.
7803 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7804 [!__GLIBC_HAVE_LONG_LONG] case.
7805 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7806 condition to just #else.
7807 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7808 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7809 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7810 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7811 unconditional.
7812 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7813 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7814 #elif condition to just #else.
7815 * sysdeps/unix/sysv/linux/sys/sysmacros.h
7816 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7817 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7818 #elif condition to just #else.
7819
0e8529e9
SE
78202013-01-11 Steve Ellcey <sellcey@mips.com>
7821
7822 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7823 (EF_MIPS_ARCH_64): Fix value.
7824 (EF_MIPS_ARCH_32R2): New.
7825 (EF_MIPS_ARCH_64R2): New.
7826
740b3dbe
L
78272013-01-11 H.J. Lu <hongjiu.lu@intel.com>
7828
7829 * Makeconfig (+link-pie-before-libc): New.
7830 (+link-pie-after-libc): Likewise.
7831 (+link-pie-tests): Likewise.
7832 (+link-pie): Rewritten.
7833 (link-before-libc): Remove $(config-LDFLAGS).
7834 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7835 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7836 (config-LDFLAGS): Renamed to ...
7837 (rtld-LDFLAGS): This.
7838 (rtld-tests-LDFLAGS): New macro.
7839 (link-libc-rpath-link): Likewise.
7840 (link-libc-tests-rpath-link): Likewise.
7841 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7842 (link-libc): Prepand $(link-libc-rpath-link).
7843 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7844 (test-program-prefix): New macro.
7845 (test-via-rtld-prefix): Likewise.
7846 (test-program-cmd): Likewise.
7847 (host-test-program-cmd): Likewise.
7848 * Makefile ($(common-objpfx)testrun.sh): Replace
7849 $(run-program-prefix) with $(test-program-prefix).
7850 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7851 $(rtld-LDFLAGS).
7852 ($(common-objpfx)shlib.lds): Likewise.
7853 (build-module-helper): Likewise.
7854 ($(common-objpfx)format.lds): Likewise.
7855 * Rules (binaries-pie-tests): New.
7856 (binaries-pie-notests): Likewise.
7857 (binaries-pie): Rewritten.
7858 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7859 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7860 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7861 (make-test-out): Replace $(host-built-program-cmd) with
7862 $(host-test-program-cmd).
7863 * config.make.in (build-hardcoded-path-in-tests): New variable.
7864 * configure.in (--enable-hardcoded-path-in-tests): New configure
7865 option.
7866 (hardcoded_path_in_tests): New AC_SUBST.
7867 * configure: Regenerated.
7868 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7869 $(built-program-cmd) with $(test-program-cmd).
7870 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7871 (test_program_cmd): This.
7872 * elf/Makefile ($(objpfx)order.out): Run test with
7873 $(test-program-prefix).
7874 ($(objpfx)order2.out): Likewise.
7875 ($(objpfx)tst-initorder.out): Likewise.
7876 ($(objpfx)tst-initorder2.out): Likewise.
7877 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7878 $(test-program-cmd).
7879 ($(objpfx)tst-array1-static.out): Likewise.
7880 ($(objpfx)tst-array2.out): Likewise.
7881 ($(objpfx)tst-array3.out): Likewise.
7882 ($(objpfx)tst-array4.out): Likewise.
7883 ($(objpfx)tst-array5.out): Likewise.
7884 ($(objpfx)tst-array5-static.out): Likewise.
7885 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7886 $(test-program-cmd).
7887 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7888 $(run-program-prefix) with $(test-program-prefix).
7889 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7890 (test_program_prefix): This.
7891 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7892 $(run-program-prefix) with $(test-program-prefix).
7893 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7894 (test_program_prefix): This.
7895 * iconvdata/tst-tables.sh: Likewise.
7896 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7897 $(run-program-prefix) with $(test-program-prefix).
7898 ($(objpfx)tst-translit.out): Likewise.
7899 ($(objpfx)tst-gettext2.out): Likewise.
7900 ($(objpfx)tst-gettext4.out): Likewise.
7901 ($(objpfx)tst-gettext6.out): Likewise.
7902 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7903 (test_program_prefix): This.
7904 * intl/tst-gettext2.sh: Likewise.
7905 * intl/tst-gettext4.sh Likewise.
7906 * intl/tst-gettext6.sh: Likewise.
7907 * intl/tst-translit.sh: Likewise.
7908 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7909 with $(test-program-cmd).
7910 * libio/Makefile ($(objpfx)test-freopen.out): Replace
7911 $(run-program-prefix) with $(test-program-prefix).
7912 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7913 (test_program_prefix): This.
7914 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7915 $(run-program-prefix) with $(test-program-prefix).
7916 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7917 (test_program_prefix): This.
7918 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7919 * posix/Makefile ($(objpfx)globtest.out): Replace
7920 $(run-via-rtld-prefix) and $(test-wrapper) with
7921 $(test-program-prefix) and $(test-via-rtld-prefix).
7922 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7923 $(test-program-prefix).
7924 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7925 $(host-test-program-cmd).
7926 (tst-spawn-ARGS): Likewise.
7927 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7928 $(test-program-prefix).
7929 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7930 (test_via_rtld_prefix): This.
7931 (test_wrapper): Renamed to ...
7932 (test_program_prefix): This.
7933 (run_program_prefix): Replaced by test_program_prefix.
7934 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7935 (test_program_prefix): This.
7936 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7937 with $(host-test-program-cmd).
7938 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7939 $(run-program-prefix) with $(test-program-prefix).
7940 ($(objpfx)tst-printf.out): Likewise.
7941 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7942 $(test-program-cmd).
7943 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7944 (test_program_prefix): This.
7945 * stdio-common/tst-unbputc.sh: Likewise.
7946 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7947 $(run-program-prefix) with $(test-program-prefix).
7948 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
7949 (test_program_prefix): This.
7950 * string/Makefile ($(objpfx)tst-svc.out): Replace
7951 $(built-program-cmd) with $(test-program-cmd).
7952
c6fe55cf
AJ
79532013-01-11 Andreas Jaeger <aj@suse.de>
7954
7955 [BZ #15003]
7956 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
7957 value. Sync with Linux 3.7.
7958
9e6919c8
DM
79592013-01-10 David S. Miller <davem@davemloft.net>
7960
7961 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
7962 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7963 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7964
1c9f1a02
RM
79652013-01-10 Roland McGrath <roland@hack.frob.com>
7966
7967 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
7968 never set.
7969 * configure: Regenerated.
7970
b9de2dde
DM
79712013-01-10 David S. Miller <davem@davemloft.net>
7972
7973 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7974 sparc V9 rather than using V8 code.
7975 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7976 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7977
e7f68ef4
RM
79782013-01-10 Roland McGrath <roland@hack.frob.com>
7979
7980 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
7981 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
7982 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
7983 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
7984 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
7985 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
7986 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
7987 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
7988 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
7989 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
7990 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
7991 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
7992 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
7993 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
7994 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
7995 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
7996 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
7997 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
7998 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
7999 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8000 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8001 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8002 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8003 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8004 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8005 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8006 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8007
5a47cc9c
DM
80082013-01-10 David S. Miller <davem@davemloft.net>
8009
8010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8011
4cf8f209
L
80122013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8013
8014 * posix/Makefile (tests-static): New variable.
8015 (tests): Add $(tests-static).
8016 (tst-exec-static-ARGS): New variable.
8017 (tst-spawn-static-ARGS): Likewise.
8018 * posix/tst-exec-static.c: New file.
8019 * posix/tst-spawn-static.c: Likewise.
8020 * posix/tst-exec.c: Support run directly.
8021 * posix/tst-spawn.c: Likewise.
8022
fed0faa1
JM
80232013-01-10 Joseph Myers <joseph@codesourcery.com>
8024
828beb13
JM
8025 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8026 long.
8027 * math/bits/mathcalls.h (llrint): Likewise.
8028 (llround): Likewise.
8029 * stdlib/stdlib.h (struct drand48_data): Likewise.
8030 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8031 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8032 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8033 Likewise.
8034 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8035 Likewise.
8036 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8037 (elf_greg_t): Likewise.
8038 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8039 (__jmp_buf): Likewise.
8040 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8041 definitions.
8042 (llrint): Likewise, for all definitions.
8043 (llrintl): Likewise.
8044
fed0faa1
JM
8045 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8046 Remove [__GNUC__] condition.
8047 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8048 condition to just [__USE_ISOC99].
8049 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8050
1a20cb20
L
80512013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8052
8053 [BZ #14200]
8054 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8055 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8056 defined.
8057 (_POSIX_V6_ILP32_OFF32): Likewise.
8058 (_XBS5_ILP32_OFF32): Likewise.
8059 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8060 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8061
751b85f7
SP
80622013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8063
7490eb81
SP
8064 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8065
751b85f7
SP
8066 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8067 doubles __mpexp_twomm1. Adjust usage.
8068 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8069 Remove.
8070
988197f0
AS
80712013-01-10 Andreas Schwab <schwab@suse.de>
8072
8073 [BZ #14964]
8074 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8075 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8076
e83d7298
DM
80772013-01-09 David S. Miller <davem@davemloft.net>
8078
034ed64b 8079 [BZ #15003]
e83d7298
DM
8080 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8081 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8082 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8083 TCP_FASTOPEN): Define.
8084 (tcp_repair_opt): New structure.
8085 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8086 enum values.
8087 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8088 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8089 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8090 (tcp_cookie_transactions): New structure.
8091
d5e0b9bd
AB
80922013-01-09 Anton Blanchard <anton@samba.org>
8093
8094 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8095 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8096 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8097 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8098
0c07e3ea
JM
80992013-01-09 Joseph Myers <joseph@codesourcery.com>
8100
8101 * include/features.h (__USE_ANSI): Remove.
8102
232f7002
RM
81032013-01-09 Roland McGrath <roland@hack.frob.com>
8104
ad98e30c
RM
8105 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8106
232f7002
RM
8107 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8108
950c99ca
SP
81092013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8110
b5792741
SP
8111 * sysdeps/s390/fpu/libm-test-ulps: Update.
8112
47cf2278
SP
8113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8114
950c99ca
SP
8115 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8116 (__acr): Likewise.
8117 (__cpy): Likewise.
8118 (norm): Likewise.
8119 (denorm): Likewise.
8120 (__mp_dbl): Likewise.
8121 (__dbl_mp): Likewise.
8122 (add_magnitudes): Likewise.
8123 (sub_magnitudes): Likewise.
8124 (__add): Likewise.
8125 (__sub): Likewise.
8126 (__mul): Likewise.
8127 (__inv): Likewise.
8128 (__dvd): Likewise.
8129 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8130 (__acr): Likewise.
8131 (__cpy): Likewise.
8132 (norm): Likewise.
8133 (denorm): Likewise.
8134 (__mp_dbl): Likewise.
8135 (__dbl_mp): Likewise.
8136 (add_magnitudes): Likewise.
8137 (sub_magnitudes): Likewise.
8138 (__add): Likewise.
8139 (__sub): Likewise.
8140 (__mul): Likewise.
8141 (__inv): Likewise.
8142 (__dvd): Likewise.
8143 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8144 (__acr): Likewise.
8145 (__cpy): Likewise.
8146 (norm): Likewise.
8147 (denorm): Likewise.
8148 (__mp_dbl): Likewise.
8149 (__dbl_mp): Likewise.
8150 (add_magnitudes): Likewise.
8151 (sub_magnitudes): Likewise.
8152 (__add): Likewise.
8153 (__sub): Likewise.
8154 (__mul): Likewise.
8155 (__inv): Likewise.
8156 (__dvd): Likewise.
8157
eede9df9
JM
81582013-01-08 Joseph Myers <joseph@codesourcery.com>
8159
8160 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8161 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8162 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8163 2 && __USE_EXTERN_INLINES]: Likewise.
8164
c40ea3d9
AJ
81652013-01-08 Andreas Jaeger <aj@suse.de>
8166
8167 [BZ# 14985]
8168 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8169 Remove.
8170 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8171 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8172
2ccdea26
AB
81732013-01-07 Anton Blanchard <anton@samba.org>
8174
8175 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8176 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8177 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8178 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8179 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8180 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8181 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8182 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8183 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8184 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8185 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8186 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8187 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8188 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8189 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8190 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8191 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8192 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8193 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8194 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8195 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8196 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8197 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8198 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8199 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8200 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8201 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8202 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8203 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8204 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8205 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8206 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8207 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8208 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8209 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8210 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8211 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8212 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8213 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8214 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8215 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8216 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8217 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8218
a9708fed
JM
82192013-01-07 Joseph Myers <joseph@codesourcery.com>
8220
375607b9
JM
8221 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8222 (__MALLOC_PMT): Likewise.
8223 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8224 [__GNUC__], only on [_LIBC].
8225 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8226 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8227 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8228 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8229 forward declaration.
8230 (realloc_hook_ini): Likewise.
8231 (memalign_hook_ini): Likewise.
8232 (__libc_memalign): Do not use __MALLOC_PMT in variable
8233 declaration.
8234 (__libc_valloc): Likewise.
8235 (__libc_pvalloc): Likewise.
8236 (__libc_calloc): Likewise.
8237 (__posix_memalign): Likewise.
8238
a9708fed
JM
8239 [BZ #14996]
8240 * math/s_casinh.c: Include <float.h>.
8241 (__casinh): Do not do computation with squaring and square root
8242 for large arguments.
8243 * math/s_casinhf.c: Include <float.h>.
8244 (__casinhf): Do not do computation with squaring and square root
8245 for large arguments.
8246 * math/s_casinhl.c: Include <float.h>.
8247 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8248 (__casinhl): Do not do computation with squaring and square root
8249 for large arguments.
8250 * math/libm-test.inc (casin_test): Add more tests.
8251 (casinh_test): Likewise.
8252 * sysdeps/i386/fpu/libm-test-ulps: Update.
8253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8254
afec409a
L
82552013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8256
8257 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8258 (__x86_64_raw_data_cache_size): Likewise.
8259 (__x86_64_data_cache_size_half): Likewise.
8260 (__x86_64_raw_data_cache_size_half): Likewise.
8261 (__x86_64_shared_cache_size): Likewise.
8262 (__x86_64_raw_shared_cache_size): Likewise.
8263 (__x86_64_shared_cache_size_half): Likewise.
8264 (__x86_64_raw_shared_cache_size_half): Likewise.
8265 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8266 to ...
8267 (__x86_data_cache_size): This.
8268 (__x86_64_raw_data_cache_size): Renamed to ...
8269 (__x86_raw_data_cache_size): This.
8270 (__x86_64_data_cache_size_half): Renamed to ...
8271 (__x86_data_cache_size_half): This.
8272 (__x86_64_raw_data_cache_size_half): Renamed to ...
8273 (__x86_raw_data_cache_size_half): This.
8274 (__x86_64_shared_cache_size): Renamed to ...
8275 (__x86_shared_cache_size): This.
8276 (__x86_64_raw_shared_cache_size): Renamed to ...
8277 (__x86_raw_shared_cache_size): This.
8278 (__x86_64_shared_cache_size_half): Renamed to ...
8279 (__x86_shared_cache_size_half): This.
8280 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8281 (__x86_raw_shared_cache_size_half): This.
8282 * sysdeps/x86_64/memcpy.S: Updated.
8283 * sysdeps/x86_64/memset.S: Likewise.
8284 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8285 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8286 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8287
0b3986d0
DM
82882013-01-04 David S. Miller <davem@davemloft.net>
8289
8290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8291
e47686e9
AS
82922013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8293
d643bac1
AS
8294 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8295 1 to avoid redefinition warning.
8296 (__USE_GNU): Don't define.
8297 (init_signaling_nan): Protoize.
8298
e47686e9
AS
8299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8300
b18decba
SP
83012013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8302
fffb407f
SP
8303 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8304 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8305 (__cpymn): Likewise.
8306 (norm): Remove commented code.
8307 (denorm): Likewise.
8308 (__mp_dbl): Likewise.
8309 (__inv): Likewise.
8310 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8311 (__cpymn): Likewise.
8312 (norm): Remove commented code.
8313 (denorm): Likewise.
8314 (__mp_dbl): Likewise.
8315 (__inv): Likewise.
8316
b18decba
SP
8317 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8318 mp_no value for 1.0 and 2.0.
8319 (norm): Use RADIXI instead of radixi.d.
8320 (denorm): Likewise.
8321 (__mul): Use 0.0 instead of zero.d.
8322 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8323 mp_no value for 1.0 and 2.0.
8324 (norm): Use RADIXI instead of radixi.d.
8325 (denorm): Likewise.
8326 (__mul): Use 0.0 instead of zero.d.
8327
cdc1c96f
JM
83282013-01-04 Joseph Myers <joseph@codesourcery.com>
8329
8330 [BZ #14994]
8331 * math/s_casinh.c (__casinh): Reduce finite argument to first
8332 quadrant then set signs of results at the end.
8333 * math/s_casinhf.c (__casinhf): Likewise.
8334 * math/s_casinhl.c (__casinhl): Likewise.
8335 * math/libm-test.inc (casin_test): Add more tests.
8336 (casinh_test): Likewise.
8337 * sysdeps/i386/fpu/libm-test-ulps: Update.
8338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8339
302913e1
SP
83402013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8341
6420d207
SP
8342 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8343
a9e48ab4
SP
8344 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8345
b7837264
SP
8346 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8347 declarations.
8348 (denorm): Likewise.
8349 (__mp_dbl): Likewise.
8350 (__inv): Likewise.
8351
f8af25d2
SP
8352 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8353 and adjust the header comment.
8354
302913e1
SP
8355 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8356 variable name from declaration.
8357
5d7dd1ca
L
83582013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8359
8360 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8361 Initialize COMMON_CPUID_INDEX_7 element.
8362 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8363 (CPUID_RTM): Likewise.
8364 (HAS_RTM): Likewise.
8365 (COMMON_CPUID_INDEX_7): New enum.
8366
2f5f40f4
AS
83672013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8368
8369 [BZ #14981]
8370 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8371 size is zero, record memory as freed.
8372
4056f4a0
AJ
83732013-01-03 Andreas Jaeger <aj@suse.de>
8374
8375 * po/ia.po: Add new Interlingua translation.
8376
ab15736f 83772012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
8378
8379 * locale/programs/localedef.c: Fix description of '--posix' flag.
8380
568035b7
JM
83812013-01-02 Joseph Myers <joseph@codesourcery.com>
8382
e6898b8d
JM
8383 * NEWS: Update dates in second copyright notice.
8384 * README: Update copyright dates in example.
8385 * manual/libc.texinfo: Update copyright dates.
8386 * scripts/test-installation.pl: Update copyright date in --version
8387 output.
8388
0e2f9562
JM
8389 * hurd/ctty-input.c: Fix copyright notice formatting.
8390 * hurd/ctty-output.c: Likewise.
8391 * hurd/dtable.c: Likewise.
8392 * hurd/hurd-raise.c: Likewise.
8393 * hurd/hurdprio.c: Likewise.
8394 * hurd/msgportdemux.c: Likewise.
8395 * misc/sys/file.h: Likewise.
8396 * misc/sys/ioctl.h: Likewise.
8397 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8398 * sysdeps/mach/hurd/chdir.c: Likewise.
8399 * sysdeps/mach/hurd/fchdir.c: Likewise.
8400 * sysdeps/mach/hurd/rename.c: Likewise.
8401 * sysdeps/mach/hurd/rmdir.c: Likewise.
8402 * sysdeps/mach/hurd/seekdir.c: Likewise.
8403 * sysdeps/mach/hurd/setsid.c: Likewise.
8404 * sysdeps/posix/wait3.c: Likewise.
8405
568035b7
JM
8406 * All files with FSF copyright notices: Update copyright dates
8407 using scripts/update-copyrights.
8408 * intl/plural.c: Regenerated.
8409 * locale/programs/charmap-kw.h: Likewise.
8410 * locale/programs/locfile-kw.h: Likewise.
8411
da08f647
SP
84122013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8413
0f5477af
SP
8414 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8415 four values.
8416
44e0d4c2
SP
8417 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8418 calculation loop and add branch prediction.
8419
4d55b4e5
SP
8420 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8421 check access beyond bounds of m1np.
8422
da08f647
SP
8423 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8424 MPTWO.
8425 (__inv): Remove local variable MPTWO to use the global
8426 constant.
8427 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8428 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8429 variable MPTWO.
8430 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8431 MP3HALFS static const.
8432
8e051029
DM
84332013-01-01 David S. Miller <davem@davemloft.net>
8434
8435 * po/ca.po: Update from translation team.
8436
f4cf5f2d
JM
84372013-01-01 Joseph Myers <joseph@codesourcery.com>
8438
8439 * scripts/update-copyrights: New file.
8440 * Makeconfig: Reformat copyright notice.
8441 * ctype/ctype.h: Likewise.
8442 * debug/swprintf_chk.c: Likewise.
8443 * elf/dl-cache.c: Likewise.
8444 * elf/dl-debug.c: Likewise.
8445 * elf/dl-object.c: Likewise.
8446 * grp/initgroups.c: Likewise.
8447 * hurd/Makefile: Likewise.
8448 * hurd/hurd/signal.h: Likewise.
8449 * hurd/hurdfault.c: Likewise.
8450 * hurd/hurdioctl.c: Likewise.
8451 * hurd/hurdlookup.c: Likewise.
8452 * hurd/intr-msg.c: Likewise.
8453 * iconv/gconv_open.c: Likewise.
8454 * libio/swprintf.c: Likewise.
8455 * locale/lc-ctype.c: Likewise.
8456 * locale/nl_langinfo.c: Likewise.
8457 * mach/Machrules: Likewise.
8458 * mach/Makefile: Likewise.
8459 * malloc/obstack.h: Likewise.
8460 * manual/Makefile: Likewise.
8461 * manual/tsort.awk: Likewise.
8462 * misc/bits/stab.def: Likewise.
8463 * nis/nis_print_group_entry.c: Likewise.
8464 * nis/nis_table.c: Likewise.
8465 * nis/nss_compat/compat-pwd.c: Likewise.
8466 * nis/nss_compat/compat-spwd.c: Likewise.
8467 * po/Makefile: Likewise.
8468 * posix/fnmatch.c: Likewise.
8469 * posix/regex.h: Likewise.
8470 * resolv/Makefile: Likewise.
8471 * resolv/nss_dns/dns-network.c: Likewise.
8472 * resolv/res_hconf.c: Likewise.
8473 * scripts/gen-sorted.awk: Likewise.
8474 * soft-fp/soft-fp.h: Likewise.
8475 * stdio-common/printf.h: Likewise.
8476 * stdlib/monetary.h: Likewise.
8477 * stdlib/random.c: Likewise.
8478 * stdlib/random_r.c: Likewise.
8479 * sysdeps/generic/Makefile: Likewise.
8480 * sysdeps/gnu/Makefile: Likewise.
8481 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8482 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8483 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8484 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8485 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8486 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8487 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8488 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8489 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8490 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8491 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8492 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8493 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8494 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8495 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8496 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8497 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8498 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8499 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8500 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8501 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8502 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8503 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8504 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8505 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8506 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8507 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8508 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8509 * sysdeps/mach/hurd/errnos.awk: Likewise.
8510 * sysdeps/mach/hurd/fork.c: Likewise.
8511 * sysdeps/mach/hurd/getcwd.c: Likewise.
8512 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8513 * sysdeps/mach/hurd/mmap.c: Likewise.
8514 * sysdeps/mach/hurd/utimes.c: Likewise.
8515 * sysdeps/mach/hurd/xmknod.c: Likewise.
8516 * sysdeps/posix/profil.c: Likewise.
8517 * sysdeps/posix/readdir_r.c: Likewise.
8518 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8519 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8520 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8521 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8522 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8523 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8524 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8525 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8526 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8527 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8528 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8529 * sysdeps/pthread/lio_listio.c: Likewise.
8530 * sysdeps/sparc/dl-procinfo.h: Likewise.
8531 * sysdeps/unix/i386/sysdep.S: Likewise.
8532 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8533 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8534 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8535 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8537 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8538 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8539 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8540 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8541 * sysdeps/wordsize-32/divdi3.c: Likewise.
8542 * time/sys/time.h: Likewise.
8543 * wcsmbs/Makefile: Likewise.
8544
0549fbba
DM
85452013-01-01 David S. Miller <davem@davemloft.net>
8546
a141f1a7
DM
8547 * po/fr.po: Update from translation team.
8548
0549fbba
DM
8549 * catgets/gencat.c: Update copyright year.
8550 * csu/version.c: Likewise.
8551 * debug/catchsegv.sh: Likewise.
8552 * debug/pcprofiledump.c: Likewise.
8553 * debug/xtrace.sh: Likewise.
8554 * elf/ldconfig.c: Likewise.
8555 * elf/ldd.bash.in: Likewise.
8556 * elf/pldd.c: Likewise.
8557 * elf/sotruss.ksh: Likewise.
8558 * elf/sprof.c: Likewise.
8559 * iconv/iconv_prog.c: Likewise.
8560 * iconv/iconvconfig.c: Likewise.
8561 * locale/programs/locale.c: Likewise.
8562 * locale/programs/localedef.c: Likewise.
8563 * login/programs/pt_chown.c: Likewise.
8564 * malloc/memusage.sh: Likewise.
8565 * malloc/memusagestat.c: Likewise.
8566 * malloc/mtrace.pl: Likewise.
8567 * nscd/nscd.c: Likewise.
8568 * nss/getent.c: Likewise.
8569 * nss/makedb.c: Likewise.
8570 * posix/getconf.c: Likewise.
8571
18ea052c
SP
85722012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8573
8574 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8575 numbers.
8576
9c89fca6
MF
85772012-12-30 Mike Frysinger <vapier@gentoo.org>
8578
8579 * math/bits/mathcalls.h (modf): Use __nonnull.
8580
085ec079
SP
85812012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8582
8583 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8584 (split): Use macro CN instead of the bare value.
8585 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8586 could be used.
8587 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8588 instead of the bare value.
8589 (power1): Likewise.
8590
6d9f97e1
SP
85912012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8592
d63f73be
SP
8593 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8594 __ATAN_TWOM.
8595 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8596
6d9f97e1
SP
8597 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8598 their values.
8599 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8600 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8601 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8602 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8603
4c4febf5
AJ
86042012-12-28 Andreas Jaeger <aj@suse.de>
8605
af5843ef
AJ
8606 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8607 values are from Linux 3.7.
8608
4c4febf5
AJ
8609 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8610 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8611
99136f82
SP
86122012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8613
2f216c3c 8614 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
8615 TRUE case.
8616
99136f82
SP
8617 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8618 (norm): Likewise.
8619 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8620 variables with preprocessor constants.
8621 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8622 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8623 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8624
7fffbdff
BH
86252012-12-27 Bruno Haible <bruno@clisp.org>
8626
8627 [BZ #14317]
8628 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8629 only if needed.
8630
b76eb5f0
SP
86312012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8632
31a7fe5c
SP
8633 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8634 and use variable directly.
8635 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8636
b76eb5f0
SP
8637 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8638 MPONE.
8639 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8640 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8641 variable MPONE.
8642 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8643 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8644 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8645 include directive. Remove local variable MPONE.
8646 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8647 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8648 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8649
2c8bfe7d
DM
86502012-12-25 David S. Miller <davem@davemloft.net>
8651
8652 * version.h (RELEASE): Set to "development".
8653 (VERSION): Set to "2.17.90".
8654 * NEWS: Add 2.18 section.
8655
147d03b0
DM
86562012-12-21 David S. Miller <davem@davemloft.net>
8657
8658 * po/hr.po: Update from translation team.
8659
a8ebb2b9
AK
86602012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8661
8662 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8663
95b4f1b6
SE
86642012-12-19 Steve Ellcey <sellcey@mips.com>
8665
b2d94007 8666 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 8667
cedb2a90
MS
86682012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8669
8670 * manual/contrib.texi (Contributors): Spelling correction.
8671
bbf527d6
DM
86722012-12-15 David S. Miller <davem@davemloft.net>
8673
8674 * po/ru.po: Update from translation team.
8675
bc38c906
DM
86762012-12-13 David S. Miller <davem@davemloft.net>
8677
85429b1a
DM
8678 * NEWS: Mention IFUNC testsuite enhancements.
8679
d283e353
DM
8680 * po/pl.po: Update from translation team.
8681 * po/bg.po: Likewise.
8682
bc38c906
DM
8683 * manual/contrib.texi (Contributors): Update entries for Hongjiu
8684 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
8685
a181b0d7
DM
86862012-12-11 David S. Miller <davem@davemloft.net>
8687
4641d57e
DM
8688 * po/sv.po: Update from translation team.
8689
f7bc6495
DM
8690 * po/vi.po: Update from translation team.
8691
6fc9048f
DM
8692 * po/cs.po: Update from translation team.
8693
a181b0d7
DM
8694 * po/de.po: Update from translation team.
8695 * po/eo.po: Likewise.
8696 * po/nl.po: Likewise.
8697
f70bfe80
SP
86982012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8699
3c8b4190
SP
8700 [BZ #14246]
8701 * manual/argp.texi (Argp Helper Functions): Move node to follow
8702 Argp Parsing State.
8703
f70bfe80
SP
8704 [BZ #14872]
8705 * manual/conf.texi (Limits on File System Capacity): Mention if
8706 terminating null is included in the max size.
8707
188f0adf
AJ
87082012-12-10 Andreas Jaeger <aj@suse.de>
8709
8710 * po/cs.po: Update from translation team.
8711
56e7d3ad
SP
87122012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8713
8714 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8715 void pointer and cast to uintptr_t.
8716 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8717 path.
8718 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8719 * sysdeps/s390/s390-64/memset.S: Likewise.
8720
76f2d2ea 87212012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
8722
8723 [BZ #14833]
8724 * menual/message.texi (Message Translation): Fix typos.
8725 (Helper programs for gettext): Likewise.
8726
67cbf9a2
AS
87272012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8728
8729 [BZ #14898]
8730 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8731 Change to -1.
8732
682d0e9a
DM
87332012-12-07 David S. Miller <davem@davemloft.net>
8734
8735 * po/libc.pot: Update.
8736
573cd484
RH
87372012-12-07 Richard Henderson <rth@redhat.com>
8738
7e9da188 8739 [BZ #10114]
573cd484
RH
8740 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8741 normal/normal case to before the switch.
8742 (_FP_DIV): Likewise.
8743
e933a943
MF
87442012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8745 Mike Frysinger <vapier@gentoo.org>
8746
8747 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8748 check for __NR_fadvise64_64.
8749
82123268
CM
87502012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8751
8752 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8753 0, not just to plain "0" as a statement.
8754 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8755 with cw.
8756
d9814526
JM
87572012-12-06 Joseph Myers <joseph@codesourcery.com>
8758
8759 * NEWS: Use sourceware.org in Bugzilla URL.
8760
7728c574
SP
87612012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8762
f16946dd
SP
8763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8764 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8765
5704bbcb
SP
8766 * stdio-common/tst-put-error.c (do_test): Add newline to the
8767 padded test to ensure flush.
8768
17aa0516
JL
87692012-12-05 Jeff Law <law@redhat.com>
8770
8771 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8772
363313b5
JM
87732012-12-05 Joseph Myers <joseph@codesourcery.com>
8774
effbd42a
JM
8775 * README: Don't refer to ports add-on as distributed separately.
8776 Mention AArch64 in list of systems supported in the ports add-on.
8777
87600365
JM
8778 * LICENSES: Add more non-FSF copyright and license notices.
8779
a0d7066a
JM
8780 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8781 ((unused)).
8782
66ca5a5b
JM
8783 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8784
363313b5
JM
8785 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8786 10000 as width of padded output.
8787
b37984ad
JM
87882012-12-04 Joseph Myers <joseph@codesourcery.com>
8789
9003570a
JM
8790 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8791
b37984ad
JM
8792 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8793 variable LX with __attribute__ ((unused)).
8794 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8795 Likewise.
8796 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8797 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8798 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8799 with __attribute__ ((unused)).
8800
c8df52ec
DM
88012012-12-04 David S. Miller <davem@abraco.davemloft.net>
8802
8803 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8804
b3b099af
JM
88052012-12-04 Joseph Myers <joseph@codesourcery.com>
8806
c33aa6e3
JM
8807 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8808 (CFLAGS-nldbl-acos.c): New variable.
8809 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8810 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8811 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8812 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8813 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8814 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8815 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8816 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8817 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8818 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8819 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8820 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8821 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8822 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8823 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8824 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8825 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8826 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8827 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8828 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8829 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8830 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8831 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8832 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8833 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8834 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8835 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8836 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8837 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8838 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8839 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8840 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8841 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8842 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8843 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8844 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8845 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8846 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8847 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8848 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8849 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8850 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8851 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8852 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8853 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8854 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8855 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8856 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8857 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8858 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8859 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8860 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8861 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8862 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8863 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8864 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8865 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8866 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8867 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8868 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8869 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8870 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8871 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8872 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8873 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8874 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8875 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8876 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8877 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8878 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8879 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8880 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8881 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8882 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8883 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8884 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8885 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8886 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8887 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8888 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8889 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8890 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8891 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8892 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8893 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8894 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8895 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8896 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8897 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8898 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8899 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8900 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8901 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8902 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8903 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8904 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8905 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8906
20f0018d
JM
8907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8908 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8909
b3b099af
JM
8910 [BZ #14914]
8911 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8912 whole low double instead of just low 47 bits when splitting values
8913 into two parts.
8914
029264d1
AM
89152012-12-03 Allan McRae <allan@archlinux.org>
8916
8917 * manual/stdio.texi (Predefined Printf Handlers): Remove
8918 @hsep and @vsep usage.
8919
c9d6789e
MF
89202012-12-03 Mike Frysinger <vapier@gentoo.org>
8921
8922 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8923 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8924
4b7634a5
JL
89252012-12-03 Jeff Law <law@redhat.com>
8926
8927 * time/sys/time.h (settimeofday): Do not mark TV argument
8928 as __nonnull.
8929
eb6cbd24
MF
89302012-12-01 Mike Frysinger <vapier@gentoo.org>
8931
8932 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8933 when currently writing and seek to current position when not.
8934 * libio/Makefile (tests): Remove bug-fclose1.
8935 * libio/bug-fclose1.c: Delete.
8936
f638872a
JM
89372012-12-01 Joseph Myers <joseph@codesourcery.com>
8938
8939 * manual/arith.texi (feenableexcept): Fix typo.
8940 (fedisableexcept): Likewise.
8941
48085d14
RM
89422012-11-30 Roland McGrath <roland@hack.frob.com>
8943
8944 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8945 second, differently-typed declaration, rather than a cast.
8946
1a538b9f
SP
89472012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8948
8949 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
8950 * include/rpc/svc.h: ... here.
8951
d07f2ff1 89522012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
8953
8954 [BZ #13013]
8955 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
8956 depending n and resplen2 to catch cases where answer
8957 equals answerp2.
8958
c93ec1f0
CD
89592012-11-29 Carlos O'Donell <carlos@systemhalted.org>
8960
8961 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
8962 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
8963
37db69de
MF
89642012-11-29 Mike Frysinger <vapier@gentoo.org>
8965
8966 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
8967
e10c4e4f
RM
89682012-11-29 Roland McGrath <roland@hack.frob.com>
8969
8970 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8971
2af1b328
JL
89722012-11-28 Jeff Law <law@redhat.com>
8973
8974 [BZ #13761]
8975 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
8976 dataset_temporary. Track alloca usage into alloca_used.
8977 If dataset is large allocate and release it via malloc/free.
8978
111db5b1
FW
89792012-06-04 Florian Weimer <fweimer@redhat.com>
8980
f06cc227 8981 [BZ #14197]
111db5b1
FW
8982 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
8983
dd694abd
DM
89842012-11-28 David S. Miller <davem@davemloft.net>
8985
8986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8987
9984dd01
JM
89882012-11-28 Joseph Myers <joseph@codesourcery.com>
8989
8990 [BZ #14803]
8991 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
8992 of pi/2 rounded to nearest to 64 bits.
8993 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
8994 nearest to 64 bits.
8995 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
8996 bits.
8997
14bc93a9
JL
89982012-11-28 Jeff Law <law@redhat.com>
8999 Martin Osvald <mosvald@redhat.com>
9000
9001 [BZ #14889]
9002 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9003 * sunrpc/svc.c: Include time.h.
9004 (__svc_accept_failed): New function.
9005 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9006 any reason other than EINTR, call __svc_accept_failed.
9007 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9008 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9009
e3c6aa3a
AS
90102012-11-28 Andreas Schwab <schwab@suse.de>
9011
9012 * scripts/abilist.awk: Also handle indirect functions in .opd
9013 section.
9014
1bead169
JM
90152012-11-28 Joseph Myers <joseph@codesourcery.com>
9016
9017 [BZ #13881]
9018 * sysdeps/x86/fpu/powl_helper.c: New file.
9019 * sysdeps/x86/fpu/Makefile: Likewise.
9020 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9021 (p3): New object.
9022 (__ieee754_powl): Use __powl_helper for finite arguments except
9023 integer exponents below 8.
9024 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9025 (p3): New object.
9026 (__ieee754_powl): Use __powl_helper for finite arguments except
9027 integer exponents below 8.
9028 * math/libm-test.inc (pow_test): Add more tests and enable some
9029 previously disabled tests.
9030 * sysdeps/i386/fpu/libm-test-ulps: Update.
9031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9032
0817d63d
SP
90332012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9034 Carlos O'Donell <carlos_odonell@mentor.com>
9035
9036 * nss/makedb.c (is_prime): Assert that input is odd and greater
9037 than 4. Note that fact in a comment too.
9038 (next_prime): Add 4 to input.
9039
de2fd463
SP
90402012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9041
9042 [BZ #11741]
9043 * libio/Makefile (tests): Add test case tst-fwrite-error.
9044 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9045 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9046 * libio/tst-fwrite-error.c: New test case.
9047
c515fb51
L
90482012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9049
9050 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9051 before casting to void *.
9052 * include/libc-internal.h (__pointer_type): New macro.
9053 (__integer_if_pointer_type_sub): Likewise.
9054 (__integer_if_pointer_type): Likewise.
9055 (cast_to_integer): Likewise.
9056 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9057 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9058 before casting to atomic64_t.
9059 (atomic_exchange_acq): Likewise.
9060 (__arch_exchange_and_add_body): Likewise.
9061 (__arch_add_body): Likewise.
9062 (atomic_add_negative): Likewise.
9063 (atomic_add_zero): Likewise.
9064
4cf77aa9
JM
90652012-11-26 Joseph Myers <joseph@codesourcery.com>
9066
9067 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9068 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9069 (add_fdes): Likewise.
9070 (linear_search_fdes): Likewise.
9071 (binary_search_unencoded_fdes): Likewise.
9072
d260b3b4
AS
90732012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9074
9075 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9076
67060746
AC
90772012-11-24 Adam Conrad <adconrad@0c3.net>
9078
9079 * configure.in: Autodetect C++ header directories.
9080 * configure: Regenerated.
9081
800938a1
MF
90822012-11-23 Mike Frysinger <vapier@gentoo.org>
9083
9084 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9085
4e6e34e6
AS
90862012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9087
9088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9089
7c7feb47
JM
90902012-11-22 Joseph Myers <joseph@codesourcery.com>
9091
7184dcdf
JM
9092 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9093 LDBL_MANT_DIG == 106]: Disable some tests.
9094 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9095 Likewise.
9096 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9097 Likewise.
9098
0a42601f
JM
9099 [BZ #14871]
9100 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9101 input for small inputs. Return +/- pi/2 for large inputs.
9102 * math/libm-test.inc (atan_test): Add more tests.
9103
79c9b9fe
JM
9104 * sysdeps/generic/unwind-dw2-fde-glibc.c
9105 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9106 __attribute__ ((unused)).
9107
c60d3bf2
JM
9108 [BZ #14645]
9109 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9110 x * y if x and y are nonzero and z is zero.
9111
ef1e0867
JM
9112 [BZ #14811]
9113 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9114 nonzero exponents with absolute value below 0x1p-117 to +/-
9115 0x1p-117.
9116
1468ded3
JM
9117 [BZ #14869]
9118 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9119 up arguments below 2**-450, not just those below 2**-500.
9120 * math/libm-test.inc (hypot_test): Add another test.
9121
8e27e3cc
JM
9122 [BZ #14868]
9123 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9124 Return a+b for ratio over 2**120, not 2**60.
9125 * math/libm-test.inc (hypot_test): Add another test.
9126
c9c0279b
JM
9127 * math/libm-test.inc (clog_test): Use
9128 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9129 (clog10_test): Likewise.
9130
7c7feb47
JM
9131 [BZ #6778]
9132 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9133
fff1530e
AS
91342012-11-22 Andreas Schwab <schwab@suse.de>
9135
9136 * sysdeps/i386/fpu/libm-test-ulps: Update.
9137
94558d30
PT
91382012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9139
9140 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9141 printf output with newline.
9142
7e1be741
L
91432012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9144
6bfea974
L
9145 [BZ #14865]
9146 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9147 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9148 -z nodlopen, -z initfirst and -z execstack support.
9149 * configure: Regenerated.
9150
7e1be741
L
9151 * elf/elf.h (DF_1_NODIRECT): New macro.
9152 (DF_1_IGNMULDEF): Likewise.
9153 (DF_1_NOKSYMS): Likewise.
9154 (DF_1_NOHDR): Likewise.
9155 (DF_1_EDITED): Likewise.
9156 (DF_1_NORELOC): Likewise.
9157 (DF_1_SYMINTPOSE): Likewise.
9158 (DF_1_GLOBAUDIT): Likewise.
9159 (DF_1_SINGLETON): Likewise.
9160 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9161 DT_1_SUPPORTED_MASK bits.
9162 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9163
105ce2ce
CD
91642012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
9165
9166 * sysdeps/unix/make-syscalls.sh: Document prefixes.
9167
123be9de
TS
91682012-11-20 Thomas Schwinge <thomas@codesourcery.com>
9169
d072f3f7
TS
9170 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9171 macro.
9172
123be9de
TS
9173 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9174 (sendmmsg): Move declarations...
9175 * socket/sys/socket.h: ... here.
9176 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9177 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9178 include it from...
9179 * socket/recvmmsg.c: ... this new file.
9180 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9181 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9182 definition of __sendmmsg hidden.
9183 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9184 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9185 Move ENOSYS stub into and include it from...
9186 * socket/sendmmsg.c: ... this new file.
9187 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9188 (sysdep_routines): Move recvmmsg and sendmmsg...
9189 * socket/Makefile (routines): ... here.
9190 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9191 (GLIBC_PRIVATE): Add __sendmmsg.
9192 * include/sys/socket.h (__sendmmsg): Add declarations.
9193 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9194 sendmmsg.
9195
cf9a5d18
JM
91962012-11-20 Joseph Myers <joseph@codesourcery.com>
9197
9198 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9199 variable I1 with __attribute__ ((unused)).
9200 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9201
ecd4caf9
JM
92022012-11-19 Joseph Myers <joseph@codesourcery.com>
9203
be14d48f
JM
9204 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9205 DUMMY variables with __attribute__ ((unused)).
9206
ecd4caf9
JM
9207 * bits/byteswap.h: Include <bits/types.h>.
9208 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9209
986cab95
PT
92102012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9211
9212 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9213 string_t. Do not manually set errno.
9214 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9215 length with __strnlen. Make sure to both set errno and return it on
9216 failure.
9217
6d33cc9d
DM
92182012-11-19 David S. Miller <davem@davemloft.net>
9219
9220 With help from Joseph Myers.
9221 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9222 very large arguments properly.
9223 * math/libm-test.inc (atan_test): New tests.
9224 (atan2_test): New tests.
9225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9226 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9227
ee663277
JM
92282012-11-19 Joseph Myers <joseph@codesourcery.com>
9229
877f2d8e
JM
9230 [BZ #14856]
9231 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9232 Define to 3.
9233
116fc08a
JM
9234 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9235 [POSIX] (EADDRNOTAVAIL): Likewise.
9236 [POSIX] (EAFNOSUPPORT): Likewise.
9237 [POSIX] (EALREADY): Likewise.
9238 [POSIX] (ECONNABORTED): Likewise.
9239 [POSIX] (ECONNREFUSED): Likewise.
9240 [POSIX] (ECONNRESET): Likewise.
9241 [POSIX] (EDESTADDRREQ): Likewise.
9242 [POSIX] (EDQUOT): Likewise.
9243 [POSIX] (EHOSTUNREACH): Likewise.
9244 [POSIX] (EIDRM): Likewise.
9245 [POSIX] (EISCONN): Likewise.
9246 [POSIX] (ELOOP): Likewise.
9247 [POSIX] (EMULTIHOP): Likewise.
9248 [POSIX] (ENETDOWN): Likewise.
9249 [POSIX] (ENETUNREACH): Likewise.
9250 [POSIX] (ENOBUFS): Likewise.
9251 [POSIX] (ENODATA): Likewise.
9252 [POSIX] (ENOLINK): Likewise.
9253 [POSIX] (ENOMSG): Likewise.
9254 [POSIX] (ENOPROTOOPT): Likewise.
9255 [POSIX] (ENOSR): Likewise.
9256 [POSIX] (ENOSTR): Likewise.
9257 [POSIX] (ENOTCONN): Likewise.
9258 [POSIX] (ENOTSOCK): Likewise.
9259 [POSIX] (EOPNOTSUPP): Likewise.
9260 [POSIX] (EOVERFLOW): Likewise.
9261 [POSIX] (EPROTO): Likewise.
9262 [POSIX] (EPROTONOSUPPORT): Likewise.
9263 [POSIX] (EPROTOTYPE): Likewise.
9264 [POSIX] (ESTALE): Likewise.
9265 [POSIX] (ETIME): Likewise.
9266 [POSIX] (ETXTBSY): Likewise.
9267 [POSIX] (EWOULDBLOCK): Likewise.
9268 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9269 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9270 [POSIX] (SEEK_CUR): Likewise.
9271 [POSIX] (SEEK_END): Likewise.
9272 [POSIX || UNIX98] (mode_t): Do not require.
9273 [POSIX] (off_t): Likewise.
9274 [POSIX] (pid_t): Likewise.
9275 [POSIX] (sys/stat.h): Do not allow header.
9276 [POSIX] (unistd.h): Likewise.
9277 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9278 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9279 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9280 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9281 require.
9282 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9283 sigevent): Specify elements.
9284 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9285 entry.
9286 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9287 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9288
a483863f
JM
9289 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9290 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9291 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9292 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9293 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9294 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9295 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9296 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9297 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9298 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9299 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9300 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9301 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9302 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9303 Likewise.
9304 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9305 Likewise.
9306 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9307 Likewise.
9308 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9309 Likewise.
9310 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9311 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9312 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9313 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9314 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9315 Specify lower bound on value.
9316 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9317 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9318 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9319 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9320 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9321 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9322 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9323 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9324 value.
9325 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9326 as optional.
9327 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9328 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9329 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9330 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9331 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9332 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9333 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9334 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9335 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9336 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9337 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9338 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9339 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9340 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9341 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9342 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9343 entry.
9344 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9345 optional.
9346 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9347 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9348 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9349 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9350 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9351 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9352 Likewise.
9353 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9354 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9355 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9356 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9357 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9358 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9359 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9360 as optional.
9361 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9362 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9363 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9364 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9365 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9366 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9367 specify as optional.
9368 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9369 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9370 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9371 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9372 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9373 [XPG3] (NL_LANGMAX): Likewise.
9374 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9375 [POSIX || XPG3] (NL_NMAX): Likewise.
9376 [POSIX || XPG3] (NL_SETMAX): Likewise.
9377 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9378 [XPG3] (NZERO): Likewise.
9379 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9380 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9381 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9382 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9383 (REG_ERANGE): Expect.
9384 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9385 optional-constant.
9386 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9387 Use (void) in prototype.
9388 [POSIX] (*_t): Allow.
9389 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9390 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9391 (WRDE_BADVAL): Expect.
9392
5ba924e3
JM
9393 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9394 expect.
9395 [XPG3 || XPG4] (O_RSYNC): Likewise.
9396 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9397 Likewise.
9398 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9399 [XPG3 || XPG4] (sigqueue): Likewise.
9400 [XPG3 || XPG4] (sigtimedwait): Likewise.
9401 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9402 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9403 [XPG3 || XPG4] (vsnprintf): Likewise.
9404 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9405 Likewise.
9406 [XPG3 || XPG4] (blksize_t): Likewise.
9407 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9408 Likewise.
9409 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9410 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9411 [XPG3 || XPG4] (struct itimerspec): Likewise.
9412 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9413 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9414 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9415 [XPG3 || XPG4] (clockid_t): Likewise.
9416 [XPG3 || XPG4] (timer_t): Likewise.
9417 [XPG3 || XPG4] (clock_getres): Likewise.
9418 [XPG3 || XPG4] (clock_gettime): Likewise.
9419 [XPG3 || XPG4] (clock_settime): Likewise.
9420 [XPG3 || XPG4] (nanosleep): Likewise.
9421 [XPG3 || XPG4] (timer_create): Likewise.
9422 [XPG3 || XPG4] (timer_delete): Likewise.
9423 [XPG3 || XPG4] (timer_gettime): Likewise.
9424 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9425 [XPG3 || XPG4] (timer_settime): Likewise.
9426 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9427 [XPG3 || XPG4] (getlogin_r): Likewise.
9428 [XPG3 || XPG4] (pread): Likewise.
9429 [XPG3 || XPG4] (pthread_atfork): Likewise.
9430 [XPG3 || XPG4] (pwrite): Likewise.
9431
ee663277
JM
9432 [BZ #14835]
9433 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9434 <bits/siginfo.h>.
9435
942caa16
PT
94362012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9437
e19af380
PT
9438 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9439 finalizing MALLSTREAM.
9440
942caa16
PT
9441 * sysdeps/mach/hurd/syncfs.c: New file.
9442
cfde9b46
SP
94432012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9444
9445 [BZ #14719]
9446 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9447 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9448 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9449 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9450 (_nss_dns_gethostbyname4_r): Likewise.
9451 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9452 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9453
f6da27e5
PH
94542012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9455
9456 [BZ #13763]
9457 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9458
6665d4a2
SM
94592012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9460
1f51ee92
SM
9461 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9462 * elf/cache.c (print_entry): Print ",AArch64" for
9463 FLAG_AARCH64_LIB64
9464
6665d4a2
SM
9465 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9466 * elf/cache.c (print_entry): Print ",hard-float" for
9467 FLAG_ARM_LIBHF.
9468
05b227bd
DM
94692012-11-18 David S. Miller <davem@davemloft.net>
9470
9471 With help from Joseph Myers.
9472 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9473 cutoff to 2**-13.
9474 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9475 cutoff to 2**-25.
9476 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9477 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9478 small.
9479 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9480 * math/libm-test.inc (y0_test): New tests.
9481 (y1_test): New tests.
9482 * sysdeps/i386/fpu/libm-test-ulps: Update.
9483 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9485
786b0b67
AS
94862012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9487
9488 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9489 64-bit targets.
9490 * configure: Regenerated.
9491
8e18b86d
DM
94922012-11-17 David S. Miller <davem@davemloft.net>
9493
9494 [BZ #14811]
9495 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9496 nonzero exponents with absolute value below 0x1p-128 to +/-
9497 0x1p-128.
9498
531f1ae0
JM
94992012-11-17 Joseph Myers <joseph@codesourcery.com>
9500
12df29e2
JM
9501 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9502
150dc1a0
JM
9503 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9504
531f1ae0
JM
9505 * posix/getconf-speclist.c: New file.
9506 * posix/posix-envs.def: Likewise.
9507 * posix/confstr.c (START_ENV_GROUP): New macro.
9508 (END_ENV_GROUP): Likewise.
9509 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9510 (KNOWN_PRESENT_ENV_STRING): Likewise.
9511 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9512 (UNKNOWN_ENVIRONMENT): Likewise.
9513 (confstr): Include posix-envs.def instead of handling
9514 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9515 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9516 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9517 (END_ENV_GROUP): Likewise.
9518 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9519 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9520 (UNKNOWN_ENVIRONMENT): Likewise.
9521 (__sysconf): Include posix-envs.def instead of handling associated
9522 cases directly here.
9523 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9524 preprocessing getconf-speclist.c rather than running getconf or
9525 generating empty file.
9526
a93f9cbc
PT
95272012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9528
9529 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9530
d64d9f87
AL
95312012-11-16 Andrej Lajovic <natrij@gmail.com>
9532
9533 [BZ #14672]
9534 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9535
447885eb
DM
95362012-11-16 David S. Miller <davem@davemloft.net>
9537
9538 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9539 smaller than LDBL_EPSILON/2.0L, just return xm1.
9540
bcbf9830
L
95412012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9542
9543 * elf/tst-array1.c (init): Set constructor priority to 1000.
9544 (fini): Set destructor priority to 1000.
9545 * elf/tst-array2dep.c: Likewise.
9546
2b766585
SP
95472012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9548
9549 [BZ #11741]
9550 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9551 (_IO_new_file_xsputn): Also return EOF if none of the input
9552 data was written when overflow failed.
9553 * libio/iopadn.c (_IO_padn): Likewise.
9554 * libio/iowpadn.c (_IO_wpadn): Likewise.
9555 * stdio-common/tst-put-error.c: Add copyright notice.
9556 (do_test): Add case for printing padded string.
9557 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9558 _IO_padn returned error.
9559 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9560 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9561 return EOF.
9562
b1848fde
SP
95632012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9564
9565 * libio/libioP.h: Add comment note that the references to C++
9566 bits are now obsolete.
9567
2fd89785
MS
95682012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9569
9570 * math/libm-test.inc (check_complex): Use asprintf.
9571
e3ea5409
JM
95722012-11-14 Joseph Myers <joseph@codesourcery.com>
9573
9574 * debug/pcprofiledump.c (print_version): Update copyright year.
9575 * malloc/memusagestat.c (print_version): Likewise.
9576
2e64d265
L
95772012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9578
9579 [BZ #14831]
9580 * elf/Makefile (tests): Add tst-audit8.
9581 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9582 ($(objpfx)tst-audit8.out): New target.
9583 (tst-audit8-ENV): New variable.
9584 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9585 audit if l_reloc_result is NULL.
9586 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9587 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9588 * elf/tst-audit8.c: New file.
9589
c485e4d2
MS
95902012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9591
9592 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9593 * misc/Makefile (CFLAGS-select.c): Define.
9594 * posix/Makefile (CFLAGS-pause.c): Define.
9595
3a0d900a
DM
95962012-11-13 David S. Miller <davem@davemloft.net>
9597
9598 * crypt/Makefile: Move test targets after toplevel Rules
9599 inclusion. Grab any necessary sysdep routines when linking.
9600 * crypt/md5.c (md5_process_block): Remove define, we will always
9601 name it __md5_process_block.
9602 (md5_finish_ctx): Update md5_process_block call.
9603 (md5_stream): Likewise.
9604 (md5_process_bytes): Likewise.
9605 (md5_process_block): Rename to __md5_process_block and move to ...
9606 * crypt/md5-block.c: ... here.
9607 * crypt/sha256.c (sha256_process_block): Move to ...
9608 * crypt/sha256-block.c: ... here.
9609 * crypt/sha512.c (sha512_process_block): Move to ...
9610 * crypt/sha512-block.c: ... here.
9611 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9612 path.
9613 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9614 * sysdeps/sparc/sparc64/multiarch/Makefile
9615 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9616 crypt subdir.
9617 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9618 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9619 multiarch changes.
9620 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9621 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9622 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9623 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9624 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9625 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9626 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9627 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9628 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9629 file.
9630 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9631 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9632 file.
9633 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9634
8ca89318
JM
96352012-11-13 Joseph Myers <joseph@codesourcery.com>
9636
e27d476a
JM
9637 * timezone/tzselect.ksh: Update from tzcode git revision
9638 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9639 * timezone/zdump.c: Likewise.
9640 * timezone/zic.c: Likewise.
9641 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9642 in TZVERSION setting, not $(PKGVERSION).
9643 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9644 REPORT_BUGS_TO settings.
9645
8ca89318
JM
9646 [BZ #14838]
9647 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9648 macro.
9649
47594329
MS
96502012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9651
9652 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9653 detection to immediately after _FP_ROUND().
9654 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9655 bits are 0.
9656
640ac3f1
DM
96572012-11-11 David S. Miller <davem@davemloft.net>
9658
9659 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9660 inttypes.h
9661 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9662 __close rather than their public counterparts.
9663
3d2577bb
JM
96642012-11-10 Joseph Myers <joseph@codesourcery.com>
9665
9666 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9667 file.
9668 [UNIX98] (sem_timedwait): Do not expect.
9669 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9670 [XPG4 || UNIX98] (sockatmark): Do not expect.
9671 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9672 (clock_getcpuclockid): Do not expect.
9673 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9674 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9675 Do not expect.
9676 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9677 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9678 [UNIX98] (vwscanf): Likewise.
9679 [UNIX98] (vswscanf): Likewise.
9680
fb1ae1ee
JM
96812012-11-09 Joseph Myers <joseph@codesourcery.com>
9682
9ec6f8bd
JM
9683 * timezone/version.h: Remove file.
9684 * timezone/README: Do not refer to version.h.
9685 * timezone/Makefile ($(objpfx)zic.o): New dependency on
9686 $(objpfx)version.h.
9687 ($(objpfx)zdump.o): Likewise.
c3f81911 9688 ($(objpfx)version.h): New target.
9ec6f8bd 9689
0aa8f8a1
JM
9690 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9691 2012i.
9692 * timezone/README: Don't mention modification to tzselect.ksh.
9693 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9694 work on unmodified tzselect.ksh. Substitute version numbers in
9695 tzselect.ksh.
9696
4e87147f
JM
9697 * Makefile (format-me): Remove.
9698 (INSTALL): Adjust indentation. Use commands directly instead of
9699 using $(format-me).
9700
8b748aed
JM
9701 * aclocal.m4 (ACX_PKGVERSION): New macro.
9702 (ACX_BUGURL): Likewise.
9703 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9704 (PKGVERSION): New AC_DEFINE_UNQUOTED.
9705 (REPORT_BUGS_TO): Likewise.
9706 * configure: Regenerated.
9707 * config.h.in (PKGVERSION): New macro.
9708 (REPORT_BUGS_TO): Likewise.
9709 * config.make.in (PKGVERSION): New variable.
9710 (PKGVERSION_TEXI): Likewise.
9711 (REPORT_BUGS_TO): Likewise.
9712 (REPORT_BUGS_TEXI): Likewise.
9713 * Makefile (format-me): Use -I$(common-objpfx)manual.
9714 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9715 ($(common-objpfx)manual/%): New target.
9716 (manual/%): Remove target.
9717 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9718 (print_version): Use PKGVERSION.
9719 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9720 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9721 and REPORT_BUGS_TO.
9722 ($(objpfx)xtrace): Likewise.
9723 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9724 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9725 (print_version): Use PKGVERSION.
9726 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9727 (do_version): Use PKGVERSION.
9728 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9729 REPORT_BUGS_TO.
9730 (common-ldd-rewrite): Likewise.
9731 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9732 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9733 (print_version): Use PKGVERSION.
9734 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9735 * elf/pldd.c (argp_program_bug_address): Remove variable.
9736 (more_help): New function.
9737 (argp): Use more_help.
9738 (print_version): Use PKGVERSION.
9739 * elf/sln.c (main): Use PKGVERSION.
9740 (usage): Use REPORT_BUGS_TO.
9741 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9742 (top level): Use PKGVERSION.
9743 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9744 (print_version): Use PKGVERSION.
9745 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9746 (print_version): Use PKGVERSION.
9747 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9748 (print_version): Use PKGVERSION.
9749 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9750 (print_version): Use PKGVERSION.
9751 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9752 (print_version): Use PKGVERSION.
9753 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9754 (print_version): Use PKGVERSION.
9755 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9756 and BUGURL.
9757 ($(objpfx)memusage): Likewise.
9758 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9759 (do_version): Use PKGVERSION.
9760 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9761 (print_version): Use PKGVERSION.
9762 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9763 ($PKGVERSION): New variable.
9764 ($REPORT_BUGS_TO): Likewise.
9765 (usage): Use $REPORT_BUGS_TO.
9766 (top level): Use $PKGVERSION.
9767 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9768 ($(objpfx)pkgvers.texi): New rule.
9769 ($(objpfx)stamp-pkgvers): Likewise.
9770 * manual/install.texi: Include pkgvers.texi.
9771 (--with-pkgversion): Document new configure option.
9772 (--with-bugurl): Likewise.
9773 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9774 than necessarily for this particular distribution. Use
9775 REPORT_BUGS_TO for where to report bugs.
9776 * INSTALL: Regenerated.
9777 * manual/libc.texinfo: Include pkgvers.texi.
9778 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9779 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9780 (print_version): Use PKGVERSION.
9781 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9782 (print_version): Use PKGVERSION.
9783 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9784 (print_version): Use PKGVERSION.
9785 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9786 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9787 macro.
9788 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9789 (print_version): Use PKGVERSION.
9790 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9791 (print_version): Use PKGVERSION.
9792 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9793 and PKGVERSION.
9794
92e4b6a9
JM
9795 * timezone/checktab.awk: Update from tzcode 2012i.
9796 * timezone/ialloc.c: Likewise.
9797 * timezone/private.h: Likewise.
9798 * timezone/scheck.c: Likewise.
9799 * timezone/tzfile.h: Likewise.
9800 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9801 (TZVERSION): Hardcode tzcode version number.
9802 * timezone/zdump.c: Update from tzcode 2012i.
9803 * timezone/zic.c: Likewise.
9804 * timezone/version.h: New file.
9805 * timezone/README: Describe version.h. Update upstream location.
9806
9bde902c
JM
9807 [BZ #14824]
9808 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9809 (mktemp): Enable declaration.
9810 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9811 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9812 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9813 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9814 Likewise.
9815 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9816 Likewise.
9817 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9818 Likewise.
9819 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9820 Likewise.
9821 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9822 Likewise.
9823 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9824 Likewise.
9825
fb1ae1ee
JM
9826 [BZ #14821]
9827 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9828 offset in buffer as u_int32_t not u_long. Consistently use memcpy
9829 for copies of such integer values.
9830 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9831 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9832
2c1adbcb
AJ
98332012-11-09 Andreas Jaeger <aj@suse.de>
9834
9835 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9836 definitions and declarations that are provided by
9837 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9838
d0f8457e
AK
98392012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9840
3a235abb 9841 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
9842 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9843 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9844 definition.
9845
57241e26
MS
98462012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9847
9848 * elf/elf.h: Update comment before AArch64 relocations.
9849
60e8270d
DM
98502012-11-07 David S. Miller <davem@davemloft.net>
9851
9852 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9853 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9854 (__start_context): Declare.
9855 (__makecontext_ret): Delete.
9856 (__makecontext): Hook up __start_context instead of
9857 __makecontext_ret.
9858 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9859 (sysdep_routines): Add __start_context when in stdlib.
9860
0fbb0fbc
JM
98612012-11-07 Joseph Myers <joseph@codesourcery.com>
9862
9863 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9864 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9865 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
9866 hardcoded "nm".
9867 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
9868 (READELF): New variable. Use it instead of hardcoded "readelf".
9869
eb48db7e
L
98702012-11-07 H.J. Lu <hongjiu.lu@intel.com>
9871
9872 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9873 * sysdeps/x86/Makefile: Here.
9874 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9875 * sysdeps/x86/tst-xmmymm.sh: This.
9876
05bcf62a
JM
98772012-11-07 Joseph Myers <joseph@codesourcery.com>
9878
c4b6cf53
JM
9879 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9880 expectations.
9881 [UNIX98] (pthread_barrier_t): Do not expect.
9882 [UNIX98] (pthread_barrierattr_t): Likewise.
9883 [UNIX98] (pthread_spinlock_t): Likewise.
9884 [UNIX98] (pthread_barrier_destroy): Likewise.
9885 [UNIX98] (pthread_barrier_init): Likewise.
9886 [UNIX98] (pthread_barrier_wait): Likewise.
9887 [UNIX98] (pthread_barrierattr_destroy): Likewise.
9888 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9889 [UNIX98] (pthread_barrierattr_init): Likewise.
9890 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9891 [UNIX98] (pthread_getcpuclockid): Likewise.
9892 [UNIX98] (pthread_mutex_timedlock): Likewise.
9893 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9894 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9895 [UNIX98] (pthread_sigmask): Likewise.
9896 [UNIX98] (pthread_spin_destroy): Likewise.
9897 [UNIX98] (pthread_spin_init): Likewise.
9898 [UNIX98] (pthread_spin_lock): Likewise.
9899 [UNIX98] (pthread_spin_trylock): Likewise.
9900 [UNIX98] (pthread_spin_unlock): Likewise.
9901 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9902 Do not expect.
9903 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9904 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9905 [XPG3 || XPG4] (pthread_cond_t): Likewise.
9906 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9907 [XPG3 || XPG4] (pthread_key_t): Likewise.
9908 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9909 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9910 [XPG3 || XPG4] (pthread_once_t): Likewise.
9911 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9912 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9913 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9914 [XPG3 || XPG4] (pthread_t): Likewise.
9915
cbe6e120
JM
9916 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9917 not expect.
9918 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9919
1b126443
JM
9920 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9921 Change function return type to int.
9922
b961a573
JM
9923 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9924 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9925 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9926 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9927 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9928 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9929 [!POSIX] (posix_madvise): Likewise.
9930 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9931 && !UNIX98].
9932 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9933 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9934 (mode_t): Likewise.
9935 (posix_mem_offset): Likewise.
9936 (posix_typed_mem_get_info): Likewise.
9937 (posix_typed_mem_open): Likewise.
9938
9e188909
JM
9939 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9940 Change condition to [XOPEN2K8].
9941
05bcf62a
JM
9942 * conform/conformtest.pl: Preprocess allow-header data with -x c
9943 instead of from stdin.
9944 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9945 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9946 [C99-based standards] (cerfc): Likewise.
9947 [C99-based standards] (cexp2): Likewise.
9948 [C99-based standards] (cexpm1): Likewise.
9949 [C99-based standards] (clog10): Likewise.
9950 [C99-based standards] (clog1p): Likewise.
9951 [C99-based standards] (clog2): Likewise.
9952 [C99-based standards] (clgamma): Likewise.
9953 [C99-based standards] (ctgamma): Likewise.
9954 [C99-based standards] (cerff): Likewise.
9955 [C99-based standards] (cerfcf): Likewise.
9956 [C99-based standards] (cexp2f): Likewise.
9957 [C99-based standards] (cexpm1f): Likewise.
9958 [C99-based standards] (clog10f): Likewise.
9959 [C99-based standards] (clog1pf): Likewise.
9960 [C99-based standards] (clog2f): Likewise.
9961 [C99-based standards] (clgammaf): Likewise.
9962 [C99-based standards] (ctgammaf): Likewise.
9963 [C99-based standards] (cerfl): Likewise.
9964 [C99-based standards] (cerfcl): Likewise.
9965 [C99-based standards] (cexp2l): Likewise.
9966 [C99-based standards] (cexpm1l): Likewise.
9967 [C99-based standards] (clog10l): Likewise.
9968 [C99-based standards] (clog1pl): Likewise.
9969 [C99-based standards] (clog2l): Likewise.
9970 [C99-based standards] (clgammal): Likewise.
9971 [C99-based standards] (ctgammal): Likewise.
9972 * conform/data/inttypes.h-data [C99-based standards]: Include
9973 stdint.h-data. Remove all expectations for stdint.h contents.
9974 [C99-based standards] (PRI*): Do not allow.
9975 [C99-based standards] (SCN*): Likewise.
9976 [C99-based standards] (*_t): Likewise.
9977 [C99-based-standards] (PRId8): Expect macro.
9978 [C99-based-standards] (PRIi8): Likewise.
9979 [C99-based-standards] (PRIo8): Likewise.
9980 [C99-based-standards] (PRIu8): Likewise.
9981 [C99-based-standards] (PRIx8): Likewise.
9982 [C99-based-standards] (PRIX8): Likewise.
9983 [C99-based-standards] (SCNd8): Likewise.
9984 [C99-based-standards] (SCNi8): Likewise.
9985 [C99-based-standards] (SCNo8): Likewise.
9986 [C99-based-standards] (SCNu8): Likewise.
9987 [C99-based-standards] (SCNx8): Likewise.
9988 [C99-based-standards] (PRIdLEAST8): Likewise.
9989 [C99-based-standards] (PRIiLEAST8): Likewise.
9990 [C99-based-standards] (PRIoLEAST8): Likewise.
9991 [C99-based-standards] (PRIuLEAST8): Likewise.
9992 [C99-based-standards] (PRIxLEAST8): Likewise.
9993 [C99-based-standards] (PRIXLEAST8): Likewise.
9994 [C99-based-standards] (SCNdLEAST8): Likewise.
9995 [C99-based-standards] (SCNiLEAST8): Likewise.
9996 [C99-based-standards] (SCNoLEAST8): Likewise.
9997 [C99-based-standards] (SCNuLEAST8): Likewise.
9998 [C99-based-standards] (SCNxLEAST8): Likewise.
9999 [C99-based-standards] (PRIdFAST8): Likewise.
10000 [C99-based-standards] (PRIiFAST8): Likewise.
10001 [C99-based-standards] (PRIoFAST8): Likewise.
10002 [C99-based-standards] (PRIuFAST8): Likewise.
10003 [C99-based-standards] (PRIxFAST8): Likewise.
10004 [C99-based-standards] (PRIXFAST8): Likewise.
10005 [C99-based-standards] (SCNdFAST8): Likewise.
10006 [C99-based-standards] (SCNiFAST8): Likewise.
10007 [C99-based-standards] (SCNoFAST8): Likewise.
10008 [C99-based-standards] (SCNuFAST8): Likewise.
10009 [C99-based-standards] (SCNxFAST8): Likewise.
10010 [C99-based-standards] (PRId16): Likewise.
10011 [C99-based-standards] (PRIi16): Likewise.
10012 [C99-based-standards] (PRIo16): Likewise.
10013 [C99-based-standards] (PRIu16): Likewise.
10014 [C99-based-standards] (PRIx16): Likewise.
10015 [C99-based-standards] (PRIX16): Likewise.
10016 [C99-based-standards] (SCNd16): Likewise.
10017 [C99-based-standards] (SCNi16): Likewise.
10018 [C99-based-standards] (SCNo16): Likewise.
10019 [C99-based-standards] (SCNu16): Likewise.
10020 [C99-based-standards] (SCNx16): Likewise.
10021 [C99-based-standards] (PRIdLEAST16): Likewise.
10022 [C99-based-standards] (PRIiLEAST16): Likewise.
10023 [C99-based-standards] (PRIoLEAST16): Likewise.
10024 [C99-based-standards] (PRIuLEAST16): Likewise.
10025 [C99-based-standards] (PRIxLEAST16): Likewise.
10026 [C99-based-standards] (PRIXLEAST16): Likewise.
10027 [C99-based-standards] (SCNdLEAST16): Likewise.
10028 [C99-based-standards] (SCNiLEAST16): Likewise.
10029 [C99-based-standards] (SCNoLEAST16): Likewise.
10030 [C99-based-standards] (SCNuLEAST16): Likewise.
10031 [C99-based-standards] (SCNxLEAST16): Likewise.
10032 [C99-based-standards] (PRIdFAST16): Likewise.
10033 [C99-based-standards] (PRIiFAST16): Likewise.
10034 [C99-based-standards] (PRIoFAST16): Likewise.
10035 [C99-based-standards] (PRIuFAST16): Likewise.
10036 [C99-based-standards] (PRIxFAST16): Likewise.
10037 [C99-based-standards] (PRIXFAST16): Likewise.
10038 [C99-based-standards] (SCNdFAST16): Likewise.
10039 [C99-based-standards] (SCNiFAST16): Likewise.
10040 [C99-based-standards] (SCNoFAST16): Likewise.
10041 [C99-based-standards] (SCNuFAST16): Likewise.
10042 [C99-based-standards] (SCNxFAST16): Likewise.
10043 [C99-based-standards] (PRId32): Likewise.
10044 [C99-based-standards] (PRIi32): Likewise.
10045 [C99-based-standards] (PRIo32): Likewise.
10046 [C99-based-standards] (PRIu32): Likewise.
10047 [C99-based-standards] (PRIx32): Likewise.
10048 [C99-based-standards] (PRIX32): Likewise.
10049 [C99-based-standards] (SCNd32): Likewise.
10050 [C99-based-standards] (SCNi32): Likewise.
10051 [C99-based-standards] (SCNo32): Likewise.
10052 [C99-based-standards] (SCNu32): Likewise.
10053 [C99-based-standards] (SCNx32): Likewise.
10054 [C99-based-standards] (PRIdLEAST32): Likewise.
10055 [C99-based-standards] (PRIiLEAST32): Likewise.
10056 [C99-based-standards] (PRIoLEAST32): Likewise.
10057 [C99-based-standards] (PRIuLEAST32): Likewise.
10058 [C99-based-standards] (PRIxLEAST32): Likewise.
10059 [C99-based-standards] (PRIXLEAST32): Likewise.
10060 [C99-based-standards] (SCNdLEAST32): Likewise.
10061 [C99-based-standards] (SCNiLEAST32): Likewise.
10062 [C99-based-standards] (SCNoLEAST32): Likewise.
10063 [C99-based-standards] (SCNuLEAST32): Likewise.
10064 [C99-based-standards] (SCNxLEAST32): Likewise.
10065 [C99-based-standards] (PRIdFAST32): Likewise.
10066 [C99-based-standards] (PRIiFAST32): Likewise.
10067 [C99-based-standards] (PRIoFAST32): Likewise.
10068 [C99-based-standards] (PRIuFAST32): Likewise.
10069 [C99-based-standards] (PRIxFAST32): Likewise.
10070 [C99-based-standards] (PRIXFAST32): Likewise.
10071 [C99-based-standards] (SCNdFAST32): Likewise.
10072 [C99-based-standards] (SCNiFAST32): Likewise.
10073 [C99-based-standards] (SCNoFAST32): Likewise.
10074 [C99-based-standards] (SCNuFAST32): Likewise.
10075 [C99-based-standards] (SCNxFAST32): Likewise.
10076 [C99-based-standards] (PRId64): Likewise.
10077 [C99-based-standards] (PRIi64): Likewise.
10078 [C99-based-standards] (PRIo64): Likewise.
10079 [C99-based-standards] (PRIu64): Likewise.
10080 [C99-based-standards] (PRIx64): Likewise.
10081 [C99-based-standards] (PRIX64): Likewise.
10082 [C99-based-standards] (SCNd64): Likewise.
10083 [C99-based-standards] (SCNi64): Likewise.
10084 [C99-based-standards] (SCNo64): Likewise.
10085 [C99-based-standards] (SCNu64): Likewise.
10086 [C99-based-standards] (SCNx64): Likewise.
10087 [C99-based-standards] (PRIdLEAST64): Likewise.
10088 [C99-based-standards] (PRIiLEAST64): Likewise.
10089 [C99-based-standards] (PRIoLEAST64): Likewise.
10090 [C99-based-standards] (PRIuLEAST64): Likewise.
10091 [C99-based-standards] (PRIxLEAST64): Likewise.
10092 [C99-based-standards] (PRIXLEAST64): Likewise.
10093 [C99-based-standards] (SCNdLEAST64): Likewise.
10094 [C99-based-standards] (SCNiLEAST64): Likewise.
10095 [C99-based-standards] (SCNoLEAST64): Likewise.
10096 [C99-based-standards] (SCNuLEAST64): Likewise.
10097 [C99-based-standards] (SCNxLEAST64): Likewise.
10098 [C99-based-standards] (PRIdFAST64): Likewise.
10099 [C99-based-standards] (PRIiFAST64): Likewise.
10100 [C99-based-standards] (PRIoFAST64): Likewise.
10101 [C99-based-standards] (PRIuFAST64): Likewise.
10102 [C99-based-standards] (PRIxFAST64): Likewise.
10103 [C99-based-standards] (PRIXFAST64): Likewise.
10104 [C99-based-standards] (SCNdFAST64): Likewise.
10105 [C99-based-standards] (SCNiFAST64): Likewise.
10106 [C99-based-standards] (SCNoFAST64): Likewise.
10107 [C99-based-standards] (SCNuFAST64): Likewise.
10108 [C99-based-standards] (SCNxFAST64): Likewise.
10109 [C99-based-standards] (PRIdMAX): Likewise.
10110 [C99-based-standards] (PRIiMAX): Likewise.
10111 [C99-based-standards] (PRIoMAX): Likewise.
10112 [C99-based-standards] (PRIuMAX): Likewise.
10113 [C99-based-standards] (PRIxMAX): Likewise.
10114 [C99-based-standards] (PRIXMAX): Likewise.
10115 [C99-based-standards] (SCNdMAX): Likewise.
10116 [C99-based-standards] (SCNiMAX): Likewise.
10117 [C99-based-standards] (SCNoMAX): Likewise.
10118 [C99-based-standards] (SCNuMAX): Likewise.
10119 [C99-based-standards] (SCNxMAX): Likewise.
10120 [C99-based-standards] (PRIdPTR): Likewise.
10121 [C99-based-standards] (PRIiPTR): Likewise.
10122 [C99-based-standards] (PRIoPTR): Likewise.
10123 [C99-based-standards] (PRIuPTR): Likewise.
10124 [C99-based-standards] (PRIxPTR): Likewise.
10125 [C99-based-standards] (PRIXPTR): Likewise.
10126 [C99-based-standards] (SCNdPTR): Likewise.
10127 [C99-based-standards] (SCNiPTR): Likewise.
10128 [C99-based-standards] (SCNoPTR): Likewise.
10129 [C99-based-standards] (SCNuPTR): Likewise.
10130 [C99-based-standards] (SCNxPTR): Likewise.
10131 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10132 allow.
10133 * conform/data/stdint.h-data: Update comments to clarify
10134 requirements.
10135 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10136 type.
10137 [C99-based standards] (INT8_MAX): Likewise.
10138 [C99-based standards] (INT16_MIN): Likewise.
10139 [C99-based standards] (INT16_MAX): Likewise.
10140 [C99-based standards] (INT32_MIN): Likewise.
10141 [C99-based standards] (INT32_MAX): Likewise.
10142 [C99-based standards] (INT64_MIN): Likewise.
10143 [C99-based standards] (INT64_MAX): Likewise.
10144 [C99-based standards] (UINT8_MAX): Likewise.
10145 [C99-based standards] (UINT16_MAX): Likewise.
10146 [C99-based standards] (UINT32_MAX): Likewise.
10147 [C99-based standards] (UINT64_MAX): Likewise.
10148 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10149 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10150 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10151 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10152 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10153 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10154 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10155 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10156 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10157 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10158 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10159 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10160 [C99-based standards] (INT_FAST8_MIN): Likewise.
10161 [C99-based standards] (INT_FAST8_MAX): Likewise.
10162 [C99-based standards] (INT_FAST16_MIN): Likewise.
10163 [C99-based standards] (INT_FAST16_MAX): Likewise.
10164 [C99-based standards] (INT_FAST32_MIN): Likewise.
10165 [C99-based standards] (INT_FAST32_MAX): Likewise.
10166 [C99-based standards] (INT_FAST64_MIN): Likewise.
10167 [C99-based standards] (INT_FAST64_MAX): Likewise.
10168 [C99-based standards] (UINT_FAST8_MAX): Likewise.
10169 [C99-based standards] (UINT_FAST16_MAX): Likewise.
10170 [C99-based standards] (UINT_FAST32_MAX): Likewise.
10171 [C99-based standards] (UINT_FAST64_MAX): Likewise.
10172 [C99-based standards] (INTPTR_MIN): Likewise.
10173 [C99-based standards] (INTPTR_MAX): Likewise.
10174 [C99-based standards] (UINTPTR_MAX): Likewise.
10175 [C99-based standards] (INTMAX_MIN): Likewise.
10176 [C99-based standards] (INTMAX_MAX): Likewise.
10177 [C99-based standards] (UINTMAX_MAX): Likewise.
10178 [C99-based standards] (PTRDIFF_MIN): Likewise.
10179 [C99-based standards] (PTRDIFF_MAX): Likewise.
10180 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10181 [C99-based standards] (SIZE_MAX): Likewise.
10182 [C99-based standards] (WCHAR_MAX): Likewise.
10183 [C99-based standards] (WINT_MAX): Likewise.
10184 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10185 constraint on value.
10186 [C99-based standards] (WCHAR_MIN): Likewise.
10187 [C99-based standards] (WINT_MIN): Likewise.
10188 [C99-based standards] (*_t): Allow.
10189 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10190 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10191 Include math.h-data and complex.h-data. Remove all expectations
10192 of math.h and complex.h contents.
10193 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10194 at end of line.
10195 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10196 (struct tm): Expect tag.
10197 [C99-based-standards] (wcstof): Expect function.
10198 [C99-based-standards] (wcstold): Likewise.
10199 [C99-based-standards] (wcstoll): Likewise.
10200 [C99-based-standards] (wcstoull): Likewise.
10201 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10202 macro-int-constant. Specify type.
10203 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10204 constraint on value.
10205 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10206 Specify type.
10207 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10208 Specify value.
10209 [ISO C standards]: Do not allow headers.
10210 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10211 wcs[abcdefghijklmnopqrstuvwxyz]*.
10212 [ISO C standards] (*_t): Do not allow.
10213 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10214 Expect function.
10215 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10216 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10217 Specify type.
10218 [ISO C standards]: Do not allow headers.
10219 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10220 is[abcdefghijklmnopqrstuvwxyz]*.
10221 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10222 to[abcdefghijklmnopqrstuvwxyz]*.
10223 [ISO C standards] (*_t): Do not allow.
10224 * conform/data/stdalign.h-data: New file.
10225 * conform/data/stdbool.h-data: Likewise.
10226 * conform/data/stdnoreturn.h-data: Likewise.
10227
7514feb8
RM
102282012-11-07 Roland McGrath <roland@hack.frob.com>
10229
10230 [BZ #14815]
10231 * manual/filesys.texi (Directory Entries): Typo fix.
10232 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10233
19b2ecfc
MS
102342012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10235
10236 * elf/elf.h (EM_AARCH64): New macro.
10237 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10238 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10239 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10240 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10241 (R_AARCH64_TLSDESC): Likewise.
10242 (NT_ARM_TLS): Likewise.
10243 (NT_ARM_HW_BREAK): Likewise.
10244 (NT_ARM_HW_WATCH): Likewise.
10245
60e235ee
JM
102462012-11-07 Joseph Myers <joseph@codesourcery.com>
10247
10248 [BZ #14811]
10249 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10250 (__ieee754_powl): Saturate nonzero exponents with absolute value
10251 below 0x1p-79 to +/- 0x1p-79.
10252 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10253 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10254 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10255 nonzero exponents with absolute value below 0x1p-32 to +/-
10256 0x1p-32.
10257 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10258 (__ieee754_powl): Saturate nonzero exponents with absolute value
10259 below 0x1p-79 to +/- 0x1p-79.
10260 * math/libm-test.inc (pow_test): Add more tests.
10261
0ab234b7
AK
102622012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10263
10264 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10265 _dl_s390_cap_flags with kernel. Increase string length.
10266 (_dl_s390_platforms): Add z196 and zEC12.
10267
45832f74
JM
102682012-11-07 Joseph Myers <joseph@codesourcery.com>
10269
10270 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10271 Change XOPEN21K to XOPEN2K.
10272
19218757
MK
102732012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10274
10275 * string/memmove.c: Use memcpy when possible.
10276
c5f45721
AJ
102772012-11-06 Andreas Jaeger <aj@suse.de>
10278
10279 * po/eo.po: Update from translation team.
10280
82477c28
JM
102812012-11-06 Joseph Myers <joseph@codesourcery.com>
10282
10283 [BZ #14793]
10284 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10285 exponent and small x and y exponents, scale x or y up. Increase
10286 by 2 the exponent used in scaling up.
10287 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10288 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10289 * math/libm-test.inc (fma_test): Add more tests.
10290 (fma_test_towardzero): Likewise.
10291 (fma_test_downward): Likewise.
10292 (fma_test_upward): Likewise.
10293
99252c8c
JM
102942012-11-05 Joseph Myers <joseph@codesourcery.com>
10295
acfa885f
JM
10296 [BZ #14805]
10297 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10298 fenv_t *.
10299
99252c8c
JM
10300 [BZ #14801]
10301 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10302 namespace for names of struct fields.
10303 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10304 fenv_t fields.
10305 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10306 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10307
d6d98dea
ST
103082012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10309
10310 [BZ #3665]
10311 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10312
e10bb107
TS
103132012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10314
10315 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10316 PTR_DEMANGLE.
10317
10318 [BZ #5246]
10319 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10320 PTR_DEMANGLE.
10321
a0c2940d
JM
103222012-11-04 Joseph Myers <joseph@codesourcery.com>
10323
10324 [BZ #14797]
10325 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10326 definitely overflow as x * y not x * y + z.
10327 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10328 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10329 * math/libm-test.inc (fma_test): Add more tests.
10330 (fma_test_towardzero): Likewise.
10331 (fma_test_downward): Likewise.
10332 (fma_test_upward): Likewise.
10333
b830319d
TS
103342012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10335
10336 [BZ #157]
10337
10338 * include/stub-tag.h: Remove file.
10339 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10340 '#include' of it.
10341 * manual/maint.texi (Porting): Don't reference it.
10342 * Makerules ($(objpfx)stubs): Likewise.
10343 * dirent/closedir.c: Don't include <stub-tag.h>.
10344 * dirent/dirfd.c: Likewise.
10345 * dirent/fdopendir.c: Likewise.
10346 * dirent/getdents.c: Likewise.
10347 * dirent/getdents64.c: Likewise.
10348 * dirent/opendir.c: Likewise.
10349 * dirent/readdir.c: Likewise.
10350 * dirent/readdir64.c: Likewise.
10351 * dirent/readdir64_r.c: Likewise.
10352 * dirent/readdir_r.c: Likewise.
10353 * dirent/rewinddir.c: Likewise.
10354 * dirent/seekdir.c: Likewise.
10355 * dirent/telldir.c: Likewise.
10356 * gmon/profil.c: Likewise.
10357 * grp/setgroups.c: Likewise.
10358 * inet/if_index.c: Likewise.
10359 * io/access.c: Likewise.
10360 * io/chdir.c: Likewise.
10361 * io/chmod.c: Likewise.
10362 * io/chown.c: Likewise.
10363 * io/close.c: Likewise.
10364 * io/dup.c: Likewise.
10365 * io/dup2.c: Likewise.
10366 * io/dup3.c: Likewise.
10367 * io/euidaccess.c: Likewise.
10368 * io/faccessat.c: Likewise.
10369 * io/fchdir.c: Likewise.
10370 * io/fchmod.c: Likewise.
10371 * io/fchmodat.c: Likewise.
10372 * io/fchown.c: Likewise.
10373 * io/fchownat.c: Likewise.
10374 * io/fcntl.c: Likewise.
10375 * io/flock.c: Likewise.
10376 * io/fstatfs.c: Likewise.
10377 * io/fstatfs64.c: Likewise.
10378 * io/fstatvfs.c: Likewise.
10379 * io/fstatvfs64.c: Likewise.
10380 * io/futimens.c: Likewise.
10381 * io/fxstat.c: Likewise.
10382 * io/fxstat64.c: Likewise.
10383 * io/fxstatat.c: Likewise.
10384 * io/fxstatat64.c: Likewise.
10385 * io/getcwd.c: Likewise.
10386 * io/isatty.c: Likewise.
10387 * io/lchmod.c: Likewise.
10388 * io/lchown.c: Likewise.
10389 * io/link.c: Likewise.
10390 * io/linkat.c: Likewise.
10391 * io/lseek.c: Likewise.
10392 * io/lseek64.c: Likewise.
10393 * io/lxstat64.c: Likewise.
10394 * io/mkdir.c: Likewise.
10395 * io/mkdirat.c: Likewise.
10396 * io/mkfifo.c: Likewise.
10397 * io/mkfifoat.c: Likewise.
10398 * io/open.c: Likewise.
10399 * io/open64.c: Likewise.
10400 * io/openat.c: Likewise.
10401 * io/openat64.c: Likewise.
10402 * io/pipe.c: Likewise.
10403 * io/pipe2.c: Likewise.
10404 * io/poll.c: Likewise.
10405 * io/posix_fadvise.c: Likewise.
10406 * io/posix_fadvise64.c: Likewise.
10407 * io/posix_fallocate.c: Likewise.
10408 * io/posix_fallocate64.c: Likewise.
10409 * io/read.c: Likewise.
10410 * io/readlink.c: Likewise.
10411 * io/readlinkat.c: Likewise.
10412 * io/rmdir.c: Likewise.
10413 * io/sendfile.c: Likewise.
10414 * io/sendfile64.c: Likewise.
10415 * io/statfs.c: Likewise.
10416 * io/statfs64.c: Likewise.
10417 * io/statvfs.c: Likewise.
10418 * io/statvfs64.c: Likewise.
10419 * io/symlink.c: Likewise.
10420 * io/symlinkat.c: Likewise.
10421 * io/ttyname.c: Likewise.
10422 * io/ttyname_r.c: Likewise.
10423 * io/umask.c: Likewise.
10424 * io/unlink.c: Likewise.
10425 * io/unlinkat.c: Likewise.
10426 * io/utime.c: Likewise.
10427 * io/utimensat.c: Likewise.
10428 * io/write.c: Likewise.
10429 * io/xmknod.c: Likewise.
10430 * io/xmknodat.c: Likewise.
10431 * io/xstat.c: Likewise.
10432 * io/xstat64.c: Likewise.
10433 * login/getpt.c: Likewise.
10434 * login/grantpt.c: Likewise.
10435 * login/unlockpt.c: Likewise.
10436 * math/e_acoshl.c: Likewise.
10437 * math/e_acosl.c: Likewise.
10438 * math/e_asinl.c: Likewise.
10439 * math/e_atan2l.c: Likewise.
10440 * math/e_atanhl.c: Likewise.
10441 * math/e_coshl.c: Likewise.
10442 * math/e_expl.c: Likewise.
10443 * math/e_fmodl.c: Likewise.
10444 * math/e_gammal_r.c: Likewise.
10445 * math/e_hypotl.c: Likewise.
10446 * math/e_j0l.c: Likewise.
10447 * math/e_j1l.c: Likewise.
10448 * math/e_jnl.c: Likewise.
10449 * math/e_lgammal_r.c: Likewise.
10450 * math/e_log10l.c: Likewise.
10451 * math/e_log2l.c: Likewise.
10452 * math/e_logl.c: Likewise.
10453 * math/e_powl.c: Likewise.
10454 * math/e_rem_pio2l.c: Likewise.
10455 * math/e_sinhl.c: Likewise.
10456 * math/e_sqrtl.c: Likewise.
10457 * math/fclrexcpt.c: Likewise.
10458 * math/fedisblxcpt.c: Likewise.
10459 * math/feenablxcpt.c: Likewise.
10460 * math/fegetenv.c: Likewise.
10461 * math/fegetexcept.c: Likewise.
10462 * math/fegetround.c: Likewise.
10463 * math/feholdexcpt.c: Likewise.
10464 * math/fesetenv.c: Likewise.
10465 * math/fesetround.c: Likewise.
10466 * math/feupdateenv.c: Likewise.
10467 * math/fgetexcptflg.c: Likewise.
10468 * math/fraiseexcpt.c: Likewise.
10469 * math/fsetexcptflg.c: Likewise.
10470 * math/ftestexcept.c: Likewise.
10471 * math/k_cosl.c: Likewise.
10472 * math/k_rem_pio2l.c: Likewise.
10473 * math/k_sinl.c: Likewise.
10474 * math/k_tanl.c: Likewise.
10475 * math/s_asinhl.c: Likewise.
10476 * math/s_atanl.c: Likewise.
10477 * math/s_cbrtl.c: Likewise.
10478 * math/s_erfl.c: Likewise.
10479 * math/s_expm1l.c: Likewise.
10480 * math/s_log1pl.c: Likewise.
10481 * math/s_tanhl.c: Likewise.
10482 * misc/acct.c: Likewise.
10483 * misc/brk.c: Likewise.
10484 * misc/chflags.c: Likewise.
10485 * misc/chroot.c: Likewise.
10486 * misc/fchflags.c: Likewise.
10487 * misc/fgetxattr.c: Likewise.
10488 * misc/flistxattr.c: Likewise.
10489 * misc/fremovexattr.c: Likewise.
10490 * misc/fsetxattr.c: Likewise.
10491 * misc/fsync.c: Likewise.
10492 * misc/ftruncate.c: Likewise.
10493 * misc/futimes.c: Likewise.
10494 * misc/futimesat.c: Likewise.
10495 * misc/getdomain.c: Likewise.
10496 * misc/getdtsz.c: Likewise.
10497 * misc/gethostid.c: Likewise.
10498 * misc/gethostname.c: Likewise.
10499 * misc/getloadavg.c: Likewise.
10500 * misc/getpagesize.c: Likewise.
10501 * misc/getsysstats.c: Likewise.
10502 * misc/getxattr.c: Likewise.
10503 * misc/gtty.c: Likewise.
10504 * misc/ioctl.c: Likewise.
10505 * misc/lgetxattr.c: Likewise.
10506 * misc/listxattr.c: Likewise.
10507 * misc/llistxattr.c: Likewise.
10508 * misc/lremovexattr.c: Likewise.
10509 * misc/lsetxattr.c: Likewise.
10510 * misc/lutimes.c: Likewise.
10511 * misc/madvise.c: Likewise.
10512 * misc/mincore.c: Likewise.
10513 * misc/mlock.c: Likewise.
10514 * misc/mlockall.c: Likewise.
10515 * misc/mmap.c: Likewise.
10516 * misc/mprotect.c: Likewise.
10517 * misc/msync.c: Likewise.
10518 * misc/munlock.c: Likewise.
10519 * misc/munlockall.c: Likewise.
10520 * misc/munmap.c: Likewise.
10521 * misc/preadv.c: Likewise.
10522 * misc/preadv64.c: Likewise.
10523 * misc/ptrace.c: Likewise.
10524 * misc/pwritev.c: Likewise.
10525 * misc/pwritev64.c: Likewise.
10526 * misc/readv.c: Likewise.
10527 * misc/reboot.c: Likewise.
10528 * misc/remap_file_pages.c: Likewise.
10529 * misc/removexattr.c: Likewise.
10530 * misc/revoke.c: Likewise.
10531 * misc/select.c: Likewise.
10532 * misc/setdomain.c: Likewise.
10533 * misc/setegid.c: Likewise.
10534 * misc/seteuid.c: Likewise.
10535 * misc/sethostid.c: Likewise.
10536 * misc/sethostname.c: Likewise.
10537 * misc/setregid.c: Likewise.
10538 * misc/setreuid.c: Likewise.
10539 * misc/setxattr.c: Likewise.
10540 * misc/sstk.c: Likewise.
10541 * misc/stty.c: Likewise.
10542 * misc/swapoff.c: Likewise.
10543 * misc/swapon.c: Likewise.
10544 * misc/sync.c: Likewise.
10545 * misc/syncfs.c: Likewise.
10546 * misc/syscall.c: Likewise.
10547 * misc/truncate.c: Likewise.
10548 * misc/ualarm.c: Likewise.
10549 * misc/usleep.c: Likewise.
10550 * misc/ustat.c: Likewise.
10551 * misc/utimes.c: Likewise.
10552 * misc/vhangup.c: Likewise.
10553 * misc/writev.c: Likewise.
10554 * posix/_exit.c: Likewise.
10555 * posix/alarm.c: Likewise.
10556 * posix/execve.c: Likewise.
10557 * posix/fexecve.c: Likewise.
10558 * posix/fork.c: Likewise.
10559 * posix/fpathconf.c: Likewise.
10560 * posix/getaddrinfo.c: Likewise.
10561 * posix/getegid.c: Likewise.
10562 * posix/geteuid.c: Likewise.
10563 * posix/getgid.c: Likewise.
10564 * posix/getgroups.c: Likewise.
10565 * posix/getlogin.c: Likewise.
10566 * posix/getlogin_r.c: Likewise.
10567 * posix/getpgid.c: Likewise.
10568 * posix/getpid.c: Likewise.
10569 * posix/getppid.c: Likewise.
10570 * posix/getresgid.c: Likewise.
10571 * posix/getresuid.c: Likewise.
10572 * posix/getsid.c: Likewise.
10573 * posix/getuid.c: Likewise.
10574 * posix/glob64.c: Likewise.
10575 * posix/nanosleep.c: Likewise.
10576 * posix/pathconf.c: Likewise.
10577 * posix/pause.c: Likewise.
10578 * posix/posix_madvise.c: Likewise.
10579 * posix/pread.c: Likewise.
10580 * posix/pread64.c: Likewise.
10581 * posix/pwrite.c: Likewise.
10582 * posix/pwrite64.c: Likewise.
10583 * posix/sched_getaffinity.c: Likewise.
10584 * posix/sched_getp.c: Likewise.
10585 * posix/sched_gets.c: Likewise.
10586 * posix/sched_primax.c: Likewise.
10587 * posix/sched_primin.c: Likewise.
10588 * posix/sched_rr_gi.c: Likewise.
10589 * posix/sched_setaffinity.c: Likewise.
10590 * posix/sched_setp.c: Likewise.
10591 * posix/sched_sets.c: Likewise.
10592 * posix/sched_yield.c: Likewise.
10593 * posix/setgid.c: Likewise.
10594 * posix/setlogin.c: Likewise.
10595 * posix/setpgid.c: Likewise.
10596 * posix/setresgid.c: Likewise.
10597 * posix/setresuid.c: Likewise.
10598 * posix/setsid.c: Likewise.
10599 * posix/setuid.c: Likewise.
10600 * posix/sleep.c: Likewise.
10601 * posix/spawni.c: Likewise.
10602 * posix/sysconf.c: Likewise.
10603 * posix/times.c: Likewise.
10604 * posix/wait.c: Likewise.
10605 * posix/wait3.c: Likewise.
10606 * posix/wait4.c: Likewise.
10607 * posix/waitpid.c: Likewise.
10608 * resolv/gai_sigqueue.c: Likewise.
10609 * resource/getpriority.c: Likewise.
10610 * resource/getrlimit.c: Likewise.
10611 * resource/getrusage.c: Likewise.
10612 * resource/nice.c: Likewise.
10613 * resource/setpriority.c: Likewise.
10614 * resource/setrlimit.c: Likewise.
10615 * resource/ulimit.c: Likewise.
10616 * rt/aio_cancel.c: Likewise.
10617 * rt/aio_fsync.c: Likewise.
10618 * rt/aio_read.c: Likewise.
10619 * rt/aio_sigqueue.c: Likewise.
10620 * rt/aio_suspend.c: Likewise.
10621 * rt/aio_write.c: Likewise.
10622 * rt/clock_getres.c: Likewise.
10623 * rt/clock_gettime.c: Likewise.
10624 * rt/clock_nanosleep.c: Likewise.
10625 * rt/clock_settime.c: Likewise.
10626 * rt/lio_listio.c: Likewise.
10627 * rt/mq_close.c: Likewise.
10628 * rt/mq_getattr.c: Likewise.
10629 * rt/mq_notify.c: Likewise.
10630 * rt/mq_open.c: Likewise.
10631 * rt/mq_receive.c: Likewise.
10632 * rt/mq_send.c: Likewise.
10633 * rt/mq_setattr.c: Likewise.
10634 * rt/mq_timedreceive.c: Likewise.
10635 * rt/mq_timedsend.c: Likewise.
10636 * rt/mq_unlink.c: Likewise.
10637 * rt/shm_open.c: Likewise.
10638 * rt/shm_unlink.c: Likewise.
10639 * rt/timer_create.c: Likewise.
10640 * rt/timer_delete.c: Likewise.
10641 * rt/timer_getoverr.c: Likewise.
10642 * rt/timer_gettime.c: Likewise.
10643 * rt/timer_settime.c: Likewise.
10644 * setjmp/__longjmp.c: Likewise.
10645 * setjmp/setjmp.c: Likewise.
10646 * signal/kill.c: Likewise.
10647 * signal/killpg.c: Likewise.
10648 * signal/raise.c: Likewise.
10649 * signal/sigaction.c: Likewise.
10650 * signal/sigaltstack.c: Likewise.
10651 * signal/sigblock.c: Likewise.
10652 * signal/sigignore.c: Likewise.
10653 * signal/sigintr.c: Likewise.
10654 * signal/signal.c: Likewise.
10655 * signal/sigpause.c: Likewise.
10656 * signal/sigpending.c: Likewise.
10657 * signal/sigqueue.c: Likewise.
10658 * signal/sigreturn.c: Likewise.
10659 * signal/sigset.c: Likewise.
10660 * signal/sigsetmask.c: Likewise.
10661 * signal/sigstack.c: Likewise.
10662 * signal/sigsuspend.c: Likewise.
10663 * signal/sigtimedwait.c: Likewise.
10664 * signal/sigvec.c: Likewise.
10665 * signal/sigwait.c: Likewise.
10666 * signal/sigwaitinfo.c: Likewise.
10667 * signal/sysv_signal.c: Likewise.
10668 * socket/accept.c: Likewise.
10669 * socket/accept4.c: Likewise.
10670 * socket/bind.c: Likewise.
10671 * socket/connect.c: Likewise.
10672 * socket/getpeername.c: Likewise.
10673 * socket/getsockname.c: Likewise.
10674 * socket/getsockopt.c: Likewise.
10675 * socket/isfdtype.c: Likewise.
10676 * socket/listen.c: Likewise.
10677 * socket/recv.c: Likewise.
10678 * socket/recvfrom.c: Likewise.
10679 * socket/recvmsg.c: Likewise.
10680 * socket/send.c: Likewise.
10681 * socket/sendmsg.c: Likewise.
10682 * socket/sendto.c: Likewise.
10683 * socket/setsockopt.c: Likewise.
10684 * socket/shutdown.c: Likewise.
10685 * socket/sockatmark.c: Likewise.
10686 * socket/socket.c: Likewise.
10687 * socket/socketpair.c: Likewise.
10688 * stdio-common/ctermid.c: Likewise.
10689 * stdio-common/cuserid.c: Likewise.
10690 * stdio-common/remove.c: Likewise.
10691 * stdio-common/rename.c: Likewise.
10692 * stdio-common/renameat.c: Likewise.
10693 * stdio-common/tempname.c: Likewise.
10694 * stdlib/getcontext.c: Likewise.
10695 * stdlib/makecontext.c: Likewise.
10696 * stdlib/setcontext.c: Likewise.
10697 * stdlib/swapcontext.c: Likewise.
10698 * stdlib/system.c: Likewise.
10699 * streams/fattach.c: Likewise.
10700 * streams/fdetach.c: Likewise.
10701 * streams/getmsg.c: Likewise.
10702 * streams/getpmsg.c: Likewise.
10703 * streams/putmsg.c: Likewise.
10704 * streams/putpmsg.c: Likewise.
10705 * sysdeps/unix/bsd/getpt.c: Likewise.
10706 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10707 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10708 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10710 Likewise.
10711 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10712 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10713 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10714 * sysvipc/msgctl.c: Likewise.
10715 * sysvipc/msgget.c: Likewise.
10716 * sysvipc/msgrcv.c: Likewise.
10717 * sysvipc/msgsnd.c: Likewise.
10718 * sysvipc/semctl.c: Likewise.
10719 * sysvipc/semget.c: Likewise.
10720 * sysvipc/semop.c: Likewise.
10721 * sysvipc/semtimedop.c: Likewise.
10722 * sysvipc/shmat.c: Likewise.
10723 * sysvipc/shmctl.c: Likewise.
10724 * sysvipc/shmdt.c: Likewise.
10725 * sysvipc/shmget.c: Likewise.
10726 * termios/tcdrain.c: Likewise.
10727 * termios/tcflow.c: Likewise.
10728 * termios/tcflush.c: Likewise.
10729 * termios/tcgetattr.c: Likewise.
10730 * termios/tcgetpgrp.c: Likewise.
10731 * termios/tcsendbrk.c: Likewise.
10732 * termios/tcsetattr.c: Likewise.
10733 * termios/tcsetpgrp.c: Likewise.
10734 * time/adjtime.c: Likewise.
10735 * time/clock.c: Likewise.
10736 * time/getitimer.c: Likewise.
10737 * time/gettimeofday.c: Likewise.
10738 * time/setitimer.c: Likewise.
10739 * time/settimeofday.c: Likewise.
10740 * time/stime.c: Likewise.
10741 * time/time.c: Likewise.
10742
107432012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 10744
a20492cf
PT
10745 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10746 /usr/old/bin.
10747
72e182e3
PT
10748 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10749 instead of spaces.
10750 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10751
fbeafede
JM
107522012-11-03 Joseph Myers <joseph@codesourcery.com>
10753
5b5b04d6
JM
10754 [BZ #14796]
10755 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10756 FE_TONEAREST before applying Dekker multiplication and Knuth
10757 addition. Clear inexact exceptions and check for exact zero
10758 results afterwards.
10759 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10760 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10761 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10762 * math/libm-test.inc (fma_test): Add more tests.
10763 (fma_test_towardzero): Likewise.
10764 (fma_test_downward): Likewise.
10765 (fma_test_upward): Likewise.
10766 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10767 function.
10768 (libc_fesetround): New macro.
10769 (libc_fesetroundf): Likewise.
10770 (libc_fesetroundl): Likewise.
10771 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10772 function.
10773 (libc_fesetround_387): Likewise.
10774 (libc_fesetroundf): New macro.
10775 (libc_fesetround): Likewise.
10776 (libc_fesetroundl): Likewise.
10777 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10778 function.
10779 (libc_fesetroundf): New macro.
10780 (libc_fesetround): Likewise.
10781 (libc_fesetroundl): Likewise.
10782 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10783 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10784 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10785 libm_hidden_ver.
10786 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10787 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10788 libm_hidden_def.
10789 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10790 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10791 libm_hidden_ver.
10792 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10793 libm_hidden_def.
10794
fbeafede
JM
10795 [BZ #3439]
10796 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10797 integer constant usable in #if and use that to give value to enum
10798 constant.
10799 (FE_DIVBYZERO): Likewise.
10800 (FE_UNDERFLOW): Likewise.
10801 (FE_OVERFLOW): Likewise.
10802 (FE_INVALID): Likewise.
10803 (FE_INVALID_SNAN): Likewise.
10804 (FE_INVALID_ISI): Likewise.
10805 (FE_INVALID_IDI): Likewise.
10806 (FE_INVALID_ZDZ): Likewise.
10807 (FE_INVALID_IMZ): Likewise.
10808 (FE_INVALID_COMPARE): Likewise.
10809 (FE_INVALID_SOFTWARE): Likewise.
10810 (FE_INVALID_SQRT): Likewise.
10811 (FE_INVALID_INTEGER_CONVERSION): Likewise.
10812 (FE_TONEAREST): Likewise.
10813 (FE_TOWARDZERO): Likewise.
10814 (FE_UPWARD): Likewise.
10815 (FE_DOWNWARD): Likewise.
10816 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10817 (FE_DIVBYZERO): Likewise.
10818 (FE_OVERFLOW): Likewise.
10819 (FE_UNDERFLOW): Likewise.
10820 (FE_INEXACT): Likewise.
10821 (FE_TONEAREST): Likewise.
10822 (FE_DOWNWARD): Likewise.
10823 (FE_UPWARD): Likewise.
10824 (FE_TOWARDZERO): Likewise.
10825 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10826 (FE_UNDERFLOW): Likewise.
10827 (FE_OVERFLOW): Likewise.
10828 (FE_DIVBYZERO): Likewise.
10829 (FE_INVALID): Likewise.
10830 (FE_TONEAREST): Likewise.
10831 (FE_TOWARDZERO): Likewise.
10832 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10833 (FE_OVERFLOW): Likewise.
10834 (FE_UNDERFLOW): Likewise.
10835 (FE_DIVBYZERO): Likewise.
10836 (FE_INEXACT): Likewise.
10837 (FE_TONEAREST): Likewise.
10838 (FE_TOWARDZERO): Likewise.
10839 (FE_UPWARD): Likewise.
10840 (FE_DOWNWARD): Likewise.
10841 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10842 (FE_DIVBYZERO): Likewise.
10843 (FE_OVERFLOW): Likewise.
10844 (FE_UNDERFLOW): Likewise.
10845 (FE_INEXACT): Likewise.
10846 (FE_TONEAREST): Likewise.
10847 (FE_DOWNWARD): Likewise.
10848 (FE_UPWARD): Likewise.
10849 (FE_TOWARDZERO): Likewise.
10850
105ca950
CM
108512012-11-02 Chris Metcalf <cmetcalf@tilera.com>
10852
10853 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10854
a542b389
AS
108552012-11-03 Andreas Schwab <schwab@linux-m68k.org>
10856
10857 * scripts/cross-test-ssh.sh (command): Use newlines to separate
10858 commands. Quote $PWD.
10859 (blacklist_exports): Don't use remove_newlines. Replace "declare
10860 -x" by "export".
10861 (remove_newlines): Remove.
10862
f62c8abc
L
108632012-11-02 H.J. Lu <hongjiu.lu@intel.com>
10864
10865 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10866 * stdlib/stdlib.h (atof): Moved to ...
10867 * include/bits/stdlib-float.h: Here. New file.
10868 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10869 * stdlib/bits/stdlib-float.h: New file.
10870 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10871 -mno-sse -mno-mmx.
10872 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10873 <xmmintrin.h>.
10874
0155d5b2
JM
108752012-11-02 Joseph Myers <joseph@codesourcery.com>
10876
a68d0680
JM
10877 * conform/conformtest.pl (@headers): Add fenv.h.
10878 * conform/data/fenv.h-data: New file.
10879 * include/fenv.h [_ISOMAC]: Disable all contents of file except
10880 include of <math/fenv.h>.
10881
caf7f573
JM
10882 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10883 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10884 && !UNIX98]. Enables tests for XOPEN2K8.
10885 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10886 POSIX2008]: Likewise.
10887
6c073ad6
JM
10888 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10889 (struct rusage): Do not expect type or its members.
10890
0155d5b2
JM
10891 [BZ #3439]
10892 * math/math.h (FP_NAN): Define macro to integer constant usable in
10893 #if and use that to give value to enum constant.
10894 (FP_INFINITE): Likewise.
10895 (FP_ZERO): Likewise.
10896 (FP_SUBNORMAL): Likewise.
10897 (FP_NORMAL): Likewise.
10898
b5dcacb4
AS
108992012-11-02 Andreas Schwab <schwab@linux-m68k.org>
10900
10901 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10902 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10903 arguments.
10904
f7934be8
RM
109052012-11-02 Roland McGrath <roland@hack.frob.com>
10906
10907 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10908 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10909 autoconf-time if not.
10910 * configure.in: Remove AC_PREREQ.
10911
d7d08bde
TMQMF
109122012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10913
10914 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10915 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10916 of the internal implementation.
10917
dcdae19a
JM
109182012-11-02 Joseph Myers <joseph@codesourcery.com>
10919
10920 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10921 except include of <misc/sys/syslog.h>.
10922
d6cffd3e
AS
109232012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10924
10925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10926 function returns with a NULL context exit with zero.
10927
b3563932
TMQMF
109282012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10929
10930 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10931
b288a93d
L
109322012-11-01 H.J. Lu <hongjiu.lu@intel.com>
10933
10934 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10935 (run_program_cmd): This.
10936 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10937 (tst_langinfo): New variable. Use it.
10938
a2421a68
SAS
109392012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
10940
10941 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10942 floating point opcodes.
10943
6f796e1b
TS
109442012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10945
7402596b
TS
10946 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10947 variable.
10948
d0d4f868
TS
10949 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
10950
6f796e1b
TS
10951 * sysdeps/mach/hurd/powerpc: Remove directory.
10952 * sysdeps/mach/powerpc: Likewise.
10953
4da224a2
AS
109542012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10955
10956 * scripts/check-local-headers.sh: Ignore c++ headers.
10957
341dd673
TS
109582012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10959
10960 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
10961 __libc_cleanup_region_start argument.
10962
473611b2
JM
109632012-11-01 Joseph Myers <joseph@codesourcery.com>
10964
10965 [BZ #14784]
10966 [BZ #14785]
10967 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
10968 x * y using scaling, not as x * y + z.
10969 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10970 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10971 * math/libm-test.inc (fma_test): Add more tests.
10972 (fma_test_towardzero): Likewise.
10973 (fma_test_downward): Likewise.
10974 (fma_test_upward): Likewise.
10975
4078da3d
TS
109762012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10977
10978 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
10979
903252aa
JM
109802012-10-31 Joseph Myers <joseph@codesourcery.com>
10981
10982 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
10983 New variable.
10984
cbc818d0
TS
109852012-10-31 Thomas Schwinge <thomas@codesourcery.com>
10986
10987 * rt/tst-shm.c (worker): Correct checking for mmap failure.
10988
5a03cb1e
AS
109892012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10990
10991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10992 Fix sort order.
10993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10994 Likewise.
10995
90aff2ff
TMQMF
109962012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10997
10998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10999 Fix the order of the list for glibc 2.17.
11000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11001 Likewise.
11002
1818fcb7
AS
110032012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11004
11005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11006
ef82f4da
JM
110072012-10-31 Joseph Myers <joseph@codesourcery.com>
11008
16a0e2ec
JM
11009 [BZ #14610]
11010 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11011 for low part of x being zero before using __atanl (y).
11012 * math/libm-test.inc (atan2_test): Add another test.
11013
0eb69512
JM
11014 * manual/install.texi (Configuring and compiling): Document
11015 general use of test-wrapper and test-wrapper-env.
11016 * INSTALL: Regenerated.
11017
ef82f4da
JM
11018 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11019 (__fma): Do not extract and scale down low bits on after-rounding
11020 systems when result rounded to normal precision would have normal
11021 exponent.
11022 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11023 (__fmal): Do not extract and scale down low bits on after-rounding
11024 systems when result rounded to normal precision would have normal
11025 exponent.
11026 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11027 (__fmal): 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 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11031 macro.
11032 (fma_test): Add more tests.
11033 (fma_test_towardzero): Likewise.
11034 (fma_test_downward): Likewise.
11035 (fma_test_upward): Likewise.
11036
954ef0d9
L
110372012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11038
11039 * sysdeps/i386/tininess.h: Renamed to ...
11040 * sysdeps/x86/tininess.h: This.
11041 * sysdeps/x86_64/tininess.h: Removed.
11042
df61ffb2
JM
110432012-10-30 Joseph Myers <joseph@codesourcery.com>
11044
11045 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11046 input. Use $(build-program-cmd).
11047 ($(objpfx)tst-array1-static.out): Likewise.
11048 ($(objpfx)tst-array2.out): Likewise.
11049 ($(objpfx)tst-array3.out): Likewise.
11050 ($(objpfx)tst-array4.out): Likewise.
11051 ($(objpfx)tst-array5.out): Likewise.
11052 ($(objpfx)tst-array5-static.out): Likewise.
11053
01767843
CM
110542012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11055
47cc1490
CM
11056 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11057 if defined.
11058
01767843
CM
11059 * nss/nsswitch.h (nss_interface_function): Provide new
11060 macro for use with NSS functions.
11061 * grp/initgroups.c: Use new macro.
11062 * nss/getXXbyYY.c: Likewise.
11063 * nss/getXXbyYY_r.c: Likewise.
11064 * nss/getXXent.c: Likewise.
11065 * nss/getXXent_r.c: Likewise.
11066 * sysdeps/posix/getaddrinfo.c: Likewise.
11067
8321aa97
AJ
110682012-10-30 Andreas Jaeger <aj@suse.de>
11069
11070 * po/ru.po: Update Russion translation from translation project.
11071
2a27fd6d
JM
110722012-10-30 Joseph Myers <joseph@codesourcery.com>
11073
8627a232
JM
11074 [BZ #14152]
11075 [BZ #14783]
11076 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11077 result and shift together with sticky bit instead of replicating
11078 round-to-nearest rounding.
11079 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11080 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11081 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11082 missing underflow exceptions.
11083 (fma_test_towardzero): Add more tests.
11084 (fma_test_downward): Likewise.
11085 (fma_test_upward): Likewise.
11086
2a27fd6d
JM
11087 [BZ #14047]
11088 * sysdeps/generic/tininess.h: New file.
11089 * sysdeps/i386/tininess.h: Likewise.
11090 * sysdeps/sh/tininess.h: Likewise.
11091 * sysdeps/x86_64/tininess.h: Likewise.
11092 * stdlib/tst-strtod-underflow.c: Likewise.
11093 * stdlib/tst-tininess.c: Likewise.
11094 * stdlib/strtod_l.c: Include <tininess.h>.
11095 (round_and_return): Do not set errno for exact underflow cases.
11096 Force an underflow exception when setting errno for underflow.
11097 Determine underflow based on rounding to normal precision if
11098 TININESS_AFTER_ROUNDING.
11099 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11100 ERANGE for exact underflow cases.
11101 * stdlib/Makefile (tests): Add tst-tininess and
11102 tst-strtod-underflow.
11103 ($(objpfx)tst-tininess): Use $(link-libm).
11104 ($(objpfx)tst-strtod-underflow): Likewise.
11105
e7170363
AJ
111062012-10-30 Andreas Jaeger <aj@suse.de>
11107
e5088dc6
AJ
11108 [BZ#14767]
11109 * elf/Makefile (tests): Remove conditional for have-initfini-array
11110 since this is now always required and the variable does not exist
11111 anymore.
11112 (tests-static): Likewise.
11113 (modules-names): Likewise.
11114
e7170363 11115 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
11116
11117 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11118 merged with constructor/destructor.
11119 (init_array): Likewise.
11120 * elf/tst-array2dep.c (fini_array): Likewise.
11121 (init_array): Likewise.
11122
60457d8a
MF
111232012-10-29 Mike Frysinger <vapier@gentoo.org>
11124
11125 * manual/message.texi: Delete @cartouche tags.
11126
8bece752
PT
111272012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11128
94ce799f
PT
11129 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11130 EOPNOTSUPP.
11131 * sysdeps/mach/hurd/fsync.c: Likewise.
11132
8bece752
PT
11133 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11134 [_POSIX_REALTIME_SIGNALS]: Change condition to
11135 [_POSIX_REALTIME_SIGNALS > 0].
11136
86ebe6b1
AJ
111372012-10-27 Andreas Jaeger <aj@suse.de>
11138
11139 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11140 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11141 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11142 [__WORDSIZE != 64]: Likewise.
11143
54399c08
L
111442012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11145
11146 * iconvdata/tst-table.sh: Remove ${SHELL}.
11147 * iconvdata/tst-tables.sh: Likewise.
11148
e2211bed
DM
111492012-10-25 David S. Miller <davem@davemloft.net>
11150
11151 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11152 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11153 of strtoull.
11154
f303f97c
DM
11155 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11156 ifunc-impl-list.c
11157 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11158 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11159 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11160 file.
11161
1e9d84cd
RM
111622012-10-25 Roland McGrath <roland@hack.frob.com>
11163
11164 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11165 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11166 __getdirentries.
11167
df381762
JM
111682012-10-25 Joseph Myers <joseph@codesourcery.com>
11169 Jim Blandy <jimb@codesourcery.com>
11170
11171 * scripts/cross-test-ssh.sh: New file.
11172 * manual/install.texi (Configuring and compiling): Document use of
11173 cross-test-ssh.sh.
11174 * INSTALL: Regenerated.
11175
bff64913
PT
111762012-10-25 Pino Toscano <toscano.pino@tiscali.it>
11177
11178 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11179 EOPNOTSUPP.
11180
25fe8932
JM
111812012-10-25 Joseph Myers <joseph@codesourcery.com>
11182
11183 * Makeconfig (run-program-prefix): Fix comment.
11184
cc1290d0
JM
111852012-10-24 Joseph Myers <joseph@codesourcery.com>
11186 Jim Blandy <jimb@codesourcery.com>
11187
11188 * Makeconfig (test-wrapper): New variable,
11189 (test-wrapper-env): Likewise.
11190 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11191 (run-built-tests): Define to yes.
11192 (run-program-prefix): Use $(test-wrapper).
11193 (built-program-cmd): Likewise.
11194 * Rules (make-test-out): Use $(test-wrapper-env) and
11195 $(host-built-program-cmd).
11196 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11197 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11198 tst-pathopt.sh.
11199 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11200 $(test-wrapper-env) to tst-rtld-load-self.sh.
11201 ($(objpfx)order2.out): Use $(test-wrapper).
11202 ($(objpfx)tst-initorder.out): Likewise.
11203 ($(objpfx)tst-initorder2.out): Likewise.
11204 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11205 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11206 (test_wrapper_env): New variable. Use it to run ld.so.
11207 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11208 Use it to run ld.so.
11209 (test_wrapper_env): Likewise.
11210 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11211 $(test-wrapper) to run-iconv-test.sh.
11212 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11213 (ICONV): Use $test_wrapper.
11214 * posix/Makefile ($(objpfx)globtest.out): Pass
11215 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11216 globtest.sh, not $(run-program-prefix).
11217 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11218 (test_wrapper): Likewise.
11219 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11220 set together with run_via_rtld_prefix.
11221 (run_program_prefix): Define in terms of test_wrapper and
11222 run_via_rtld_prefix.
11223
6e6249d0
RM
112242012-10-24 Roland McGrath <roland@hack.frob.com>
11225
11226 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11227 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11228 Targets removed.
11229
11230 [BZ #14743]
11231 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11232 Declare __clock_getres, __clock_gettime, __clock_settime,
11233 __clock_nanosleep, and __clock_getcpuclockid.
11234 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11235 Remove librt_hidden_def (clock_gettime).
11236 * sysdeps/unix/clock_gettime.c: Likewise.
11237 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11238 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11239 * rt/clock_getres.c: Define __clock_getres as an alias.
11240 * sysdeps/posix/clock_getres.c: Likewise.
11241 * rt/clock_settime.c: Define __clock_settime as an alias.
11242 * sysdeps/unix/clock_settime.c: Likewise.
11243 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11244 * sysdeps/unix/clock_nanosleep.c: Likewise.
11245 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11246 * rt/clock-compat.c: New file.
11247 * rt/Makefile (librt-routines): Add clock-compat and move
11248 $(clock-routines) to ...
11249 (routines): ... here, new variable.
11250 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11251 Don't add get_clockfreq here.
11252 * rt/Versions (libc: GLIBC_2.17): New version set.
11253 Add clock_* symbols here.
11254 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11255 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11256 (GLIBC_2.17): Add clock_* symbols.
11257 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11258 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11259 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11261 Likewise.
11262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11263 Likewise.
11264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11266 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11268 * NEWS: Mention the move.
11269
11270 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11271 Use __open, __read, __close rather than their public counterparts.
11272 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11273 (__get_clockfreq_via_cpuinfo): Likewise.
11274 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11275 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11276
11277 * config.h.in (HAVE_IFUNC): New #undef.
11278 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11279 was successful.
11280 * configure: Regenerated.
11281
0cae3f4b
MF
112822012-10-24 Mike Frysinger <vapier@gentoo.org>
11283
11284 * configure.in: Move READELF check to start of file.
11285 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11286 libc_cv_asm_gnu_indirect_function in the process.
11287 * configure: Regenerated.
11288
8175a253
MF
112892012-10-24 Mike Frysinger <vapier@gentoo.org>
11290
11291 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11292 send the output to /dev/null.
11293 (libc_cv_cc_with_libunwind): Likewise.
11294 (libc_cv_as_noexecstack): Likewise.
11295 * configure: Regenerate.
11296
0708a7d1
JM
112972012-10-24 Joseph Myers <joseph@codesourcery.com>
11298
10b40d85
JM
11299 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11300
0708a7d1
JM
11301 * posix/globtest.sh (TMPDIR): Do not set.
11302 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11303 (testout): Likewise.
11304
9fddec1a
AJ
113052012-10-24 Andreas Jaeger <aj@suse.de>
11306
3a8db22f
AJ
11307 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11308 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11309 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11310 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11311 posix_fadvise64, posix_fallocate64.
11312
9fddec1a
AJ
11313 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11314 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11315 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11316 Likewise.
11317 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11318 Likewise.
11319 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11320
11321 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11322 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11323 <bits/fcntl-linux.h>.
11324 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11325
11326 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11327 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11328 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11329 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11330 [__WORDSIZE != 64]: Likewise.
11331
ebfd1bbd
JM
113322012-10-23 Joseph Myers <joseph@codesourcery.com>
11333
03ac099f
JM
11334 * Makeconfig (run-built-tests): New variable.
11335 * Rules [$(cross-compiling) = yes]: Change condition to
11336 [$(run-built-tests) = no].
11337 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11338 to [$(run-built-tests) = yes].
11339 * elf/Makefile [$(cross-compiling) = no]: Likewise
11340 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11341 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11342 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11343 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11344 * io/Makefile [$(cross-compiling) = no]: Likewise.
11345 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11346 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11347 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11348 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11349 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11350 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11351 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11352 * string/Makefile [$(cross-compiling) = no]: Likewise.
11353
ebfd1bbd
JM
11354 * posix/Makefile ($(objpfx)globtest.out): Pass
11355 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11356 $(rtld-installed-name).
11357 * posix/globtest.sh (elf_objpfx): Remove variable.
11358 (rtld_installed_name): Likewise.
11359 (library_path): Likewise.
11360 (run_program_prefix): New variable. Use for running globtest
11361 binary.
11362
166bca24
JB
113632012-10-23 Jim Blandy <jimb@codesourcery.com>
11364 Joseph Myers <joseph@codesourcery.com>
11365
11366 * Makeconfig (host-built-program-cmd): New variable.
11367 * elf/Makefile (tst-stackguard1-ARGS): Use
11368 $(host-built-program-cmd).
11369 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11370 (tst-spawn-ARGS): Likewise.
11371 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11372
88866099
JM
113732012-10-23 Joseph Myers <joseph@codesourcery.com>
11374 Jim Blandy <jimb@codesourcery.com>
11375
11376 * Makeconfig (run-via-rtld-prefix): New variable.
11377 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11378 (built-program-cmd): Likewise.
11379
b4b4c296
AJ
113802012-10-22 Andreas Jaeger <aj@suse.de>
11381
11382 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11383 __O_RSYNC if it exists, otherwise to O_SYNC.
11384
6fb54a22
JB
113852012-10-22 Jim Blandy <jimb@codesourcery.com>
11386 Joseph Myers <joseph@codesourcery.com>
11387
11388 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11389 /dev/null.
11390 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11391 from /dev/null
11392 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11393 /dev/null.
11394
481b90b9
AJ
113952012-10-22 Andreas Jaeger <aj@suse.de>
11396
2a0e2669
AJ
11397 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11398 Define always.
11399 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11400
76e38f9a
AJ
11401 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11402 bits/fcntl-linux.h.
11403
7cd37b43
AJ
11404 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11405 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11406
481b90b9
AJ
11407 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11408 to __O_LARGEFILE.
11409 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11410 to __O_LARGEFILE.
11411
aba75984
JB
114122012-10-21 Jim Blandy <jimb@codesourcery.com>
11413 Joseph Myers <joseph@codesourcery.com>
11414
11415 * config.make.in (NM): New variable.
11416
88d4247f
AJ
114172012-10-21 Andreas Jaeger <aj@suse.de>
11418
11419 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11420 definitions and declarations that are provided by
11421 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11422
f2eed205
L
114232012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11424
11425 [BZ #14683]
11426 * elf/Makefile (tests-static): Add tst-leaks1-static.
11427 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11428 ($(objpfx)tst-leaks1-static): New rule.
11429 ($(objpfx)tst-leaks1-static-mem): Likewise.
11430 (tst-leaks1-static-ENV): New macro.
11431 * elf/dl-open.c (dl_open_worker): Check the main application
11432 only if SHARED is defined.
11433 * elf/tst-leaks1-static.c: New file.
11434
335e6931
AJ
114352012-10-20 Andreas Jaeger <aj@suse.de>
11436
11437 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11438 generic values for Linux.
11439 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11440 and declarations that are provided by <bits/fcntl-linux.h> and
11441 include <bits/fcntl-linux.h>.
11442 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11443 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11444
ac5c94d3
RM
114452012-10-20 Roland McGrath <roland@hack.frob.com>
11446
11447 * io/fcntl.h: Move include of <bits/types.h> to the top and
11448 include it unconditionally.
11449
de54b33a
L
114502012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11451
228cfb01
L
11452 * wcsmbs/Makefile (tests-ifunc): New variable.
11453 (tests): Add $(tests-ifunc).
11454 * wcsmbs/test-wcschr-ifunc.c: New file.
11455 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11456 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11457 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11458 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11459 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11460
69f07e5f
L
11461 * string/Makefile (tests-ifunc): New variable.
11462 (tests): Add $(tests-ifunc).
11463 * string/test-memccpy.c (TEST_NAME): New macro.
11464 * string/test-memchr.c (TEST_NAME): Likewise.
11465 * string/test-memcmp.c (TEST_NAME): Likewise.
11466 * string/test-memcpy.c (TEST_NAME): Likewise.
11467 * string/test-memmem.c (TEST_NAME): Likewise.
11468 * string/test-memmove.c (TEST_NAME): Likewise.
11469 * string/test-memset.c (TEST_NAME): Likewise.
11470 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11471 * string/test-stpcpy.c (TEST_NAME): Likewise.
11472 * string/test-stpncpy.c (TEST_NAME): Likewise.
11473 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11474 * string/test-strcasestr.c (TEST_NAME): Likewise.
11475 * string/test-strcat.c (TEST_NAME): Likewise.
11476 * string/test-strchr.c (TEST_NAME): Likewise.
11477 * string/test-strcmp.c(TEST_NAME): Likewise.
11478 * string/test-strcpy.c (TEST_NAME): Likewise.
11479 * string/test-strcspn.c (TEST_NAME): Likewise.
11480 * string/test-strlen.c (TEST_NAME): Likewise.
11481 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11482 * string/test-strncmp.c (TEST_NAME): Likewise.
11483 * string/test-strncpy.c (TEST_NAME): Likewise.
11484 * string/test-strnlen.c (TEST_NAME): Likewise.
11485 * string/test-strpbrk.c (TEST_NAME): Likewise.
11486 * string/test-strrchr.c (TEST_NAME): Likewise.
11487 * string/test-strspn.c (TEST_NAME): Likewise.
11488 * string/test-strstr.c (TEST_NAME): Likewise.
11489 * string/test-bcopy-ifunc.c: New file.
11490 * string/test-bzero-ifunc.c: Likewise.
11491 * string/test-memccpy-ifunc.c: Likewise.
11492 * string/test-memchr-ifunc.c: Likewise.
11493 * string/test-memcmp-ifunc.c: Likewise.
11494 * string/test-memcpy-ifunc.c: Likewise.
11495 * string/test-memmem-ifunc.c: Likewise.
11496 * string/test-memmove-ifunc.c: Likewise.
11497 * string/test-mempcpy-ifunc.c: Likewise.
11498 * string/test-memset-ifunc.c: Likewise.
11499 * string/test-rawmemchr-ifunc.c: Likewise.
11500 * string/test-stpcpy-ifunc.c: Likewise.
11501 * string/test-stpncpy-ifunc.c: Likewise.
11502 * string/test-strcasecmp-ifunc.c: Likewise.
11503 * string/test-strcasestr-ifunc.c: Likewise.
11504 * string/test-strcat-ifunc.c: Likewise.
11505 * string/test-strchr-ifunc.c: Likewise.
11506 * string/test-strchrnul-ifunc.c: Likewise.
11507 * string/test-strcmp-ifunc.c: Likewise.
11508 * string/test-strcpy-ifunc.c: Likewise.
11509 * string/test-strcspn-ifunc.c: Likewise.
11510 * string/test-strlen-ifunc.c: Likewise.
11511 * string/test-strncasecmp-ifunc.c: Likewise.
11512 * string/test-strncat-ifunc.c: Likewise.
11513 * string/test-strncmp-ifunc.c: Likewise.
11514 * string/test-strncpy-ifunc.c: Likewise.
11515 * string/test-strnlen-ifunc.c: Likewise.
11516 * string/test-strpbrk-ifunc.c: Likewise.
11517 * string/test-strrchr-ifunc.c: Likewise.
11518 * string/test-strspn-ifunc.c: Likewise.
11519 * string/test-strstr-ifunc.c: Likewise.
11520
de54b33a
L
11521 * debug/Makefile (tests-ifunc): New variable.
11522 (tests): Add $(tests-ifunc).
11523 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11524 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11525 * debug/test-stpcpy_chk-ifunc.c: New file.
11526 * debug/test-strcpy_chk-ifunc.c: Likewise.
11527
88481c16
SP
115282012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11529
11530 [BZ #13601]
11531 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11532 header is not read in.
11533
135948bd
JM
115342012-10-19 Joseph Myers <joseph@codesourcery.com>
11535
89f1c388
JM
11536 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11537 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11538 directly. Pass built executable to script as
11539 $(built-program-cmd).
11540 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11541 $testprogram without using LD_LIBRARY_PATH and $ldso.
11542
e40a0d21
JM
11543 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11544 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11545 $(rtld-installed-name).
11546 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11547 (rtld_installed_name): Likewise.
11548 (library_path): Likewise.
11549 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11550 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11551 $(run-program-prefix) to tst-tables.sh.
11552 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11553 it to run tst-table-from and tst-table-to.
11554 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11555 Pass it to tst-table.sh.
11556 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11557 $(run-program-prefix) to tst-gettext.sh.
11558 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11559 tst-translit.sh.
11560 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11561 tst-gettext2.sh.
11562 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11563 to run tst-gettext.
11564 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11565 to run tst-gettext2.
11566 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11567 to run tst-translit.
11568 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11569 $(run-program-prefix) to tst-mtrace.sh.
11570 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11571 to run tst-mtrace.
11572 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11573 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11574 $(rtld-installed-name).
11575 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11576 (rtld_installed_name): Likewise.
11577 (run_program_prefix): New variable. Use it to run wordexp-test.
11578
728e272a
JM
11579 * Makeconfig (ARCH): Remove all definitions.
11580 (machine): Likewise.
11581 [ARCH]: Remove conditional code.
11582 [!objdir]: Give error.
11583 [!objdir] (objpfx): Remove.
11584 [!objdir] (common-objpfx): Likewise.
11585 [!objdir] (common-objdir): Likewise.
11586 * configure.in (config_makefile): Remove. Hardcode Makefile in
11587 AC_CONFIG_FILES call.
11588 * configure: Regenerated.
11589
d528cdcf
JM
11590 [BZ #13888]
11591 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11592 or TMPDIR.
11593 (testout): Likewise.
11594
135948bd
JM
11595 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11596 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11597 $(rtld-installed-name).
11598 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11599 (rtld_installed_name): Likwise.
11600 (runit): Remove function.
11601 (run_getconf): New variable, Use it for running getconf binary.
11602
38c78296
L
116032012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11604
11605 [BZ #14716]
11606 * string/test-memmem.c (check_result): New function.
11607 (do_one_test): Use it.
11608 (check1): New function.
11609 (test_main): Use it.
11610
d077f65f
MT
116112012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11612
11613 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11614
ced52c71
JM
116152012-10-18 Joseph Myers <joseph@codesourcery.com>
11616
11617 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11618 (_G_LSEEK64): Likewise.
11619 (_G_MMAP64): Likewise.
11620 (_G_FSTAT64): Likewise.
11621 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11622 (_G_LSEEK64): Likewise.
11623 (_G_MMAP64): Likewise.
11624 (_G_FSTAT64): Likewise.
11625 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11626 unconditional. Call __mmap64 directly.
11627 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11628 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11629 __lseek64 directly.
11630 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11631 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11632 __mmap64 directly.
11633 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11634 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11635 __lseek64 directly.
11636 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11637 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11638 __lseek64 directly.
11639 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11640 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11641 __lseek64 directly.
11642 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11643 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11644 __fxstat64 directly.
11645 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11646 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11647 unconditional.
11648 (freopen64) [!_G_OPEN64]: Remove conditional code.
11649 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11650 unconditional.
11651 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11652 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11653 unconditional.
11654 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11655 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11656 unconditional.
11657 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11658 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11659 unconditional.
11660 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11661 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11662 unconditional.
11663 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11664 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11665 unconditional.
11666 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11667 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11668 unconditional.
11669 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11670
b741de23
SP
116712012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11672
11673 [BZ #12140]
11674 * manual/memory.texi (Malloc Tunable Parameters): Add note
11675 about free list pointers overwriting some perturb bytes.
11676 Wording suggested by Roland McGrath.
11677
f9b9d9c9
JM
116782012-10-17 Joseph Myers <joseph@codesourcery.com>
11679
11680 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11681 (lgamma_test): Likewise.
11682 (tgamma_test): Likewise.
11683
172a631a
FW
116842012-10-16 Florian Weimer <fweimer@redhat.com>
11685
11686 [BZ #14700]
11687 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11688 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11689
e9f37252
MK
116902012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
11691
11692 * NEWS: Mention BZ #14716.
11693 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11694 when removing AVAILABLE1_USES_J macro.
11695
d394eb74
L
116962012-10-12 H.J. Lu <hongjiu.lu@intel.com>
11697
11698 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11699 (__bswap_64): __uint64_t for unsigned 64-bit int.
11700
ca38dc17
AS
117012012-10-12 Andreas Schwab <schwab@linux-m68k.org>
11702
11703 * include/string.h (memmem): Declare libc hidden alias.
11704 * string/memmem.c (memmem): Define libc hidden alias.
11705 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11706 __read, __close instead of open, read, close.
11707
9a387d1f
L
117082012-10-11 H.J. Lu <hongjiu.lu@intel.com>
11709
ac49ecaf
L
11710 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11711 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11712 global and hidden.
11713 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11714 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11715 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11716 Likewise.
11717 (__rawmemchr_sse2): Likewise.
11718 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11719 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11720 (__strchr_sse2): Likewise.
11721 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11722 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11723 (__strcasecmp_sse2): Likewise.
11724 (__strncasecmp_sse2): Likewise.
11725 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11726 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11727 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11728 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11729 (__strrchr_sse2): Likewise.
11730 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11731 ifunc-impl-list.c.
11732 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11733 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11734 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11735 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11736 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11737 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11738 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11739 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11740 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11741 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11742 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11743 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11744 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11745 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11746 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11747 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11748 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11749 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11750 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11751 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11752 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11753 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11754 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11755 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11756 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11757 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11758 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11759 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11760 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11761 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11762
b090e8ea
L
11763 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11764 global and hidden.
11765 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11766 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11767 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11768 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11769 Likewise.
11770 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11771 Likewise.
11772 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11773 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11774 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11775 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11776 ifunc-impl-list.c.
11777 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11778 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11779 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11780 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11781 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11782 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11783 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11784 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11785 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11786 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11787 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11788 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11789 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11790 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11791 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11792 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11793 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11794 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11795 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11796 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11797 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11798 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11799 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11800 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11801 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11802 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11803 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11804 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11805 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11806 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11807 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11808 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11809 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11810 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11811 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11812 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11813 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11814 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11815 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11816 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11817 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11818
11dd4af6
L
11819 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11820 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11821 * include/ifunc-impl-list.h: New file.
11822 * misc/ifunc-impl-list.c: Likewise.
11823 * misc/Makefile (routines): Add ifunc-impl-list.
11824 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11825 * string/test-string.h: Include <ifunc-impl-list.h>.
11826 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11827 impl_array): New variables.
11828 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11829 are defined.
11830 (test_init): Call __libc_ifunc_impl_list to initialize
11831 func_list if TEST_IFUNC and TEST_NAME are defined.
11832
9a387d1f
L
11833 * string/Makefile (strop-tests): Add bcopy and bzero.
11834 * string/test-bcopy.c: New file.
11835 * string/test-bzero.c: Likewise.
11836 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11837 defined.
11838 * string/test-memset.c: Support bzero test if TEST_BZERO is
11839 defined.
11840 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11841 __libc_memmove.
11842 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11843 __libc_memset.
11844 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11845 of memset.
11846
472371b9
JM
118472012-10-10 Joseph Myers <joseph@codesourcery.com>
11848
1e4a9536
JM
11849 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11850 * configure: Regenerated.
11851
d173d12e
JM
11852 * Makeconfig (+link-static-before-libc): Don't include
11853 $(link-static-libc).
11854
472371b9
JM
11855 * libio/libio.h (_IO_pos_t): Remove.
11856
89a3ad0b
AO
118572012-10-10 Alexandre Oliva <aoliva@redhat.com>
11858
11859 * NEWS: Add note about FIPS mode. Wording suggested by Roland
11860 McGrath.
11861
e7451425
AO
118622012-10-10 Alexandre Oliva <aoliva@redhat.com>
11863
11864 * crypt/crypt-entry.c: Include fips-private.h.
11865 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11866 * crypt/md5c-test.c (main): Tolerate disabled MD5.
11867 * sysdeps/unix/sysv/linux/fips-private.h: New file.
11868 * sysdeps/generic/fips-private.h: New file, dummy fallback.
11869
4ba74a35
AO
118702012-10-10 Alexandre Oliva <aoliva@redhat.com>
11871
11872 * crypt/crypt-private.h: Include stdbool.h.
11873 (_ufc_setup_salt_r): Return bool.
11874 * crypt/crypt-entry.c: Include errno.h.
11875 (__crypt_r): Return NULL with EINVAL for bad salt.
11876 * crypt/crypt_util.c (bad_for_salt): New.
11877 (_ufc_setup_salt_r): Check that salt is long enough and within
11878 the specified alphabet.
11879 * crypt/badsalttest.c: New file.
11880 * crypt/Makefile (tests): Add it.
11881 ($(objpfx)badsalttest): New.
11882
f96f1242
MK
118832012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
11884
11885 * NEWS: Add entry for BZ #14602.
11886
0e8e0c1c
JM
118872012-10-09 Joseph Myers <joseph@codesourcery.com>
11888
11889 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11890 type-generic.
11891 * math/libm-test.inc: Update comment listing what functions and
11892 macros are tested.
11893 (isgreater_test): New function.
11894 (isgreaterequal_test): Likewise.
11895 (isless_test): Likewise.
11896 (islessequal_test): Likewise.
11897 (islessgreater_test): Likewise.
11898 (isunordered_test): Likewise.
11899 (main): Call the new functions.
11900
273edc5e
RM
119012012-10-09 Roland McGrath <roland@hack.frob.com>
11902
b8493de0
RM
11903 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11904 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11905 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11906 * sysdeps/i386/configure: Regenerated.
11907 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11908 * sysdeps/mach/configure: Regenerated.
11909 * sysdeps/mach/hurd/configure: Regenerated.
11910 * sysdeps/powerpc/configure: Regenerated.
11911 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11912 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11913 * sysdeps/s390/s390-32/configure: Regenerated.
11914 * sysdeps/s390/s390-64/configure: Regenerated.
11915 * sysdeps/sh/configure: Regenerated.
11916 * sysdeps/sparc/configure: Regenerated.
11917 * sysdeps/unix/sysv/linux/configure: Regenerated.
11918 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11919 * sysdeps/x86_64/configure: Regenerated.
11920
273edc5e
RM
11921 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11922 defined. Don't check if MAP is NULL.
11923
c8450f70
JM
119242012-10-09 Joseph Myers <joseph@codesourcery.com>
11925
11926 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11927 (_G_stat64): Likewise.
11928 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11929 (_G_stat64): Likewise.
11930 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11931 instead of struct _G_stat64.
11932 * libio/fileops.c (mmap_remap_check): Likewise.
11933 (decide_maybe_mmap): Likewise.
11934 (_IO_new_file_seekoff): Likewise.
11935 (_IO_file_stat): Likewise.
11936 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11937 _G_off64_t.
11938 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11939 instead of struct _G_stat64.
11940 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11941
57e605ba
MK
119422012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
11943
11944 [BZ #14602]
11945 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11946 Replace with ...
11947 (CHECK_EOL): New macro.
11948 (two_way_short_needle): Check beginning of haystack for EOL. Use
11949 CHECK_EOL.
11950 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11951 Replace with CHECK_EOL.
11952 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11953 Replace with CHECK_EOL.
11954
ef1bb361
JM
119552012-10-08 Joseph Myers <joseph@codesourcery.com>
11956
11957 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
11958 type-generic.
11959 * math/libm-test.inc: Update comment listing what functions and
11960 macros are tested.
11961 (finite_test): New function.
11962 (isinf_test): Likewise.
11963 (isnan_test): Likewise.
11964 (fpclassify_test): Test subnormal input.
11965 (isfinite_test): Likewise.
11966 (isnormal_test): Likewise.
11967 (main): Call the new functions.
11968
55f11534
JN
119692012-10-08 Jonathan Nieder <jrnieder@gmail.com>
11970
11971 [BZ #14660]
11972 * Makerules (%.dynsym): Force C locale when running
11973 $(OBJDUMP) --dynamic-syms.
11974
1ab29350
AS
119752012-10-08 Andreas Schwab <schwab@linux-m68k.org>
11976
11977 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
11978 <stdint.h>.
11979
f1ecb7ef
DM
119802012-10-06 David S. Miller <davem@davemloft.net>
11981
11982 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
11983 upper 32-bits of the length value in %o2 since we use branch-on-register
11984 tests which consider the entire 64-bit register.
11985
5d41d91a
L
119862012-10-06 H.J. Lu <hongjiu.lu@intel.com>
11987
11988 * string/test-strstr.c (check2): Add a test for page boundary.
11989
3baddb72
DM
119902012-10-05 David S. Miller <davem@davemloft.net>
11991
11992 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
11993 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
11994 file.
11995 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11996 sysdep_routines.
11997 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11998 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
11999 and bzero when HWCAP_SPARC_CRYPTO is present.
12000
9cee5585
L
120012012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12002
d7e0dab9
L
12003 [BZ #14602]
12004 * string/test-strstr.c (check2): New function.
12005 (test_main): Call check2.
12006
03759f47
L
12007 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12008 and bug-strchr1.
12009 * string/bug-strcasestr1.c (do_test): Moved to ...
12010 * string/test-strcasestr.c (check1): Here. New function.
12011 (do_one_test): Break out result checking code into ...
12012 (check_result): This. New function.
12013 (do_one_test): Call check_result.
12014 (test_main): Call check1.
12015 * string/bug-strchr1.c (do_test): Moved to ...
12016 * string/test-strchr.c (check1): Here. New function.
12017 (do_one_test): Break out result checking code into ...
12018 (check_result): This. New function.
12019 (do_one_test): Call check_result.
12020 (test_main): Call check1.
12021 * string/bug-strstr1.c (main): Moved to ...
046f153e 12022 * string/test-strstr.c (check1): Here. New function.
03759f47
L
12023 (do_one_test): Break out result checking code into ...
12024 (check_result): This. New function.
12025 (do_one_test): Call check_result.
12026 (test_main): Call check1.
12027 * string/bug-strcasestr1.c: Removed.
12028 * string/bug-strchr1.c: Likewise.
12029 * string/bug-strstr1.c: Likewise.
12030
53cea63e
L
12031 * elf/Makefile (dl-routines): Add hwcaps.
12032 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12033 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12034 (_dl_important_hwcaps): Moved to ...
12035 * elf/dl-hwcaps.c: Here. New file.
12036 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12037
9cee5585 12038 [BZ #14557]
bb859b06
L
12039 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12040 if IS_IN_rtld isn't defined.
12041
9cee5585
L
12042 * elf/dl-support.c (_dl_sysinfo_map): New.
12043 Include "get-dynamic-info.h" and "setup-vdso.h".
12044 (_dl_non_dynamic_init): Call setup_vdso.
12045 * elf/dynamic-link.h: Don't include <assert.h>.
12046 (elf_get_dynamic_info): Moved to ...
12047 * elf/get-dynamic-info.h: Here. New file.
12048 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12049 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12050 * elf/setup-vdso.h: Here. New file.
12051 * elf/rtld.c: Include "setup-vdso.h".
12052 (dl_main): Call setup_vdso.
12053
23c31b76
JM
120542012-10-05 Joseph Myers <joseph@codesourcery.com>
12055
28234b07
JM
12056 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12057 creal in comment listing functions tested. List finite, isinf,
12058 isnan, isless, islessequal, isgreater, isgreaterequal,
12059 islessgreater, isunordered, lgamma_r and pow10 as functions and
12060 macros not tested. Mention which functions not tested are aliases
12061 for other functions. Fix typo. Note that signs of NaNs are not
12062 tested.
12063
23c31b76
JM
12064 * scripts/config.guess: Update from config.git.
12065 * scripts/config.sub: Likewise.
12066
9043e228
RM
120672012-10-04 Roland McGrath <roland@hack.frob.com>
12068
12069 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12070 * misc/madvise.c (madvise): Renamed to __madvise.
12071 Make madvise a weak alias.
12072 * include/sys/mman.h: Declare __madvise.
12073 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12074 * sysdeps/unix/syscalls.list
12075 (madvise): Make __madvise the strong name, and madvise a weak alias.
12076 * sysdeps/unix/sysv/linux/syscalls.list
12077 (madvise, mmap): Remove redundant entries.
12078 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12079 * malloc/malloc.c (mtrim): Likewise.
12080 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12081
f57f8055
RM
120822012-10-03 Roland McGrath <roland@hack.frob.com>
12083
12084 * sysdeps/mach/hurd/dl-cache.c: File removed.
12085 * config.h.in (USE_LDCONFIG): New #undef.
12086 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12087 * configure: Regenerated.
12088 * elf/Makefile (dl-routines): Add dl-cache only under
12089 [$(use-ldconfig) = yes].
12090 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12091 cache on [USE_LDCONFIG].
12092 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12093 [USE_LDCONFIG].
12094 * elf/rtld.c (dl_main): Likewise.
12095
5bb0c10a
PT
120962012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12097
12098 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12099 _SC_LEVEL4_CACHE_LINESIZE.
12100
010188c6
RM
121012012-10-03 Roland McGrath <roland@hack.frob.com>
12102
12103 * sysdeps/unix/bsd/confstr.h: File removed.
12104
b6c5ec07
AO
121052012-10-02 Alexandre Oliva <aoliva@redhat.com>
12106
12107 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12108 sys/sdt-config.h.
12109
408223d4
RM
121102012-10-02 Roland McGrath <roland@hack.frob.com>
12111
12112 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12113 Make 'mapoff' field ElfW(Off) rather than off_t.
12114
bb9510dc
DL
121152012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12116
fc997c6e
DL
12117 * nscd/Makefile: Remove nscd-cflags and all its users.
12118 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12119 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12120
bb9510dc
DL
12121 [BZ #10631]
12122 * malloc.c (malloc_printerr): Clarify error message.
12123
05699367
L
121242012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12125
12126 [BZ #14648]
12127 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12128 Set bit_FMA_Usable if FMA is supported.
12129 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12130 macro.
12131 (bit_FMA4_Usable): Updated.
12132 (index_FMA_Usable): New macro.
12133 (CPUID_FMA): Likewise
12134 (HAS_FMA): Defined with bit_FMA_Usable.
12135
51367701
RM
121362012-10-01 Roland McGrath <roland@hack.frob.com>
12137
12138 * bits/types.h (__swblk_t): Type removed.
12139 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12140 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12141 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12142 (__SWBLK_T_TYPE): Likewise.
12143 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12144 (__SWBLK_T_TYPE): Likewise.
12145 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12146 (__SWBLK_T_TYPE): Likewise.
12147 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12148 (__SWBLK_T_TYPE): Likewise.
12149
4d57bf63 121502012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 12151 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
12152
12153 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12154 (xdr_mapname): Use YPMAXMAP as maxsize.
12155 (xdr_peername): Use YPMAXPEER as maxsize.
12156 (xdr_keydat): Use YPAXRECORD as maxsize.
12157 (xdr_valdat): Use YPMAXRECORD as maxsize.
12158
93c65d43
RM
121592012-10-01 Roland McGrath <roland@hack.frob.com>
12160
497a03d6
RM
12161 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12162
93c65d43
RM
12163 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12164 * csu/init-first.c: ... here.
12165 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12166 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12167 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12168 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12169 * sysdeps/i386/init-first.c: File removed.
12170 * sysdeps/sh/init-first.c: File removed.
12171
bec749fd
JM
121722012-10-01 Joseph Myers <joseph@codesourcery.com>
12173
12174 [BZ #14645]
12175 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12176 if x * y might underflow to zero and z is zero.
12177 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12178 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12179 * math/libm-test.inc (min_subnorm_value): New variable.
12180 (fma_test): Add more tests.
12181 (fma_test_towardzero): Likewise.
12182 (fma_test_downward): Likewise
12183 (fma_test_upward): Likewise.
12184 (initialize): Set min_subnorm_value.
12185
8ec5b013
JM
121862012-09-29 Joseph Myers <joseph@codesourcery.com>
12187
12188 [BZ #14638]
12189 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12190 0 + 0.
12191 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12192 mode for addition resulting in exact zero.
12193 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12194 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12195 exact 0 + 0.
12196 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12197 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12198 * math/libm-test.inc (fma_test): Add more tests.
12199 (fma_test_towardzero): New function.
12200 (fma_test_downward): Likewise.
12201 (fma_test_upward): Likewise.
12202 (main): Call the new functions.
12203
b1fa802e
DM
122042012-09-28 David S. Miller <davem@davemloft.net>
12205
12206 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12207
d3b9fd9e
RM
122082012-09-28 Roland McGrath <roland@hack.frob.com>
12209
ea4d37b3
RM
12210 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12211 instead of SIGALRM.
12212
ac51c949
RM
12213 * sysdeps/gnu/_G_config.h: Moved to ...
12214 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12215 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12216 * sysdeps/generic/_G_config.h: ... here.
12217
28c195f7
RM
12218 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12219
848917f9
RM
12220 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12221
6bacf05b
RM
12222 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12223 Conditionalize target on [libnss_test1.so-version].
12224
91363dbb
RM
12225 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12226
cc87f7d8
RM
12227 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12228 (elfobjdir): Move out of conditionals.
12229
b1c608fe
RM
12230 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12231 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12232 (__nss_lookup_function): Conditionalize label remove_from_tree on
12233 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 12234
1d9a6d96
DM
122352012-09-28 David S. Miller <davem@davemloft.net>
12236
12237 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12238 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12239 file.
12240 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12241 sysdep_routines.
12242 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12243 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12244 when HWCAP_SPARC_CRYPTO is present.
12245
72581615
PT
122462012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12247
12248 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12249
715a900c
JL
122502012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12251
12252 [BZ #6530]
12253 * stdio-common/vfprintf.c (process_string_arg): Revert
12254 2000-07-22 change.
12255
122562011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12257
12258 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12259 for testcase.
12260 * stdio-common/tst-sprintf.c: Include <locale.h>
12261 (main): Test sprintf's handling of incomplete multibyte
12262 characters.
12263
9bac1d86
L
122642012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12265
12266 * elf/dl-runtime.c (VERSYMIDX): Removed.
12267 * elf/dl-version.c (VERSYMIDX): Likewise.
12268 * elf/do-rel.h (VERSYMIDX): Likewise.
12269 (VALIDX): Likewise.
12270 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12271 * elf/rtld.c (VALIDX): Likewise.
12272 (ADDRIDX): Likewise.
9bac1d86
L
12273 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12274 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12275 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
12276 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12277 (VALIDX): Likewise.
12278 (ADDRIDX): Likewise.
9bac1d86 12279
b31606c0
PT
122802012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12281
12282 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12283
11541177
JL
122842012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12285
12286 [BZ #11438]
12287 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12288 to global scope.
12289 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12290 addresses are in the same scope as 192.0.2/24.
12291 * posix/gai.conf: Document new scope table defaults.
12292
adb26fae
SP
122932012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12294
12295 [BZ #5298]
12296 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12297 for ftell. Compute offsets from write pointers instead.
12298 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12299
4573c6b0
SP
123002012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12301
12302 [BZ #14543]
12303 * libio/Makefile (tests): New test case tst-fseek.
12304 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12305 combination works in wide mode.
12306 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12307 state when the external buffer state changes.
12308
aa9bbfe6
DM
123092012-09-27 David S. Miller <davem@davemloft.net>
12310
12311 [BZ #14376]
12312 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12313 pass reloc->r_addend in as the 'high' argument to
12314 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12315
784421e7
DM
12316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12317
c39bc8b8
PT
123182012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12319
12320 * rt/tst-aio2.c: Include <pthread.h>.
12321 * rt/tst-aio3.c: Likewise.
12322
1ccc2399
SE
123232012-09-27 Steve Ellcey <sellcey@mips.com>
12324
12325 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12326
31ed4153
L
123272012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12328
25f5f885
L
12329 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12330 contents on [SHARED].
31ed4153 12331
b7bfe116
MP
123322012-09-26 Marek Polacek <polacek@redhat.com>
12333
12334 [BZ #14530]
12335 [BZ #13741]
12336 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12337 for C++ and GCC <4.3 as well as for non GCC compilers.
12338
43c4edba
MT
123392012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12340
12341 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12342
6a1bf82f
RM
123432012-09-25 Roland McGrath <roland@hack.frob.com>
12344
12345 * Makefile.in (all, install): Declare with .PHONY.
12346 Reported by Michael Hope <michael.hope@linaro.org>.
12347
8ad11b9a
TMQMF
123482012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12349
12350 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12351 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12352 system header.
12353 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12354 Likewise.
12355 (sydep_routines): Add the new and the internal functions.
12356 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12357 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12359 (GLIBC_2.17): Add the new function.
12360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12361 (GLIBC_2.17): Likewise.
12362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12363 (GLIBC_2.17): Likewise.
12364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12365 (GLIBC_2.17): Likewise.
12366 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12367
7e2fca8d
AM
123682012-09-25 Alan Modra <amodra@gmail.com>
12369
12370 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12371 Add release barrier before setting once_control to say
12372 initialisation is done. Add hints on lwarx. Use macro in
12373 place of isync.
12374 (clear_once_control): Add release barrier.
12375
b87c4b24
JM
123762012-09-25 Joseph Myers <joseph@codesourcery.com>
12377
d032e0d2
JM
12378 [BZ #13629]
12379 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12380 specially.
12381 * math/s_clog10.c (__clog10): Likewise.
12382 * math/s_clog10f.c (__clog10f): Likewise.
12383 * math/s_clog10l.c (__clog10l): Likewise.
12384 * math/s_clogf.c (__clogf): Likewise.
12385 * math/s_clogl.c (__clogl): Likewise.
12386 * math/Makefile (libm-calls): Add x2y2m1.
12387 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12388 (__x2y2m1): Likewise.
12389 (__x2y2m1l): Likewise.
12390 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12391 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12392 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12393 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12394 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12395 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12396 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12397 * sysdeps/i386/fpu/libm-test-ulps: Update.
12398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12399
b87c4b24
JM
12400 [BZ #14621]
12401 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12402 int as type of variable DEPTH.
12403 (glob): Use size_t instead of int as type of variables NEWCOUNT
12404 and OLD_PATHC.
12405
6d3bf199
LD
124062012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12407
22bf5c17
LD
12408 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12409 Add s_sincosf-sse2.
12410 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12411 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12412 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12413 macros for using routine as __sincosf_ia32.
12414 Use macro for function declaration and weak_alias.
12415 * sysdeps/i386/fpu/libm-test-ulps: Update.
12416
12417 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12418 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12419
12420 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
12421 subnormal argument.
12422 * math/s_cexpf.c (__cexpf): Likewise.
12423 * math/s_csinf.c (__csinf): Likewise.
12424 * math/s_csinhf.c (__csinhf): Likewise.
12425 * math/s_ctanf.c (__ctanf): Likewise.
12426 * math/s_ctanhf.c (__ctanhf): Likewise.
12427 * math/s_ccosh.c (__ccoshf): Likewise.
12428 * math/s_cexp.c (__cexpl): Likewise.
12429 * math/s_csin.c (__csin): Likewise.
12430 * math/s_csinh.c (__csinh): Likewise.
12431 * math/s_ctan.c (__ctan): Likewise.
12432 * math/s_ctanh.c (ctanh): Likewise.
12433 * math/s_ccoshl.c (__ccoshl): Likewise.
12434 * math/s_cexpl.c (__cexpl): Likewise.
12435 * math/s_csinl.c (__csinl): Likewise.
12436 * math/s_csinhl.c (__csinhl): Likewise.
12437 * math/s_ctanl.c (__ctanl): Likewise.
12438 * math/s_ctanhl.c (__ctanhl): Likewise.
12439
203e5603
JM
124402012-09-25 Joseph Myers <joseph@codesourcery.com>
12441
12442 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12443 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12444 (_IO_off_t): Define to __off_t, not _G_off_t.
12445 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12446 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12447 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12448 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12449 type of __dummy and __dummy2 fields.
12450 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12451 (_G_ssize_t): Likewise.
12452 (_G_off_t): Likewise.
12453 (_G_pid_t): Likewise.
12454 (_G_uid_t): Likewise.
12455 (_G_wchar_t): Likewise.
12456 (_G_wint_t): Likewise.
12457 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12458 (_G_ssize_t): Likewise.
12459 (_G_off_t): Likewise.
12460 (_G_pid_t): Likewise.
12461 (_G_uid_t): Likewise.
12462 (_G_wchar_t): Likewise.
12463 (_G_wint_t): Likewise.
12464 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12465 (_G_ssize_t): Likewise.
12466 (_G_off_t): Likewise.
12467 (_G_pid_t): Likewise.
12468 (_G_uid_t): Likewise.
12469 (_G_wchar_t): Likewise.
12470 (_G_wint_t): Likewise.
12471
9fab36eb
SP
124722012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12473
12474 * malloc/arena.c: Include malloc-sysdep.h.
12475 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12476 is sufficient to shrink the heap or an unmap is needed.
12477 * sysdeps/generic/malloc-sysdep.h: New file. Define
12478 new function check_may_shrink_heap.
12479 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12480 new function check_may_shrink_heap.
12481
2b4f00d1
SP
124822012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12483
12484 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12485 comments.
12486
9a9028b1
DL
124872012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12488
57c69bef
DL
12489 * catgets/test-gencat.sh: Add "set -e".
12490 * elf/tst-pathopt.sh: Likewise.
12491 * grp/tst_fgetgrent.sh: Likewise.
12492 * iconvdata/run-iconv-test.sh: Likewise.
12493 * intl/tst-gettext.sh: Likewise.
12494 * intl/tst-gettext2.sh: Likewise.
12495 * intl/tst-gettext4.sh: Likewise.
12496 * intl/tst-gettext6.sh: Likewise.
12497 * intl/tst-translit.sh: Likewise.
12498 * io/ftwtest-sh: Likewise.
12499 * libio/test-freopen.sh: Likewise.
12500 * malloc/tst-mtrace.sh: Likewise.
12501 * posix/globtest.sh: Likewise.
12502 * posix/tst-getconf.sh: Likewise.
12503 * posix/wordexp-tst.sh: Likewise.
12504 * stdio-common/tst-printf.sh: Likewise.
12505 * stdio-common/tst-unbputc.sh: Likewise.
12506 * stdlib/tst-fmtmsg.sh: Likewise.
12507 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12508 * catgets/Makefile: Do not specify -e option when running
12509 testsuite shell scripts.
12510 * elf/Makefile: Likewise.
12511 * grp/Makefile: Likewise.
12512 * iconvdata/Makefile: Likewise.
12513 * intl/Makefile: Likewise.
12514 * io/Makefile: Likewise.
12515 * libio/Makefile: Likewise.
12516 * malloc/Makefile: Likewise.
12517 * posix/Makefile: Likewise.
12518 * stdio-common/Makefile: Likewise.
12519 * stdlib/Makefile: Likewise.
12520 * sysdeps/x86_64/Makefile: Likewise.
12521
9a9028b1
DL
12522 * io/ftwtest-sh: Add copyright header.
12523 * posix/globtest.sh: Likewise.
12524 * posix/tst-getconf.sh: Likewise.
12525 * posix/wordexp-tst.sh: Likewise.
12526 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12527
ced6f16e
L
125282012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12529
94b32c39
L
12530 [BZ #13679]
12531 * Makeconfig (+link): Defined as $(+link-static) if
12532 $(build-shared) isn't yes.
12533 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12534 isn't yes.
12535 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12536
189e935b
L
12537 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12538
ced6f16e
L
12539 [BZ #14562]
12540 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12541 new chunk size with MALLOC_ALIGN_MASK.
12542
a9f8e53a
JM
125432012-09-24 Joseph Myers <joseph@codesourcery.com>
12544
12545 [BZ #5044]
12546 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12547 <rounding-mode.h>.
12548 (__printf_fphex): Determine rounding using get_rounding_mode and
12549 round_away.
12550 * stdio-common/tst-printf-round.c (struct hex_test): New
12551 structure.
12552 (hex_tests): New variable.
12553 (test_hex_in_one_mode): New function.
12554 (do_test): Also run tests for hex float output.
12555
43153109
JM
125562012-09-21 Joseph Myers <joseph@codesourcery.com>
12557
12558 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12559 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12560 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12561 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12562 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12563 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12564 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12565 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12566
8a26625d
JM
125672012-09-20 Joseph Myers <joseph@codesourcery.com>
12568
12569 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12570 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12571 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12572 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12573
f3fd569c
DL
125742012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12575
12576 [BZ #14579]
12577 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12578 mode only.
12579 * elf/tst-rtld-load-self.sh: New test.
12580 * elf/Makefile: Run it.
12581
63bbedd4
JM
125822012-09-18 Joseph Myers <joseph@codesourcery.com>
12583
12584 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12585 (tst-writev-ENV): Remove.
12586 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12587
626f8b6a
CM
125882012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12589
12590 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12591
b7aaa4d6
JM
125922012-09-17 Joseph Myers <joseph@codesourcery.com>
12593
12594 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12595 unconditional.
12596 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12597 Likewise.
12598 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12599 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12600 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12601 Likewise.
12602
65513990
L
126032012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12604
12605 [BZ #14587]
12606 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12607 * config.make.in (have-cpp-asm-debuginfo): Removed.
12608 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12609 * configure: Regenerated.
12610
784761be
JM
126112012-09-14 Joseph Myers <joseph@codesourcery.com>
12612
12613 [BZ #5044]
12614 * stdio-common/printf_fp.c: Include <stdbool.h> and
12615 <rounding-mode.h>.
12616 (___printf_fp): Determine rounding using get_rounding_mode and
12617 round_away.
12618 * stdio-common/tst-printf-round.c: New file.
12619 * stdio-common/Makefile (tests): Add tst-printf-round.
12620 (link-libm): New variable.
12621 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12622
9503345f
L
126232012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12624
12625 [BZ #14576]
12626 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12627 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12628 Likewise.
12629 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12630 Likewise.
12631
ad35fc00
JM
126322012-09-13 Joseph Myers <joseph@codesourcery.com>
12633
12634 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12635 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12636 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12637 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12638
6c9b0f68
JM
126392012-09-12 Joseph Myers <joseph@codesourcery.com>
12640
12641 [BZ #14518]
12642 * include/rounding-mode.h: New file.
12643 * sysdeps/generic/get-rounding-mode.h: Likewise.
12644 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12645 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12646 (MAX_VALUE): New macro.
12647 (MIN_VALUE): Likewise.
12648 (overflow_value): New function.
12649 (underflow_value): Likewise.
12650 (round_and_return): Use overflow_value and underflow_value to
12651 determine return values in overflow and underflow cases. Use
12652 round_away to determine rounding depending on rounding mode.
12653 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12654 determine return values in overflow and underflow cases.
12655 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12656 (struct test_results): New structure.
12657 (struct test): Use struct test_results to store expected results
12658 for all rounding modes.
12659 (TEST): Include expected results for all rounding modes.
12660 (test_in_one_mode): New function.
12661 (do_test): Use test_in_one_mode to compute and check results.
12662 Check results for all rounding modes.
12663 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12664 $(link-libm).
12665
19fcedd5
AM
126662012-12-09 Allan McRae <allan@archlinux.org>
12667
1e9d84cd 12668 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 12669
8bbfd2f1
JM
126702012-09-11 Joseph Myers <joseph@codesourcery.com>
12671
12672 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12673 (_G_int32_t): Likewise.
12674 (_G_uint16_t): Likewise.
12675 (_G_uint32_t): Likewise.
12676 (_G_HAVE_BOOL): Likewise.
12677 (_G_HAVE_ATEXIT): Likewise.
12678 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12679 (_G_HAVE_IO_FILE_OPEN): Likewise.
12680 * sysdeps/gnu/_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/mach/hurd/_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
b1dc5912
L
126972012-09-11 H.J. Lu <hongjiu.lu@intel.com>
12698
12699 * csu/libc-tls.c: Update copyright years.
12700
0e886ef9
JM
127012012-09-10 Joseph Myers <joseph@codesourcery.com>
12702
28361c5e
JM
12703 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12704 [!_G_USING_THUNKS]: Remove conditional code.
12705 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12706 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12707
0e886ef9
JM
12708 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12709 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12710 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12711 (_G_VTABLE_LABEL_PREFIX): Likewise.
12712 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12713 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12714 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12715 (_G_VTABLE_LABEL_PREFIX): Likewise.
12716 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12717 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12718 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12719 (_G_VTABLE_LABEL_PREFIX): Likewise.
12720 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12721
bcba7aa2
L
127222012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12723
12724 * libio/Makefile: Include ../Makeconfig before tests.
12725 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12726 only if $(build-shared) is yes.
12727
06585ee8
L
12728 * iconv/gconv_db.c: Update copyright years.
12729
80ccd52c
LD
127302012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12731
12732 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12733 unwind info if defined PIC. Fix special cases description.
12734 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12735
12736 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12737 DP_HI_MASK entry.
12738 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12739
691bc9c1
L
127402012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12741
3d9b46b3
L
12742 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12743
de2139a9
L
12744 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12745 is NULL.
12746
5ca78dd0
L
12747 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12748 (LDLIBS-tst-chk4): This.
12749 (LDFLAGS-tst-chk5): Renamed to ...
12750 (LDLIBS-tst-chk5): This.
12751 (LDFLAGS-tst-chk6): Renamed to ...
12752 (LDLIBS-tst-chk6): This.
12753 (LDFLAGS-tst-lfschk4): Renamed to ...
12754 (LDLIBS-tst-lfschk4): This.
12755 (LDFLAGS-tst-lfschk5): Renamed to ...
12756 (LDLIBS-tst-lfschk5): This.
12757 (LDFLAGS-tst-lfschk6): Renamed to ...
12758 (LDLIBS-tst-lfschk6): This.
12759
691bc9c1
L
12760 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12761 on $(common-objpfx)soversions.mk.
12762
65cafb1c
JM
127632012-09-07 Joseph Myers <joseph@codesourcery.com>
12764
12765 [BZ #10014]
12766 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12767 example host name.
12768
c78ab094
SP
127692012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12770
12771 * malloc/arena.c (arena_get_retry): New function that gets
12772 another arena for the caller to try its request on.
12773 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12774 current arena cannot fulfill the request.
12775 (__libc_memalign): Likewise.
12776 (__libc_memalign): Likewise.
12777 (__libc_pvalloc): Likewise.
12778 (__libc_calloc): Likewise.
12779
01f49f59
JT
127802012-09-05 John Tobey <john.tobey@gmail.com>
12781
12782 [BZ #13542]
12783 * manual/arith.texi (Operations on Complex): Fix description
12784 of carg branch cut.
12785
4c23fed5
JM
127862012-09-06 Joseph Myers <joseph@codesourcery.com>
12787
1d3c8572
JM
12788 [BZ #10014]
12789 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12790 host name.
12791
4c23fed5
JM
12792 [BZ #10038]
12793 * manual/memory.texi (Memory): Make order of menu items match
12794 order of sections.
12795
04570aaa
L
127962012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12797
12798 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12799 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12800 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12801
b80af2f4
L
128022012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12803
12804 * csu/libc-tls.c (static_dtv): Renamed to ...
12805 (_dl_static_dtv): This. Make it global.
12806 (_dl_initial_dtv): Removed.
12807 (__libc_setup_tls): Updated.
12808 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12809 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12810 DL_INITIAL_DTV.
12811
2abe9f15
PM
128122012-09-06 Petr Machata <pmachata@redhat.com>
12813
12814 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12815 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12816 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12817 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12818
0948c3af
L
128192012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12820
12821 [BZ #14545]
12822 * csu/libc-tls.c (_dl_initial_dtv): New variable.
12823 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12824 freeing dtv[-1].
12825
a5055ad1
L
128262012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12827
12828 [BZ #14544]
12829 * Makeconfig (link-static-before-libc): Replace $(+prector)
12830 with $(+prectorT).
12831 (link-static-after-libc): Replace $(+postctor) with
12832 $(+postctorT).
12833 (link-bounded): Replace $(+prector)/$(+postctor) with
12834 $(+prectorT)/$(+postctorT).
12835 (+prectorT): New macro.
12836 (+postctorT): Likewise.
12837
ed8c2ecd
JM
128382012-09-06 Joseph Myers <joseph@codesourcery.com>
12839
12840 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12841 (round_str): Handle values above the maximum for IBM long double
12842 as inexact.
12843 * stdlib/tst-strtod-round.c (tests): Regenerated.
12844
14c996c8
AK
128452012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12846
12847 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12848 assembler flag.
12849 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12850 zarch_nohighgprs around the zarch optimized routines.
12851 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12852 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12853 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12854 for zarch.
12855
430d6ce6
DM
128562012-09-05 David S. Miller <davem@davemloft.net>
12857
12858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12859
ff04dda4
DM
12860 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12861 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12862 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12863 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12864 entries.
12865
24d4e01b
AO
128662012-09-05 Alexandre Oliva <aoliva@redhat.com>
12867
12868 * malloc/arena.c: Fold copyright years.
12869 * malloc/mcheck.c, malloc/memusage.c: Likewise.
12870
61d58174
AO
128712012-09-05 Alexandre Oliva <aoliva@redhat.com>
12872
12873 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12874
20196a5e
AO
128752012-09-05 Alexandre Oliva <aoliva@redhat.com>
12876
12877 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
12878
5c447383
AO
128792012-09-05 Alexandre Oliva <aoliva@redhat.com>
12880
12881 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12882 change internal state upon failure.
12883
fad64255
AO
128842012-09-05 Alexandre Oliva <aoliva@redhat.com>
12885
12886 * malloc/mcheck.c (mcheck_check_all): Fix typo.
12887 * malloc/memusage.c (mmap): Likewise.
12888 (mmap64, mremap): Likewise. Adjust name in comment.
12889
1ffb8c90
SP
128902012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12891
12892 * libio/fileops.c: Fix typos in comments.
12893 * libio/oldfileops.c: Likewise.
12894 * libio/wfileops.c: Likewise.
12895
6ef9cc37
SP
128962012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12897
12898 [BZ #1349]
12899 * malloc/Makefile (tests): Add tst-malloc-usable test case.
12900 (tst-malloc-usable-ENV): Set environment for test case.
12901 * malloc/hooks.c (malloc_check_get_size): New function to get
12902 requested size.
12903 * malloc/malloc.c (musable): Use malloc_check_get_size.
12904 * malloc/tst-malloc-usable.c: New test case.
12905
4d038ae3
AS
129062012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12907
12908 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12909
c4e85184
AM
129102012-09-05 Allan McRae <allan@archlinux.org>
12911
b9dafc56 12912 [BZ #13966]
c4e85184
AM
12913 * configure.in (CXX_SYSINCLUDES): Use compiler output to
12914 determine header location.
12915 * configure: Regenerated.
12916
e1343020
AS
129172012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12918
12919 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12920 float format.
12921 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
12922 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12923 format.
e1343020
AS
12924 (test): Regenerate.
12925
0a9f1987
DM
129262012-09-04 David S. Miller <davem@davemloft.net>
12927
12928 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12929 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12930 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12931
29237804
FW
129322012-09-04 Florian Weimer <fweimer@redhat.com>
12933
12934 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12935 failures.
12936
edb3cb88
FW
12937 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12938
60160d83
JM
129392012-09-04 Joseph Myers <joseph@codesourcery.com>
12940
12941 [BZ #9914]
12942 * libio/iogetdelim.c: Include <limits.h>.
12943 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12944 + len + 1 would overflow.
12945
bcd6c8dc
AJ
129462012-09-03 Andreas Jaeger <aj@suse.de>
12947
12948 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12949 * sysdeps/i386/fpu/libm-test-ulps: Update.
12950
4ffffbd2
LD
129512012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12952
12953 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12954 Add s_sinf-sse2, s_conf-sse2.
12955
12956 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12957 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
12958 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
12959 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
12960
12961 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12962 for using routine as __sinf_ia32.
12963 Use macro for function declaration and weak_alias.
12964 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
12965 for using routine as __cosf_ia32.
12966 Use macro for function declaration and weak_alias.
12967
12968 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
12969 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
12970
12971 * sysdeps/x86_64/fpu/s_sinf.S: New file.
12972 * sysdeps/x86_64/fpu/s_cosf.S: New file.
12973 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12974
12975 * math/libm-test.inc (cos_test): Add more test cases.
12976 (sin_test): Likewise.
12977 (sincos_test): Likewise.
12978
511fa286
AK
129792012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12980
12981 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12982 (IFUNC_RESOLVE): Make pointers to the specialized implementations
12983 hidden.
12984 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12985
5f30cfec
L
129862012-09-02 H.J. Lu <hongjiu.lu@intel.com>
12987
12988 [BZ #14538]
12989 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
12990 first element of the GOT.
12991 (elf_machine_load_address): Return the difference between
12992 the runtime address of _DYNAMIC and elf_machine_dynamic ().
12993
0786794f
AM
129942012-09-01 Allan McRae <allan@archlinux.org>
12995
5f30cfec
L
12996 [BZ #13412]
12997 * configure.in (AWK): Require gawk version 3.0 or later.
12998 * configure: Regenerated.
0786794f 12999
26889eac
JM
130002012-09-01 Joseph Myers <joseph@codesourcery.com>
13001
13002 * sysdeps/unix/sysv/linux/kernel-features.h
13003 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13004 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13005 [__NR_clock_getres]: Make code unconditional.
13006 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13007 (clock_getcpuclockid): Remove code left unreachable by removal of
13008 conditionals.
13009 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13010 code unconditional.
13011 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13012 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13013 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13014 Make code unconditional.
13015 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13016 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13017 * sysdeps/unix/sysv/linux/clock_settime.c
13018 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13019 conditional code.
13020 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13021 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13022
d22e28b0
L
130232012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13024
13025 [BZ #14476]
13026 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13027 scripts/test-installation.pl.
13028
13029 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13030 and $ld_so_version if it is set.
13031
050af9c4
SP
130322012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13033
13034 [BZ #14516]
13035 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13036 failure if reading from procfs failed.
13037 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13038
ad845c0b
JM
130392012-08-27 Joseph Myers <joseph@codesourcery.com>
13040
13041 * sysdeps/unix/sysv/linux/kernel-features.h
13042 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13043 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13044 Remove conditional code.
13045 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13046 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13047 Remove conditional code.
13048 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13049 * sysdeps/unix/sysv/linux/i386/fxstat.c
13050 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13051 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13052 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13053 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13054 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13055 * sysdeps/unix/sysv/linux/i386/lxstat.c
13056 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13057 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13058 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13059 Remove conditional code.
13060 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13061 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13062 Remove conditional code.
13063 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13064 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13065 <kernel-features.h>.
13066 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13067 Remove.
13068 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13069 Remove conditional code.
13070 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13071 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13072 Remove conditional.
13073
5dbf56af
MF
130742012-08-27 Mike Frysinger <vapier@gentoo.org>
13075
13076 [BZ #5400]
13077 * NEWS: Add fixed bug number.
13078
d6e70f43
JM
130792012-08-27 Joseph Myers <joseph@codesourcery.com>
13080
7efb4737
JM
13081 [BZ #14519]
13082 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13083 underflowing exponent in case of negative sign.
13084 * stdlib/tst-strtod-round-data: Add more tests.
13085 * stdlib/tst-strtod-round.c (tests): Regenerated.
13086
af92131a
JM
13087 [BZ #3479]
13088 * stdlib/strtod_l.c (NDIG): Remove.
13089 (HEXNDIG): Likewise.
13090 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13091 smallest representable value.
13092 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13093 lie within an exact representation of 1/2 ulp of the result.
13094 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13095 unconditionally.
13096 (TENS_P9_IDX): Define unconditionally.
13097 (TENS_P9_SIZE): Likewise.
13098 (TENS_P10_IDX): Likewise.
13099 (TENS_P10_SIZE): Likewise.
13100 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13101 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13102 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13103 entries for 10^2^13 and 10^2^14.
13104 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13105 (TENS_P13_IDX): Define.
13106 (TENS_P13_SIZE): Likewise.
13107 (TENS_P14_IDX): Likewise.
13108 (TENS_P14_SIZE): Likewise.
13109 (_fpioconst_pow10): Change array size to
13110 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13111 unconditional.
13112 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13113 1024]: Add entries for 10^2^13 and 10^2^14.
13114 [LAST_POW10 > _LAST_POW10]: Remove #error.
13115 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13116 (_fpioconst_pow10): Change array size to
13117 FPIOCONST_POW10_ARRAY_SIZE.
13118 * stdlib/gen-fpioconst.c: New file.
13119 * stdlib/gen-tst-strtod-round.c: Likewise.
13120 * stdlib/tst-strtod-round-data: Likewise.
13121 * stdlib/tst-strtod-round.c: Likewise.
13122 * stdlib/Makefile (tests): Add tst-strtod-round.
13123
d6e70f43
JM
13124 [BZ #14459]
13125 * stdlib/strtod_l.c: Include <stdint.h>.
13126 (NDEBUG): Do not define.
13127 (round_and_return): Change EXPONENT parameter to type intmax_t.
13128 Rearrange calculations to avoid internal overflow possibilities.
13129 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13130 Rearrange calculations to avoid internal overflow possibilities.
13131 Assert that number fits inside MPNSIZE limbs.
13132 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13133 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13134 calculations and add assertions to avoid internal overflow
13135 possibilities. Add casts to avoid signed/unsigned operations.
13136 * stdlib/tst-strtod-overflow.c: New file.
13137 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13138
1f529f7d
MP
131392012-08-25 Marek Polacek <polacek@redhat.com>
13140
13141 * time/time.h: Fix some typos in comments.
13142
59a629f1
RM
131432012-08-23 Roland McGrath <roland@hack.frob.com>
13144
13145 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13146 * posix/tst-rfc3484-2.c: Likewise.
13147 * posix/tst-rfc3484-3.c: Likewise.
13148
d3bafbc9
SM
131492012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13150
13151 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13152 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13153
4efcc022
JM
131542012-08-23 Joseph Myers <joseph@codesourcery.com>
13155
13156 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13157 #include of fxstatat64.c.
13158
3cc3ef96
RM
131592012-08-22 Roland McGrath <roland@hack.frob.com>
13160
f04e2132
RM
13161 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13162 * shadow/getspent_r.c: Likewise.
13163 * shadow/getspnam.c: Likewise.
13164 * shadow/getspnam_r.c: Likewise.
13165 * gshadow/getsgent.c: Likewise.
13166 * gshadow/getsgent_r.c: Likewise.
13167 * gshadow/getsgnam.c: Likewise.
13168 * gshadow/getsgnam_r.c: Likewise.
13169 * inet/getnetbyad.c: Likewise.
13170 * inet/getnetbyad_r.c: Likewise.
13171 * inet/getnetbynm.c: Likewise.
13172 * inet/getnetbynm_r.c: Likewise.
13173 * inet/getnetent.c: Likewise.
13174 * inet/getnetent_r.c: Likewise.
13175 * inet/getproto.c: Likewise.
13176 * inet/getproto_r.c: Likewise.
13177 * inet/getprtent.c: Likewise.
13178 * inet/getprtent_r.c: Likewise.
13179 * inet/getprtname.c: Likewise.
13180 * inet/getprtname_r.c: Likewise.
13181 * inet/getrpcbyname.c: Likewise.
13182 * inet/getrpcbyname_r.c: Likewise.
13183 * inet/getrpcbynumber.c: Likewise.
13184 * inet/getrpcbynumber_r.c: Likewise.
13185 * inet/getrpcent.c: Likewise.
13186 * inet/getrpcent_r.c: Likewise.
13187 * inet/getaliasent.c: Likewise.
13188 * inet/getaliasent_r.c: Likewise.
13189 * inet/getaliasname.c: Likewise.
13190 * inet/getaliasname_r.c: Likewise.
13191 * nscd/getgrgid_r.c: Likewise.
13192 * nscd/getgrnam_r.c: Likewise.
13193 * nscd/gethstbyad_r.c: Likewise.
13194 * nscd/gethstbynm3_r.c: Likewise.
13195 * nscd/getpwnam_r.c: Likewise.
13196 * nscd/getpwuid_r.c: Likewise.
13197 * nscd/getsrvbynm_r.c: Likewise.
13198 * nscd/getsrvbypt_r.c: Likewise.
13199 * nscd/gai.c: Likewise.
13200
c53d909c
RM
13201 * configure.in (build_nscd): New substituted variable, set
13202 by --disable-build-nscd and defaults to $use_nscd.
13203 * configure: Regenerated.
13204 * config.make.in (build-nscd): New substituted variable.
13205 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13206 Change conditional to require [$(build-nscd) = yes] as well.
13207 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13208
3cc3ef96
RM
13209 [BZ# 13696]
13210 * configure.in (use_nscd): New substituted variable, set by
13211 --disable-nscd. If enabled, define USE_NSCD.
13212 * configure: Regenerated.
13213 * config.h.in: Add USE_NSCD.
13214 * config.make.in (use-nscd): New substituted variable.
13215 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13216 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13217 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13218 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13219 (CFLAGS-getgrnam_r.c): Likewise.
13220 (CFLAGS-initgroups.c): Likewise.
13221 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13222 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13223 Variables removed.
13224 * inet/getnetgrent_r.c
13225 (nscd_setnetgrent): New function, broken out of ...
13226 (setnetgrent): ... here. Call it.
13227 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13228 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13229 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13230 * nscd/Makefile (routines, aux): Move definitions after include of
13231 Makeconfig. Conditionalize on [$(use-nscd) != no].
13232 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13233 Conditionalize on [USE_NSCD].
13234 (is_nscd, nscd_init_cb): Likewise.
13235 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13236 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13237 * nss/nss_db/db-init.c: Likewise.
13238 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13239 [USE_NSCD].
13240 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13241 (make_request): Use it.
13242 (cache_valid_p): New function.
13243 (__check_pf): Use it.
13244 * NEWS: Add item for --disable-nscd.
13245
07e51550
DL
132462012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13247
13248 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13249 to support sed >= 4.2.1-20-ga9bf076.
13250 * configure: Regenerated.
13251
35a5b08b
RM
132522012-08-22 Roland McGrath <roland@hack.frob.com>
13253
13254 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13255 Conditionalize whole body on [IREL].
13256
8479f23a
JL
132572012-08-22 Jeff Law <law@redhat.com>
13258
13259 [BZ #14505]
13260 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13261 if the family is PF_UNSPEC.
13262
48da0b21
MF
132632012-08-22 Mike Frysinger <vapier@gentoo.org>
13264
13265 * Makerules (lib-version): Rename from V.
13266 (install-lib-nosubdir): Change V to lib-version.
13267
15d0da8c
WS
132682012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13269
13270 [BZ #14252]
13271 * powerpc32/power6/wcschr.c: New file.
13272 * powerpc32/power6/wcscpy.c: New file.
13273 * powerpc32/power6/wcsrchr.c: New file.
13274 * powerpc64/power6/wcschr.c: New file.
13275 * powerpc64/power6/wcscpy.c: New file.
13276 * powerpc64/power6/wcsrchr.c: New file.
13277
bcca0895
MK
132782012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13279
13280 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13281 (two_way_short_needle): Use it.
5a4aaa33
RM
13282 * string/strstr.c (AVAILABLE1_USES_J): Define.
13283 * string/strcasestr.c: Likewise.
99677e57
MK
13284
13285 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13286 array references.
13287 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13288
400726de
MK
13289 [BZ #11607]
13290 * NEWS: Add an entry.
13291 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13292 define their defaults.
13293 (two_way_short_needle): Detect end-of-string on-the-fly.
13294 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13295 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13296 * string/bug-strcasestr1.c: New test.
13297 * string/Makefile: Run it.
13298
20a71f2c
MK
132992012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13300
13301 [BZ #11607]
13302 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13303 the first character.
13304
21ad0558
RM
133052012-08-21 Roland McGrath <roland@hack.frob.com>
13306
13307 * csu/elf-init.c (__libc_csu_irel): Function removed.
13308 * csu/libc-start.c (apply_irel): New function.
13309 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13310
0e1d9911
JM
133112012-08-21 Joseph Myers <joseph@codesourcery.com>
13312
13313 * sysdeps/unix/sysv/linux/kernel-features.h
13314 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13315 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13316 <kernel-features.h>.
13317 [__NR_fadvise64_64]: Make code unconditional.
13318 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13319 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13320 !__NR_fadvise64_64)]: Likewise.
13321 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13322 !__NR_fadvise64_64))]: Likewise.
13323 [__NR_fadvise64]: Make code unconditional.
13324 [!__NR_fadvise64]: Remove conditional code.
13325 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13326 <kernel-features.h>.
13327 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13328 unconditional.
13329 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13330 conditional code.
13331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13332 not include <kernel-features.h>.
13333 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13334 unconditional.
13335 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13336 conditional code.
13337 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13338 include <kernel-features.h>.
13339 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13340 unconditional.
13341 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13342 conditional code.
13343
14a50c9d
WS
133442012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13345
13346 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13347 slight instruction rearrangements per scrollpipe analysis.
13348 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13349
c0f4faf0
RM
133502012-08-20 Roland McGrath <roland@hack.frob.com>
13351
696da859
RM
13352 * manual/syslog.texi (syslog; vsyslog, closelog):
13353 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13354 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13355
c0f4faf0
RM
13356 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13357 DSOCAPS to match condition on defining it.
13358
348363b2
JM
133592012-08-20 Joseph Myers <joseph@codesourcery.com>
13360
a35cbf28
JM
13361 * sysdeps/unix/sysv/linux/kernel-features.h
13362 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13364 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13365 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13367 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13368 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13370 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13371 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13372
445f7ecd
JM
13373 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13374 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13375
348363b2
JM
13376 * sysdeps/unix/sysv/linux/kernel-features.h
13377 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13378 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13379 unconditional.
13380 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13381 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13382 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13383 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13384 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13385 Make code unconditional.
13386 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13387 (__mmap64) [!__NR_mmap2]: Likewise.
13388 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13389 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13390 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13391 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13392 [__NR_mmap2]: Make code unconditional.
13393 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13394 (__mmap64) [!__NR_mmap2]: Likewise.
13395
bc5bc0e5
AK
133962012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13397
13398 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13399
88d506de
AJ
134002012-08-18 Andreas Jaeger <aj@suse.de>
13401
13402 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13403
493387d2
MF
134042012-08-18 Mike Frysinger <vapier@gentoo.org>
13405
13406 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13407 * include/unistd.h (__have_sock_cloexec): Likewise.
13408 (__have_pipe2): Likewise.
13409 (__have_dup3): Likewise.
13410
a277af22
MF
134112012-08-18 Mike Frysinger <vapier@gentoo.org>
13412
13413 [BZ #9685]
13414 * include/unistd.h (__have_pipe2): Change define into an extern int.
13415 (__have_dup3): Likewise.
13416 * socket/have_sock_cloexec.c: Include fcntl.h.
13417 (__have_pipe2): New variable.
13418 (__have_dup3): Likewise.
13419
fdab8fd3
MF
134202012-08-17 Mike Frysinger <vapier@gentoo.org>
13421
13422 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13423
31035e80
MP
134242012-08-17 Marek Polacek <polacek@redhat.com>
13425
13426 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13427 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13428
3bd9e993
RM
134292012-08-17 Roland McGrath <roland@hack.frob.com>
13430
c91c505f
RM
13431 * configure.in: Add AC_SUBST for sysheaders.
13432 * configure: Regenerated.
13433 * config.make.in (sysheaders): New substituted variable.
13434
7c6f9d53
RM
13435 * sysdeps/unix/mkfifo.c: Moved ...
13436 * sysdeps/posix/mkfifo.c: ... here.
13437 * sysdeps/unix/mkfifoat.c: Moved ...
13438 * sysdeps/posix/mkfifoat.c: ... here.
13439
13440 * sysdeps/unix/utime.c: Moved ...
13441 * sysdeps/posix/utime.c: ... here.
13442
13443 * sysdeps/unix/time.c: Moved ...
13444 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
13445 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13446 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
13447
13448 * sysdeps/unix/nice.c: Moved ...
13449 * sysdeps/posix/nice.c: ... here.
13450
13451 * sysdeps/unix/alarm.c: Moved ...
13452 * sysdeps/posix/alarm.c: ... here.
13453
3bd9e993
RM
13454 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13455
d1f09384
JL
134562012-08-17 Jeff Law <law@redhat.com>
13457
13458 * intl/Makefile (codeset_mo): New variable.
13459 ($(codeset_mo)): New target.
13460 (tst-codeset.out): Depend on that. Remove explicit rule.
13461 (tst-gettext3.out, tst-gettext5.out): Likewise.
13462 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13463 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13464 * intl/tst-codeset.sh: Remove.
13465 * intl/tst-gettext3.sh: Likewise.
13466 * intl/tst-gettext5.sh: Likewise.
13467
2ae1ae5c
RM
134682012-08-17 Roland McGrath <roland@hack.frob.com>
13469
c31fdb83
RM
13470 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13471 * sysdeps/unix/syscalls.list: ... here.
13472
a0844057
RM
13473 * sysdeps/posix/getaddrinfo.c
13474 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13475 (gaiconf_init, gaiconf_reload): Use them.
13476 [!_STATBUF_ST_NSEC]
13477 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13478 Define using time_t rather than struct timespec.
13479
750c1f2a
RM
13480 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13481 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13482 Macros removed.
13483 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13484 [!NO_THREADS].
13485 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13486 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13487 Likewise.
13488
2ae1ae5c
RM
13489 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13490 __libc_cleanup_push argument.
13491
e66a42f5
RM
13492 * bits/param.h: New file.
13493 * misc/sys/param.h: New file.
13494 * include/sys/param.h: New file.
13495 * misc/Makefile (headers): Add bits/param.h.
13496 * sysdeps/generic/sys/param.h: File removed.
13497 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13498 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13499 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 13500 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 13501
b7c08a66
RM
13502 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13503 last change.
13504
b2e1c562
RM
13505 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13506 [_IO_MTSAFE_IO].
13507 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13508 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13509 New macros.
13510
c75ccd4c
RM
13511 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13512 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13513 rather than -D_IO_MTSAFE_IO conditionally.
13514 * stdio-common/Makefile (CPPFLAGS): Likewise.
13515 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13516 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13517 Use $(libio-mtsafe).
13518 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13519 of -D_IO_MTSAFE_IO.
13520 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13521 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13522 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13523 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13524 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13525 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13526 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13527 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13528 (CFLAGS-fread_u_chk.c): Likewise.
13529 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13530 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13531 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13532 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13533 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13534 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13535 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13536 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13537 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13538
13539 * libio/Makefile: Test [$(libc-reentrant) = yes]
13540 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13541
13542 * Makeconfig
13543 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13544 * sysdeps/pthread/configure: File removed.
13545 * sysdeps/pthread/Makeconfig: New file.
13546 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13547 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13548
d9195db8
GB
135492012-08-16 Gary Benson <gbenson@redhat.com>
13550
13551 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13552 unmapping the first object in a namespace.
13553
86466cd9
RM
135542012-08-16 Roland McGrath <roland@hack.frob.com>
13555
13556 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13557 (__internal_setnetgrent): ... this. Add internal_function to
13558 definition. Add libc_hidden_def.
13559 (setnetgrent): Update caller.
13560 (internal_endnetgrent): Renamed to ...
13561 (__internal_endnetgrent): ... this. Add internal_function to
13562 definition. Add libc_hidden_def.
13563 (endnetgrent): Update caller.
13564 (internal_getnetgrent_r): Renamed to ...
13565 (__internal_getnetgrent_r): ... this. Add internal_function to
13566 definition. Add libc_hidden_def.
13567 (__getnetgrent_r): Update caller.
13568 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13569
c3c8283c
JM
135702012-08-16 Joseph Myers <joseph@codesourcery.com>
13571
13572 * stdlib/longlong.h: Update from GCC.
13573
db1ee0a8
RM
135742012-08-16 Roland McGrath <roland@hack.frob.com>
13575
13576 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13577 on _QL, which is set by umul_ppmm but never used.
13578 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13579 variables, which are set by GMP macros but never used.
13580 * stdio-common/_itowa.c (_itowa): Likewise.
13581 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13582 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13583
30f69637
CD
135842012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13585
13586 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13587 struct La_sh_regs is not constant.
13588 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13589 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13590 and struct La_sparc64_regs are not constant.
13591
93a78ac4
JM
135922012-08-16 Joseph Myers <joseph@codesourcery.com>
13593
13594 * sysdeps/unix/sysv/linux/kernel-features.h
13595 (__ASSUME_POSIX_TIMERS): Remove.
13596 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13597 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13598 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13599 Make code unconditional.
13600 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13601 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13602 Make code unconditional.
13603 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13604 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13605 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13606 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13607 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13608 Make code unconditional.
13609 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13610 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13611 (__libc_missing_posix_timers): Remove.
13612
dd924cd7
RM
136132012-08-15 Roland McGrath <roland@hack.frob.com>
13614
4b4f2771
RM
13615 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13616 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13617
601c888b
RM
13618 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13619
176790a7
RM
13620 * elf/dl-sym.c: Include <stdlib.h>.
13621
329bc018
RM
13622 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13623 constants, which avoids warnings in 32-bit builds.
13624
e04e272d
RM
13625 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13626 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13627
952bf94a
RM
13628 * misc/lseek.c: File moved to ...
13629 * io/lseek.c: ... here.
13630
7c99b50a
RM
13631 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13632
dd924cd7
RM
13633 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13634 shifting LEN more than 31 bits at once.
13635
b3f479a8
LD
136362012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13637
13638 [BZ #14195]
8c4ae0d4
RM
13639 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13640 segmentation fault for a case of two empty input strings.
b3f479a8
LD
13641 * string/test-strncasecmp.c (check1): Renamed to...
13642 (bz12205): ...this.
13643 (bz14195): Add new testcase for two empty input strings and N > 0.
13644 (test_main): Call new testcase, adapt for renamed function.
13645
9c55864e
AJ
136462012-08-15 Andreas Jaeger <aj@suse.de>
13647
13648 [BZ #14090]
13649 * crypt/md5test2.c: New test, based on test supplied by Serge
13650 Belyshev <belyshev@depni.sinp.msu.ru>.
13651 * crypt/Makefile (xtests): Add md5test-giant..
13652 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13653
02dcb6c5
PE
136542012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13655
13656 [BZ #14090]
13657 * crypt/md5.c (md5_process_block): Don't assume the buffer
13658 length is less than 2**32.
13659 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13660 length is less than 2**64.
13661
a3f95dcc
RM
136622012-08-15 Roland McGrath <roland@hack.frob.com>
13663
be75d758
RM
13664 * string/str-two-way.h: Include <sys/param.h>.
13665 (MAX): Macro removed.
13666
7312ca90
RM
13667 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13668 Move #define and #undef of memmove to just before and after
13669 including <string.h>.
13670
9a0a5486
RM
13671 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13672 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13673 and after including <string.h>. Move declarations of
13674 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13675 to before #include "string/memmove.c".
13676
67cc348d
RM
13677 * include/dirent.h: Declare __getdirentries.
13678
a3f95dcc
RM
13679 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13680 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13681
ca98e171
MF
136822012-08-14 Mike Frysinger <vapier@gentoo.org>
13683
13684 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13685 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13686 * sysdeps/i386/configure: Regenerated.
13687 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13688 STABS_CURRENT_FILE, and STABS_FUN.
13689 (END): Remove call to STABS_FUN_END.
13690 (STABS_CURRENT_FILE1): Delete.
13691 (STABS_CURRENT_FILE): Likewise.
13692 (STABS_FUN): Likewise.
13693 (STABS_FUN_END): Likewise.
13694 (STABS_FUN2): Likewise.
13695 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13696 * sysdeps/x86_64/configure: Regenerated.
13697
5908bf46
RM
136982012-08-14 Roland McGrath <roland@hack.frob.com>
13699
13700 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 13701 * elf/dl-lookup.c: Likewise.
5908bf46 13702
f2c05b9e
JM
137032012-08-14 Joseph Myers <joseph@codesourcery.com>
13704
13705 * sysdeps/unix/sysv/linux/kernel-features.h
13706 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13707 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13708 unconditionally.
13709 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13710 unconditionally.
13711 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13712 condition on __ASSUME_CLONE_THREAD_FLAGS.
13713
e11f5155
AJ
137142012-08-14 Andreas Jaeger <aj@suse.de>
13715
13716 * sysdeps/i386/fpu/libm-test-ulps: Update.
13717
51a9ba86
MK
137182012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13719
2fdd4f78
AJ
13720 * include/atomic.h (atomic_exchange_and_add): Split into ...
13721 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13722 New atomic macros.
51a9ba86 13723
ba6cba9e
MT
137242012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13725
13726 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13727
42443a47
JL
137282012-08-13 Jeff Law <law@redhat.com>
13729
13730 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13731 null byte in the output string.
13732
121dce05
JM
137332012-08-10 Joseph Myers <joseph@codesourcery.com>
13734
13735 * sysdeps/unix/sysv/linux/kernel-features.h
13736 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13737 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13738 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13739 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13740 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13741 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13742 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13743
bf51f568
JL
137442012-08-09 Jeff Law <law@redhat.com>
13745
13746 [BZ #13939]
13747 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13748 When avoid_arena is set, don't retry in the that arena. Pick the
13749 next one, whatever it might be.
13750 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13751 (arena_lock): Pass in new parameter to arena_get2.
13752 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13753 arena_get2.
13754 (__libc_malloc): Unify retrying after main arena failure with
13755 __libc_memalign version.
13756 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13757
f85fa270
L
137582012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13759
13760 [BZ #14166]
13761 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13762 to __redirect_strstr.
13763 (__strstr_sse42): Use typeof __redirect_strstr.
13764 (__strstr_ia32): Likewise.
13765 (__libc_strstr): New prototype.
13766 (strstr): Renamed to ...
13767 (__libc_strstr): This.
13768 (strstr): New strong alias of __libc_strstr.
13769 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13770 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13771 __redirect_time.
13772 Include <time.h>.
13773 (__libc_time): New prototype.
13774 (time_ifunc): Replace time with __libc_time.
13775 (time): New strong alias and hidden definition of __libc_time.
13776 (__GI_time): Remove strong alias.
13777 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13778 Include <stddef.h>.
13779 (memmove): Redefined to __redirect_memmove.
13780 (__memmove_sse2): Use typeof __redirect_memmove.
13781 (__memmove_ssse3): Likewise.
13782 (__memmove_ssse3_back): Likewise.
13783 (__libc_memmove): New prototype.
13784 (memmove): Renamed to ...
13785 (__libc_memmove): This.
13786 (memmove): New strong alias of __libc_memmove.
13787
33b4a91e
MS
137882012-08-08 Mark Salter <msalter@redhat.com>
13789
13790 * elf/elf.h
13791 (R_MN10300_TLS_GD): Define.
13792 (R_MN10300_TLS_LD): Likewise.
13793 (R_MN10300_TLS_LDO): Likewise.
13794 (R_MN10300_TLS_GOTIE): Likewise.
13795 (R_MN10300_TLS_IE): Likewise.
13796 (R_MN10300_TLS_LE): Likewise.
13797 (R_MN10300_TLS_DTPMOD): Likewise.
13798 (R_MN10300_TLS_DTPOFF): Likewise.
13799 (R_MN10300_TLS_TPOFF): Likewise.
13800 (R_MN10300_SYM_DIFF): Likewise.
13801 (R_MN10300_ALIGN): Likewise.
13802 (R_MN10300_NUM): Update.
13803
b36137f1
JM
138042012-08-08 Joseph Myers <joseph@codesourcery.com>
13805
13806 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13807 Remove.
13808
cdd915fd
RM
138092012-08-08 Roland McGrath <roland@hack.frob.com>
13810
a2433aac
RM
13811 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13812
cdd915fd
RM
13813 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13814 sysdeps/unix -> sysdeps/posix move.
13815 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13816
bf9b740a
AM
138172012-08-07 Allan McRae <allan@archlinux.org>
13818
13819 [BZ #14303]
13820 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13821 (SUNOS_CPP): Likewise.
13822 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13823 not found.
13824 (open_input): Call CPP using execvp.
13825
93df14ee
JM
138262012-08-07 Joseph Myers <joseph@codesourcery.com>
13827
13828 * sysdeps/unix/sysv/linux/kernel-features.h
13829 (__ASSUME_PROT_GROWSUPDOWN): Remove.
13830 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13831 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13832 (__ASSUME_WAITID_SYSCALL): Likewise.
13833 * sysdeps/unix/sysv/linux/dl-execstack.c
13834 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13835 code unconditional.
13836 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13837 conditional code.
13838 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13839 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13840 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13841 code.
13842 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13843 unconditional.
13844 [__ASSUME_WAITID_SYSCALL]: Likewise.
13845 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13846
d34689de
RM
138472012-08-07 Roland McGrath <roland@hack.frob.com>
13848
a281decc
RM
13849 * sysdeps/unix/closedir.c: Renamed to ...
13850 * sysdeps/posix/closedir.c: ... here.
13851 * sysdeps/unix/dirfd.c: Renamed to ...
13852 * sysdeps/posix/dirfd.c: ... here.
13853 * sysdeps/unix/dirstream.h: Renamed to ...
13854 * sysdeps/posix/dirstream.h: ... here.
13855 * sysdeps/unix/fdopendir.c: Renamed to ...
13856 * sysdeps/posix/fdopendir.c: ... here.
13857 * sysdeps/unix/opendir.c: Renamed to ...
13858 * sysdeps/posix/opendir.c: ... here.
13859 * sysdeps/unix/readdir.c: Renamed to ...
13860 * sysdeps/posix/readdir.c: ... here.
13861 * sysdeps/unix/readdir_r.c: Renamed to ...
13862 * sysdeps/posix/readdir_r.c: ... here.
13863 * sysdeps/unix/rewinddir.c: Renamed to ...
13864 * sysdeps/posix/rewinddir.c: ... here.
13865 * sysdeps/unix/seekdir.c: Renamed to ...
13866 * sysdeps/posix/seekdir.c: ... here.
13867 * sysdeps/unix/telldir.c: Renamed to ...
13868 * sysdeps/posix/telldir.c: ... here.
13869 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13870 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13871 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13872 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13873
22895b47
RM
13874 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13875 * bits/fcntl.h: ... here.
13876
707a53b6
RM
13877 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13878 not 0.
13879 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13880 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13881 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13882 (struct flock): Move l_start, l_len to the beginning.
13883 Use __pid_t for l_pid.
13884 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13885 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13886 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13887 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13888 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13889 [__USE_LARGEFILE64] (struct flock64): New type.
13890 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13891
f0bd3e25
RM
13892 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13893 * bits/dirent.h: ... here.
13894
d34689de
RM
13895 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13896 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13897
6dad2c06
JM
138982012-08-07 Joseph Myers <joseph@codesourcery.com>
13899
13900 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13901 Change from 2.6.0 to 2.6.16.
13902 * sysdeps/unix/sysv/linux/configure: Regenerated.
13903 * sysdeps/unix/sysv/linux/kernel-features.h
13904 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13905 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13906 version.
13907 (__ASSUME_UTIMES): Likewise.
13908 (__ASSUME_CLONE_STOPPED): Remove.
13909 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13910 architectures, not kernel version.
13911 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13912 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13913 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13914 (__ASSUME_WAITID_SYSCALL): Likewise.
13915 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13916 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13917 * README: State 2.6.16 as minimum Linux kernel version. Do not
13918 refer to older versions.
13919
03af9520
RM
139202012-08-06 Roland McGrath <roland@hack.frob.com>
13921
8e49df1d
RM
13922 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13923 Define alphasort64 as an alias.
13924 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13925 Define versionsort64 as an alias.
13926 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13927 Define scandir64 as an alias.
13928 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13929 Define scandirat64 as an alias.
13930 * dirent/alphasort64.c (alphasort64):
13931 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13932 * dirent/versionsort64.c: Likewise.
13933 * dirent/scandir64.c: Likewise.
13934 * dirent/scandirat64.c: Likewise.
13935 * sysdeps/wordsize-64/alphasort.c: File removed.
13936 * sysdeps/wordsize-64/alphasort64.c: File removed.
13937 * sysdeps/wordsize-64/scandir.c: File removed.
13938 * sysdeps/wordsize-64/scandir64.c: File removed.
13939 * sysdeps/wordsize-64/scandirat.c: File removed.
13940 * sysdeps/wordsize-64/scandirat64.c: File removed.
13941 * sysdeps/wordsize-64/versionsort.c: File removed.
13942 * sysdeps/wordsize-64/versionsort64.c: File removed.
13943 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13944 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13945 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13946 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13947 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13948 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
13949 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
13950 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
13951
13952 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
13953 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13954 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
13955 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13956 [defined __arch64__ || defined __sparcv9]
13957 (__INO_T_MATCHES_INO64_T): New macro.
13958 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13959 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
13960 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
13961 * sysdeps/unix/sysv/linux/bits/dirent.h
13962 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
13963 (_DIRENT_MATCHES_DIRENT64): New macro.
13964
03af9520
RM
13965 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
13966 Define lockf64 as an alias.
13967 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
13968 Define fseeko64 as an alias.
13969 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
13970 Define ftello64 as an alias.
13971 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
13972 Define _IO_fgetpos64 and fgetpos64 as aliases.
13973 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
13974 Define _IO_fsetpos64 and fsetpos64 as aliases.
13975 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
13976 Conditionalize body on this.
13977 * libio/fseeko64.c: Likewise.
13978 * libio/ftello64.c: Likewise.
13979 * libio/iofgetpos64.c: Likewise.
13980 * libio/iofsetpos64.c: Likewise.
13981 * sysdeps/wordsize-64/lockf.c: File removed.
13982 * sysdeps/wordsize-64/lockf64.c: File removed.
13983 * sysdeps/wordsize-64/fseeko.c: File removed.
13984 * sysdeps/wordsize-64/fseeko64.c: File removed.
13985 * sysdeps/wordsize-64/ftello.c: File removed.
13986 * sysdeps/wordsize-64/ftello64.c: File removed.
13987 * sysdeps/wordsize-64/iofgetpos.c: File removed.
13988 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
13989 * sysdeps/wordsize-64/iofsetpos.c: File removed.
13990 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
13991 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
13992 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
13993 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
13994 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
13995 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
13996 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
13997 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
13998 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
13999 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14000 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14001
14002 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14003 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14004 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14005 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14006 [defined __arch64__ || defined __sparcv9]
14007 (__OFF_T_MATCHES_OFF64_T): New macro.
14008 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14009 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14010 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14011 (__OFF_T_MATCHES_OFF64_T): New macro.
14012
c5757acd
L
140132012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14014
14015 * stdlib/secure-getenv.c (__secure_getenv): Replace
14016 GLIBC_2_16 with GLIBC_2_17.
14017
3a31811e
L
140182012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14019
14020 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14021 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14022
faa2bccb
DM
140232012-08-03 David S. Miller <davem@davemloft.net>
14024
14025 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14026
85fe1997
JM
140272012-08-03 Joseph Myers <joseph@codesourcery.com>
14028
14029 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14030 Remove.
14031 (__ASSUME_CORRECT_SI_PID): Likewise.
14032 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14033 (__ASSUME_TMPFS_NAME): Likewise.
14034 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14035 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14036 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14037 (HAVE_AUX_SECURE): Make definition unconditional.
14038 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14039 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14040
4f75b7a0
RM
140412012-08-03 Roland McGrath <roland@hack.frob.com>
14042
14043 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14044 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14045 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14046 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14047 __eloop_threshold instead of SYMLOOP_MAX.
14048
14049 * sysdeps/generic/eloop-threshold.h: New file.
14050 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14051 of MAXSYMLINKS.
14052 * elf/chroot_canon.c (chroot_canon): Likewise.
14053
7aab07e4
JM
140542012-08-03 Joseph Myers <joseph@codesourcery.com>
14055
14056 [BZ #13717]
14057 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14058 Change to 2.6.0 everywhere.
14059 * sysdeps/unix/sysv/linux/configure: Regenerated.
14060 * sysdeps/unix/sysv/linux/kernel-features.h
14061 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14062 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14063 kernel versions.
14064 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14065 (__ASSUME_FUTEX_REQUEUE): Remove.
14066 (__ASSUME_STATFS64): Define unconditionally.
14067 (__ASSUME_AT_SECURE): Likewise.
14068 (__ASSUME_CORRECT_SI_PID): Likewise.
14069 (__ASSUME_TGKILL): Define without depending on kernel version for
14070 i386.
14071 (__ASSUME_UTIMES): Likewise.
14072 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14073 kernel version.
14074 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14075 (__ASSUME_TMPFS_NAME): Likewise.
14076 * README: Update reference to Linux kernel versions.
14077
b67e9372
MP
140782012-08-02 Marek Polacek <polacek@redhat.com>
14079
1f529f7d 14080 [BZ# 14150]
b67e9372
MP
14081 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14082 libc_cv_asm_type_prefix with %.
14083 * configure: Regenerated.
d2441631
RM
14084 * include/libc-symbols.h: Remove comment about
14085 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
14086 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14087 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14088 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14089 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14090 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14091 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14092 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14093 * elf/tst-unique2mod1.c: Likewise.
14094 * elf/tst-unique1mod2.c: Likewise.
14095 * elf/tst-unique1mod1.c: Likewise.
14096 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14097 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14098 Replace ASM_TYPE_DIRECTIVE with .type.
14099 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14100 * sysdeps/i386/sysdep.h: Likewise.
14101 * sysdeps/x86_64/sysdep.h: Likewise.
14102 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
14103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14104 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 14105 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
14106 * sysdeps/powerpc/powerpc32/sysdep.h:
14107 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
14108 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14109 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14110 * sysdeps/i386/fpu/e_powf.S: Likewise.
14111 * sysdeps/i386/fpu/e_expl.S: Likewise.
14112 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14113 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14114 * sysdeps/i386/fpu/e_pow.S: Likewise.
14115 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14116 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14117 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14118 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14119 * sysdeps/i386/fpu/e_log2.S: Likewise.
14120 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14121 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14122 * sysdeps/i386/fpu/e_powl.S: Likewise.
14123 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14124 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14125 * sysdeps/i386/fpu/e_logl.S: Likewise.
14126 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14127 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14128 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14129 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14130 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14131 * sysdeps/i386/fpu/e_log.S: Likewise.
14132 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14133 * sysdeps/i386/fpu/e_logf.S: Likewise.
14134 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14135 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14136 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14137 * sysdeps/i386/fpu/e_log10.S: Likewise.
14138 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14139 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14140 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14141 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14142 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14143 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14144 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14145 * sysdeps/i386/i686/strtok.S: Likewise.
14146 * sysdeps/i386/i386-mcount.S: Likewise.
14147 * sysdeps/i386/strtok.S: Likewise.
14148 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14149 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14150 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14151 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14152 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14153 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14154 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14155 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14156 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14157 * sysdeps/x86_64/_mcount.S: Likewise.
14158 * sysdeps/x86_64/strtok.S: Likewise.
14159 * sysdeps/sh/_mcount.S: Likewise.
14160
2747bf9a
RM
141612012-08-01 Roland McGrath <roland@hack.frob.com>
14162
14163 * libio/iofopen.c: Include <fcntl.h>.
14164 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14165 (_IO_fopen64, fopen64): Define as aliases.
14166 * libio/iofopen64.c: Include <fcntl.h>.
14167 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14168 Conditionalize body on this.
14169 * sysdeps/wordsize-64/iofopen.c: File removed.
14170 * sysdeps/wordsize-64/iofopen64.c: File removed.
14171
3fb791b8
MP
141722012-08-01 Marek Polacek <polacek@redhat.com>
14173
14174 * libc/Makeconfig: Use elf in place of binfmt-subdir.
14175 Use dlfcn directly instead of a variable.
14176 (binfmt-subdir): Do not define.
14177 (dlfcn): Likewise.
14178
a9f1039f
JM
141792012-08-01 Joseph Myers <joseph@codesourcery.com>
14180
23bddc06
JM
14181 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14182 Remove all definitions.
14183 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14184 <kernel-features.h>.
14185 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14186 (miss_F_GETOWN_EX): Remove all definitions.
14187 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14188 macro definition.
14189 [!__ASSUME_FCNTL64]: Remove conditional code.
14190 [__ASSUME_FCNTL64]: Make code unconditional.
14191 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14192 <kernel-features.h>.
14193 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14194 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14195 (lockf64) [__NR_fcntl64]: Make code unconditional.
14196 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14197
a9f1039f
JM
14198 * sysdeps/unix/sysv/linux/kernel-features.h
14199 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14200 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14201 Make code unconditional.
14202 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14203 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14205 [__NR_vfork]: Make code unconditional.
14206 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14207 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14209 [__NR_vfork]: Make code unconditional.
14210 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14211 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14212
09c0ee5f
RM
142132012-08-01 Roland McGrath <roland@hack.frob.com>
14214
48aec5b9
RM
14215 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14216 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14217
cd97c966
RM
14218 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14219 Define mkstemp64 as an alias.
3f55550c
RM
14220 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14221 Define mkstemps64 as an alias.
cd97c966
RM
14222 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14223 Define mkostemp64 as an alias.
b8625cfc
RM
14224 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14225 Define mkostemps64 as an alias.
cd97c966
RM
14226 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14227 Conditionalize body on this.
14228 * misc/mkostemp64.c: Likewise.
b8625cfc 14229 * misc/mkostemps64.c: Likewise.
3f55550c 14230 * misc/mkstemps64.c: Likewise.
cd97c966
RM
14231 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14232 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14233 * sysdeps/wordsize-64/mkostemp.c: File removed.
14234 * sysdeps/wordsize-64/mkstemp.c: File removed.
14235 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14236 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14237 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14238 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14239
09c0ee5f
RM
14240 [BZ #14138]
14241 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14242 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14243 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14244 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14245
14246 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14247 compat_symbol macros from <shlib-compat.h> rather than the underlying
14248 default_symbol_version and symbol_version macros, so that DEFAULT
14249 lines in shlib-versions are respected.
14250 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14251
7e66ee51
FW
142522012-08-01 Florian Weimer <fweimer@redhat.com>
14253
14254 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14255 Declare with warn_unused_result.
14256 (setgid, setregid, setegid, setresgid): Likewise.
14257 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14258 Likewise.
14259 * WUR-REPORT: Remove set*id functions.
14260
d2a54255
PT
142612012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14262
14263 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14264
7ecdb005
RM
142652012-07-31 Roland McGrath <roland@hack.frob.com>
14266
b4180a5e 14267 [BZ #10191]
789bd351
RM
14268 * include/sys/socket.h (__libc_accept, __libc_accept4):
14269 Add attribute_hidden.
14270 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14271
40ce302d
RM
14272 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14273 use of PTR_MANGLE.
14274 * inet/getnetgrent_r.c (setup): Likewise.
14275
7ecdb005
RM
14276 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14277
e2eabb2c
DM
142782012-07-31 David S. Miller <davem@davemloft.net>
14279
14280 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14281
d0419dbf
JM
142822012-07-31 Joseph Myers <joseph@codesourcery.com>
14283
14284 [BZ #13629]
14285 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14286 value between 1.0 and 2.0 and smaller part has absolute value less
14287 than 1.0.
14288 * math/s_clog10.c (__clog10): Likewise.
14289 * math/s_clog10f.c (__clog10f): Likewise.
14290 * math/s_clog10l.c (__clog10l): Likewise.
14291 * math/s_clogf.c (__clogf): Likewise.
14292 * math/s_clogl.c (__clogl): Likewise.
14293 * math/libm-test.inc (clog_test): Add more tests.
14294 (clog10_test): Likewise.
14295 * sysdeps/i386/fpu/libm-test-ulps: Update.
14296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14297
2bc13872
FW
142982012-07-31 Florian Weimer <fweimer@redhat.com>
14299
14300 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14301 Exit with zero in case no suitable GID is found, and write a
14302 message to standard error.
14303
bea9b193
RM
143042012-07-30 Roland McGrath <roland@hack.frob.com>
14305
14306 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14307 rather than to 1.
14308 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14309 (MAXPATHLEN): Removed.
14310 (NOGROUP, NODEV): New macros.
14311 (setbit, clrbit, isset, isclr): New macros.
14312 (howmany, roundup, powerof2): New macros.
14313 (DEV_BSIZE): New macro.
14314
14315 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14316 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14317
14318 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14319 definition on [!__NO_LONG_DOUBLE_MATH].
14320
14321 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14322 PTR_MANGLE and PTR_DEMANGLE.
14323
14324 * socket/accept4.c (accept4): Rename to __libc_accept4.
14325 Define accept4 as a weak alias.
14326
14327 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14328 on [_DIRENT_HAVE_D_TYPE].
14329 * io/ftw.c (ftw_dir): Likewise.
14330
14331 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14332
14333 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14334
14335 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14336 Use the BSD numbers rather than the arbitrary ones we had.
14337 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14338 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14339 (SIGXCPU, SIGXFSZ): New macros.
14340 (_NSIG): Now 32.
14341
14342 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14343 initializer on [_LIBC_REENTRANT].
14344
14345 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14346 definitions inside [_POSIX_MAPPED_FILES].
14347
14348 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14349
14350 * dirent/opendir.c: Include <fcntl.h>.
14351
14352 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14353 (__libc_getspecific): Likewise.
14354 (__libc_key_create): Likewise.
14355
14356 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14357 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14358 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14359 (tmpfile64): Define as alias.
14360 * sysdeps/wordsize-64/tmpfile.c: File removed.
14361 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14362 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14363 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14364
14365 * stdio-common/vfscanf.c: Include <stdbool.h>.
14366 * nss/makedb.c: Likewise.
14367 * stdio-common/_i18n_number.h: Likewise.
14368 * argp/argp-help.c: Likewise.
14369 * posix/wordexp.c: Likewise.
14370 * sysdeps/posix/spawni.c: Likewise.
14371 * nss/nss_files/files-initgroups.c: Likewise.
14372 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14373 * nss/nss_files/files-initgroups.c: Likewise.
14374 * nss/nss_db/db-netgrp.c: Likewise.
14375 * nss/nss_db/db-initgroups.c: Likewise.
14376 * io/fchmodat.c: Include <sys/stat.h>.
14377
14378 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14379 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14380
14381 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14382 [HAVE_MMAP].
14383
14384 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14385 Add multiple inclusion protection.
14386
e5abc686
DM
143872012-07-27 David S. Miller <davem@davemloft.net>
14388
14389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14390
815e6fa3
GB
143912012-07-27 Gary Benson <gbenson@redhat.com>
14392
14393 [BZ #14298]
14394 * elf/rtld.c: Include <stap-probe.h>.
14395 (dl_main): Added static probes "init_start" and "init_complete".
14396 * elf/dl-load.c: Include <stap-probe.h>.
14397 (lose): Take new parameter "nsid".
14398 Added static probe "map_failed".
14399 (_dl_map_object_from_fd): Pass namespace id to lose.
14400 Added static probe "map_start".
14401 (open_verify): Pass namespace id to lose.
14402 * elf/dl-open.c: Include <stap-probe.h>.
14403 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14404 and "reloc_complete".
14405 * elf/dl-close.c: Include <stap-probe.h>.
14406 (_dl_close_worker): Added static probes "unmap_start" and
14407 "unmap_complete".
14408 * elf/rtld-debugger-interface.txt: New file documenting the above.
14409
9f98c16c
RM
144102012-07-26 Roland McGrath <roland@hack.frob.com>
14411
14412 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14413 rather than a string variable.
14414 * sunrpc/rpc_main.c (h_output): Likewise.
14415 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14416
f3c22df3
PT
144172012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14418
14419 * inet/check_native.c: New file.
14420
3129cfc6
JM
144212012-07-26 Joseph Myers <joseph@codesourcery.com>
14422
da865e95
JM
14423 [BZ #13629]
14424 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14425 if larger part has absolute value 1.0.
14426 * math/s_clog10.c (__clog10): Likewise.
14427 * math/s_clog10f.c (__clog10f): Likewise.
14428 * math/s_clog10l.c (__clog10l): Likewise.
14429 * math/s_clogf.c (__clogf): Likewise.
14430 * math/s_clogl.c (__clogl): Likewise.
14431 * math/libm-test.inc (clog_test): Add more tests.
14432 (clog10_test): Likewise.
14433 * sysdeps/i386/fpu/libm-test-ulps: Update.
14434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14435
3129cfc6
JM
14436 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14437 (pltexit): Likewise.
14438 (La_regs): Likewise.
14439 (La_retval): Likewise.
14440 (int_retval): Likewise.
14441 Update #error for removed macros to refer only to definitions in
14442 tst-audit.h.
14443 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14444 macro.
14445 (pltexit): Likewise.
14446 (La_regs): Likewise.
14447 (La_retval): Likewise.
14448 (int_retval): Likewise.
14449 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14450 macro.
14451 (pltexit): Likewise.
14452 (La_regs): Likewise.
14453 (La_retval): Likewise.
14454 (int_retval): Likewise.
14455 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14456 macro.
14457 (pltexit): Likewise.
14458 (La_regs): Likewise.
14459 (La_retval): Likewise.
14460 (int_retval): Likewise.
14461 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14462 macro.
14463 (pltexit): Likewise.
14464 (La_regs): Likewise.
14465 (La_retval): Likewise.
14466 (int_retval): Likewise.
14467 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14468 macro.
14469 (pltexit): Likewise.
14470 (La_regs): Likewise.
14471 (La_retval): Likewise.
14472 (int_retval): Likewise.
14473 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14474 macro.
14475 (pltexit): Likewise.
14476 (La_regs): Likewise.
14477 (La_retval): Likewise.
14478 (int_retval): Likewise.
14479 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14480 macro definitions in tst-audit.h.
14481 * sysdeps/i386/tst-audit.h: New file.
14482 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14483 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14484 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14485 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14486 * sysdeps/sh/tst-audit.h: Likewise.
14487 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14488 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14489 * sysdeps/x86_64/tst-audit.h: Likewise.
14490
bfc07087
AJ
144912012-07-26 Andreas Jaeger <aj@suse.de>
14492
b1b2aaf8
AJ
14493 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14494 ptrace.
14495
14496 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14497 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14498 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14499 PTRACE_O_MASK.
14500 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14501 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14502 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14503
bfc07087
AJ
14504 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14505 value.
14506
14507 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14508 _sigsys.
14509 (si_call_addr, si_syscall, si_arch): Define new macro.
14510 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14511 _sigsys.
14512 (si_call_addr, si_syscall, si_arch): Define new marcro.
14513 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14514 _sigsys.
14515 (si_call_addr, si_syscall, si_arch): Define new macro.
14516 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14517 _sigsys.
14518 (si_call_addr, si_syscall, si_arch): Define new macro.
14519
89b4b02f
JM
145202012-07-25 Joseph Myers <joseph@codesourcery.com>
14521
14522 [BZ #13717]
14523 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14524 Change to 2.4.21 where previously 2.4.1.
14525 * sysdeps/unix/sysv/linux/configure: Regenerated.
14526 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14527 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14528 Linux kernel version.
14529 (__ASSUME_STD_AUXV): Remove.
14530 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14531 kernel version.
14532 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14533 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14534 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14535 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14536 (__ASSUME_NETLINK_SUPPORT): Likewise.
14537 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14538 (__no_netlink_support): Remove conditional definition.
14539 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14540 Remove.
14541 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14542 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14543 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14544 (if_nameindex_ioctl): Remove.
14545 (if_nameindex_netlink): Do not handle __no_netlink_support.
14546 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14547 code.
14548 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14549 Remove conditional code.
14550 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14551 code.
14552 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14553 unconditional.
14554 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14555 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14556 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14557 Remove.
14558 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14559 [!__ASSUME_STD_AUXV]: Remove conditional code.
14560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14561 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14562 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14564 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14565 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14566 code.
14567 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14569 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14570 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14571 conditional code.
14572 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14574 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14575 code.
14576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14577 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14578 conditional code.
14579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14580 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14581 code unconditional.
14582 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14583 conditional code.
14584 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14585 unconditional.
14586 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14587 conditional code.
14588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14589 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14590 unconditional.
14591 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14592 conditional code.
14593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14594 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14595 code unconditional.
14596 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14597 conditional code.
14598 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14599 unconditional.
14600 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14601 conditional code.
14602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14603 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14604 code unconditional.
14605 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14606 conditional code.
14607 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14608 unconditional.
14609 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14610 conditional code.
14611
842a39cd
AS
146122012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14613
14614 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14615 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14616 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14617 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14618 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14619 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14620 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14621 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14622 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14623 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14624 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14625 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14626 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14627 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14628 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14629 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14630 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14631 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14632 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14633 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14634 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14635 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14636 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14637
84b3fd84
FW
146382012-07-25 Florian Weimer <fweimer@redhat.com>
14639
14640 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
14641 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14642 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14643 Introduce __libc_secure_getenv.
0c7936d5
FW
14644 * stdlib/Versions (2.17): Add secure_getenv
14645 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14646 * stdlib/secure-getenv.c: Rename __secure_getenv to
14647 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14648 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
14649 * stdlib/tst-secure-getenv.c: New.
14650 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
14651 * manual/startup.texi (Environment Access): Document
14652 secure_getenv.
84b3fd84
FW
14653 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14654 __libc_secure_getenv.
14655 * inet/ruserpass.c (ruserpass): Likewise.
14656 * malloc/mtrace.c (mtrace): Likewise.
14657 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 14658 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
14659 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14660 * sysdeps/posix/tempname.c: Likewise. Evaluate
14661 HAVE_SECURE_GETENV.
14662 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 14663 __secure_getenv to __libc_secure_getenv.
84b3fd84 14664 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
14665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14666 Likewise.
14667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14668 Likewise.
14669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14671 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14672 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14675 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 14676
56e49b71
JM
146772012-07-25 Joseph Myers <joseph@codesourcery.com>
14678
14679 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14680 (struct La_i86_retval): Likewise.
14681 (struct La_x86_64_regs): Likewise.
14682 (struct La_x86_64_retval): Likewise.
14683 (struct La_x32_regs): Likewise.
14684 (struct La_x32_retval): Likewise.
14685 (struct La_ppc32_regs): Likewise.
14686 (struct La_ppc32_retval): Likewise.
14687 (struct La_ppc64_regs): Likewise.
14688 (struct La_ppc64_retval): Likewise.
14689 (struct La_sh_regs): Likewise.
14690 (struct La_sh_retval): Likewise.
14691 (struct La_s390_32_regs): Likewise.
14692 (struct La_s390_32_retval): Likewise.
14693 (struct La_s390_64_regs): Likewise.
14694 (struct La_s390_64_retval): Likewise.
14695 (struct La_sparc32_regs): Likewise.
14696 (struct La_sparc32_retval): Likewise.
14697 (struct La_sparc64_regs): Likewise.
14698 (struct La_sparc64_retval): Likewise.
14699 (struct audit_ifaces): Remove architecture-specific pltenter and
14700 pltexit members.
14701 * sysdeps/i386/ldsodefs.h: New file.
14702 * sysdeps/powerpc/ldsodefs.h: Likewise.
14703 * sysdeps/s390/ldsodefs.h: Likewise.
14704 * sysdeps/sh/ldsodefs.h: Likewise.
14705 * sysdeps/sparc/ldsodefs.h: Likewise.
14706 * sysdeps/x86_64/ldsodefs.h: Likewise.
14707
354691b7
MP
147082012-07-25 Marek Polacek <polacek@redhat.com>
14709
14710 [BZ #6808]
14711 * math/libm-test.inc (yn_test): Add another test.
14712 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14713 to ERANGE when the result is +-Inf.
14714 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14715 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14716 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14717 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14718
bf9e2071
JM
147192012-07-24 Joseph Myers <joseph@codesourcery.com>
14720
14721 * conform/data/time.h-data (NULL): Use macro-constant. Require
14722 equal to 0.
14723 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14724 clock_t.
14725 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14726
57633811
TS
147272012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14728
14729 * configure.in <sysdeps resolving>: Correct printing
14730 Implies_before.
14731 * configure: Regenerate.
14732
c23c33b0
TS
147332012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14734
14735 * math/w_ilogb.c: Include <limits.h>.
14736 * math/w_ilogbl.c: Likewise.
14737
b5982523
JM
147382012-07-20 Joseph Myers <joseph@codesourcery.com>
14739
14740 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14741 va_copy. Document allowing for unavailable va_copy only as
14742 pre-C99 compatibility.
14743 * manual/string.texi (Copying and Concatenation): Use va_copy
14744 instead of __va_copy in concat example.
14745
ac4ea442
PT
147462012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14747
14748 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14749 (__sendto): Use create_address_port. Initialize APORT and deallocate
14750 it if not null.
14751
f98eafbd
PT
14752 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14753 with O_NOLINK passed to __file_name_lookup.
14754
898c7aab
PT
14755 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14756 with O_NOLINK passed to __file_name_lookup.
14757
0ced335a
PT
14758 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14759 negative N or less than NGIDS.
14760
b3404dbd
PT
14761 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14762 type to string_t. Set ERANGE as errno and return it if NAME is not big
14763 enough. Use memcpy instead of strncpy.
14764
0f48659e
JM
147652012-07-20 Joseph Myers <joseph@codesourcery.com>
14766
14767 * elf/Makefile (check-data): Remove.
14768 (localplt.data): New vpath directive.
14769 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14770 instead of $(check-data).
14771 * scripts/data/localplt-generic.data: Move to ...
14772 * sysdeps/generic/localplt.data: ... here.
14773 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14774 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14775 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14777 ... here.
14778 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14780 ... here.
14781 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14783 ... here.
14784 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14786 ... here.
14787 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14788 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14789 ... here.
14790 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14791 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14792 ... here.
14793
d37cbdaa
AZ
147942012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14795
14796 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14797 PPC32 and PPC64 files.
14798 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14799 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14800
46f85fc2
AK
148012012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14802
14803 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14804 __makecontext_ret to ...
14805 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14806 ... here and call exit if uc_link is NULL. New file.
14807 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14808 __makecontext_ret.S.
14809 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14810 __makecontext_ret to ...
14811 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14812 ... here and call exit if uc_link is NULL. New file.
14813 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14814 __makecontext_ret.S.
14815
08f43f9b
AK
148162012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14817
14818 * elf/elf.h (R_390_IRELATIVE): New definition.
14819 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14820 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
14821 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14822 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14823 (elf_machine_lazy_rel): Likewise.
14824 * sysdeps/s390/dl-irel.h: New file.
14825 * sysdeps/s390/s390-64/memcpy.S: New asm code.
14826 * sysdeps/s390/s390-64/memset.S: New asm code.
14827 * sysdeps/s390/s390-64/memcmp.S: New asm code.
14828 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14829 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14830 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14831 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14832 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14833 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14834 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14835 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14836 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14837 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14838 * sysdeps/s390/s390-32/memcpy.S: New asm code.
14839 * sysdeps/s390/s390-32/memset.S: New asm code.
14840 * sysdeps/s390/s390-32/memcmp.S: New asm code.
14841
3b05db33
MP
148422012-07-17 Marek Polacek <polacek@redhat.com>
14843
14844 [BZ #14349]
14845 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14846 * sysdeps/s390/s390-64/configure.in: Likewise.
14847 * sysdeps/sparc/configure.in: Likewise.
14848 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14849 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14850 * sysdeps/i386/configure.in: Likewise.
14851 * sysdeps/x86_64/configure.in: Likewise.
14852 * sysdeps/sh/configure.in: Likewise.
14853 * sysdeps/s390/s390-32/configure: Regenerated.
14854 * sysdeps/s390/s390-64/configure: Likewise.
14855 * sysdeps/x86_64/configure: Likewise.
14856 * sysdeps/sh/configure: Likewise.
14857 * sysdeps/powerpc/powerpc64/configure: Likewise.
14858 * sysdeps/powerpc/powerpc32/configure: Likewise.
14859 * sysdeps/sparc/configure: Likwise.
14860 * sysdeps/i386/configure: Likewise.
14861
a66877c6
MP
14862 * elf/dl-open.c: Comment fixes.
14863
cfc82fd8
JM
148642012-07-17 Joseph Myers <joseph@codesourcery.com>
14865
bd29910a
JM
14866 * Makefile [CXX] (check-data): Remove.
14867 [CXX] (c++-types.data): New vpath directive.
14868 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14869 vpath. Do not allow for C++ type data being missing.
14870 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14871 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14872 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14873 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14874 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14875 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14876 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14878 ... here.
14879 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14881 ... here.
14882 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14884 ... here.
14885 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14887 ... here.
14888 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14890 ... here.
14891 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14892 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14893 ... here.
14894 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14896 ... here.
14897 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14898 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14899
cfc82fd8
JM
14900 * elf/tls-macros.h (TLS_LE): Move architecture-specific
14901 definitions to architecture-specific files.
14902 (TLS_IE): Likewise.
14903 (TLS_LD): Likewise.
14904 (TLS_GD): Likewise.
14905 * sysdeps/i386/tls-macros.h: New file.
14906 * sysdeps/powerpc/tls-macros.h: Likewise.
14907 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14908 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14909 * sysdeps/sh/tls-macros.h: Likewise.
14910 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14911 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14912 * sysdeps/x86_64/tls-macros.h: Likewise.
14913
f7db3170
TS
149142012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14915
07cbfc23
TS
14916 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14917 zero value for regular exit case.
14918
f7db3170
TS
14919 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14920 (__start_context): Preserve zero value for regular exit case.
14921
dc97c227
TS
149222012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14923 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14924
14925 * manual/setjmp.texi (setcontext): Clarify normal process
14926 termination when uc_link is the null pointer.
14927 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14928 exit call.
14929
d0cd7d02
AS
149302012-07-16 Andreas Schwab <schwab@linux-m68k.org>
14931
14932 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14933 preprocessor. Test for each exception mask separately.
14934
dd318934
AJ
149352012-07-16 Andreas Jaeger <aj@suse.de>
14936
14937 * po/ru.po: Update from translation team.
14938
8048311a
JM
149392012-07-15 Joseph Myers <joseph@codesourcery.com>
14940
14941 * conform/data/string.h-data (NULL): Use macro-constant. Require
14942 equal to 0.
14943 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14944 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14945 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14946 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14947 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14948
b637d46e
AJ
149492012-07-13 Andreas Jaeger <aj@suse.de>
14950
14951 * po/fr.po: Update from translation team.
14952
541428fe
MP
149532012-07-12 Marek Polacek <polacek@redhat.com>
14954
14955 [BZ #14173]
14956 * math/libm-test.inc (yn_test): Add test for BZ #14173.
14957 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
14958 loop condition.
14959
ec332e94
JM
149602012-07-12 Joseph Myers <joseph@codesourcery.com>
14961
14962 [BZ #13717]
14963 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14964 Change to 2.4.1 where previously 2.4.0.
14965 * sysdeps/unix/sysv/linux/configure: Regenerated.
14966 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
14967 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
14968 version.
14969 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
14970 (__ASSUME_AT_CLKTCK): Remove.
14971 (__ASSUME_AT_PAGESIZE): Likewise.
14972 (__ASSUME_AT_XID): Likewise.
14973 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
14974 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
14975 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
14976 unconditionally.
14977 (HAVE_AUX_PAGESIZE): Likewise.
14978 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
14979 [__ASSUME_AT_CLKTCK]: Make code unconditional.
14980 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
14981
7b6e99be
JB
149822012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
14983
14984 [BZ #14307]
14985 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
14986 the temporary buffer used to invoke __gethostbyname2_r,
14987 __gethostbyaddr_r and gethostbyname4_r to make room for struct
14988 host_data / struct gaih_addrtuple.
14989 * resolv/nss_dns/dns-host.c (global scope): Move definition of
14990 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
14991 header file nss/nsswitch.h.
14992 * nss/nsswitch.h (global scope): Add definition of implementation
14993 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
14994 resolv/nss_dns/dns-host.c).
14995
608404eb
AJ
149962012-07-11 Andreas Jaeger <aj@suse.de>
14997
14998 * po/fr.po: Update from translation team.
14999
71220aca
AJ
15000 * po/sv.po: Update from translation team
15001 * po/fr.po: Another update from translation team.
15002
28cfe843
AZ
150032012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15004
15005 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15006 for subnormals or multiply small sinh result by itself.
15007 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15009
6b90f981
DM
150102012-07-11 David S. Miller <davem@davemloft.net>
15011
15012 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15013
c6825772
AS
150142012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15015
15016 [BZ #14347]
15017 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15018 (INTERNAL_MARK): Shift it here.
15019
7b8e0d49
MP
150202012-07-10 Marek Polacek <polacek@redhat.com>
15021
15022 [BZ #14151]
15023 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15024 libc_cv_asm_global_directive with .globl.
15025 * configure: Regenerated.
15026 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15027 with .globl.
15028 * sysdeps/i386/configure: Regenerated.
15029 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15030 with .globl.
15031 * sysdeps/x86_64/configure: Regenerated.
15032 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15033 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15034 * elf/tst-unique2mod2.c: Likewise.
15035 * elf/tst-unique2mod1.c: Likewise.
15036 * elf/tst-unique1mod2.c: Likewise.
15037 * elf/tst-unique1mod1.c: Likewise.
15038 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15039 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15040 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15041 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15042 * sysdeps/mach/sysdep.h: Likewise.
15043 * sysdeps/i386/sysdep.h: Likewise.
15044 * sysdeps/i386/i386-mcount.S: Likewise.
15045 * sysdeps/x86_64/_mcount.S: Likewise.
15046 * sysdeps/x86_64/sysdep.h: Likewise.
15047 * sysdeps/sh/_mcount.S: Likewise.
15048 * sysdeps/sh/sysdep.h: Likewise.
15049 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15050 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15051 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15052 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15053 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15054 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15055 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15056 * locale/localeinfo.h: Likewise.
15057 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15058 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15059
6c55cda3
RM
150602012-07-09 Roland McGrath <roland@hack.frob.com>
15061
15062 [BZ #14336]
15063 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15064 system".
15065 * manual/message.texi (The Uniforum approach): Likewise.
15066 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15067 (glibc iconv Implementation): Likewise.
15068
638a572e
JM
150692012-07-09 Joseph Myers <joseph@codesourcery.com>
15070
15071 [BZ #14337]
15072 * math/s_clog.c (__clog): Avoid scaling a value down where that
15073 could result in underflow.
15074 * math/s_clog10.c (__clog10): Likewise.
15075 * math/s_clog10f.c (__clog10f): Likewise.
15076 * math/s_clog10l.c (__clog10l): Likewise.
15077 * math/s_clogf.c (__clogf): Likewise.
15078 * math/s_clogl.c (__clogl): Likewise.
15079 * math/libm-test.inc (clog_test): Add more tests.
15080 (clog10_test): Likewise.
15081 * sysdeps/i386/fpu/libm-test-ulps: Update.
15082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15083
261f4859
AS
150842012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15085
0abaf3e4
AS
15086 [BZ #14283]
15087 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15088 by 7 not 8 to examine high bit of fractional part.
15089
261f4859
AS
15090 [BZ #14042]
15091 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15092 for call to __mcount_internal.
15093 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15094 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15095 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15096
f17ac40d
JM
150972012-07-06 Joseph Myers <joseph@codesourcery.com>
15098
9ad63c23
JM
15099 [BZ #14154]
15100 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15101 approximation for values within 0x1p-13f of an odd multiple of
15102 pi/4.
15103 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15104 exception. Add more tests.
15105 * sysdeps/i386/fpu/libm-test-ulps: Update.
15106
f17ac40d
JM
15107 [BZ #6778]
15108 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15109 inputs and return -1 for them. Do not check for +Inf in case not
15110 reachable for +Inf.
15111 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15112 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15113 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15114 and return -1 for them. Do not check for +Inf in case not
15115 reachable for +Inf.
15116 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15117 define.
15118 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15119 and return -1 for them. Do not check for +Inf in case not
15120 reachable for +Inf.
15121 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15122 spurious underflow.
15123 * sysdeps/i386/fpu/libm-test-ulps: Update.
15124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15125
fb21f89b
MF
151262012-07-06 Mike Frysinger <vapier@gentoo.org>
15127
15128 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15129
cdfe2c5e
JM
151302012-07-05 Joseph Myers <joseph@codesourcery.com>
15131
15132 [BZ #14157]
15133 [BZ #14331]
15134 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15135 could result in spurious underflow. Scale down values above
15136 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15137 * math/s_csqrtf.c (__csqrtf): Likewise.
15138 * math/s_csqrtl.c (__csqrtl): Likewise.
15139 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15140 spurious underflow.
15141 * sysdeps/i386/fpu/libm-test-ulps: Update.
15142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15143
70d35b67
AS
151442012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15145
704bc459
AS
15146 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15147 xopen-msg.sed.
15148 * catgets/xopen-msg.awk: New file.
15149 * catgets/xopen-msg.sed: Removed.
15150
70d35b67
AS
15151 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15152 po2text.sed.
15153 * intl/po2test.awk: New file.
15154 * intl/po2test.sed: Removed.
15155
ca61cf32
JM
151562012-07-04 Joseph Myers <joseph@codesourcery.com>
15157
15158 [BZ #14328]
15159 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15160 or multiply small sinh result by itself.
15161 * math/s_ctanf.c (__ctanf): Likewise.
15162 * math/s_ctanh.c (__ctanh): Likewise.
15163 * math/s_ctanhf.c (__ctanhf): Likewise.
15164 * math/s_ctanhl.c (__ctanhl): Likewise.
15165 * math/s_ctanl.c (__ctanl): Likewise.
15166 * math/libm-test.inc (ctan_test_tonearest): New function.
15167 (ctan_test_towardzero): Likewise.
15168 (ctan_test_downward): Likewise.
15169 (ctan_test_upward): Likewise.
15170 (ctanh_test_tonearest): Likewise.
15171 (ctanh_test_towardzero): Likewise.
15172 (ctanh_test_downward): Likewise.
15173 (ctanh_test_upward): Likewise.
15174 (main): Call these new functions.
15175 * sysdeps/i386/fpu/libm-test-ulps: Update.
15176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15177
ca48a46a
MF
151782012-07-03 Mike Frysinger <vapier@gentoo.org>
15179
15180 * .gitignore: Delete /ports entry.
15181
9d63d37d
AJ
151822012-07-03 Andreas Jaeger <aj@suse.de>
15183
15184 * po/bg.po: Update from translation team.
15185 * po/cs.po: Likewise.
15186 * po/de.po: Likewise.
15187 * po/hr.po: Likewise.
15188 * po/nl.pl: Likewise.
15189 * po/pl.po: Likewise.
15190 * po/vi.po: Likewise.
15191
370ca3d2
JM
151922012-07-03 Joseph Myers <joseph@codesourcery.com>
15193
95f5a9a8
JM
15194 * Makeconfig [!+link] (+link-before-libc): New variable.
15195 [!+link] (+link-after-libc): Likewise.
15196 [!+link] (+link-tests): Likewise.
15197 [!+link] (+link): Define in terms of $(+link-before-libc) and
15198 $(+link-after-libc).
15199 [!+link-static] (+link-static-before-libc): New variable.
15200 [!+link-static] (+link-static-after-libc): Likewise.
15201 [!+link-static] (+link-static-tests): Likewise.
15202 [!+link-static] (+link-static): Define in terms of
15203 $(+link-static-before-libc) and $(+link-static-after-libc).
15204 [build-shared] (link-libc-before-gnulib): New variable.
15205 [build-shared] (link-libc-tests): Likewise.
15206 [build-shared] (link-libc): Define in terms of
15207 $(link-libc-before-gnulib).
15208 [!build-shared] (link-libc-tests): New variable.
15209 (link-libc-static-tests): New variable.
15210 [!gnulib] (gnulib-arch): New variable.
15211 [!gnulib] (gnulib-tests): Likewise.
15212 [!gnulib] (static-gnulib-arch): Likewise.
15213 [!gnulib] (static-gnulib-tests): Likewise.
15214 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15215 Define with "=" instead of ":=".
15216 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15217 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15218 * Rules (binaries-all-notests): New variable.
15219 (binaries-all-tests): Likewise.
15220 (binaries-static-notests): Likewise.
15221 (binaries-static-tests): Likewise.
15222 (binaries-all): Define using $(binaries-all-notests) and
15223 $(binaries-all-tests).
15224 (binaries-static): Define using $(binaries-static-notests) and
15225 $(binaries-static-tests).
15226 (binaries-shared-tests): New variable.
15227 (binaries-shared-notests): Likewise.
15228 (binaries-shared): Remove variable.
15229 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15230 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15231 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15232 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15233 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15234 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15235 * elf/Makefile (sln-modules): New variable.
15236 (extra-objs): Add $(sln-modules:=.o).
15237 (ldconfig-modules): Add static-stubs.
15238 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15239 * elf/static-stubs.c: New file.
15240
7a845b2c
JM
15241 [BZ #14283]
15242 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15243 by 7 not 8 to examine high bit of fractional part. Use volatile
15244 variables when splitting into final array of floats if
15245 __FLT_EVAL_METHOD__ != 0.
15246 * math/libm-test.inc (cos_test): Add another test.
15247 (sin_test): Likewise.
15248 * sysdeps/i386/fpu/libm-test-ulps: Update.
15249
e2283f38
JM
15250 [BZ #14273]
15251 * math/libm-test.inc (cosh_test): Add more tests.
15252
370ca3d2
JM
15253 * version.h (RELEASE): Set to "development".
15254 (VERSION): Set to "2.16.90".
15255
ee9247c3
CD
152562012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15257
15258 * NEWS: Update copyright. Remove last-updated date.
15259 Mention math library bug fixes and timezone data changes.
15260 * README: Mention GNU/Hurd, x32, and HPPA support status.
15261
4648c381
TS
152622012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15263
15264 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15265
aac78a43
AJ
152662012-06-27 Andreas Jaeger <aj@suse.de>
15267
15268 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15269
ed3dbfad
AJ
152702012-06-25 Andreas Jaeger <aj@suse.de>
15271
15272 * sysdeps/s390/fpu/libm-test-ulps: Update.
15273
4d0ee855
AS
152742012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15275 Thomas Schwinge <thomas@codesourcery.com>
15276
15277 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15278 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15279 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15280 fanotify_mark.
15281
af1bce34
TS
152822012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15283
a9fa33ba
TS
15284 * sysdeps/mach/start.c: Remove file.
15285 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15286 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15287 * sysdeps/sh/init-first.c: Likewise.
15288
58f902b8
TS
15289 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15290 registers for frame unwinding purposes, add CFI directives.
15291 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15292 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15293 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15294 Likewise.
15295
1518f58b
TS
15296 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15297 __fortify_fail returning.
15298 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15299
db9b5059
TS
15300 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15301 sysdeps/sh/____longjmp_chk.S.
15302 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15303 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15304 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15305 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15306
967705fe
TS
15307 * sysdeps/sh/abort-instr.h: New file.
15308 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15309 process in case exit returns.
15310
a9def8c4
TS
15311 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15312 initialize the GOT register before use.
15313
2a649725
TS
15314 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15315 calculation of ARGC > 4.
15316
af1bce34
TS
15317 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15318 meaningful names to some local labels.
15319
d230f50a
KK
153202012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15321 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15322
15323 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15324 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15325 (__arch_compare_and_exchange_val_16_acq): Likewise.
15326 (__arch_compare_and_exchange_val_32_acq): Likewise.
15327 (atomic_exchange_and_add): Fix gUSA sequence.
15328 (atomic_add): Likewise.
15329 (atomic_add_negative): Likewise.
15330 (atomic_add_zero): Likewise.
15331 (atomic_bit_test_set): Likewise.
15332
0479b305
AS
153332012-06-22 Andreas Schwab <schwab@redhat.com>
15334
15335 [BZ #13579]
15336 * include/link.h (struct link_map): Add l_free_initfini.
15337 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15338 l_initfini.
15339 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15340 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15341 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15342 set.
15343
0e3933b9
CD
153442012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15345
15346 * configure.in: Use AC_LANG_SOURCE.
15347 * configure: Regenerate.
15348
4248b1b1
RM
153492012-06-22 Roland McGrath <roland@hack.frob.com>
15350
15351 * configure.in (libc_cv_localstatedir): New substituted variable.
15352 * configure: Regenerated.
15353 * config.make.in (localstatedir): New variable, substituted from
15354 libc_cv_localstatedir.
15355 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15356 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15357 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15358 * sysdeps/gnu/configure: Regenerated.
15359
006dd861
JL
153602012-06-21 Jeff Law <law@redhat.com>
15361
15362 [BZ #14277]
15363 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15364 free. Simplify list management for _LIBC case.
15365
79662d42
JM
153662012-06-21 Joseph Myers <joseph@codesourcery.com>
15367
b7abb4bf
JM
15368 [BZ #14273]
15369 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15370 Clear sign bit of 64-bit integer value before comparing against
15371 overflow value.
15372
79662d42
JM
15373 * sysdeps/mach/configure: Regenerated.
15374
1f150908
L
153752012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15376
15377 [BZ #14278]
15378 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15379
28363bbf
JL
153802012-06-21 Jeff Law <law@redhat.com>
15381
15382 [BZ #13882]
15383 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15384 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 15385 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
15386 * elf/dl-open.c (dl_open_worker): Likewise.
15387
09615db4
CD
153882012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15389
15390 * scripts/list-sources.sh: Scan PORTS for translations.
15391 * po/libc.pot: Regenerated.
15392
2174c6dd
AJ
153932012-06-21 Andreas Jaeger <aj@suse.de>
15394
15395 [BZ #12194]
15396 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15397 warning.
15398 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15399 * bits/byteswap-16.h (__bswap_16): Likewise.
15400 * bits/byteswap.h (__bswap_constant_16): Likewise.
15401
3ee947b1
L
154022012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15403
15404 [BZ #14117]
a2f34833
L
15405 * sysdeps/i386/fpu_control.h: Removed.
15406 * sysdeps/x86_64/fpu_control.h: Moved to ...
15407 * sysdeps/x86/fpu_control.h: Here.
15408
3ee947b1
L
15409 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15410 (_FPU_SETCW): Likewise.
15411
ed1825f8
L
154122012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15413
25f1282a
L
15414 [BZ #14117]
15415 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15416 * sysdeps/x86/fpu/bits/mathinline.h: This.
15417 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15418
ed1825f8
L
15419 [BZ #14050]
15420 [BZ #14117]
15421 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15422 functions if __x86_64__ is defined.
15423
36d54b74
CLT
154242012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15425
15426 * string/endian.h: Add !__ASSEMBLER__ condition for including
15427 conversion interfaces.
15428
10285c21
JM
154292012-06-15 Joseph Myers <joseph@codesourcery.com>
15430
15431 [BZ #14241]
15432 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15433 of ABS(x) in calculating zero to negative powers other than odd
15434 integers.
15435 * math/libm-test.inc (pow_test): Add more tests.
15436
06c5abbd
AJ
154372012-06-15 Andreas Jaeger <aj@suse.de>
15438
15439 * manual/contrib.texi (Contributors): Update entry of Liubov
15440 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15441 Machado Filho.
15442
a3aeac40
CH
154432012-06-15 Cyril Hrubis <metan@ucw.cz>
15444
15445 * string/string.h: Add __wur to GNU version of strerror_r.
15446
49bdf4c1
L
154472012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15448
15449 [BZ #14229]
15450 * string/Makefile (tests): Add tst-strtok_r.
15451 * string/tst-strtok_r.c: New file.
15452 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15453 RAX_LP/RDX_LP on SAVE_PTR.
15454
834f9b8d
RM
154552012-06-14 Roland McGrath <roland@hack.frob.com>
15456
15457 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15458
75fa1921
JM
154592012-06-14 Joseph Myers <joseph@codesourcery.com>
15460
15461 * libm_test.inc (csqrt_test): Allow more spurious underflow
15462 exceptions.
15463 (j0_test): Likewise.
15464 (j1_test): Likewise.
15465 (y0_test): Likewise.
15466 (y1_test): Likewise.
15467
771766df
CD
154682012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15469
15470 * po/Makefile (libc.pot): Use UTF-8 charset.
15471
ceb9e56b
PP
154722012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15473
15474 [BZ #14210]
15475 Suppress sign-conversion warning from FD_SET.
15476 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15477 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15478 not unsigned long int.
15479 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15480
ddb28975
L
154812012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15482
15483 [BZ #14050]
15484 [BZ #14117]
15485 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15486 __extern_always_inline instead of __extern_inline.
15487 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15488 (__signbit): Likewise.
15489 (__signbitl): Support C++ namespace.
15490 (lrintf): New inline function.
15491 (lrint): Likewise.
15492 (llrintf): Likewise.
15493 (llrint): Likewise.
15494 (fmaxf): Likewise.
15495 (fmax): Likewise.
15496 (fminf): Likewise.
15497 (fmin): Likewise.
15498 (rint): Likewise.
15499 (rintf): Likewise.
15500 (ceil): Likewise.
15501 (ceilf): Likewise.
15502 (floor): Likewise.
15503 (floorf): Likewise.
15504 (nearbyint): Likewise.
15505 (nearbyintf): Likewise.
15506
d7b4fb26
TS
155072012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15508
15509 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15510 non-default versions.
15511
eb55f5c2
RM
155122012-06-11 Roland McGrath <roland@hack.frob.com>
15513
15514 [BZ #14218]
15515 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15516
366af02c
TS
155172012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15518
99ff6e5c
TS
15519 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15520 (FE_UPWARD, FE_DOWNWARD): Don't define.
15521 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15522 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15523
366af02c
TS
15524 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15525 reading it.
15526 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15527 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15528
793ea851
KK
155292012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15530
15531 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15532 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15533 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15534 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15535
a728a38f
L
155362012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15537
15538 [BZ #14117]
c08010c7
L
15539 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15540 * sysdeps/i386/fpu/Implies: New file.
15541 * sysdeps/x86_64/fpu/Implies: Likewise.
15542 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15543 * sysdeps/x86/fpu/bits/fenv.h: This.
15544
a728a38f
L
15545 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15546 __SSE_MATH__.
15547
6e230d11
SP
155482012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15549
15550 [BZ #14134]
15551 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15552 character 0xffff that matches the last element of the
15553 conversion table.
15554
1b671feb
AZ
155552012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15556
15557 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15558 fmodl commit.
15559
6043738b
AZ
155602012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15561
15562 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15563 values higher than 25.6283.
15564
34ae0b32
AZ
155652012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15566
15567 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15568 subnormal exponent extraction and add some __builtin_expect.
15569 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15570 Fix for subnormal mantissa calculation.
15571
1214ec8f
MF
155722012-06-04 Mike Frysinger <vapier@gentoo.org>
15573
15574 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15575 cpu2 is -1 and errno is not ENOSYS.
15576
f3d1f93c
L
155772012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15578
15579 [BZ #14117]
0e4a3cd7
L
15580 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15581 * sysdeps/x86/bits/string.h: This.
15582 * sysdeps/x86_64/bits/string.h: Removed.
15583
6704c645
L
15584 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15585 if not compiling for x86-64, but compiling for >= i486.
15586
48495318
L
15587 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15588 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15589
14adcbfc
L
15590 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15591 New macro from Linux kernel 3.4.0.
15592 (FP_XSTATE_MAGIC2): Likewise.
15593 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15594 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15595 (struct _fpx_sw_bytes): New struct.
15596 (struct _xsave_hdr): Likewise.
15597 (struct _ymmh_state): Likewise.
15598 (struct _xstate): Likewise.
15599
68e408ab
L
15600 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15601 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15602 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15603 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15604 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15605 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15606
f3d1f93c
L
15607 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15608 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15609 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15610 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15611 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15612 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15613
d9dc34cd
TMQMF
156142012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15615
15616 [BZ #13743]
15617 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15618 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15619 (sysdep_headers): Include sys/platform/ppc.h.
15620 * sysdeps/powerpc/test-gettimebase.c: Test for
15621 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15622 * manual/Makefile (appendices): Include platform.texi.
15623 * manual/contrib.texi (Contributors): Update @node pointers.
15624 * manual/maint.texi (Maintenance): Likewise.
15625 (Platform): New node.
15626 * manual/platform.texi: New file. Document the new features.
15627
4af3879c
SP
156282012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15629 Jakub Jelinek <jakub@redhat.com>
15630
15631 [BZ #14188]
15632 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15633 where __builtin_expect is unavailable.
15634
2fd6ff13
DM
156352012-06-03 David S. Miller <davem@davemloft.net>
15636
15637 * stdlib/longlong.h: Updated from GCC.
15638
173f7220
AS
156392012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15640
15641 [BZ #14042]
15642 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15643 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15644 __mcount_internal.
15645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15646 (GLIBC_2.16): Likewise.
15647
f34a1c6f
L
156482012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15649
15650 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15651
88a4576f
JM
156522012-06-01 Joseph Myers <joseph@codesourcery.com>
15653
ea32bcdd
JM
15654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15655 (default-abi): New variable.
15656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15657 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15658 variable.
15659 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15660 Likewise.
15661 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15662 Likewise.
15663 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15664 Likewise.
15665
88a4576f
JM
15666 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15667 definition. Document in comment.
15668
402fe938
DM
156692012-06-01 David S. Miller <davem@davemloft.net>
15670
15671 * stdlib/longlong.h: Updated from GCC.
15672
3553723f
L
156732012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15674
15675 [BZ #14117]
3bd872c4
L
15676 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15677 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15678 sys/debugreg.h sys/io.h here.
15679 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15680 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15681 sys/io.h.
15682 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15683 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15684 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15685 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15686 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15687 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15688
3553723f
L
15689 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15690 Define only if __x86_64__ is defined.
15691
4842e4fe
JM
156922012-06-01 Joseph Myers <joseph@codesourcery.com>
15693
c5bfe3d5
JM
15694 [BZ #14048]
15695 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15696 Use int64_t for variable i.
15697 * math/libm-test.inc (fmod_test): Add more tests.
15698
4842e4fe
JM
15699 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15700 z computation is not scheduled after fetestexcept.
15701 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15702 Use math_force_eval instead of asm to ensure calculation scheduled
15703 before exception test.
15704 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15705 Ensure a1 + u.d computation is not scheduled after fetestexcept.
15706
efb73488
AJ
157072012-06-01 Aurelien Jarno <aurelien@aurel32.net>
15708
15709 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15710 computation is not scheduled after fetestexcept.
15711
29bcce7c
L
157122012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15713
15714 [BZ #14117]
15715 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15716 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15717
73a68f94
AZ
157182012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15719
15720 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15721 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15722
67b6df78
L
157232012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15724
edf2933a 15725 [BZ #14117]
ebc64a18
L
15726 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15727 <bits/wordsize.h>.
15728 (__WCHAR_MIN): Support __WORDSIZE == 64.
15729 (__WCHAR_MAX): Likewise.
15730
edf2933a
L
15731 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15732 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15733
57c6cf40
L
15734 [BZ #14183]
15735 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15736 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15737
67b6df78 15738 [BZ #14117]
8eb6281e
L
15739 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15740 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15741
aac639f4
L
15742 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15743 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15744
67b6df78
L
15745 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15746 Defined to 1 if __x86_64__ isn't defined.
15747 (_STAT_VER_LINUX_OLD): New.
15748 (st_atime): Remove duplicate.
15749 (st_mtime): Likewise.
15750 (st_ctime): Likewise.
15751
1c2cfe81
DM
157522012-05-31 David S. Miller <davem@davemloft.net>
15753
15754 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15755 entries.
15756
5be8418c
AS
157572012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15758
e7725326
AS
15759 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15760 gen-libm-test.pl.
15761
5be8418c
AS
15762 [BZ #14132]
15763 * elf/dl-reloc.c: Include <_itoa.h>.
15764 (_dl_reloc_bad_type): Remove use of INTUSE.
15765 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15766 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15767 * stdio-common/psiginfo.c (psiginfo): Likewise.
15768 * stdio-common/psignal.c (psignal): Likewise.
15769 * string/strsignal.c (strsignal): Likewise.
15770 * include/signal.h (_sys_siglist): Declare hidden proto.
15771 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15772 INTVARDEF with libc_hidden_data_def.
15773 * stdio-common/itoa-udigits.c: Likewise.
15774 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15775 (_itoa_lower_digits_internal): Remove declaration.
15776 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15777 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15778 (_sys_sigabbrev_internal): Remove aliases.
15779 (_sys_siglist): Define hidden alias.
15780
507352f1
MT
157812012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15782
15783 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15784 bits/sysctl.h.
15785
42bbb1c3
L
157862012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15787
15788 [BZ #14117]
6bd784b6
L
15789 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15790 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15791
8bca20f0
L
15792 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15793 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15794 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15795 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15796 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15797 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15798
f9e890a9
L
15799 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15800 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15801 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15802
471101a1
L
15803 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15804 with __addr.
15805 (insw): Likewise.
15806 (insl): Likewise.
15807 (outsb): Likewise.
15808 (outsw): Likewise.
15809 (outsl): Likewise.
15810
6451c862
L
15811 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15812 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15813 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15814
a254b8c9
L
15815 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15816 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15817 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15818 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15819 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15820 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15821
b8dfdd92
L
15822 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15823 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15824
578cd270
L
15825 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15826 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15827
de662f5f
L
15828 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15829 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15830 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15831
25653439
L
15832 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15833 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15834 to ...
15835 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15836
6bad24a0
L
15837 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15838 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15839 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15840
42bbb1c3
L
15841 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15842 for x86-64.
15843 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15844
2d10d547
JM
158452012-05-31 Joseph Myers <joseph@codesourcery.com>
15846
15847 * math/math.h (M_El): Use two more decimal places.
15848 (M_LOG2El): Likewise.
15849 (M_LOG10El): Likewise.
15850 (M_LN2l): Likewise.
15851 (M_LN10l): Likewise.
15852 (M_PIl): Likewise.
15853 (M_PI_2l): Likewise.
15854 (M_PI_4l): Likewise.
15855 (M_1_PIl): Likewise.
15856 (M_2_PIl): Likewise.
15857 (M_2_SQRTPIl): Likewise.
15858 (M_SQRT2l): Likewise.
15859 (M_SQRT1_2l): Likewise.
15860
f230c29b
DM
158612012-05-31 David S. Miller <davem@davemloft.net>
15862
15863 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15864 values between float registers.
15865 * sysdeps/sparc/sparc64/memset.S: Likewise.
15866 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15867
fed806c3
MF
158682012-05-31 Mike Frysinger <vapier@gentoo.org>
15869
15870 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15871 -D_FORTIFY_SOURCE=1.
15872 (CPPFLAGS-tst-longjmp_chk.c): Define.
15873 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15874 (CPPFLAGS-tst-longjmp_chk2.c): Define.
15875 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15876 CFLAGS-tst-wchar-h.c.
15877
30917259
MP
158782012-05-31 Marek Polacek <polacek@redhat.com>
15879
15880 [BZ #14132]
15881 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15882 __endmntent_internal): Remove declaration.
15883 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15884 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15885 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15886
1c58d5dc
DM
158872012-05-30 David S. Miller <davem@davemloft.net>
15888
15889 * sysdeps/sparc/sparc32/soft-fp/q_util.c
15890 (___Q_simulate_exceptions): Use real FP ops rather than writing
15891 into the %fsr.
15892 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15893 Likewise.
15894
7dc00e0d
L
158952012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15896
15897 [BZ #14117]
0bd53985
L
15898 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15899 * sysdeps/x86/bits/xtitypes.h: This.
15900
3a257e66
L
15901 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15902 * sysdeps/x86/bits/wordsize.h: This.
15903
62f62904
L
15904 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15905 * sysdeps/x86/bits/huge_vall.h: This.
15906
404fe9d9
L
15907 * sysdeps/i386/bits/select.h: Removed.
15908 * sysdeps/x86_64/bits/select.h: Renamed to ...
15909 * sysdeps/x86/bits/select.h: This.
15910
d48d0446
L
15911 * sysdeps/i386/bits/setjmp.h: Removed.
15912 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15913 * sysdeps/x86/bits/setjmp.h: This.
15914
7dc00e0d
L
15915 * sysdeps/i386/bits/mathdef.h: Removed.
15916 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15917 * sysdeps/x86/bits/mathdef.h: This.
15918
03277f8f
AS
159192012-05-30 Andreas Schwab <schwab@linux-m68k.org>
15920
15921 [BZ #14132]
15922 * include/sys/socket.h (__connect_internal)
15923 (__libc_sa_len_internal): Remove declaration.
15924 (__connect, __libc_sa_len): Declare hidden_proto.
15925 (SA_LEN): Remove use of INTUSE.
15926 * socket/connect.c: Add libc_hidden_def.
15927 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15928 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15929 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15930 alias.
15931 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15932 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15933 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15934 of adding _internal alias.
15935
13764867
L
159362012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15937
15938 [BZ #14117]
6bd97696
L
15939 * sysdeps/i386/bits/link.h: Removed.
15940 * sysdeps/i386/bits/linkmap.h: Likewise.
15941 * sysdeps/x86_64/bits/link.h: Renamed to ...
15942 * sysdeps/x86/bits/link.h: This.
15943 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15944 * sysdeps/x86/bits/linkmap.h: This.
15945
f726f0bb
L
15946 * sysdeps/i386/bits/endian.h: Removed.
15947 * sysdeps/x86_64/bits/endian.h: Renamed to ...
15948 * sysdeps/x86/bits/endian.h: This.
15949
13764867
L
15950 * sysdeps/i386/bits/byteswap.h: Removed.
15951 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15952 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
15953 * sysdeps/x86/bits/byteswap.h: This.
15954 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
15955 * sysdeps/x86/bits/byteswap-16.h: This.
15956 * sysdeps/i386/Implies: Add x86.
15957 * sysdeps/x86_64/Implies: Likewise.
15958
ae251b0b
DM
159592012-05-30 David S. Miller <davem@davemloft.net>
15960
15961 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
15962 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
15963 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15964 (FP_TRAPPING_EXCEPTIONS): Define.
15965 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15966 (FP_TRAPPING_EXCEPTIONS): Define.
15967 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
15968 subnormals only when inexact has been signalled or underflow
15969 exceptions are enabled.
15970 (_FP_PACK_CANONICAL): Likewise.
15971
d5c90867
L
159722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15973
15974 [BZ #14183]
15975 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
15976 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
15977
63f1549e
RH
159782012-05-30 Richard Henderson <rth@twiddle.net>
15979
8d8f2279
RH
15980 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
15981 with #ifndef NOT_IN_libc.
15982
63f1549e
RH
15983 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
15984 marked to avoid plt entry.
15985
0ab0291b
L
159862012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15987
15988 [BZ #14112]
15989 * Makeconfig (default-abi): New macro.
15990 (abi-includes): Likewise.
15991 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
15992 $(abi-$(default-abi)-lib-soname) for soname if defined.
15993 ($(common-objpfx)gnu/lib-names.stmp): Generate from
15994 abi-variants.
15995 * Makefile (installed-stubs): Likewise.
15996 * include/stubs-biarch.h: Removed.
15997 * scripts/lib-names.awk: Only handle one library at a time.
15998 * scripts/soversions.awk: Remove WORDSIZE support.
15999 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16000 entries.
16001 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16002 Removed.
16003 (syscall-list-default-condition): Likewise.
16004 (syscall-list-default-condition): Likewise.
16005 (syscall-list-includes): Likewise.
16006 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16007 syscall-list-* with abi-*. Handle undefined abi-variants.
16008 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16009 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16010 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16011 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16012 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16013 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16014 Removed.
16015 (syscall-list-32-options): Likewise.
16016 (syscall-list-32-condition): Likewise.
16017 (syscall-list-64-options): Likewise.
16018 (syscall-list-64-condition): Likewise.
16019 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16020 macro.
16021 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16022 Renamed to ...
16023 (abi-*): This.
16024 (abi-64-ld-soname): New macro.
16025 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16026 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16027 Renamed to ...
16028 (abi-*): This.
16029 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16030 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16031
4da0431d
JM
160322012-05-30 Joseph Myers <joseph@codesourcery.com>
16033
3a85279c
JM
16034 * sysdeps/unix/sysv/linux/kernel-features.h
16035 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16036 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16037 include <kernel-features.h>.
16038 [!__NR_ftruncate64]: Remove conditional code.
16039 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16040 [__NR_ftruncate64]: Make code unconditional.
16041 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16042 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16043 include <kernel-features.h>.
16044 [!__NR_ftruncate64]: Remove conditional code.
16045 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16046 [__NR_ftruncate64]: Make code unconditional.
16047 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16049 include <kernel-features.h>.
16050 [!__NR_ftruncate64]: Remove conditional code.
16051 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16052 [__NR_ftruncate64]: Make code unconditional.
16053 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16055 include <kernel-features.h>.
16056 [!__NR_ftruncate64]: Remove conditional code.
16057 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16058 [__NR_ftruncate64]: Make code unconditional.
16059 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16060
4da0431d
JM
16061 * configure.in (libc_cv_fpie): Weaken to a compile test using
16062 LIBC_TRY_CC_OPTION.
16063 * configure: Regenerated.
16064
11ef492c
AK
160652012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16066
16067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16070 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16071 Refreshed.
16072 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16078 Refreshed.
16079
d66ef399
DM
160802012-05-27 David S. Miller <davem@davemloft.net>
16081
16082 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16083 (___Q_zero): New.
16084 (__Q_simulate_exceptions): Return void. Change to simulate
16085 exceptions by writing into the %fsr.
16086 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16087 (__Qp_handle_exceptions): Likewise.
16088 (numbers): Delete.
16089 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16090 __Qp_handle_exceptions.
16091 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16092 __Qp_handle_exceptions.
16093 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16094 as unused and give dummy FP_RND_NEAREST initializer.
16095 (FP_INHIBIT_RESULTS): Define.
16096 (___Q_simulate_exceptions): Update declaration.
16097 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16098 formatting.
16099 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16100 as unused and give dummy FP_RND_NEAREST initializer.
16101 (__Qp_handle_exceptions): Update declaration.
16102 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16103 formatting.
16104
04fb54b5
TS
161052012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16106
16107 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16108 the temporary FPU control word.
16109 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16110 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16111 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16112 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16113 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16114 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16115 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16116 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16117 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16118 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16119 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16120
3f99608f
KK
161212012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16122
16123 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16124 fields.
16125
65a4de4e
CLT
161262012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16127
16128 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16129 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16130 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16131 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16132 Likewise.
16133 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16134 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16135 Likewise.
16136
15749d40
UD
161372012-05-27 Ulrich Drepper <drepper@gmail.com>
16138
16139 * po/h.po: Update from translation team.
16140
25dbcb27
AS
161412012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16142
3d3f8e55
AS
16143 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16144
25dbcb27
AS
16145 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16146 handling of denormals.
16147 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16148 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16149 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16150 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16151 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16152 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16153 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16154 Likewise.
16155
7ad47a80 161562012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
16157
16158 [BZ #14152]
16159 * math/libm-test.inc (fma_test): Don't always expect underflow
16160 exception.
16161
9c6ea9fa
SP
161622012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16163
16164 [BZ #12416]
16165 * elf/tst-execstack.c: Include stackinfo.h.
16166 (do_test): Adjust test case to ensure that pthread_getattr_np
16167 behaviour remains the same after marking stack executable.
16168
a8239222
JM
161692012-05-25 Joseph Myers <joseph@codesourcery.com>
16170
16171 * sysdeps/unix/sysv/linux/kernel-features.h
16172 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16173 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16174 kernel-features.h.
16175 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16176 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16177 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16178 kernel-features.h.
16179 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16180 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16181
918b5606
L
161822012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16183
16184 * configure.in: Define the default includes to being none.
16185 * configure: Regenerated.
16186
3a097cc7
RM
161872012-05-25 Roland McGrath <roland@hack.frob.com>
16188
8422c9a5
RM
16189 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16190 * sysdeps/x86_64/setjmp.S: Likewise.
16191 * sysdeps/i386/bsd-setjmp.S: Likewise.
16192 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16193 * sysdeps/i386/setjmp.S: Likewise.
16194 * sysdeps/i386/__longjmp.S: Likewise.
16195 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16196 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16197
3a097cc7
RM
16198 * include/stap-probe.h: New file.
16199 * configure.in: Handle --enable-systemtap.
16200 * configure: Regenerated.
16201 * config.h.in (USE_STAP_PROBE): New #undef.
16202 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16203 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16204 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16205
21708942
JM
162062012-05-25 Joseph Myers <joseph@codesourcery.com>
16207
16208 [BZ #13717]
16209 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16210 to 2.4.0 where earlier.
16211 * sysdeps/unix/sysv/linux/configure: Regenerated.
16212 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16213 <kernel-features.h>.
16214 [__ASSUME_32BITUIDS]: Make code unconditional.
16215 [!__ASSUME_32BITUIDS]: Remove conditional code.
16216 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16217 <kernel-features.h>.
16218 [__ASSUME_32BITUIDS]: Make code unconditional.
16219 [!__ASSUME_32BITUIDS]: Remove conditional code.
16220 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16221 [__ASSUME_32BITUIDS]: Make code unconditional.
16222 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16223 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16224 <kernel-features.h>.
16225 [__ASSUME_32BITUIDS]: Make code unconditional.
16226 [!__ASSUME_32BITUIDS]: Remove conditional code.
16227 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16228 <kernel-features.h>.
16229 [__ASSUME_32BITUIDS]: Make code unconditional.
16230 [!__ASSUME_32BITUIDS]: Remove conditional code.
16231 * sysdeps/unix/sysv/linux/i386/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
16264 <kernel-features.h>.
16265 [__NR_setresgid] (__setresgid): Do not declare.
16266 [__ASSUME_32BITUIDS]: Make code unconditional.
16267 [!__ASSUME_32BITUIDS]: Remove conditional code.
16268 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16269 <kernel-features.h>.
16270 [__NR_setresuid] (__setresuid): Do not declare.
16271 [__ASSUME_32BITUIDS]: Make code unconditional.
16272 [!__ASSUME_32BITUIDS]: Remove conditional code.
16273 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16274 <kernel-features.h>.
16275 [__ASSUME_32BITUIDS]: Make code unconditional.
16276 [!__ASSUME_32BITUIDS]: Remove conditional code.
16277 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16278 <kernel-features.h>.
16279 [__ASSUME_32BITUIDS]: Make code unconditional.
16280 [!__ASSUME_32BITUIDS]: Remove conditional code.
16281 * sysdeps/unix/sysv/linux/i386/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
16314 (__ASSUME_SETRESUID_SYSCALL): Remove.
16315 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16316 (__ASSUME_32BITUIDS): Likewise.
16317 (__ASSUME_LDT_WORKS): Likewise.
16318 (__ASSUME_O_DIRECTORY): Likewise.
16319 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16320 architecture but not kernel version.
16321 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16322 (__ASSUME_MMAP2_SYSCALL): Likewise.
16323 (__ASSUME_STAT64_SYSCALL): Likewise.
16324 (__ASSUME_IPC64): Likewise.
16325 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16326 <kernel-features.h>.
16327 [__ASSUME_32BITUIDS]: Make code unconditional.
16328 [!__ASSUME_32BITUIDS]: Remove conditional code.
16329 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16330 <kernel-features.h>.
16331 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16332 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16333 132096]: Remove conditional code.
16334 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16335 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16336 <kernel-features.h>.
16337 [__ASSUME_32BITUIDS]: Make code unconditional.
16338 [!__ASSUME_32BITUIDS]: Remove conditional code.
16339 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16340 <kernel-features.h>.
16341 [__ASSUME_32BITUIDS]: Make code unconditional.
16342 [!__ASSUME_32BITUIDS]: Remove conditional code.
16343 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16344 <kernel-features.h>.
16345 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16346 unconditional.
16347 (__setresgid): Do not declare.
16348 [__ASSUME_32BITUIDS]: Make code unconditional.
16349 [!__ASSUME_32BITUIDS]: Remove conditional code.
16350 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16351 <kernel-features.h>.
16352 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16353 unconditional.
16354 (__setresuid): Do not declare.
16355 [__ASSUME_32BITUIDS]: Make code unconditional.
16356 [!__ASSUME_32BITUIDS]: Remove conditional code.
16357 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16358 <kernel-features.h>.
16359 [__ASSUME_32BITUIDS]: Make code unconditional.
16360 [!__ASSUME_32BITUIDS]: Remove conditional code.
16361 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16362 <kernel-features.h>.
16363 [__ASSUME_32BITUIDS]: Make code unconditional.
16364 [!__ASSUME_32BITUIDS]: Remove conditional code.
16365
a386f1cc
RH
163662012-05-25 Richard Henderson <rth@twiddle.net>
16367
16368 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16369 dl_hwcap to ifunc resolver.
16370 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16371 elf_ifunc_invoke.
16372 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16373 dl_hwcap to ifunc resolver.
16374 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16375
b6550497
JM
163762012-05-24 Joseph Myers <joseph@codesourcery.com>
16377
16378 [BZ #14153]
16379 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16380 for |x| <= 2**-26, not 2**-57.
16381 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16382 exception.
16383
b0bc23a1
JL
163842012-05-24 Jeff Law <law@redhat.com>
16385
16386 * stdio-common/Makefile (tests): Add bug25.
16387 * stdio-common/bug25.c: New test.
16388
347c92e9
L
163892012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16390
16391 [BZ #13576]
16392 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16393 multiple of MALLOC_ALIGNMENT in size.
16394 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16395
6bcc8b3f
JM
163962012-05-24 Joseph Myers <joseph@codesourcery.com>
16397
16398 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16399 Require >= 256.
16400 (FILENAME_MAX): Use macro-int-constant.
16401 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16402 (_IOFBF): Use macro-int-constant.
16403 (_IOLBF): Likewise.
16404 (_IONBF): Likewise.
16405 (SEEK_CUR): Likewise.
16406 (SEEK_END): Likewise.
16407 (SEEK_SET): Likewise.
16408 (TMP_MAX): Likewise.
16409 (EOF): Use macro-int-constant. Require < 0.
16410 (NULL): Use macro-constant. Require == 0.
16411 (stdin): Require type to be FILE *.
16412 (stdout): Likewise.
16413 (stderr): Likewise.
16414 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16415 macro-int-constant.
16416 (EXIT_SUCCESS): Likewise.
16417 (NULL): Use macro-constant. Require == 0.
16418 (RAND_MAX): Use macro-int-constant.
16419 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16420 [C99-based standards] (strtof): Require function.
16421 [C99-based standards] (strtold): Likewise.
16422 [C99-based standards] (strtoll): Likewise.
16423 [C99-based standards] (strtoull): Likewise.
16424 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16425 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16426 [ISO || ISO99 || ISO11] (math.h): Likewise.
16427 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16428 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16429 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16430
d18ea0c5
AS
164312012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16432
16433 [BZ #14132]
56d25bb8
AS
16434 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16435 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16436 * intl/dgettext.c (DCGETTEXT): Likewise.
16437 * intl/gettext.c (DCGETTEXT): Likewise.
16438 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16439 * posix/regex_internal.h (gettext): Likewise.
16440 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16441 Remove declaration.
16442 * include/argz.h (__argz_count_internal)
16443 (__argz_stringify_internal): Remove declaration.
16444 (__argz_count, __argz_stringify): Declare hidden proto.
16445 * intl/dcgettext.c: Remove use of INTDEF.
16446 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16447 * string/argz-stringify.c: Likewise.
16448 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16449 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16450 Declare hidden proto.
d18ea0c5
AS
16451 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16452 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16453 Declare hidden proto.
16454 * include/stdio.h (__asprintf_internal): Don't declare.
16455 (__asprintf): Don't define as macro. Declare hidden proto.
16456 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16457 (__fsetlocking): Declare hidden proto.
16458 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16459 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16460 hidden proto.
16461 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16462 (_IO_setlinebuf): Remove use of INTUSE.
16463 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16464 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16465 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16466 Remove declaration.
16467 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16468 (_IO_do_flush): Remove use of INTUSE.
16469 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16470 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16471 (_IO_adjust_column, _IO_least_wmarker)
16472 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16473 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16474 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16475 (_IO_default_doallocate, _IO_wdefault_doallocate)
16476 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16477 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16478 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16479 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16480 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16481 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16482 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16483 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16484 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16485 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16486 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16487 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16488 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16489 proto.
16490 (_IO_flush_all_internal, _IO_adjust_column_internal)
16491 (_IO_default_uflow_internal, _IO_default_finish_internal)
16492 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16493 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16494 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16495 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16496 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16497 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16498 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16499 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16500 (_IO_file_close_internal, _IO_file_close_it_internal)
16501 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16502 (_IO_file_init_internal, _IO_file_attach_internal)
16503 (_IO_file_fopen_internal, _IO_file_read_internal)
16504 (_IO_file_sync_internal, _IO_file_seek_internal)
16505 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16506 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16507 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16508 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16509 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16510 (_IO_list_all_internal, _IO_link_in_internal)
16511 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16512 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16513 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16514 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16515 (_IO_do_write_internal, _IO_padn_internal)
16516 (_IO_getline_info_internal, _IO_getline_internal)
16517 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16518 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16519 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16520 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16521 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16522 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16523 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16524 with libc_hidden_ver, remove use of INTUSE.
16525 * libio/genops.c: Likewise.
16526 * libio/freopen.c: Likewise.
16527 * libio/freopen64.c: Likewise.
16528 * libio/iofclose.c: Likewise.
16529 * libio/iofdopen.c: Likewise.
16530 * libio/iofflush.c: Likewise.
16531 * libio/iofflush_u.c: Likewise.
16532 * libio/iofgets.c: Likewise.
16533 * libio/iofgets_u.c: Likewise.
16534 * libio/iofopen.c: Likewise.
16535 * libio/iofopncook.c: Likewise.
16536 * libio/iofread.c: Likewise.
16537 * libio/iofread_u.c: Likewise.
16538 * libio/ioftell.c: Likewise.
16539 * libio/iofwrite.c: Likewise.
16540 * libio/iogetline.c: Likewise.
16541 * libio/iogets.c: Likewise.
16542 * libio/iogetwline.c: Likewise.
16543 * libio/iopadn.c: Likewise.
16544 * libio/iopopen.c: Likewise.
16545 * libio/ioseekoff.c: Likewise.
16546 * libio/ioseekpos.c: Likewise.
16547 * libio/iosetbuffer.c: Likewise.
16548 * libio/iosetvbuf.c: Likewise.
16549 * libio/ioungetc.c: Likewise.
16550 * libio/ioungetwc.c: Likewise.
16551 * libio/iovdprintf.c: Likewise.
16552 * libio/iovsprintf.c: Likewise.
16553 * libio/iovsscanf.c: Likewise.
16554 * libio/memstream.c: Likewise.
16555 * libio/obprintf.c: Likewise.
16556 * libio/oldfileops.c: Likewise.
16557 * libio/oldiofclose.c: Likewise.
16558 * libio/oldiofdopen.c: Likewise.
16559 * libio/oldiofopen.c: Likewise.
16560 * libio/oldiopopen.c: Likewise.
16561 * libio/oldstdfiles.c: Likewise.
16562 * libio/putc.c: Likewise.
16563 * libio/setbuf.c: Likewise.
16564 * libio/setlinebuf.c: Likewise.
16565 * libio/stdfiles.c: Likewise.
16566 * libio/strops.c: Likewise.
16567 * libio/vasprintf.c: Likewise.
16568 * libio/vscanf.c: Likewise.
16569 * libio/vsnprintf.c: Likewise.
16570 * libio/vswprintf.c: Likewise.
16571 * libio/wfiledoalloc.c: Likewise.
16572 * libio/wfileops.c: Likewise.
16573 * libio/wgenops.c: Likewise.
16574 * libio/wmemstream.c: Likewise.
16575 * libio/wstrops.c: Likewise.
16576 * libio/__fpurge.c: Likewise.
16577 * libio/__fsetlocking.c: Likewise.
16578 * assert/assert.c: Likewise.
16579 * debug/fgets_chk.c: Likewise.
16580 * debug/fgets_u_chk.c: Likewise.
16581 * debug/fread_chk.c: Likewise.
16582 * debug/fread_u_chk.c: Likewise.
16583 * debug/gets_chk.c: Likewise.
16584 * debug/obprintf_chk.c: Likewise.
16585 * debug/vasprintf_chk.c: Likewise.
16586 * debug/vdprintf_chk.c: Likewise.
16587 * debug/vsnprintf_chk.c: Likewise.
16588 * debug/vsprintf_chk.c: Likewise.
16589 * malloc/mtrace.c: Likewise.
16590 * misc/error.c: Likewise.
16591 * misc/syslog.c: Likewise.
16592 * stdio-common/asprintf.c: Likewise.
16593 * stdio-common/fxprintf.c: Likewise.
16594 * stdio-common/getw.c: Likewise.
16595 * stdio-common/isoc99_fscanf.c: Likewise.
16596 * stdio-common/isoc99_scanf.c: Likewise.
16597 * stdio-common/isoc99_vfscanf.c: Likewise.
16598 * stdio-common/isoc99_vscanf.c: Likewise.
16599 * stdio-common/isoc99_vsscanf.c: Likewise.
16600 * stdio-common/printf-prs.c: Likewise.
16601 * stdio-common/printf_fp.c: Likewise.
16602 * stdio-common/printf_fphex.c: Likewise.
16603 * stdio-common/printf_size.c: Likewise.
16604 * stdio-common/putw.c: Likewise.
16605 * stdio-common/scanf.c: Likewise.
16606 * stdio-common/sprintf.c: Likewise.
16607 * stdio-common/tmpfile.c: Likewise.
16608 * stdio-common/vfprintf.c: Likewise.
16609 * stdio-common/vfscanf.c: Likewise.
16610 * stdlib/strfmon_l.c: Likewise.
16611 * sunrpc/openchild.c: Likewise.
16612 * sunrpc/xdr_stdio.c: Likewise.
16613 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16614 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16615
d6c33fda
RM
166162012-05-24 Roland McGrath <roland@hack.frob.com>
16617
c1487492
RM
16618 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16619
16620 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16621 in the third column, to generate for the shared library an IFUNC
16622 that uses _dl_vdso_vsym.
16623 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16624 * Makeconfig (object-suffixes-noshared): New variable.
16625
16626 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16627 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16628 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16629 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16630
d6c33fda
RM
16631 [BZ #14132]
16632 * include/sys/time.h (__gettimeofday): Remove macro.
16633 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16634 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16635 Remove INTDEF.
16636 (__gettimeofday): Add libc_hidden_def.
16637 (gettimeofday): Add libc_hidden_weak.
16638 * sysdeps/mach/gettimeofday.c: Likewise.
16639 * sysdeps/posix/gettimeofday.c: Likewise.
16640 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16641 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16642 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16643 (__gettimeofday_internal): Remove strong_alias.
16644 (__gettimeofday): Add libc_hidden_def.
16645 (gettimeofday): Add libc_hidden_weak.
16646 * sysdeps/unix/syscalls.list (gettimeofday):
16647 Remove __gettimeofday_internal alias.
16648
b5a2bbe6
L
166492012-05-24 Daniel Jacobowitz <drow@false.org>
16650 H.J. Lu <hongjiu.lu@intel.com>
16651
16652 [BZ #12495]
16653 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16654 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16655 (largebin_index_32_big): New.
16656 (largebin_index): Use it for 16-byte alignment.
16657 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16658 correction with front_misalign.
16659
cfba4fda
L
166602012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16661
7f907421
L
16662 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16663 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16664 Likewise.
16665 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16666 Likewise.
16667 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16668 Likewise.
16669 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16670 Likewise.
16671 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16672 Likewise.
16673 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16674 Likewise.
16675 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16676 Likewise.
16677 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16678 Likewise.
16679 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16680 Likewise.
16681 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16682 Likewise.
16683 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16684 Likewise.
16685 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16686 Likewise.
16687
cfba4fda
L
16688 * scripts/data/c++-types-x32-linux-gnu.data: New file.
16689 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16690
80bad0cc
JM
166912012-05-24 Joseph Myers <joseph@codesourcery.com>
16692
7a25eb06
JM
16693 [BZ #10846]
16694 [BZ #14036]
16695 * math/libm-test.inc (exp_test): Add test from bug 14036.
16696 (pow_test): Add test from bug 10846.
16697
795405f9
JM
16698 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16699 and other flags.
16700 (special_function): Do not include flags in test name.
16701 (parse_args): Likewise.
16702 * sysdeps/i386/fpu/libm-test-ulps: Update.
16703 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16704 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16705 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16707
80bad0cc
JM
16708 * math/gen-libm-test.pl (%beautify): Add entries for underflow
16709 exceptions.
16710 * math/libm-test.inc ("Philosophy"): Update comment about
16711 exception testing.
16712 (UNDERFLOW_EXCEPTION): New macro.
16713 (UNDERFLOW_EXCEPTION_OK): Likewise.
16714 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16715 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16716 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16717 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16718 (INVALID_EXCEPTION_OK): Update value.
16719 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16720 (OVERFLOW_EXCEPTION_OK): Likewise.
16721 (IGNORE_ZERO_INF_SIGN): Likewise.
16722 (test_exceptions): Handle underflow exceptions.
16723 (acos_test): Update for underflow exception expectations.
16724 (cexp_test): Likewise.
16725 (clog_test): Likewise.
16726 (clog10_test): Likewise.
16727 (csqrt_test): Likewise.
16728 (ctan_test): Likewise.
16729 (ctanh_test): Likewise.
16730 (exp_test): Likewise.
16731 (exp10_test): Likewise.
16732 (exp2_test): Likewise.
16733 (expm1_test): Likewise.
16734 (fma_test): Likewise.
16735 (j0_test): Likewise.
16736 (jn_test): Likewise.
16737 (nexttoward_test): Likewise.
16738 (pow_test): Likewise.
16739 (scalbn_test): Likewise.
16740 (scalbln_test): Likewise.
16741 (tan_test): Likewise.
16742 (y1_test): Likewise.
16743 * sysdeps/i386/fpu/libm-test-ulps: Update.
16744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16745
9e0e3d0b
DM
167462012-05-23 David S. Miller <davem@davemloft.net>
16747
16748 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16749 (__libc_sigaction): Remove unused local variables.
16750
ccd0a08f
L
167512012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16752
16753 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16754
62bdf9a6
PE
167552012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16756
f8591f80
PE
16757 mktime: avoid signed integer overflow
16758 * time/mktime.c (__mktime_internal): Do not mishandle the case
16759 where diff == INT_MIN.
16760
94c7d826
PE
16761 mktime: simplify computation of average
16762 * time/mktime.c (ranged_convert): Use new time_t_avg function
16763 instead of rolling our own (probably-slower) code.
16764
ce73d683
PE
16765 mktime: do not assume signed right shift propagates sign bit
16766 * time/mktime.c (isdst_differ): New static function.
16767 (__mktime_internal): No need to normalize tm_isdst now.
16768 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16769 tm_isdst values.
16770
72a22e59
PE
16771 mktime: merge another wrapv change from gnulib
16772 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16773 from some compilers.
16774
68605433
PE
16775 mktime: remove incorrect attempt at unusual arithmetics
16776 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16777 The code didn't really work on such machines anyway.
16778 (TYPE_MINIMUM): Assume two's complement.
16779 (twos_complement_arithmetic): Verify that long_int and time_t
16780 are two's complement (or unsigned, in the latter case).
16781
03cf7fe3
PE
16782 mktime: check signed shifts on long_int and time_t, too
16783 * time/mktime.c (SHR): Check that shifts work as desired
16784 on the types long_int and time_t too, as SHR is used on
16785 such types.
16786
f04dfbc2
PE
16787 mktime: do not assume 'long' is wide enough
16788 * time/mktime.c (verify): Move decl up.
16789 (long_int): New type.
16790 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16791 to remove assumption in the code that 'long' is wide enough to
16792 store year values. This assumption is not true on x32 and on
16793 some non-glibc platforms.
16794
62bdf9a6
PE
16795 mktime: merge wrapv change from gnulib
16796 * time/mktime.c (WRAPV): New macro.
16797 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16798 (guess_time_tm, __mktime_internal): Do not assume that signed
16799 integer overflow wraps around; modern compilers generate code
16800 where this assumption is no longer valid.
16801
5e292e4f
L
168022012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16803
16804 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16805 Replace "jmp L(pseudo_end)" with "ret".
16806 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16807 Likewise.
16808
8caf8c87
AJ
168092012-05-23 Andreas Jaeger <aj@suse.de>
16810
16811 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16812 * sysdeps/unix/sysv/linux/poll.c: Remove file.
16813
1a09dc56
AJ
168142012-05-23 Andreas Jaeger <aj@suse.de>
16815 Maximilian Attems <max@stro.at>
16816
16817 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16818 New macros.
16819
1c87aba0
L
168202012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16821
16822 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16823 code so that pseudo_end is just ret and the stack pointer is
16824 correct also for static library in error case.
16825
40e45bd5
JM
168262012-05-23 Joseph Myers <joseph@codesourcery.com>
16827
c2670533
JM
16828 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16829 move to syscalls.list.
16830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16834
40e45bd5
JM
16835 * manual/install.texi (Running make install): Do not mention Linux
16836 kernel version for which pt_chown is not needed.
16837 (Linux): Do not mention problems with nscd with 2.0 kernels.
16838 * INSTALL: Regenerated.
16839
be08eda5
AJ
168402012-05-23 Andreas Jaeger <aj@suse.de>
16841
16842 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16843 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16844 macro.
16845 * sysdeps/unix/sysv/linux/s390/bits/mman.h
16846 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16847 * sysdeps/unix/sysv/linux/sh/bits/mman.h
16848 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16849 * sysdeps/unix/sysv/linux/i386/bits/mman.h
16850 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16851 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16852 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16853 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16854 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16855 * sysdeps/unix/sysv/linux/bits/in.h
16856 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16857
a6a056bb
RM
168582012-05-22 Roland McGrath <roland@hack.frob.com>
16859
16860 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16861 (PREPARE_VERSION): Just use assert instead, it will be elided
16862 under [NDEBUG] anyway.
16863
c9009328
L
168642012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16865
16866 * sysdeps/unix/sysv/linux/Makefile: Include
16867 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 16868 (sysdep_routines): Remove sysctl.
c9009328
L
16869 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16870 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16871 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16872 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16873 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16874
73338355
AJ
168752012-05-22 Andreas Jaeger <aj@suse.de>
16876
16877 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16878 that pseudo_end is just ret and the stack pointer is correct also
16879 for static library in error case.
16880
d44638b0
PP
168812012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
16882
16883 [BZ #14122]
16884 * nss/nsswitch.c (defconfig_entries): New variable.
16885 (__nss_database_lookup): Don't leak defconfig entries.
16886 (nss_parse_service_list): Don't leak on error paths.
16887 (free_database_entries): New function.
16888 (free_defconfig): New function.
16889 (free_mem): Move common code to free_database_entries.
16890
31a39bd8
L
168912012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16892
da0331a8
L
16893 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16894 Add arch_prctl.
16895 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16896
31a39bd8
L
16897 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16898 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16899 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16900 New macro.
16901 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16902 (INTERNAL_SYSCALL_TYPES): Likewise.
16903 (LOAD_ARGS_TYPES_[1-6]): Likewise.
16904 (LOAD_REGS_TYPES_[1-6]): Likewise.
16905 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16906 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16907
45470df3
AZ
169082012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16909
16910 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16911 copysignl for GLIBC_2_0.
16912 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16913 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16914 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16915 logbl for GLIBC_2_0.
16916 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16917 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16918
98a61bcb
L
169192012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16920
a4f6e481
L
16921 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16922 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16923
f63d5db6
L
16924 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16925 Use "neg %eax".
16926
98a61bcb
L
16927 * time/mktime.c: Update copyright years.
16928
95770f14
PE
169292012-05-22 Paul Eggert <eggert@cs.ucla.edu>
16930
6226efbd
PE
16931 mktime: merge comment-quoting-style change from gnulib
16932 * time/mktime.c: Quote 'like this' in comments.
16933 The GNU coding standards suggest that we no longer quote `like this',
16934 as "`" and "'" are typically rendered asymmetrically nowadays.
16935 The typical gnulib style is to quote 'like this' when quoting
16936 code, and "like this" when quoting English.
16937
b99e4f78
PE
16938 * time/mktime.c (compile-command): Add "-I.".
16939
643e01e6
PE
16940 mktime: merge mktime-internal.h change from gnulib
16941 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16942
2554247d
PE
16943 mktime: merge time_r change from gnulib
16944 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16945
826dd0ab
PE
16946 mktime: merge DEBUG change from gnulib
16947 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16948 case system <time.h> has a #define.
16949
bd83aabe
PE
16950 mktime: merge <sys/types.h> change from gnulib
16951 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
16952 since <time.t> is now guaranteed to define time_t.
16953
95770f14
PE
16954 mktime: merge HAVE_CONFIG_H change from gnulib
16955 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
16956
5e1a27a9
L
169572012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16958
0e44a77e
L
16959 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16960 Use "neg %eax".
16961
5e1a27a9
L
16962 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16963 __rlim_t cast.
16964 (struct rusage): Use anonymous union to pad each field to
16965 __syscall_slong_t.
16966
46259bec
DM
169672012-05-21 David S. Miller <davem@davemloft.net>
16968
16969 * Makefules (o-iterator): Remove .s cases.
16970 (compile-command.s): Delete.
16971 (COMPILE.s): Delete.
16972 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
16973
59f0c22e
JM
169742012-05-21 Joseph Myers <joseph@codesourcery.com>
16975
16976 * configure.in (libc_cv_predef_stack_protector): Only consider
16977 "foobar" and "__stack_chk_fail" lines in libc_undefs.
16978 * configure: Regenerated.
16979
20c07380
L
169802012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16981
bbb3154b
L
16982 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16983 New macro. Use R*LP on int and pointer.
16984 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
16985 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
16986 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
16987 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
16988
20c07380
L
16989 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
16990 [__WORDSIZE_TIME64_COMPAT32] instead of
16991 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
16992 (struct utmp): Likewise.
16993 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
16994 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
16995 Renamed to ...
16996 (__WORDSIZE_TIME64_COMPAT32): This.
16997 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
16998 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
16999 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17000 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17001 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17002 (__WORDSIZE_TIME64_COMPAT32): New macro.
17003
d8d1017e
AJ
170042012-05-21 Andreas Jaeger <aj@suse.de>
17005
17006 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17007 only if [SHARED]. Add prototype for __wcschr_ia32.
17008
6c7fb145
RM
170092012-05-21 Roland McGrath <roland@hack.frob.com>
17010
17011 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17012 of %rbp unmolested in the jmp_buf while mangling the low bits.
17013 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17014 unmolested high bits of %rbp while demangling the low bits.
17015 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17016
66274218
AJ
170172012-05-21 Andreas Jaeger <aj@suse.de>
17018
07c58f8f
AJ
17019 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17020 * sunrpc/svc_simple.c: Use it for registerrpc.
17021 * sunrpc/xcrypt.c: Use it for passwd2des.
17022
66274218
AJ
17023 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17024
61f65140
L
170252012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17026
17027 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17028 Don't define if [__SYSCALL_WORDSIZE != 32].
17029 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17030 New macro.
17031
5fefb436
AJ
170322012-05-21 Bruno Haible <bruno@clisp.org>
17033 Andreas Jaeger <aj@suse.de>
17034
17035 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17036 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17037 inptr and inend for must_buffer_ch.
17038 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17039 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17040 * stdio-common/Makefile (tests): Remove bug15.
17041 (bug15-ENV): Remove macro.
17042 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17043 anymore.
17044
d8e272ab
AJ
170452012-05-19 Andreas Jaeger <aj@suse.de>
17046 Roland McGrath <roland@hack.frob.com>
17047
17048 * manual/contrib.texi: Completely rewritten. It contains now an
17049 alphabetical list of contributors and their contributions.
17050
4a56a162
RH
170512012-05-21 Richard Henderson <rth@twiddle.net>
17052
17053 * misc/getauxval.c (__getauxval): Use unsigned long int.
17054 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17055 (getauxval): Use unsigned long int.
17056
d024d23c
L
170572012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17058
17059 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17060
cbc00a03
RM
170612012-05-21 Roland McGrath <roland@hack.frob.com>
17062
17063 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17064 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17065 __alignof__ (long double).
17066
478143fa
AZ
170672012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17068
17069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17070
c7683a6d
RH
170712012-05-20 Richard Henderson <rth@twiddle.net>
17072
17073 * misc/getauxval.c: New file.
17074 * misc/sys/auxv.h: New file.
17075 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17076 (routines): Add getauxval.
17077 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17078 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17079 * elf/dl-sysdep.c (_dl_auxv): Remove.
17080 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17081 * elf/dl-support.c (_dl_auxv): New variable.
17082 (_dl_aux_init): Initialize it.
17083 * manual/startup.texi (Auxiliary Vector): New node.
17084 * sysdeps/generic/bits/hwcap.h: New file.
17085 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17086 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17087 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17088 * sysdeps/sparc/sysdep.h: ... here. Include it.
17089 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17090 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
17091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17092 Update.
c7683a6d
RH
17093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17095 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17096 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17098 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17099 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17101
a6f1845d
AZ
171022012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17103
17104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17105
cbcbe830
DM
171062012-05-19 David S. Miller <davem@davemloft.net>
17107
17108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17109
e0b16cc2
JM
171102012-05-19 Joseph Myers <joseph@codesourcery.com>
17111
17112 [BZ #14123]
17113 * math/s_ccosh.c: Include <float.h>
17114 (__ccosh): Avoid internal overflow calculating sinh and cosh
17115 values before multiplying by sin and cos values.
17116 * math/s_ccoshf.c: Likewise.
17117 * math/s_ccoshl.c: Likewise.
17118 * math/s_csin.c: Likewise.
17119 * math/s_csinf.c: Likewise.
17120 * math/s_csinl.c: Likewise.
17121 * math/s_csinh.c: Likewise.
17122 * math/s_csinhf.c: Likewise.
17123 * math/s_csinhl.c: Likewise.
17124 * math/libm-test.inc (ccos_test): Add more tests.
17125 (ccosh_test): Likewise.
17126 (csin_test): Likewise.
17127 (csinh_test): Likewise.
17128 * sysdeps/i386/fpu/libm-test-ulps: Update.
17129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17130
6ad13e08
L
171312012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17132
f66f0ce8
L
17133 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17134 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17135
6ad13e08
L
17136 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17137
b1d072a7
JM
171382012-05-19 Joseph Myers <joseph@codesourcery.com>
17139
17140 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17141 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17142 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17143 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17144 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17145 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17146 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17147 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17148 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17149 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17150 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17151 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17152 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17153 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17154 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17155 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17156 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17157 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17158 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17159 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17160 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17161 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17162 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17163 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17164 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17165 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17166 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17167 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17168 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17169 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17170 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17171
9eae47cb
AJ
171722012-05-18 Andreas Jaeger <aj@suse.de>
17173
17174 * csu/.gitignore: Delete.
17175
bb07f69f
L
171762012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17177
17178 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17179 (timex): Use __syscall_slong_t.
17180
e6bdb741
AJ
171812012-05-18 Andreas Jaeger <aj@suse.de>
17182 Carlos O'Donell <carlos_odonell@mentor.com>
17183
17184 * manual/install.texi (Configuring and compiling): Update
17185 description about files modified in the source directory.
d6c33fda 17186 * INSTALL: Regenerated.
e6bdb741 17187
1b74487e
L
171882012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17189
17190 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17191 value. Use "or" to set return value to -1.
17192 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17193 negate return value.
17194
a88b64b9
TMQMF
171952012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17196
17197 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17198 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17199 failure if the compiler has Graphite support disabled.
17200 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17201 Likewise.
17202 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17203 CFLAGS-memmove.c): Likewise.
17204 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17205 Likewise.
17206
3707636e
L
172072012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17208
610b8622
L
17209 * sysdeps/x86_64/x32/_itoa.h: New file.
17210
7cd195df
L
17211 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17212 getdents system call only if kernel and user dirents have the
17213 same d_ino and d_off.
17214
94b07d20
L
17215 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17216 LLONG_MAX != LONG_MAX.
17217 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17218 (_fitoa_word): Likewise.
17219
18298070
L
17220 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17221 years.
17222 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17223 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17224 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17225
553c7ea4
L
17226 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17227 include <bits/wordsize.h>. Check __x86_64__ instead of
17228 __WORDSIZE.
17229 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17230 if __x86_64__ is defined. Use anonymous union on fpstate.
17231
3707636e
L
17232 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17233 anonymous union.
17234
b53ef01a
AS
172352012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17236
37fb1dc0
AS
17237 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17238 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17239 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17240 Refer to _rtld_local_ro instead of _rtld_global_ro.
17241 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17242 Likewise.
17243 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17244 Likewise.
17245 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17246 Likewise.
17247 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17248 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17249 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17250
b53ef01a
AS
17251 * sysdeps/powerpc/powerpc32/dl-machine.c
17252 (__elf_machine_runtime_setup) [PROF]: Don't reference
17253 _dl_prof_resolve.
17254
7a185db2
AJ
172552012-05-18 Andreas Jaeger <aj@suse.de>
17256
17257 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17258 function only available for GCCs before 3.4 since GCC 3.4
17259 introduced a builtin.
17260 (lrint): Likewise.
17261 (llrintf): Likewise.
17262 (llrint): Likewise.
17263 (fmaxf): Likewise.
17264 (fmax): Likewise.
17265 (fminf): Likewise.
17266 (fmin): Likewise.
17267 (rint): Likewise.
17268 (rintf): Likewise.
17269 (nearbyint): Likewise.
17270 (nearbyintf): Likewise.
17271 (ceil): Likewise.
17272 (ceilf): Likewise.
17273 (floor): Likewise.
17274 (floorf): Likewise.
17275
3e5aef87
L
172762012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17277
428bd707
L
17278 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17279 on both fields and cast pointer to __syscall_ulong_t.
17280
3e5aef87
L
17281 * bits/types.h (__fsword_t): New type.
17282 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17283 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17284 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17285 (__FSWORD_T_TYPE): Likewise.
17286 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17287 (__FSWORD_T_TYPE): Likewise.
17288 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17289 (__FSWORD_T_TYPE): Likewise.
17290 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17291 (__FSWORD_T_TYPE): Likewise.
17292 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17293 __SWORD_TYPE with __fsword_t.
17294 (statfs64): Likewise.
17295
1ba7c3dc
DM
172962012-05-17 David S. Miller <davem@davemloft.net>
17297
17298 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17299
59910343
AJ
173002012-05-17 Andreas Jaeger <aj@suse.de>
17301
17302 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17303 warning.
17304
2e4c1e9e
L
173052012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17306
17307 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17308
de7f5ce7
AJ
173092012-05-17 Andreas Jaeger <aj@suse.de>
17310
17311 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17312 when it is used.
17313
286abc3d
CM
173142012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17315
17316 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17317
477cc68e
L
173182012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17319
17320 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17321 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17322
1a0994f5
CD
173232012-05-17 Andreas Jaeger <aj@suse.de>
17324 Carlos O'Donell <carlos_odonell@mentor.com>
17325
17326 [BZ #14059]
17327 * sysdeps/x86_64/multiarch/init-arch.h
17328 (bit_YMM_Usable): Rename to...
17329 (bit_AVX_Usable): ... this.
17330 (bit_FMA4_Usable): New macro.
17331 (bit_XMM_state): New macro.
17332 (bit_YMM_state): New macro.
17333 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17334 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17335 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17336 (CPUID_OSXSAVE): New macro.
17337 (CPUID_AVX): New macro.
17338 (CPUID_FMA4): New macro.
17339 (index_YMM_Usable): Rename to...
17340 (index_AVX_Usable): ... this.
17341 (HAS_AVX): Use HAS_ARCH_FEATURE.
17342 (HAS_FMA4): Likewise.
17343 (HAS_YMM_USABLE): Remove.
17344 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17345 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17346 are present.
17347 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17348 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17349 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17350 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17351 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17352
0af797de
CM
173532012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17354
17355 * math/libm-test.c: Support platforms without multiple rounding modes.
17356 * math/bug-nextafter.c: Support platforms without FP exceptions.
17357 * math/bug-nexttoward.c: Likewise.
17358 * math/test-fenv.c: Likewise.
17359 * math/test-misc.c: Likewise.
17360 * stdlib/bug-getcontext.c: Likewise.
17361
e39745ff
AJ
173622012-05-17 Andreas Jaeger <aj@suse.de>
17363
17364 * manual/examples/search.c (critter_cmp): Change signature to
17365 avoid warnings.
17366 * manual/string.texi (Collation Functions): Likewise.
17367
48970aba
L
173682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17369
17370 * bits/types.h: Fold copyright years.
17371 * bits/typesizes.h: Likewise.
17372 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17373 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17374 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17375 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17376 * time/time.h: Likewise.
17377
bedee953
PP
173782012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17379
17380 [BZ #208]
17381 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17382 in instead of returning them. Return void.
17383 (__libc_mallinfo): Accumulate over all arenas.
17384 (__malloc_stats): Adjust for change in int_mallinfo interface.
17385
61653dfb
RM
173862012-05-16 Roland McGrath <roland@hack.frob.com>
17387
30b99d79
RM
17388 [BZ #10375]
17389 * configure.in (NM): Add AC_CHECK_TOOL for it.
17390 (libc_extra_cflags): New substituted variable.
17391 Check for -fstack-protector being used implicitly.
17392 * configure: Regenerated.
17393 * config.make.in (config-extra-cflags): New variable,
17394 gets @libc_extra_cflags@.
17395 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17396
61653dfb
RM
17397 [BZ #10375]
17398 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17399 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17400 * configure: Regenerated.
17401 * config.make.in (CPPUNDEFS): New substituted variable.
17402 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17403 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17404 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17405
661768bb
L
174062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17407
17408 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17409 (mq_attr): Use __syscall_slong_t.
17410
d4261567
L
174112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17412
17413 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17414 Check __x86_64__ instead of __WORDSIZE.
17415 (_STAT_VER_LINUX): Likewise.
17416 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17417 __syscall_ulong_t and __syscall_slong_t.
17418 (stat64): Likewise.
17419
cf3ff365
L
174202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17421
17422 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17423
76cf3e4d
L
174242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17425
17426 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17427
a637753a
L
174282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17429
17430 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17431 __syscall_ulong_t.
17432
d5e05119
L
17433 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17434 include <bits/wordsize.h>. Check __x86_64__ instead of
17435 __WORDSIZE.
17436 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17437 defined.
17438 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17439
f62ee380
L
17440 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17441 include <bits/wordsize.h>. Check __x86_64__ instead of
17442 __WORDSIZE.
17443 (user_regs_struct): Use "__extension__ unsigned long long"
17444 instead of "unsigned long" if __x86_64__ is defined.
17445 (user): Likewise. Pad after pointer field if __ILP32__ is
17446 defined.
17447
4e124ced
JM
174482012-05-16 Joseph Myers <joseph@codesourcery.com>
17449
6a3951a0
JM
17450 * configure.in (makeinfo): Require version 4.5 or later. Allow
17451 versions 5 to 9.
17452 * configure: Regenerated.
17453 * manual/install.texi (texinfo): Increase version requirement to
17454 4.5 or later.
17455 * INSTALL: Regenerated.
17456
4e124ced
JM
17457 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17458
953ca31a
L
174592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17460
17461 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17462
617aca05
L
17463 * sysdeps/x86_64/x32/ffs.c: New file.
17464
5762f7ae
L
17465 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17466 __syscall_ulong_t.
17467 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17468 defined. Use __syscall_ulong_t.
17469 (shminfo): Use __syscall_ulong_t.
17470 (shm_info): Likewise.
17471
a26b6856
L
17472 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17473 __syscall_ulong_t.
17474
cb2b9ef7
L
17475 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17476 <bits/wordsize.h>.
17477 (msgqnum_t): Use __syscall_ulong_t.
17478 (msglen_t): Likewise.
17479 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17480 __syscall_ulong_t.
17481
34683bb0
L
17482 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17483 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17484
84a68786
L
17485 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17486
48baa5f1
L
17487 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17488 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17489
180be88b
L
17490 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17491 __syscall_slong_t.
17492
5e90c8ad
L
17493 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17494 include <bits/wordsize.h>. Check __x86_64__ instead of
17495 __WORDSIZE.
17496
23dfb58b
L
17497 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17498 "unsigned long long int" if __x86_64__ is defined.
17499 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17500
ce5d54b0
L
17501 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17502 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17503 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17504
13dc9eac
L
17505 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17506 <stdint.h>.
17507 (GET_PC): Cast to uintptr_t first.
17508 (GET_FRAME): Likewise.
17509 (GET_STACK): Likewise.
17510
a7895d15
L
17511 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17512 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17513 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17514 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17515 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17516 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17517 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17518 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17519 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17520 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17521 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17522 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17523 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17524 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17525 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17526 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17527 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17528 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17529 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17530 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17531 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17532 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17533 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17534 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17535 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17536 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17537 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17538 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17539 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17540
656416c9
AS
175412012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17542
5bd66283
AS
17543 * Makerules (+depfiles): Also collect depfiles from .oS in
17544 $(extra-objs).
17545 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17546 .oS, $(libnldbl-routines)).
17547
656416c9
AS
17548 * Makerules (native-compile-mkdep-flags): Define.
17549 * sunrpc/Makefile (extra-objs): Add $(addprefix
17550 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17551 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17552 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17553 calling $(make-target-directory).
17554
a46f2169
L
175552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17556
17557 * bits/types.h (__snseconds_t): Removed.
17558 * time/time.h (struct timespec): Replace __snseconds_t with
17559 __syscall_slong_t.
17560 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17561 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17562 Likewise.
17563 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17564 (__SNSECONDS_T_TYPE): Likewise.
17565 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17566 (__SNSECONDS_T_TYPE): Likewise.
17567 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17568 (__SNSECONDS_T_TYPE): Likewise.
17569
6af6528b
L
175702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17571
17572 * sysdeps/mach/hurd/bits/typesizes.h
17573 (__SYSCALL_SLONG_TYPE): New macro.
17574 (__SYSCALL_ULONG_TYPE): Likewise.
17575
de986b56
L
175762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17577
17578 * bits/types.h (__syscall_slong_t): New type.
17579 (__syscall_ulong_t): Likewise.
17580
17581 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17582 (__SYSCALL_ULONG_TYPE): Likewise.
17583 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17584 (__SYSCALL_SLONG_TYPE): Likewise.
17585 (__SYSCALL_ULONG_TYPE): Likewise.
17586 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17587 (__SYSCALL_SLONG_TYPE): Likewise.
17588 (__SYSCALL_ULONG_TYPE): Likewise.
17589 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17590 (__SYSCALL_SLONG_TYPE): Likewise.
17591 (__SYSCALL_ULONG_TYPE): Likewise.
17592
85736dc7
L
175932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17594
17595 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17596 Add sigaltstack-offsets.sym.
17597 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17598 <sigaltstack-offsets.h>.
17599 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17600 longjmp_msg pointer.
17601 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17602 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17603 signal stack.
17604 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17605
cc03b296
JM
176062012-05-15 Joseph Myers <joseph@codesourcery.com>
17607
a9538892
JM
17608 * elf/stackguard-macros.h: Remove file.
17609 * sysdeps/generic/stackguard-macros.h: New file.
17610 * sysdeps/i386/stackguard-macros.h: Likewise.
17611 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17612 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17613 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17614 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17615 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17616 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17617 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17618 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17619 <elf/stackguard-macros.h>.
17620
cc03b296
JM
17621 [BZ #14109]
17622 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17623 __aligned__ in attribute.
17624 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17625 (gregset_t): Likewise.
17626
93171016
L
176272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17628
17629 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17630 * sysdeps/x86_64/64/Implies-after: Here. New file.
17631 * sysdeps/x86_64/x32/Implies-after: New file.
17632
d86813a0
L
176332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17634
17635 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17636 and access return value for _dl_profile_fixup. Use R10_LP to
17637 load frame size.
17638
2953ec75
L
176392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17640
17641 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17642
3b550e9e
L
176432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17644
17645 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17646 * sysdeps/x86_64/x32/sysdep.h: New file.
17647
eda41706
L
176482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17649
17650 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17651 * sysdeps/x86_64/setjmp.S: Likewise.
17652
9ea01d93
AZ
176532012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17654
17655 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17656 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17657 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17658 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17659 remove unused global constant.
17660
02a91938
CM
176612012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17662
17663 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17664 include of <not-cancel.h>.
17665
6540185f
RM
176662012-05-15 Roland McGrath <roland@hack.frob.com>
17667
17668 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17669
509072a0
AJ
176702012-05-15 Jeff Law <law@redhat.com>
17671 Andreas Jaeger <aj@suse.de>
17672
17673 [BZ #13594]
17674 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17675 out from...
17676 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17677 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17678 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17679 code changing __hst_map_handle.map.
17680
ba75122d
RM
176812012-05-15 Roland McGrath <roland@hack.frob.com>
17682
17683 * configure.in (sysnames): Look for Implies-before and Implies-after
17684 files.
17685 * configure: Regenerated.
17686
890d8bd8
L
176872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17688
17689 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17690 8-byte data alignment with LP_SIZE alignment.
17691
f6ee6623
L
176922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17693
17694 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17695 into R10_LP.
17696
ea2626f6
L
176972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17698
17699 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17700
085f715e
L
177012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17702
17703 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17704 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17705 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17706 Likewise.
17707 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17708
be8498fc
L
177092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17710
17711 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17712 (stackinfo_sub_sp): Likewise.
17713
70bc83b9
L
177142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17715
17716 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17717 RAX_LP.
17718
9bc0b730
L
177192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17720
17721 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17722 into R*_LP.
17723
6d2850e7
L
177242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17725
17726 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17727 sizes into R*_LP.
17728
3cb84561
L
177292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17730
17731 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17732
54e2ed81
L
177332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17734
17735 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17736 into R11_LP and load __x86_64_shared_cache_size_half into
17737 R8_LP.
17738
8a17f349
L
177392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17740
17741 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17742 R8_LP.
17743
777b1eea
AZ
177442012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17745
17746 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17747 logb for POWER7.
17748 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17749 logbf for POWER7.
17750 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17751 logbl for POWER7.
17752 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17753 powerpc32/power7/fpu/s_logb.c via #include.
17754 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17755 powerpc32/power7/fpu/s_logbf.c via #include.
17756 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17757 powerpc32/power7/fpu/s_logbl.c via #include.
17758
d20d4ac2
JM
177592012-05-15 Joseph Myers <joseph@codesourcery.com>
17760
17761 * README.libm: Remove file.
17762
6cdef1ab
L
177632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17764
17765 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17766 count for x32. Use R*_LP and omit operand-size suffix.
17767
0b254d8f
L
177682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17769
17770 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17771 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17772 * sysdeps/x86_64/x32/shlib-versions: New file.
17773
ceb809dc
RM
177742012-05-14 Roland McGrath <roland@hack.frob.com>
17775
17776 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17777 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17778 Use _dl_fatal_printf instead.
17779
37f1abd4
JM
177802012-05-14 Joseph Myers <joseph@codesourcery.com>
17781
17782 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17783 set if not set by the user. Do not allow for being unset.
17784 * sysdeps/unix/sysv/linux/configure: Regenerated.
17785
11de3a33
L
177862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17787
17788 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17789 the `q' suffix from lea and replace .quad with ASM_ADDR.
17790
e02f153a
L
177912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17792
17793 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17794 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17795 instead of $17.
17796 (PTR_DEMANGLE): Likewise.
17797
520ae0fd
L
177982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17799
17800 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17801 (LP_OP): Likewise.
17802 (ASM_ADDR): Likewise.
17803 (RAX_LP): Likewise.
17804 (RBP_LP): Likewise.
17805 (RBX_LP): Likewise.
17806 (RCX_LP): Likewise.
17807 (RDI_LP): Likewise.
17808 (RSI_LP): Likewise.
17809 (RSP_LP): Likewise.
17810 (R8_LP): Likewise.
17811 (R9_LP): Likewise.
17812 (R10_LP): Likewise.
17813 (R10_LP): Likewise.
17814 (R11_LP): Likewise.
17815 (R12_LP): Likewise.
17816 (R13_LP): Likewise.
17817 (R14_LP): Likewise.
17818 (R15_LP): Likewise.
17819
b985be81
L
178202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17821
17822 * sysdeps/x86_64/x32/dl-machine.h: New file.
17823
6a4888ff
AJ
178242012-05-14 Andreas Jaeger <aj@suse.de>
17825
17826 * manual/Makefile (subdir): Remove export of subdir.
17827 (all): Remove target.
17828 (.PHONY): Remove all from list.
17829 (mkinstalldirs): Remove.
17830 (.PHONY): Remove installdirs from list.
17831 ($(inst_infodir)/libc.info): Use make-target-directory.
17832 (installdirs): Remove.
17833 (subdir_%): Remove.
17834 (glibc-targets): Remove.
17835 (lib): Remove.
17836 (stubs): Remove.
17837 ($(objpfx)stubs ../po/manual.pot): Remove.
17838 ($(objpfx)stamp%): Remove.
17839 (make-target-directory): Remove.
17840 (subdir_install): Remove.
17841 (routines): Remove.
17842 (aux): Remove.
17843 (sources): Remove.
17844 (objects): Remove.
17845 (headers): Remove.
17846
17847 [BZ #13750]
17848 * manual/.gitignore: Remove, it's not needed anymore.
17849 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17850 all files in it.
17851 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17852 directory.
17853 (texis): Renamed to $(objpfx)texis.
17854 (texis-path): New, contains path to generated files.
17855 (chapters.%): Use texis-path for complete path, add extra argument
17856 libc-texinfo.sh.
17857 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17858 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17859 (summary,texi, stamp-summary): Use complete path of
17860 files. Generate files in build dir.
17861 (dir-add.texi): Build in build dir.
17862 (libm-err.texi,stamp-libm-err): Likewise.
17863 (version.texi, stamp-version): Likewise.
17864 (.%c.texi): Likewise.
17865 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17866 (mostlyclean): Remove target.
17867 (realclean): Remove target.
17868 (generated): Add new variable with contents from mostlyclean and
17869 realclean, remove entries duplicated in common-mostlyclean, add
17870 stamp-libm-err and stamp-version.
17871 (generated-dirs): Add libc directory.
17872 ($(inst_infodir)/libc.info): Install files from build dir.
17873
17874 * manual/install.texi (Configuring and compiling): Adjust since
17875 the info files are not part of the tar ball anymore.
17876
7ac77294
AJ
178772012-05-14 Andreas Jaeger <aj@suse.de>
17878
17879 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17880 variable.
17881
ffb7875d
JM
178822012-05-14 Joseph Myers <joseph@codesourcery.com>
17883
17884 [BZ #13717]
17885 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17886 to 2.2.0 where earlier.
17887 * sysdeps/unix/sysv/linux/configure: Regenerated.
17888 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17889 Remove conditional code.
17890 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17891 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17892 Remove conditional code.
17893 [!__NR_lchown]: Likewise.
17894 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17895 [__NR_lchown]: Likewise.
17896 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17897 comment referencing __ASSUME_LCHOWN_SYSCALL.
17898 * sysdeps/unix/sysv/linux/i386/sigaction.c
17899 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17900 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17901 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17902 Remove conditional code.
17903 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17904 (__protocol_available): Remove #if 0 code.
17905 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17906 conditional code.
17907 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17908 * sysdeps/unix/sysv/linux/kernel-features.h
17909 (__ASSUME_GETCWD_SYSCALL): Don't define.
17910 (__ASSUME_REALTIME_SIGNALS): Likewise.
17911 (__ASSUME_PREAD_SYSCALL): Likewise.
17912 (__ASSUME_PWRITE_SYSCALL): Likewise.
17913 (__ASSUME_POLL_SYSCALL): Likewise.
17914 (__ASSUME_LCHOWN_SYSCALL): Likewise.
17915 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17916 non-SPARC.
17917 (__ASSUME_SIOCGIFNAME): Don't define.
17918 (__ASSUME_MSG_NOSIGNAL): Likewise.
17919 (__ASSUME_SENDFILE): Define unconditionally.
17920 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17921 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17922 conditional code.
17923 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17924 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17925 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17926 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17927 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17928 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17929 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17931 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17932 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17934 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17935 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17937 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17938 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17940 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17941 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17943 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17944 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17946 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17947 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
17949 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17950 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17952 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17953 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17954 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
17955 Remove conditional code.
17956 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17957 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17958 Remove conditional code.
17959 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17960 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
17961 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
17962 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17963 Remove conditional code.
17964 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17965 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
17966 Remove conditional code.
17967 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17968 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
17969 Remove conditional code.
17970 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17971 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17972 Remove conditional code.
17973 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17974 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17975 Remove conditional code.
17976 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17977 * sysdeps/unix/sysv/linux/sh/pwrite64.c
17978 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17979 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17980 * sysdeps/unix/sysv/linux/sigaction.c
17981 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17982 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17983 * sysdeps/unix/sysv/linux/sigpending.c
17984 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17985 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17986 * sysdeps/unix/sysv/linux/sigprocmask.c
17987 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17988 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17989 * sysdeps/unix/sysv/linux/sigsuspend.c
17990 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17991 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17992 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17993 (__libc_missing_rt_sigs): Remove.
17994 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
17995 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
17996 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
17997 Remove conditional code.
17998 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
17999 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18000 return 1.
18001 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18002 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18003 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18004 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18005
1bfb7291
AJ
180062012-05-14 Andreas Jaeger <aj@suse.de>
18007
caae5a81
AJ
18008 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18009 it's not used in glibc.
18010 (__coshm1): Likewise.
18011 (__acosh1p): Likewise.
18012 (__sgn): Likewise.
18013
1bfb7291
AJ
18014 * manual/string.texi (Copying and Concatenation): Add missing
18015 variable in concat example.
18016 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18017
c044d724
L
180182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18019
144c5467 18020 [BZ #14103]
c044d724
L
18021 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18022 __builtin_clzl with __builtin_clzll.
18023
2523c62b
L
180242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18025
18026 [BZ #14104]
18027 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18028 libc_freeres_ptr.
18029
d7bb4c42
LD
180302012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18031
18032 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18033 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18034 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18035 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18036
9dc4e1fb
MF
180372012-05-14 Mike Frysinger <vapier@gentoo.org>
18038
18039 * NEWS: Update ia64 info.
18040
c7df0112
AS
180412012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18042
18043 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18044 used as bcopy.
18045
dc70356c
TS
180462012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18047
18048 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18049 * sysdeps/unix/syscalls.list (dup3): Likewise.
18050 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18051 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18052
9fb1a21f
L
180532012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18054
18055 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18056 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18057
4822a2a5
L
180582012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18059
18060 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18061 thread pointer.
18062 (TLS_IE): Use mov/add instead of movq/addq to load thread
18063 pointer.
18064 (TLS_GD_PREFIX): New.
18065 (TLS_GD): Use it.
18066
842b81d6
DM
180672012-05-11 David S. Miller <davem@davemloft.net>
18068
18069 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18070 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18071 (_FPU_SETCW): Likewise.
18072
1cf463cd
L
180732012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18074
18075 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18076 is 32-byte aligned.
18077
60cc4a18
AS
180782012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18079
18080 [BZ #11837]
18081 * iconvdata/gb18030.c: Update tables.
18082 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18083 characters specially.
18084 (BODY for TO_LOOP): Add encoding of missing ranges.
18085
febb44a4
TS
180862012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18087
18088 [BZ #13673]
18089 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18090 * sysdeps/mach/hurd/dup3.c: Likewise.
18091 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18092 * sysdeps/powerpc/memmove.c:: Likewise.
18093
0a10fb9e
L
180942012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18095
18096 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18097 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18098
df8a552f
L
180992012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18100
18101 * elf/elf.h (R_X86_64_RELATIVE64): New.
18102 (R_X86_64_NUM): Updated.
18103 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18104 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18105 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18106 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18107 tst-quad1pie tst-quad2pie
18108 (modules-names): Add tst-quadmod1 tst-quadmod2.
18109 ($(objpfx)tst-quad1): New dependency.
18110 ($(objpfx)tst-quad2): Likewise.
18111 ($(objpfx)tst-quad1pie): Likewise.
18112 ($(objpfx)tst-quad2pie): Likewise.
18113 * sysdeps/x86_64/tst-quad1.c: New file.
18114 * sysdeps/x86_64/tst-quad1pie.c: New file.
18115 * sysdeps/x86_64/tst-quad2.c: Likewise.
18116 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18117 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18118 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18119 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18120 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18121
f34d6f84
ST
181222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18123
f42d41d1
ST
18124 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18125 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18126 * streams/stropts.h (t_scalar_t): Define type.
18127
3c3571fc
ST
18128 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18129 (_PATH_PRESERVE): Set to "/var/lib".
18130 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18131
61f06bd3
ST
18132 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18133 instead of int.
18134
918d4d71
ST
18135 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18136 if __dir_mkfile succeeded.
18137
f34d6f84
ST
18138 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18139 checking for _hurd_dtablesize. Unlock it right after having
18140 finished _hurd_dtable allocation.
18141
10589b4a
TS
181422012-05-10 Thomas Schwinge <thomas@schwinge.name>
18143
674cdbc7
TS
18144 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18145 * sysdeps/mach/hurd/configure: Regenerated.
18146 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18147 special-casing to...
18148 * sysdeps/gnu/configure.in: ... this new file.
18149 * sysdeps/unix/sysv/linux/configure: Regenerated.
18150 * sysdeps/gnu/configure: New generated file.
18151
8e41b99f
TS
18152 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18153 for Linux: use nsec instead of usec, as well as:
18154 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18155 members of type struct timespec.
18156 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18157 New macros.
18158 (struct stat64): Likewise.
18159 (_STATBUF_ST_NSEC): New macro.
18160 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18161
10589b4a
TS
18162 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18163 __strtoul_internal rather than strtoul.
18164
63643c85
PT
181652012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18166
18167 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18168 and reject them.
18169
3faebe6a
ST
181702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18171
18172 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18173 which preserves existing values.
18174 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18175
c6474b07
PT
181762012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18177
18178 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18179 TIMEOUT values. Return EINVAL for NFDS values either negative or
18180 greater than FD_SETSIZE.
18181
1043890b
ST
181822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18183
18184 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18185 allocated, call __vm_protect to finish enabling the existing space, and
18186 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18187 allocate the remainder.
18188
37ed8b9b
PT
181892012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18190
18191 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18192 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18193
db653660
ST
181942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18195
37ed8b9b
PT
18196 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18197 sysdeps/mach/hurd/readlink.c.
b29d4053 18198
db653660
ST
18199 * posix/tst-sysconf.c (posix_options): Only use
18200 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18201 _POSIX_SYNCHRONIZED_IO when they are defined
18202 * sysdeps/mach/hurd/bits/posix_opt.h:
18203 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18204 (_XOPEN_REALTIME): Undefine macro.
18205 (_XOPEN_REALTIME_THREADS): Undefine macro.
18206 (_XOPEN_SHM): Undefine macro.
18207 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18208 macro to -1.
18209 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18210 macro to -1.
18211 (_POSIX_ASYNC_IO): Undefine macro.
18212 (_POSIX_PRIORITIZED_IO): Undefine macro.
18213 (_POSIX_SPIN_LOCKS): Define macro to -1.
18214
ee16e894
ST
18215 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18216 SA_NODEFER, SA_RESETHAND.
18217 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18218 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18219 F_DUPFD_CLOEXEC.
18220
6103ae3b
TS
182212012-05-10 Thomas Schwinge <thomas@schwinge.name>
18222
18223 * elf/Makefile (pldd-modules): Define unconditionally.
18224
80b4e5f3
TS
182252012-05-10 Thomas Schwinge <thomas@schwinge.name>
18226
18227 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18228
edadcbd6
ST
182292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18230
18231 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18232 Return ENOENT when name is empty.
18233 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18234
80694780
TS
182352012-05-10 Thomas Schwinge <thomas@schwinge.name>
18236
1792c087
TS
18237 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18238
80694780
TS
18239 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18240
6b645f0d
ST
182412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18242
80694780
TS
18243 Fix mlock in all cases except non-readable pages.
18244 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18245 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 18246
6b645f0d
ST
18247 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18248 (__mkdir): When path is `/', just fail with EEXIST.
18249 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18250
e468f8a3
TS
182512012-05-10 Thomas Schwinge <thomas@schwinge.name>
18252
18253 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18254 <sys/uio.h> (for writev).
18255 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18256 and <sys/param.h> (for MIN).
18257
a4186cff
PT
182582012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18259
18260 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18261 REQUESTED_TIME. Properly set the remaining time and return EINTR
18262 if interrupted.
18263
510bbf14
TS
182642012-05-10 Thomas Schwinge <thomas@schwinge.name>
18265
18266 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18267 Depend on against $(link-rpcuserlibs).
18268
5d5722e8
ST
182692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18270
a4186cff
PT
18271 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18272 (__libc_stack_end): Do not use attribute_relro.
18273 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18274 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 18275 to libthread-provided value.
a4186cff
PT
18276 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18277 attribute_relro.
5d5722e8 18278
37233df9
TS
182792012-05-10 Thomas Schwinge <thomas@schwinge.name>
18280
be971a2b
TS
18281 [BZ #3748]
18282 * bits/libc-lock.h (__libc_once_get): New macro.
18283 * sysdeps/mach/bits/libc-lock.h: Likewise.
18284 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18285 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18286 instead of using implementation details.
18287
37233df9
TS
18288 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18289 * libio/freopen.c: Likewise.
18290 * libio/freopen64.c: Likewise.
18291 * misc/syslog.c: Likewise.
18292 * nscd/connections.c: Likewise.
18293 * nscd/netgroupcache.c: Likewise.
18294 * sysdeps/posix/getcwd.c: Likewise.
18295
38de94a5
RM
182962012-05-10 Roland McGrath <roland@hack.frob.com>
18297
18298 * math/w_ilogbf.c: Add #include <limits.h>.
18299
67530489
ST
183002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18301
a4186cff 18302 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
18303 path instead of returning without unlocking.
18304
67530489
ST
18305 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18306 immediate-write ioctls.
18307 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18308
5aa3a74a
TS
183092012-05-10 Thomas Schwinge <thomas@schwinge.name>
18310
18bad2ae
TS
18311 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18312 __builtin_frame_address instead of making assumptions about the
18313 location of the return address relative to DATA. Force early load of
18314 the return address.
18315 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18316 __builtin_frame_address.
18317
5aa3a74a
TS
18318 dup3 for GNU Hurd.
18319 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18320 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18321 implement dup3 and do some further code clean-ups.
18322 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18323 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18324
ecd0de9a
ST
183252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18326
cd9fa985
ST
18327 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18328
a4186cff
PT
18329 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18330 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18331 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18332 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18333 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18334 d->port.lock.
802ca5a5 18335
a4186cff
PT
18336 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18337 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18338 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 18339
bcf55240
TS
183402012-05-10 Thomas Schwinge <thomas@schwinge.name>
18341
6960eb42
TS
18342 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18343 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18344 definitions.
18345
eb43375f
TS
18346 accept4 for GNU Hurd.
18347 * include/sys/socket.h (__libc_accept4): New prototype.
18348 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18349 to implement __libc_accept4.
18350 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18351 __libc_accept4.
18352 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18353
bcf55240
TS
18354 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18355 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18356 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18357 signal-defines.sym.
18358
6178c55b
ST
183592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18360
a4186cff 18361 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 18362
6f080c2f
TS
183632012-05-10 Thomas Schwinge <thomas@schwinge.name>
18364
18365 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18366 assertion on O_CLOEXEC flag.
18367 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18368 * hurd/intern-fd.c: Likewise.
18369 * hurd/port2fd.c: Likewise.
18370
bcfe3a54
ST
183712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18372
18373 [BZ #3906]
18374 * bits/in.h (IPV6_PKTINFO): Define new macro.
18375 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18376
89c9aa49
AZ
183772012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18378
18379 [BZ #13954]
18380 [BZ #13955]
18381 [BZ #13956]
18382 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18383 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18384 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18385 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18386 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18387 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18388 * math/libm-test.inc (logb_test) : Additional logb tests.
18389
021db4be
AJ
183902012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18391 Andreas Jaeger <aj@suse.de>
18392
18393 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18394 * configure: Regenerated.
18395 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18396 * config.make.in (link-obsolete-rpc): New substituted variable.
18397 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18398 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18399 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18400 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18401 so that libc.a contains the symbols.
18402 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18403 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18404 * sunrpc/auth_none.c: Likewise.
18405 * sunrpc/auth_unix.c: Likewise.
18406 * sunrpc/authdes_prot.c: Likewise.
18407 * sunrpc/authuxprot.c: Likewise.
18408 * sunrpc/clnt_gen.c: Likewise.
18409 * sunrpc/clnt_perr.c: Likewise.
18410 * sunrpc/clnt_raw.c: Likewise.
18411 * sunrpc/clnt_simp.c: Likewise.
18412 * sunrpc/clnt_tcp.c: Likewise.
18413 * sunrpc/clnt_udp.c: Likewise.
18414 * sunrpc/clnt_unix.c: Likewise.
18415 * sunrpc/des_crypt.c: Likewise.
18416 * sunrpc/des_soft.c: Likewise.
18417 * sunrpc/get_myaddr.c: Likewise.
18418 * sunrpc/key_call.c: Likewise.
18419 * sunrpc/key_prot.c: Likewise.
18420 * sunrpc/netname.c: Likewise.
18421 * sunrpc/pm_getmaps.c: Likewise.
18422 * sunrpc/pm_getport.c: Likewise.
18423 * sunrpc/pmap_clnt.c: Likewise.
18424 * sunrpc/pmap_prot.c: Likewise.
18425 * sunrpc/pmap_prot2.c: Likewise.
18426 * sunrpc/pmap_rmt.c: Likewise.
18427 * sunrpc/publickey.c: Likewise.
18428 * sunrpc/rpc_cmsg.c: Likewise.
18429 * sunrpc/rpc_common.c: Likewise.
18430 * sunrpc/rpc_dtable.c: Likewise.
18431 * sunrpc/rpc_prot.c: Likewise.
18432 * sunrpc/rpc_thread.c: Likewise.
18433 * sunrpc/rtime.c: Likewise.
18434 * sunrpc/svc.c: Likewise.
18435 * sunrpc/svc_auth.c: Likewise.
18436 * sunrpc/svc_raw.c: Likewise.
18437 * sunrpc/svc_run.c: Likewise.
18438 * sunrpc/svc_tcp.c: Likewise.
18439 * sunrpc/svc_udp.c: Likewise.
18440 * sunrpc/svc_unix.c: Likewise.
18441 * sunrpc/svcauth_des.c: Likewise.
18442 * sunrpc/xcrypt.c: Likewise.
18443 * sunrpc/xdr.c: Likewise.
18444 * sunrpc/xdr_array.c: Likewise.
18445 * sunrpc/xdr_float.c: Likewise.
18446 * sunrpc/xdr_intXX_t.c: Likewise.
18447 * sunrpc/xdr_mem.c: Likewise.
18448 * sunrpc/xdr_rec.c: Likewise.
18449 * sunrpc/xdr_ref.c: Likewise.
18450 * sunrpc/xdr_sizeof.c: Likewise.
18451 * sunrpc/xdr_stdio.c: Likewise.
18452
b5c086a2
RM
184532012-05-10 Roland McGrath <roland@hack.frob.com>
18454
18455 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18456 change. Update copyright years.
18457
6d74dd09
JM
184582012-05-10 Joseph Myers <joseph@codesourcery.com>
18459
18460 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18461
28e72501
MK
184622012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18463 Joseph Myers <joseph@codesourcery.com>
18464 Paul Pluzhnikov <ppluzhnikov@google.com>
18465
18466 [BZ #14012]
18467 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18468 requiring rpcgen.
18469 [cross-compiling] (extra-libs): Likewise.
18470 [cross-compiling] (extra-libs-others): Likewise.
18471 [cross-compiling] (librpcsvc-routines): Likewise.
18472 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18473 [cross-compiling] (omit-deps): Likewise.
18474 (sunrpc-CPPFLAGS): New variable.
18475 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18476 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18477 (cross-rpcgen-objs): New variable.
18478 (extra-objs): Append $(cross-rpcgen-objs).
18479 ($(cross-rpcgen-objs)): New rule.
18480 ($(objpfx)cross-rpcgen): Likewise.
18481 (rpcgen-cmd): Define to use $(built-program-file). Expand
18482 comment.
18483 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18484 ($(objpfx)x%.stmp): Likewise.
18485 * sunrpc/proto.h [IS_IN_build] (_): Define.
18486 [IS_IN_build] (_libc_intl_domainname): Likewise.
18487
c8c59454
L
184882012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18489
18490 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18491 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18492 and R_X86_64_TPOFF64.
18493
6f27cd16
JM
184942012-05-10 Joseph Myers <joseph@codesourcery.com>
18495
18496 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18497 sysdeps/unix/sysv/syscalls.list.
18498 (stime): Likewise.
18499 (utime): Likewise.
18500 * sysdeps/unix/sysv/syscalls.list: Remove file.
18501
02467e1c
PE
185022012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18503
18504 [BZ #3440]
18505 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18506 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18507 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18508 (__LC_IDENTIFICATION): Make these macros useful in #if
18509 expressions, as required by C99.
18510
da392631
AS
185112012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18512
18513 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18514 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18515 after this.
18516
8115f29b
L
185172012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18518
18519 * stdlib/longlong.h: Updated from GCC.
18520
bdd74070
AJ
185212012-05-09 Andreas Jaeger <aj@suse.de>
18522
edfe0dbe
AJ
18523 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18524 default is first entry.
18525 (run_mode): Set type.
18526 (main): Remove informal message about syslog.
18527 (options): Fix typo.
18528
bcfe3a54
ST
18529 [BZ #14053]
18530 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 18531 to asm.
bcfe3a54
ST
18532 (lrint): Likewise.
18533 (llrintf): Likewise.
18534 (llrint): Likewise.
18535 (rint): Likewise.
18536 (rintf): Likewise.
18537 (nearbyint): Likewise.
18538 (nearbyintf): Likewise.
bdd74070 18539
91d8d69e
AJ
185402012-05-09 Andreas Jaeger <aj@suse.de>
18541 Pedro Alves <palves@redhat.com>
18542
18543 * nscd/nscd.c (run_mode): Use enum.
18544 (main): Cleanup coding style issue.
18545
bb90b80b
AJ
185462012-05-09 Alexandre Oliva <aoliva@redhat.com>
18547 Andreas Jaeger <aj@suse.de>
18548
bcfe3a54
ST
18549 * nscd/nscd.c (go_background): Replaced with...
18550 (run_mode): ... this.
bb90b80b 18551 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
18552 (options): Add -F --foreground.
18553 (main): Implement it.
18554 (parse_opt): Parse it.
bb90b80b 18555
1a4b75a1
AJ
185562012-05-09 Andreas Jaeger <aj@suse.de>
18557
18558 [BZ #14083]
18559 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18560 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18561 -Wconversion warning.
18562 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18563 Likewise.
18564
b1cc2472
JM
185652012-05-09 Joseph Myers <joseph@codesourcery.com>
18566
18567 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18568 == 0.
18569 (LC_ALL): Use macro-int-constant.
18570 (LC_COLLATE): Likewise.
18571 (LC_CTYPE): Likewise.
18572 (LC_MESSAGES): Likewise.
18573 (LC_MONETARY): Likewise.
18574 (LC_NUMERIC): Likewise.
18575 (LC_TIME): Likewise.
18576 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18577 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18578 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18579 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18580 Specify type.
18581 [C99-based standards] (float_t): Expect type.
18582 [C99-based standards] (double_t): Expect type.
18583 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18584 type.
18585 [C99-based standards] (HUGE_VALL): Likewise.
18586 [C99-based standards] (INFINITY): Likewise.
18587 [C99-based standards] (NAN): Likewise.
18588 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18589 [C99-based standards] (FP_NAN): Likewise.
18590 [C99-based standards] (FP_NORMAL): Likewise.
18591 [C99-based standards] (FP_SUBNORMAL): Likewise.
18592 [C99-based standards] (FP_ZERO): Likewise.
18593 [C99-based standards] (FP_FAST_FMA): Use
18594 optional-macro-int-constant. Specify type. Require == 1.
18595 [C99-based standards] (FP_FAST_FMAF): Likewise.
18596 [C99-based standards] (FP_FAST_FMAL): Likewise.
18597 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18598 [C99-based standards] (FP_ILOGBNAN): Likewise.
18599 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18600 Specify type.
18601 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18602 [C99-based standards] (math_errhandling): Specify type.
18603 [ISO99 || ISO11] (signgam): Do not allow.
18604 [non-C99-based standards] (copysignf): Do not allow.
18605 [non-C99-based standards] (exp2f): Likewise.
18606 [non-C99-based standards] (log2f): Likewise.
18607 [non-C99-based standards] (modff): Allow.
18608 [non-C99-based standards] (erff): Do not allow.
18609 [non-C99-based standards] (erfcf): Likewise.
18610 [non-C99-based standards] (gammaf): Likewise.
18611 [non-C99-based standards] (hypotf): Likewise.
18612 [non-C99-based standards] (j0f): Likewise.
18613 [non-C99-based standards] (j1f): Likewise.
18614 [non-C99-based standards] (jnf): Likewise.
18615 [non-C99-based standards] (lgammaf): Likewise.
18616 [non-C99-based standards] (tgammaf): Likewise.
18617 [non-C99-based standards] (y0f): Likewise.
18618 [non-C99-based standards] (y1f): Likewise.
18619 [non-C99-based standards] (ynf): Likewise.
18620 [non-C99-based standards] (isnanf): Likewise.
18621 [non-C99-based standards] (acoshf): Likewise.
18622 [non-C99-based standards] (asinhf): Likewise.
18623 [non-C99-based standards] (atanhf): Likewise.
18624 [non-C99-based standards] (cbrtf): Likewise.
18625 [non-C99-based standards] (expm1f): Likewise.
18626 [non-C99-based standards] (ilogbf): Likewise.
18627 [non-C99-based standards] (log1pf): Likewise.
18628 [non-C99-based standards] (logbf): Likewise.
18629 [non-C99-based standards] (nextafterf): Likewise.
18630 [non-C99-based standards] (remainderf): Likewise.
18631 [non-C99-based standards] (rintf): Likewise.
18632 [non-C99-based standards] (scalbf): Likewise.
18633 [non-C99-based standards] (copysignl): Likewise.
18634 [non-C99-based standards] (exp2l): Likewise.
18635 [non-C99-based standards] (log2l): Likewise.
18636 [non-C99-based standards] (modfl): Allow.
18637 [non-C99-based standards] (erfl): Do not allow.
18638 [non-C99-based standards] (erfcl): Likewise.
18639 [non-C99-based standards] (gammal): Likewise.
18640 [non-C99-based standards] (hypotl): Likewise.
18641 [non-C99-based standards] (j0l): Likewise.
18642 [non-C99-based standards] (j1l): Likewise.
18643 [non-C99-based standards] (jnl): Likewise.
18644 [non-C99-based standards] (lgammal): Likewise.
18645 [non-C99-based standards] (tgammal): Likewise.
18646 [non-C99-based standards] (y0l): Likewise.
18647 [non-C99-based standards] (y1l): Likewise.
18648 [non-C99-based standards] (ynl): Likewise.
18649 [non-C99-based standards] (isnanl): Likewise.
18650 [non-C99-based standards] (acoshl): Likewise.
18651 [non-C99-based standards] (asinhl): Likewise.
18652 [non-C99-based standards] (atanhl): Likewise.
18653 [non-C99-based standards] (cbrtl): Likewise.
18654 [non-C99-based standards] (expm1l): Likewise.
18655 [non-C99-based standards] (ilogbl): Likewise.
18656 [non-C99-based standards] (log1pl): Likewise.
18657 [non-C99-based standards] (logbl): Likewise.
18658 [non-C99-based standards] (nextafterl): Likewise.
18659 [non-C99-based standards] (remainderl): Likewise.
18660 [non-C99-based standards] (rintl): Likewise.
18661 [non-C99-based standards] (scalbl): Likewise.
18662 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18663 [non-C99-based standards] (FP_*): Do not allow.
18664 [C99-based standards] (FP_*): Change to
18665 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18666 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18667 allow.
18668 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18669 (SIG_ERR): Likewise.
18670 [X/Open-based standards] (SIG_HOLD): Likewise.
18671 (SIG_IGN): Likewise.
18672 (SIGABRT): Use macro-int-constant. Specify type. Require
18673 positive value.
18674 (SIGFPE): Likewise.
18675 (SIGILL): Likewise.
18676 (SIGINT): Likewise.
18677 (SIGSEGV): Likewise.
18678 (SIGTER): Likewise.
18679 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18680 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18681 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18682 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18683 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18684 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18685 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18686 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18687 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18688 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18689 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18690 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18691 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18692 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18693 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18694 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18695 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18696 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18697 [X/Open-based standards] (SIGTRAP): Likewise.
18698 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18699 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18700 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18701 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18702 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18703 allow.
18704
b9f1922d
IW
187052012-05-08 Ian Wienand <ianw@vmware.com>
18706
18707 [BZ #14080]
18708 * time/tzset.c (__tzset_parse_tz): Update default rules for
18709 daylight time changes in the Energy Policy Act of 2005.
18710
1db86e88
AJ
187112012-05-09 Andreas Jaeger <aj@suse.de>
18712
18713 [BZ #13983]
18714 * elf/ldconfig.c (parse_conf): Change string to make clear that
18715 ldconfig only issued a warning if ld.so.conf does not exist.
18716
dee4a4e3
DM
187172012-05-08 David S. Miller <davem@davemloft.net>
18718
ee0db190
DM
18719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18720 movxtod instead of popping the value on the stack.
18721
dee4a4e3
DM
18722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18723
6a43ec98
CD
187242012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18725
18726 * config.h.in: Add HAVE_ARM_PCS_VFP.
18727
05c2c961
RMG
187282012-05-08 Roland Mc Grath <roland@hack.frob.com>
18729
bcfe3a54
ST
18730 [BZ #13979]
18731 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18732 checking but the checks are disabled for any reason.
05c2c961 18733
4b30f61a
L
187342012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18735
18736 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18737 and ELF64_R_TYPE with ELFW(R_TYPE).
18738
eee2bc67
JM
187392012-05-08 Joseph Myers <joseph@codesourcery.com>
18740
7ea5391a
JM
18741 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18742 (ulimit): Likewise.
18743
eee2bc67
JM
18744 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18745 (settimeofday): Likewise.
18746
abb66a67
MF
187472012-05-08 Mike Frysinger <vapier@gentoo.org>
18748
18749 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18750 a struct th_u2 inside the union, and move tu_block/tu_code into
18751 a new th_u3 union of tu_block/tu_code inside of that. Move
18752 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18753 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18754 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18755 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18756 (th_stuff): Change to th_u1.tu_stuff.
18757 (th_data): Define.
18758 (th_msg): Change to th_u1.th_u2.tu_data.
18759
7f18b530
DM
187602012-05-07 David S. Miller <davem@davemloft.net>
18761
05760585
DM
18762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18763
7f18b530
DM
18764 [BZ #14074]
18765 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18766 (SETUP_PIC_REG): Use it.
18767 (SETUP_PIC_REG_LEAF): Use it.
18768
495fd99f
JM
187692012-05-07 Joseph Myers <joseph@codesourcery.com>
18770
18771 [BZ #13885]
18772 [BZ #13923]
18773 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18774 USE_AS_EXPM1L.
18775 (EXPL_FINITE): Likewise.
18776 (FLDLOG): Likewise.
18777 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18778 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18779 e_expl.S.
18780 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18781 USE_AS_EXPM1L.
18782 (EXPL_FINITE): Likewise.
18783 (FLDLOG): Likewise.
18784 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18785 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18786 e_expl.S.
18787 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18788 test of -max_value argument for long double.
18789 * sysdeps/i386/fpu/libm-test-ulps: Update.
18790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18791
6693d694
DM
187922012-05-06 David S. Miller <davem@davemloft.net>
18793
18794 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18795 quad soft-float symbols whose references which are compiler
18796 generated.
18797 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18798
6c23e11c
JM
187992012-05-06 Joseph Myers <joseph@codesourcery.com>
18800
d8b82cad
JM
18801 [BZ #13884]
18802 [BZ #13914]
18803 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18804 USE_AS_EXP10L.
18805 (EXPL_FINITE): Likewise.
18806 (FLDLOG): Likewise.
18807 (c0): Likewise.
18808 (c1): Likewise.
18809 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18810 Adjust comments for base varying.
18811 (__expl_finite): Change alias to EXPL_FINITE.
18812 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18813 e_expl.S.
18814 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18815 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18816 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18817 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18818 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18819 USE_AS_EXP10L.
18820 (EXPL_FINITE): Likewise.
18821 (FLDLOG): Likewise.
18822 (c0): Likewise.
18823 (c1): Likewise.
18824 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18825 Adjust comments for base varying.
18826 (__expl_finite): Change alias to EXPL_FINITE.
18827 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
18828 tests for bugs.
18829 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18830
6c23e11c
JM
18831 [BZ #14064]
18832 * math/libm-test.inc (check_float_internal): Correct ulp
18833 calculation for subnormal expected results.
18834
29ba805c
AJ
188352012-05-06 Andreas Jaeger <aj@suse.de>
18836
18837 * Makeconfig (+math-flags): New, set to -frounding-math.
18838 (+cflags): Add +math-flags so that all of glibc gets compiled with
18839 it.
18840
18841 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18842
7b17aeda
JM
188432012-05-05 Joseph Myers <joseph@codesourcery.com>
18844
5779f134
JM
18845 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18846 Disable one test.
18847
41498f4d
JM
18848 [BZ #13787]
18849 [BZ #13922]
18850 [BZ #14036]
18851 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18852 (__ieee754_expl): Allow for and saturate large arguments.
18853 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18854 (u_threshold): Likewise.
18855 (__exp): Call __ieee754_exp before checking for overflow and
18856 underflow.
18857 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18858 (u_threshold): Likewise.
18859 (__expf): Call __ieee754_expf before checking for overflow and
18860 underflow.
18861 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18862 (u_threshold): Likewise.
18863 (__expl): Call __ieee754_expl before checking for overflow and
18864 underflow.
18865 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18866 (__ieee754_expl): Allow for and saturate large arguments.
18867 * math/libm-test.inc (exp_test): Add another test. Do not allow
18868 missing overflow exception on overflow.
18869 (expm1_test): Do not allow missing overflow exception on overflow.
18870
6698b8bf
JM
18871 * sysdeps/i386/fpu/e_expl.c: Move to ...
18872 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
18873 rather than using inline asm.
18874 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18875 * sysdeps/x86_64/fpu/e_expl.S: Copy from
18876 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18877
7b17aeda
JM
18878 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18879 (nice): Likewise.
18880 (poll): Likewise.
18881 (signal): Likewise.
18882 (time): Likewise.
18883 (times): Likewise.
18884
f7c85819
JM
188852012-05-04 Joseph Myers <joseph@codesourcery.com>
18886
18887 * sysdeps/unix/syscalls.list (adjtime): Add entry from
18888 sysdeps/unix/common/syscalls.list.
18889 (fchmod): Likewise.
18890 (fchown): Likewise.
18891 (ftruncate): Likewise.
18892 (getrusage): Likewise.
18893 (gettimeofday): Likewise.
18894 (setpgid): Likewise.
18895 (setregid): Likewise.
18896 (setreuid): Likewise.
18897 (sigaction): Likewise.
18898 (truncate): Likewise.
18899 (vhangup): Likewise.
18900 * sysdeps/unix/common/syscalls.list: Remove file.
18901 * sysdeps/unix/bsd/Implies: Don't include unix/common.
18902 * sysdeps/unix/sysv/linux/Implies: Likewise.
18903
336270d0
L
189042012-05-04 H.J. Lu <hongjiu.lu@intel.com>
18905
18906 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18907 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18908 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18909 Moved to ...
18910 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18911 Here.
18912 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18913 to ...
18914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18915 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18916 to ...
18917 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18918 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18919 to ...
18920 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18921 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18922 to ...
18923 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18924 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18925 to ...
18926 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18927 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18928 to ...
18929 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18930 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18931 to ...
18932 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18933 Here.
18934 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18935 to ...
18936 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18937 Here.
18938 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18939 to ...
18940 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18941 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18942 Moved to ...
18943 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18944 Here.
18945 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18946 to ...
18947 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
18948
d128e450
JM
189492012-05-04 Joseph Myers <joseph@codesourcery.com>
18950
fa8ee516
JM
18951 * sysdeps/unix/common/bits/dirent.h: Remove file.
18952 * sysdeps/unix/common/bits/fcntl.h: Likewise.
18953
d128e450
JM
18954 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
18955 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
18956 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
18957 * sysdeps/unix/bsd/isatty.c: Likewise.
18958 * sysdeps/unix/bsd/tcdrain.c: Likewise.
18959 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
18960 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
18961
ff8faaf0 189622012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 18963
62881be4 18964 [BZ #13563]
31dc8730
AZ
18965 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
18966 long double comparison inaccuracies.
18967 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18969
6fef930c
AS
189702012-05-04 Andreas Schwab <schwab@linux-m68k.org>
18971
18972 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
18973 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
18974
8f203e6c
JM
189752012-05-04 Joseph Myers <joseph@codesourcery.com>
18976
18977 [BZ #14049]
18978 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
18979 nonzero digits before rounding a hex value.
18980 * stdlib/tst-strtod.c (tests): Add another test.
18981
5197d9c2
AK
189822012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18983
18984 * sysdeps/s390/fpu/libm-test-ulps: Update.
18985
f0c1dedf
AJ
189862012-05-03 Andreas Jaeger <aj@suse.de>
18987
18988 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
18989 does not get optimized out.
18990 (malloc_opt_barrier): New.
18991
a65ef2ae 189922012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 18993 Roland McGrath <roland@hack.frob.com>
a65ef2ae 18994
2b942cb7 18995 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 18996 intermediate file deletion.
2b942cb7 18997 (generated): Add .symlist files.
a65ef2ae 18998
54b71e02
JM
189992012-05-03 Joseph Myers <joseph@codesourcery.com>
19000
19001 [BZ #13775]
19002 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19003 Redirect under this condition.
19004 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19005 [__USE_GNU] (__dprintf_chk): Not under this condition.
19006 [__USE_GNU] (__vdprintf_chk): Likewise.
19007 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19008 under this condition.
19009 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19010 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19011 [__USE_XOPEN2K8] (vdprintf): Likewise.
19012 [__USE_GNU] (__dprintf_chk): Not under this condition.
19013 [__USE_GNU] (__vdprintf_chk): Likewise.
19014 [__USE_GNU] (dprintf): Likewise.
19015 [__USE_GNU] (vdprintf): Likewise.
19016
d3dfcc41
RM
190172012-05-03 Roland McGrath <roland@hack.frob.com>
19018
19019 * elf/Makefile (common-generated): Set this instead of generated for
19020 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19021 $(all-built-dso)-derived lists.
19022
7ac30cc5
AJ
190232012-05-03 Andreas Jaeger <aj@suse.de>
19024
0c51e550
AJ
19025 * sysdeps/i386/fpu/libm-test-ulps: Update.
19026
7ac30cc5
AJ
19027 * FAQ: Removed.
19028 * FAQ.in: Likewise.
19029 * scripts/gen-FAQ.pl: Likewise.
19030 * manual/install.texi (Installation): Point to online location of
19031 FAQ.
19032 * Makefile (files-for-dist): Remove FAQ.
19033 (FAQ): Remove.
19034
d4c2917f
AM
190352012-05-02 Allan McRae <allan@archlinux.org>
19036
19037 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19038 (LDFLAGS-reldepmod5.so): Likewise.
19039 (LDFLAGS-reldep6mod1.so): Likewise.
19040 (LDFLAGS-reldep6mod4.so): Likewise.
19041 (LDFLAGS-reldep8mod3.so): Likewise.
19042 (LDFLAGS-unload4mod1.so): Likewise.
19043 (LDFLAGS-unload4mod2.so): Likewise.
19044 (LDFLAGS-tst-initorder): Likewise.
19045 (LDFLAGS-tst-initordera2.so): Likewise.
19046 (LDFLAGS-tst-initordera3.so): Likewise.
19047 (LDFLAGS-tst-initordera4.so): Likewise.
19048 (LDFLAGS-tst-initorderb2.so): Likewise.
19049 (LDFLAGS-noload): Likewise.
19050 (LDFLAGS-next): Likewise.
19051 (LDFLAGS-order2mod1.so): Likewise.
19052 (LDFLAGS-order2mod2.so): Likewise.
19053 (LDFLAGS-tst-initorder2): Likewise.
19054 (LDFLAGS-tst-initorder2a.so): Likewise.
19055 (LDFLAGS-tst-initorder2b.so): Likewise.
19056 (LDFLAGS-tst-initorder2c.so): Likewise.
19057 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19058
d77f993f
DM
190592012-05-02 David S. Miller <davem@davemloft.net>
19060
19061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19062
171a70b4
PP
190632012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19064
19065 [BZ #14055]
19066 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19067
0be196ad
AJ
190682012-05-02 Andreas Jaeger <aj@suse.de>
19069
19070 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19071 since we manipulate rounding mode.
19072 (CPPFLAGS-test-idouble.c): Likewise.
19073 (CPPFLAGS-test-ifloat.c): Likewise.
19074 (CFLAGS-test-ldouble.c): Likewise.
19075 (CFLAGS-test-double.c): Likewise.
19076 (CFLAGS-test-float.c): Likewise.
19077 (CFLAGS-test-misc.c): Likewise.
19078 (CFLAGS-test-test-fenv.c): Likewise.
19079
4f9d04aa
AZ
190802012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19081
2b942cb7
RM
19082 [BZ #2550]
19083 [BZ #2570]
19084 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19085 comparisons to determine direction to adjust input.
4f9d04aa 19086
82a79e7d
RM
190872012-05-01 Roland McGrath <roland@hack.frob.com>
19088
f5a01ca9
RM
19089 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19090 output to the target.
19091
90fe4186
RM
19092 * scripts/localplt.awk: New file.
19093 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19094 (check-localplt-CFLAGS): Variable removed.
19095 ($(all-built-dso:=.jmprel)): New static pattern rule.
19096 (generated): Add those targets.
19097 (localplt-built-dso): New variable.
19098 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19099
19100 * elf/check-localplt.c: File removed.
19101
82397ed6
RM
19102 * scripts/check-execstack.awk: New file.
19103 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19104 (check-execstack-CFLAGS): Variable removed.
19105 ($(objpfx)check-execstack.h): Target removed.
19106 ($(objpfx)execstack-default): New target.
19107 (generated): Add that instead of check-execstack.h.
19108 ($(all-built-dso:=.phdr)): New static pattern rule.
19109 (generated): Add those targets.
19110 * elf/check-execstack.c: File removed.
19111
82a79e7d
RM
19112 * scripts/check-textrel.awk: New file.
19113 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19114 (check-textrel-CFLAGS): Variable removed.
19115 (all-built-dso): Use := to define.o
19116 ($(all-built-dso:=.dyn)): New static pattern rule.
19117 (generated): Add those targets.
19118 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19119 * config.make.in (READELF): New substituted variable.
19120 * elf/check-textrel.c: File removed.
19121
62fde54f 191222012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 19123
615605c9
JM
19124 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19125 allow.
19126 * conform/data/ctype.h-data [C99-based standards] (isblank):
19127 Expect function.
19128 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19129 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19130 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19131 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19132 Specify type. Require positive value.
19133 (EILSEQ): Likewise.
19134 (ERANGE): Likewise.
19135 [ISO || POSIX] (EILSEQ): Do not expect.
19136 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19137 Specify type. Require positive value.
19138 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19139 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19140 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19141 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19142 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19143 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19144 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19145 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19146 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19147 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19148 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19149 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19150 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19151 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19152 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19153 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19154 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19155 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19156 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19157 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19158 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19159 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19160 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19161 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19162 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19163 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19164 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19165 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19166 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19167 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19168 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19169 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19170 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19171 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19172 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19173 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19174 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19175 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19176 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19177 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19178 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19179 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19180 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19181 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19182 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19183 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19184 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19185 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19186 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19187 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19188 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19189 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19190 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19191 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19192 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19193 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19194 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19195 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19196 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19197 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19198 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19199 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19200 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19201 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19202 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19203 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19204 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19205 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19206 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19207 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19208 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19209 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19210 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19211 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19212 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19213 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19214 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19215 Require >= 2.
19216 (FLT_ROUNDS): Expect as macro, not constant.
19217 (FLT_MANT_DIG): Use macro-int-constant.
19218 (DBL_MANT_DIG): Likewise.
19219 (LDBL_MANT_DIG): Likewise.
19220 (FLT_DIG): Likewise.
19221 (DBL_DIG): Likewise.
19222 (LDBL_DIG): Likewise.
19223 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19224 (DBL_MIN_EXP): Likewise.
19225 (LDBL_MIN_EXP): Likewise.
19226 (FLT_MAX_EXP): Use macro-int-constant.
19227 (DBL_MAX_EXP): Likewise.
19228 (LDBL_MAX_EXP): Likewise.
19229 (FLT_MAX_10_EXP): Likewise.
19230 (DBL_MAX_10_EXP): Likewise.
19231 (LDBL_MAX_10_EXP): Likewise.
19232 (FLT_MAX): Use macro-constant.
19233 (DBL_MAX): Likewise.
19234 (LDBL_MAX): Likewise.
19235 (FLT_EPSILON): Use macro-constant. Give upper bound.
19236 (DBL_EPSILON): Likewise.
19237 (LDBL_EPSILON): Likewise.
19238 (FLT_MIN): Likewise.
19239 (DBL_MIN): Likewise.
19240 (LDBL_MIN): Likewise.
19241 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19242 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19243 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19244 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19245 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19246 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19247 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19248 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19249 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19250 [ISO11] (FLT_TRUE_MIN): Likewise.
19251 [ISO11] (LDBL_TRUE_MIN): Likewise.
19252 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19253 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19254 (SCHAR_MIN): Use macro-int-constant. Specify type.
19255 (SCHAR_MAX): Likewise.
19256 (UCHAR_MAX): Likewise.
19257 (CHAR_MIN): Likewise.
19258 (CHAR_MAX): Likewise.
19259 (MB_LEN_MAX): Use macro-int-constant.
19260 (SHRT_MIN): Use macro-int-constant. Specify type.
19261 (SHRT_MAX): Likewise.
19262 (USHRT_MAX): Likewise.
19263 (INT_MAX): Likewise.
19264 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19265 bound negative.
19266 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19267 bound with "U".
19268 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19269 bound with "L".
19270 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19271 bound negative. Suffix upper bound with "L".
19272 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19273 bound with "UL".
19274 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19275 Specify type.
19276 [C99-based standards] (LLONG_MAX): Likewise.
19277 [C99-based standards] (ULLONG_MAX): Likewise.
19278 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19279 == 0.
19280 [ISO11] (max_align_t): Require type.
19281 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19282
c9140a62
JM
19283 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19284 from $CFLAGS, without defining away __attribute__ calls.
19285 (checknamespace): Use $CFLAGS_namespace.
19286
9af0bf29
JM
19287 * conform/conformtest.pl (@keywords): Only include C99 keywords
19288 for standards based on C99 or C11.
19289
343222a2
JM
19290 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19291 Disable tests.
19292 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19293 UNIX98]: Likewise.
19294
661f8cf0
JM
19295 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19296 usability of symbols in #if.
19297
ee74b9cb
JM
19298 * conform/conformtest.pl: If macro or constant types start
19299 "promoted:", expect the symbol to be of the following type
19300 promoted by the integer promotions.
62fde54f 19301
aafc49b3
JM
19302 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19303 in one place. Also handle "macro-constant".
19304
fefdf574
JM
19305 * conform/conformtest.pl: Only accept expected macro values with
19306 "==". Parse all "macro" lines in one place.
19307 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19308
f2d922fe
JM
19309 * conform/conformtest.pl: Handle braced types on "constant" lines
19310 instead of handling "typed-constant".
19311 * conform/data/signal.h-data: Use "constant" instead of
19312 "typed-constant".
19313
d22956c9
JM
19314 * conform/conformtest.pl: Handle "optional-" at start of lines in
19315 one place rather than duplicating several cases. Handle each
19316 format of "macro" line with initial "optional-".
19317
028e2e38
JM
19318 * conform/conformtest.pl: Only accept expected constant or
19319 optional-constant values with "==". Parse all "constant" lines in
19320 one place. Parse all "optional-constant" lines in one place.
19321 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19322 * conform/data/fmtmsg.h-data: Likewise.
19323 * conform/data/netinet/in.h-data: Likewise.
19324 * conform/data/tar.h-data: Likewise.
19325 * conform/data/limits.h-data: Use "==" form on "constant" and
19326 "optional-constant" lines.
19327
1b8f2850
JM
19328 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19329 Use -std=c99 for XOPEN2K.
19330 (@knownproblems): Remove.
19331 (newtoken): Don't check %isknown.
19332
a05a144b
JM
19333 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19334 Do not expect macro.
19335 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19336 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19337 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19338 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19339 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19340 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19341 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19342 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19343 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19344 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19345 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19346 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19347 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19348 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19349 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19350 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19351 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19352 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19353 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19354 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19355 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19356 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19357 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19358 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19359 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19360 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19361 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19362 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19363 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19364 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19365 [XPG3] (acosh): Likewise.
19366 [XPG3] (asinh): Likewise.
19367 [XPG3] (atanh): Likewise.
19368 [XPG3] (cbrt): Likewise.
19369 [XPG3] (expm1): Likewise.
19370 [XPG3] (ilogb): Likewise.
19371 [XPG3] (log1p): Likewise.
19372 [XPG3] (logb): Likewise.
19373 [XPG3] (nextafter): Likewise.
19374 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19375 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19376 [XPG3] (remainder): Likewise.
19377 [XPG3] (rint): Likewise.
19378 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19379 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19380 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19381 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19382 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19383 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19384 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19385 [UNIX98 || XOPEN2K] (scalb): Expect.
19386 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19387 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19388 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19389 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19390 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19391 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19392 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19393 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19394 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19395 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19396 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19397 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19398 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19399 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19400 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19401 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19402 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19403 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19404 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19405 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19406 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19407 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19408 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19409 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19410 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19411 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19412 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19413 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19414 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19415 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19416 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19417 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19418 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19419 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19420 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19421 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19422 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19423 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19424 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19425 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19426 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19427 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19428 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19429 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19430 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19431 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19432 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19433 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19434 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19435 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19436 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19437 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19438 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19439 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19440 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19441 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19442 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19443 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19444 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19445 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19446 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19447 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19448 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19449 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19450 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19451 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19452 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19453 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19454 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19455 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19456 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19457 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19458 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19459 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19460 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19461 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19462 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19463 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19464 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19465 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19466 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19467 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19468 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19469 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19470 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19471 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19472 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19473 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19474 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19475 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19476 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19477 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19478 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19479 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19480 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19481 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19482 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19483 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19484 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19485 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19486 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19487 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19488 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19489 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19490 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19491 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19492 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19493 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19494 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19495 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19496 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19497 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19498 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19499 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19500 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19501 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19502 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19503 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19504 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19505 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19506 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19507 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19508 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19509 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19510 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19511 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19512 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19513 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19514 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19515 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19516 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19517 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19518 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19519 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19520 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19521 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19522 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19523
73c5ebe3
JM
19524 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19525 _XOPEN_SOURCE_EXTENDED for XPG4.
19526
39c33b6c
JM
19527 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19528
62fde54f
JM
19529 * Makeconfig (localtime): Remove variable.
19530 (inst_localtime-file): Likewise.
19531
0741d64c
AS
195322012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19533
19534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19535 Update.
19536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19537 Update.
19538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19539 Update.
19540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19541 Update.
19542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19543 Update.
19544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19545 Update.
19546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19547 Update.
19548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19549 Update.
19550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19551 Update.
19552
7cb029ee
JM
195532012-05-01 Joseph Myers <joseph@codesourcery.com>
19554
19555 [BZ #2550]
19556 [BZ #2570]
19557 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19558 comparisons to determine direction to adjust input.
19559 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19560 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19561 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19562 Likewise.
19563 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19564 Likewise.
19565 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19566 Likewise.
19567 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19568 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19569 Likewise.
19570 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19571 Likewise.
19572 * math/libm-test.inc (nexttoward_test): Add more tests.
19573
412bd966
AS
195742012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19575
19576 [BZ #14040]
19577 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19578 in version GLIBC_2.1, not GLIBC_2.0.
19579 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19580 Likewise.
19581
9568c0c2
JM
195822012-04-30 Joseph Myers <joseph@codesourcery.com>
19583
adfbc8ac
JM
19584 [BZ #13942]
19585 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19586 (1 - x) * (1 + x).
19587 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19588 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19589 * math/libm-test.inc (acos_test): Add more tests.
19590 (asin_test): Likewise.
19591 * sysdeps/i386/fpu/libm-test-ulps: Update.
19592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19593
5ba3cc69
JM
19594 [BZ #14034]
19595 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19596 of square root.
19597 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19598 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19599 * math/libm-test.inc (acos_test_tonearest): New function.
19600 (acos_test_towardzero): Likewise.
19601 (acos_test_downward): Likewise.
19602 (acos_test_upward): Likewise.
19603 (asin_test_tonearest): Likewise.
19604 (asin_test_towardzero): Likewise.
19605 (asin_test_downward): Likewise.
19606 (asin_test_upward): Likewise.
19607 (main): Call the new functions.
19608 * sysdeps/i386/fpu/libm-test-ulps: Update.
19609 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19610
9568c0c2
JM
19611 [BZ #13884]
19612 [BZ #13924]
19613 * math/e_exp10.c: Include <float.h>.
19614 (__ieee754_exp10): Handle underflow here rather than multiplying
19615 large negative argument by M_LN10.
19616 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19617 of __ieee754_expf.
19618 * math/e_exp10l.c: Include <float.h>.
19619 (__ieee754_exp10l): Handle underflow here rather than multiplying
19620 large negative argument by M_LN10l.
19621 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19622 spurious overflow exception on underflow.
19623
5ac3ea17
MP
196242012-04-29 Marek Polacek <polacek@redhat.com>
19625
19626 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19627 (__fortify_function): New macro.
19628 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19629 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19630 __extern_always_inline.
19631 * libio/bits/stdio2.h: Likewise.
19632 * libio/bits/stdio.h: Likewise.
19633 * string/string.h: Likewise.
19634 * string/bits/string3.h: Likewise.
19635 * include/stdio.h: Likewise.
19636 * stdlib/bits/stdlib.h: Likewise.
19637 * stdlib/stdlib.h: Likewise.
19638 * rt/bits/mqueue2.h: Likewise.
19639 * rt/mqueue.h: Likewise.
19640 * posix/bits/unistd.h: Likewise.
19641 * posix/unistd.h: Likewise.
19642 * io/bits/poll2.h: Likewise.
19643 * io/bits/fcntl2.h: Likewise.
19644 * io/fcntl.h: Likewise.
19645 * io/sys/poll.h: Likewise.
19646 * misc/bits/syslog.h: Likewise.
19647 * misc/bits/syslog-ldbl.h: Likewise.
19648 * misc/sys/syslog.h: Likewise.
19649 * socket/bits/socket2.h: Likewise.
19650 * socket/sys/socket.h: Likewise.
19651 * debug/tst-chk1.c: Likewise.
19652 * wcsmbs/bits/wchar2.h: Likewise.
19653 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19654 * wcsmbs/wchar.h: Likewise.
19655
ecf0ebfb
AJ
196562012-04-29 Andreas Jaeger <aj@suse.de>
19657
19658 * Makerules (tests): Remove enable-check-abi protection.
19659 (check-abi-warn): Remove.
19660 (check-abi-%): Remove check-abi-warn usage.
19661
19662 * configure.in: Remove check-abi configure option.
19663 * configure: Regenerated.
19664 * config.make.in (enable-check-abi): Remove.
19665
6d5c57fa
AS
196662012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19667
24c5d07e 19668 [BZ #14033]
ded5180a
AS
19669 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19670 double functions to double *_finite functions.
19671
7e0d315d
AS
19672 [BZ #13941]
19673 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19674 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19675 LDBL_MIN_EXP.
19676 * stdio-common/Makefile (tests): Add tst-sprintf3.
19677 * stdio-common/tst-sprintf3.c: New file.
19678
6d5c57fa
AS
19679 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19680 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19681
0749ff8b
JM
196822012-04-28 Joseph Myers <joseph@codesourcery.com>
19683
19684 * conform/conformtest.pl: Remove duplicate typed-constant
19685 handling.
19686
8dbd5d7b
DM
196872012-04-28 David S. Miller <davem@davemloft.net>
19688
19689 * Makerules (%.abilist): Add vpath on sysdep_dirs.
19690 (check-abi-%): Remove AWK script prerequisite and explicit
19691 abilist directory.
19692 (check-abi): Rewrite to just diff the symlist with the abilist.
19693 (config-tls, config-abi-config): Delete, no longer used.
19694 (update-abi-%): Remove AWK script and explicit abilist directory.
19695 (update-abi): Rewrite to simply compare and conditionally copy the
19696 symlist and the sysdep abilist file. Remove update-abi-config
19697 checks.
19698 * abilist/ld.abilist: Remove.
19699 * abilist/libBrokenLocale.abilist: Remove.
19700 * abilist/libanl.abilist: Remove.
19701 * abilist/libcrypt.abilist: Remove.
19702 * abilist/libdl.abilist: Remove.
19703 * abilist/librt.abilist: Remove.
19704 * abilist/libthread_db.abilist: Remove.
19705 * abilist/libutil.abilist: Remove.
19706 * scripts/extract-abilist.awk: Remove.
19707 * scripts/merge-abilist.awk: Remove.
19708 * sysdeps/generic/libcidn.abilist: New file.
19709 * sysdeps/generic/libnss_compat.abilist: New file.
19710 * sysdeps/generic/libnss_db.abilist: New file.
19711 * sysdeps/generic/libnss_dns.abilist: New file.
19712 * sysdeps/generic/libnss_files.abilist: New file.
19713 * sysdeps/generic/libnss_hesiod.abilist: New file.
19714 * sysdeps/generic/libnss_nis.abilist: New file.
19715 * sysdeps/generic/libnss_nisplus.abilist: New file.
19716 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19717 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19718 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19719 file.
19720 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19721 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19722 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19723 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19724 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19725 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19726 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19727 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19728 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19729 file.
19730 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19731 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19732 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19733 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19734 file.
19735 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19736 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19737 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19738 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19739 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19740 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19741 file.
19742 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19743 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19744 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19745 file.
19746 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19747 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19748 New file.
19749 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19750 New file.
19751 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19752 New file.
19753 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19754 New file.
19755 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19756 New file.
19757 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19758 New file.
19759 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19760 New file.
19761 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19762 New file.
19763 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19764 New file.
19765 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19766 New file.
19767 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19768 New file.
19769 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19770 New file.
19771 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19772 New file.
19773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19774 file.
19775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19776 New file.
19777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19778 New file.
19779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19780 file.
19781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19782 New file.
19783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19784 New file.
19785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19786 file.
19787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19788 New file.
19789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19790 New file.
19791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19792 New file.
19793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19794 New file.
19795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19796 New file.
19797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19798 New file.
19799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19801 file.
19802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19803 New file.
19804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19805 file.
19806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19807 file.
19808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19809 file.
19810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19811 file.
19812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19813 file.
19814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19815 New file.
19816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19817 file.
19818 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19819 file.
19820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19821 New file.
19822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19823 file.
19824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19826 file.
19827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19828 New file.
19829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19830 file.
19831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19832 file.
19833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19834 file.
19835 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19836 file.
19837 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19838 file.
19839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19840 New file.
19841 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19842 file.
19843 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19844 file.
19845 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19846 New file.
19847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19848 file.
19849 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19850 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19851 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19852 file.
19853 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19854 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19855 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19856 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19857 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19858 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19859 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19860 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19861 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19862 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19863 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19864 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19865 file.
19866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19867 New file.
19868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19869 file.
19870 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19871 file.
19872 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19873 file.
19874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19875 file.
19876 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19877 file.
19878 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19879 New file.
19880 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19881 New file.
19882 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19883 file.
19884 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19885 New file.
19886 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19887 file.
19888 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19889 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19890 file.
19891 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19892 New file.
19893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19894 file.
19895 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19896 file.
19897 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19898 file.
19899 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19900 file.
19901 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19902 file.
19903 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19904 New file.
19905 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19906 New file.
19907 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19908 file.
19909 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19910 New file.
19911 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19912 file.
19913
41d73a1b
JM
199142012-04-28 Joseph Myers <joseph@codesourcery.com>
19915
19916 * conform/conformtest.pl: Fix typo in handling typed-constant from
19917 allow-header.
19918
28aeeda4
JM
199192012-04-27 Joseph Myers <joseph@codesourcery.com>
19920
adae8f5e
JM
19921 * README: Cut down references to pre-2.6 Linux kernels and
19922 Linuxthreads. Update lists of configurations in libc and ports
19923 and sort alphabetically. Say "or newer" with Linux kernel version
19924 requirements.
19925
28aeeda4
JM
19926 * config.h.in [IS_IN_build]: Allow compiling without optimization.
19927
a462cb63
RA
199282012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19929
19930 [BZ #887]
19931 * math/libm-test.inc (logb_test_downward): New test to expose
19932 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19933 rounding mode.
19934
6ad3493e
JM
199352012-04-27 Joseph Myers <joseph@codesourcery.com>
19936
19937 [BZ #14027]
19938 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19939 to be done.
19940 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19941 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19942
2ce4f015
JM
199432012-04-26 Joseph Myers <joseph@codesourcery.com>
19944
5aeb141a
JM
19945 * sysdeps/unix/i386/brk.S: Remove file.
19946 * sysdeps/unix/i386/dl-brk.S: Likewise.
19947 * sysdeps/unix/i386/pipe.S: Likewise.
19948 * sysdeps/unix/i386/sigreturn.S: Likewise.
19949 * sysdeps/unix/i386/syscall.S: Likewise.
19950 * sysdeps/unix/i386/vfork.S: Likewise.
19951 * sysdeps/unix/i386/wait.S: Likewise.
19952
7143acae
JM
19953 * sysdeps/unix/common/tcsendbrk.c: Move to ...
19954 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
19955
2ce4f015
JM
19956 * configure.in (arm*-none*): Do not allow without
19957 --enable-hacker-mode.
19958 (netbsd*): Remove case setting base_os.
19959 (386bsd*): Likewise.
19960 (freebsd*): Likewise.
19961 (bsdi*): Likewise.
19962 (osf*): Likewise.
19963 (sunos*): Likewise.
19964 (ultrix*): Likewise.
19965 (newsos*): Likewise.
19966 (dynix*): Likewise.
19967 (*bsd*): Likewise.
19968 (sysv*): Likewise.
19969 (isc*): Likewise.
19970 (esix*): Likewise.
19971 (sco*): Likewise.
19972 (minix*): Likewise.
19973 (irix4*): Likewise.
19974 (irix6*): Likewise.
19975 (solaris[2-9]*): Likewise.
19976 (none): Likewise.
19977 * configure: Regenerated.
19978
0ac229c8
AZ
199792012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19980
19981 [BZ #11521]
19982 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
19983 overflow or cancellation in calculating denominator.
19984 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
19985 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
19986 down expression to avoid unexpected rounding in newer GCCs.
19987 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
19988
33f244f4
DM
199892012-04-26 David S. Miller <davem@davemloft.net>
19990
19991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
19992 long-double compat symbols.
19993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
19997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20006
cfa1f3e8
DM
200072012-04-25 David S. Miller <davem@davemloft.net>
20008
20009 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20010 HWCAP_* values only after the memory barriers have been defined.
20011 (atomic_full_barrier): Define.
20012 (atomic_read_barrier): Define.
20013 (atomic_write_barrier): Define.
20014
6e236b92
SP
200152012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20016
20017 * shlib-versions: Add libgcc_s version information.
20018 * sysdeps/generic/libgcc_s.h: Remove.
20019 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20020 libgcc_s.h.
20021 * sysdeps/gnu/unwind-resume.c: Likewise.
20022 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20023
aab39a09
DM
200242012-04-25 David S. Miller <davem@davemloft.net>
20025
20026 * sysdeps/unix/sparc/brk.S: Delete.
20027 * sysdeps/unix/sparc/dl-brk.S: Delete.
20028 * sysdeps/unix/sparc/pipe.S: Delete.
20029 * sysdeps/unix/sparc/sysdep.S: Delete.
20030 * sysdeps/unix/sparc/sysdep.h: Delete.
20031 * sysdeps/unix/sparc/vfork.S: Delete.
20032 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20033 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20034 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20035 ret_ERRVAL, r0, r1, MOVE): Define.
20036 (JUMPTARGET): Remove.
20037 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20038 sysdeps/unix/sparc/sysdep.h
20039 (ENTRY, END): Remove.
20040 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20041
a3cc4f48
JM
200422012-04-25 Joseph Myers <joseph@codesourcery.com>
20043
2ed8cda2
JM
20044 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20045 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20046 -DIS_IN_build.
20047
35d76d59
JM
20048 * timezone/README: Update upstream location and email address for
20049 tzcode and tzdata.
20050 * timezone/zdump.c: Update from tzcode 2012b.
20051 * timezone/zic.c: Likewise.
20052
a3cc4f48
JM
20053 * configure.in (libc_cv_as_needed): Remove test.
20054 * configure: Regenerated.
20055 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20056 conditional definition.
20057 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20058 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20059 * config.make.in (have-as-needed): Remove variable.
20060
ceab42c3
SP
200612012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20062 Paul Pluzhnikov <ppluzhnikov@google.com>
20063
20064 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20065 strings correctly.
20066
3ce2865f
CLT
200672012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20068
20069 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20070 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20071 * sysdeps/sh/strlen.S: Likewise.
20072
f37e0d68
JM
200732012-04-24 Joseph Myers <joseph@codesourcery.com>
20074
ae186e9a
JM
20075 * sysdeps/unix/fork.S: Remove file.
20076 * sysdeps/unix/i386/fork.S: Likewise.
20077 * sysdeps/unix/sparc/fork.S: Likewise.
20078
b96914af
JM
20079 * sysdeps/unix/system.c: Remove file.
20080 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20081
f37e0d68
JM
20082 * sysdeps/unix/getegid.S: Remove file.
20083 * sysdeps/unix/geteuid.S: Likewise.
20084
87ef29ca
RM
200852012-04-24 Roland McGrath <roland@hack.frob.com>
20086
83bcd236
RM
20087 * scripts/check-localplt.awk: New file.
20088 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20089 of diff.
20090 * scripts/data/localplt-generic.data: Add a comment.
20091
87ef29ca
RM
20092 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20093 NODE when __dir_mkfile failed.
20094 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20095 Reported by Ludovic Courtès <ludo@gnu.org>.
20096
e5a6e567
AJ
200972012-04-24 Andreas Jaeger <aj@suse.de>
20098
20099 * Makerules (common-clean): Also remove gen-as-const-headers
20100 files.
20101
c1820385
JM
201022012-04-24 Joseph Myers <joseph@codesourcery.com>
20103
20104 * Makerules (native-compile): Do not change working directory for
20105 build. Use $(OUTPUT_OPTION) in command.
20106 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20107
94e02fc4
AZ
201082012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20109
20110 [BZ #13886]
20111 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20112 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20113 * math/libm-test.inc (floor_test): Add more tests.
20114 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20115
3a533ca3
JM
201162012-04-24 Joseph Myers <joseph@codesourcery.com>
20117
940ab4b3
JM
20118 * sysdeps/unix/getdents.c: Remove file.
20119 * sysdeps/unix/sysv/getdents.c: Likewise.
20120 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20121
90e037bd
JM
20122 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20123 sysdeps/unix/mman/syscalls.list.
20124 (mmap): Likewise.
20125 (mprotect): Likewise.
20126 (msync): Likewise.
20127 (munmap): Likewise.
20128 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20129 * sysdeps/unix/mman/syscalls.list: Remove.
20130 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20131
3a533ca3
JM
20132 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20133 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20134 * configure: Regenerated.
20135 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20136 $(libgcc_s_suffix).
20137 * config.make.in (libgcc_s_suffix): Remove variable.
20138
1ad743de
JM
201392012-04-23 Joseph Myers <joseph@codesourcery.com>
20140
4ad451e2
JM
20141 * sysdeps/unix/sysv/gethostname.c: Move to ...
20142 * sysdeps/posix/gethostname.c: ... here.
20143
5e37ce39
JM
20144 * sysdeps/unix/execve.S: Remove file.
20145
1ad743de
JM
20146 * sysdeps/unix/_exit.S: Remove file.
20147
4e681b5b
AJ
201482012-04-23 Andreas Jaeger <aj@suse.de>
20149
20150 [BZ #13739]
20151 * manual/Makefile: Remove make dist support, there's no
20152 need for a stand-alone documentation tar ball.
20153 (TEXI2DVI): Define always, it's not in Makeconfig.
20154 (dist): Removed.
20155 (tar-it): Removed.
20156 (edition): Removed.
20157 (glibc-doc-$(edition).tar): Removed
20158 (%.Z): Removed.
20159 (%.gz): Removed.
20160 (%.uu): Removed.
20161 (ETAGS): Remove, it's in Makeconfig.
20162 (move-if-change): Remove, it's in Makeconfig.
20163
38686a03 201642012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
20165
20166 [BZ #13970]
20167 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20168 (strtod, strtof, strtold, strtol, strtoul, strtoq)
20169 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20170 (strtod_l, strtof_l, strtold_l): Remove __wur.
20171 It is not necessarily an error to ignore strtol's return value.
20172 One can reliably look at the stored endptr to decide whether
20173 the number had valid syntax.
20174
7c0616fa
AJ
201752012-04-21 Andreas Jaeger <aj@suse.de>
20176
803cb6b7 20177 [BZ #13739]
7c0616fa
AJ
20178 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20179
b0fe253f
JM
201802012-04-21 Joseph Myers <joseph@codesourcery.com>
20181
20182 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20183 * sysdeps/unix/sysv/Versions: Remove file.
20184
8280f22d
MT
201852012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20186
20187 [BZ #13927]
20188 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20189
75ce411f 201902012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
20191
20192 [BZ #7064]
20193 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20194 version from __vm86.
20195
097d59fa
JM
201962012-04-20 Joseph Myers <joseph@codesourcery.com>
20197
a90f3bcb
JM
20198 * sysdeps/unix/common/lxstat.c: Remove file.
20199 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20200
edc7ea78
JM
20201 * sysdeps/unix/sysv/Makefile: Remove file.
20202
cb78c221
JM
20203 * sysdeps/unix/sysv/direct.h: Remove file.
20204
efa6a45f
JM
20205 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20206 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20207 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20208 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20209 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20210 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20211 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20212
9c9f2d0c
JM
20213 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20214
4541c83b
JM
20215 * sysdeps/unix/xmknod.c: Remove file.
20216 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20217
f5d153a0
JM
20218 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20219
aa746595
JM
20220 * sysdeps/unix/sysv/i386/time.S: Remove file.
20221
cce5905e
JM
20222 * sysdeps/unix/fxstat.c: Remove file.
20223 * sysdeps/unix/xstat.c: Likewise.
20224 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20225
37fa3841
JM
20226 * sysdeps/unix/sysv/sigaction.c: Remove file.
20227
ff1962a3
JM
20228 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20229 (sysdep_headers): Remove variable.
20230 [termio.h not in sysdep_headers] (generated): Likewise.
20231 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20232 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20233 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20234 * sysdeps/unix/sysv/tcflow.c: Likewise.
20235 * sysdeps/unix/sysv/tcflush.c: Likewise.
20236 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20237 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20238 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20239 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20240 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20241
e7740d31
JM
20242 * sysdeps/unix/siglist.c: Remove file.
20243
ee06f18b
JM
20244 * sysdeps/unix/getppid.S: Remove file.
20245
097d59fa
JM
20246 * sysdeps/unix/mkdir.c: Remove file.
20247 * sysdeps/unix/rmdir.c: Likewise.
20248
ff3d51ec
AS
202492012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20250
20251 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20252 ERR_MAX value.
20253 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20254 errlist-compat value.
20255
50f81fd7
DM
202562012-04-18 David S. Miller <davem@davemloft.net>
20257
20258 * sysdeps/generic/memcopy.h (reg_char): Delete.
20259 * debug/strcat_chk.c: Use char, not reg_char.
20260 * debug/strcpy_chk.c: Likewise.
20261 * debug/strncat_chk.c: Likewise.
20262 * debug/strncpy_chk.c: Likewise.
20263 * string/memchr.c: Likewise.
20264 * string/memrchr.c: Likewise.
20265 * string/rawmemchr.c: Likewise.
20266 * string/strcat.c: Likewise.
20267 * string/strchr.c: Likewise.
20268 * string/strchrnul.c: Likewise.
20269 * string/strcmp.c: Likewise.
20270 * string/strcpy.c: Likewise.
20271 * string/strncat.c: Likewise.
20272 * string/strncmp.c: Likewise.
20273 * string/strncpy.c: Likewise.
20274
8ff41c46
WS
202752012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20276
20277 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20278 __builtin_memcopy is called when src and dest ranges are known to not
20279 overlap.
20280
6b652f46
WS
202812012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20282
20283 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20284 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20285 fwd_align_merge macro call.
20286 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20287 bwd_align_merge macro call.
20288 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20289
b282631e
WS
202902012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20291
20292 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20293 bwd_align_merge macros.
20294 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20295 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20296 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20297
95aa737c
DM
202982012-04-18 David S. Miller <davem@davemloft.net>
20299
20300 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20301
7a99a614
AJ
203022012-04-18 Andreas Jaeger <aj@suse.de>
20303
20304 [BZ# 6794]
20305 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20306 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20307 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20308
20309 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20310 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20311 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20312
20313 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20314 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20315 Adjust for changed ldbl-128 files.
20316
20317 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20318 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20319 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20320
e5270c23
DM
203212012-04-17 David S. Miller <davem@davemloft.net>
20322
20323 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20324
fb5e92c9
AS
203252012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20326
20327 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20328 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20329 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20330 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20331 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20332 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20333
76da7265
AZ
203342012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20335
20336 [BZ #6794]
20337 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20338 * math/libm-test.inc: Add ilogb errno and exception tests.
20339 * math/w_ilogb.c: New file: ilogb wrapper.
20340 * math/w_ilogbf.c: New file: ilogbf wrapper.
20341 * math/w_ilogbl.c: New file: ilogbl wrapper.
20342 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20343 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20344 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20345 exception being thrown with 0.0 as argument.
20346 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20347 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20348 exception being thrown with 0.0 as argument.
20349 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20350 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20351 exception being thrown with 0.0 as argument.
20352 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20353 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20354 exception being thrown with 0.0 as argument.
20355 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20356 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 20357 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
20358 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20359 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20360 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20361 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20362 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20363 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20364
0396e69d
PB
203652012-04-17 Petr Baudis <pasky@ucw.cz>
20366
20367 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20368 with altivec.
20369
750b5926
MP
203702012-04-16 Marek Polacek <polacek@redhat.com>
20371
20372 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20373
751728a1
MP
203742012-04-16 Marek Polacek <polacek@redhat.com>
20375
20376 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20377 operands of fdivp instruction.
20378
34a27407
L
203792012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20380
20381 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20382 * elf/tst-auditmod3b.c: Likewise.
20383 * elf/tst-auditmod4b.c: Likewise.
20384 * elf/tst-auditmod5b.c: Likewise.
20385 * elf/tst-auditmod6b.c: Likewise.
20386 * elf/tst-auditmod6c.c: Likewise.
20387 * elf/tst-auditmod7b.c: Likewise.
20388 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20389 * sysdeps/x86_64/preconfigure.in: Likewise.
20390 * sysdeps/x86_64/preconfigure: Regenerated.
20391
7e73e17d
L
203922012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20393
20394 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20395 __ILP32__.
20396
c7a6ab72
AB
203972012-04-13 Antoine Balestrat <merkil33@gmail.com>
20398
20399 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20400 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20401
a9e8e0e0
CL
204022012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20403
20404 [BZ #13973]
20405 * locale/iso-639.def: Fix gl language name. Spotted by
20406 Yaron Shahrabani.
20407
ec98af7d
RM
204082012-04-12 Roland McGrath <roland@hack.frob.com>
20409
20410 [BZ #2074]
20411 * libio/libio.h (__io_write_fn): Update comment.
20412
247c3ede
PB
204132012-04-12 Petr Baudis <pasky@ucw.cz>
20414
20415 [BZ #2074]
20416 * stdio.texi (Hook Functions): The user provided writer function
20417 is not allowed to return -1.
20418
55939d6d
DM
204192012-04-11 David S. Miller <davem@davemloft.net>
20420
20421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20422
90020f5a
MF
204232012-04-11 Mike Frysinger <vapier@gentoo.org>
20424
20425 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20426 Add a leading slash to rtkaio.
20427
288f9098
JM
204282012-04-11 Jim Meyering <meyering@redhat.com>
20429
90020f5a
MF
20430 [BZ #11959]
20431 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20432 It is not necessarily an error to ignore fwrite's return
20433 value. One can reliably use ferror to test for errors after
20434 the fact.
288f9098 20435
4be2b570
L
204362012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20437
20438 * bits/types.h (__snseconds_t): New type.
20439 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20440
20441 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20442 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20443 (__SNSECONDS_T_TYPE): Likewise.
20444 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20445 (__SNSECONDS_T_TYPE): Likewise.
20446 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20447 (__SNSECONDS_T_TYPE): Likewise.
20448
288f9098 204492012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
20450
20451 [BZ #2636]
20452 * manual/time.texi (Processor Time): Return type of times is
20453 elapsed real time since an arbitrary point in the past.
20454 (CPU Time): Move CLK_TCK from here...
20455 (Processor Time): ...to here. Correct description.
20456 * manual/conf.texi (Constants for Sysconf): Correct description of
20457 _SC_CLK_TCK.
20458
d7dd4413
DM
204592012-04-10 David S. Miller <davem@davemloft.net>
20460
20461 [BZ #13967]
20462 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20463 where the is a gap between DT_REL(A) and DT_JMPREL.
20464
b46068fc
L
204652012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20466
20467 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20468 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20469 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20470
73d65cc3
SP
204712012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20472
20473 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20474 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20475 (dl_main): Handle --inhibit-cache.
20476 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20477 _dl_inhibit_cache.
20478 * elf/dl-load.c (_dl_map_object): Use it.
20479 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20480
bcc8d661
JM
204812012-04-09 Joseph Myers <joseph@codesourcery.com>
20482
8f9a2fae
JM
20483 [BZ #13872]
20484 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20485 (__ieee754_powl): Saturate large exponents rather than testing for
20486 overflow of y*log2(x).
20487 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20488 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20489 exceptions.
20490
bcc8d661
JM
20491 [BZ #11521]
20492 * math/s_ctan.c: Include <float.h>.
20493 (__ctan): Avoid internal overflow or cancellation in calculating
20494 denominator.
20495 * math/s_ctanf.c: Likewise.
20496 * math/s_ctanl.c: Likewise.
20497 * math/s_ctanh.c: Likewise.
20498 * math/s_ctanhf.c: Likewise.
20499 * math/s_ctanhl.c: Likewise.
20500 * math/libm-test.inc (ctan_test): Add more tests.
20501 (ctanh_test): Likewise.
20502 * sysdeps/i386/fpu/libm-test-ulps: Update.
20503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20504
823fbbb4
AJ
205052012-04-09 Andreas Jaeger <aj@suse.de>
20506
03879793
AJ
20507 [BZ #6894]
20508 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20509 is an optional BSD extension.
20510
823fbbb4
AJ
20511 [BZ #10254]
20512 * manual/stdio.texi (Opening Streams): Document additional fopen
20513 parameters.
20514
8de131cb
RM
205152012-04-09 Roland McGrath <roland@hack.frob.com>
20516
20517 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20518 %eax without telling the compiler.
20519
c0ed9d7d
CD
205202012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20521
20522 [BZ # 13963]
20523 * manual/install.texi: Use sourceware.org.
20524
c483f6b4
JM
205252012-04-09 Joseph Myers <joseph@codesourcery.com>
20526
d7dd9453
JM
20527 [BZ #13873]
20528 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20529 (__ieee754_pow): Generate overflow and underflow using huge*huge
20530 and tiny*tiny rather than just returning constant infinity or zero
20531 for large exponents.
20532 * math/libm-test.inc (pow_test): Require overflow exceptions for
20533 applicable cases of large exponents.
20534
c483f6b4
JM
20535 [BZ #706]
20536 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20537 (__ieee754_pow): Use iterative multiplication algorithm only for
20538 integer exponents with absolute value below 1024. Check for odd
20539 integer exponents when using algorithm for real exponents.
20540 * math/libm-test.inc (pow_test): Add more tests.
20541 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20542
d2de7579
JM
205432012-04-08 Joseph Myers <joseph@codesourcery.com>
20544
20545 [BZ #13705]
20546 * math/libm-test.inc (exp_test): Do not allow overflow exception
20547 on underflow test.
20548
f77f1232
AJ
205492012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20550
20551 [BZ #13705]
20552 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20553 instead of __kernel_standard_f.
20554
3884932b
MF
205552012-04-08 Mike Frysinger <vapier@gentoo.org>
20556
20557 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20558 * sysdeps/x86_64/memset_chk.S: Likewise.
20559
54472e9c
AJ
205602012-04-08 Andreas Jaeger <aj@suse.de>
20561
6ab0fbfc
AJ
20562 [BZ #10153]
20563 * manual/startup.texi (Environment Access): Describe return value
20564 for putenv and setenv.
20565
61efba8c
AJ
20566 [BZ #6895]
20567 * manual/filesys.texi (Directory Entries): Add description for
20568 DT_LNK.
20569
95c3f29a
AJ
20570 [BZ #6890]
20571 * manual/filesys.texi (Directory Entries): Clarify that it's file
20572 system not operating system in the description of DT_UNKNOWN.
20573
54472e9c
AJ
20574 [BZ #6578]
20575 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20576
624254b1
SC
205772012-04-08 Stephen Compall <s11@member.fsf.org>
20578
20579 [BZ #6649]
20580 * manual/llio.texi (Opening and Closing Files): Add cross
20581 reference to explain mode argument.
20582
1e4920e0
MF
205832012-04-07 Mike Frysinger <vapier@gentoo.org>
20584
20585 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20586 * sysdeps/x86_64/memset_chk.S: Likewise.
20587
5ed848f3
DM
205882012-04-07 David S. Miller <davem@davemloft.net>
20589
20590 * elf/elf.h (R_SPARC_WDISP10): Define.
20591 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20592 R_SPARC_SIZE32.
20593 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20594 R_SPARC_SIZE64 and R_SPARC_H34.
20595
96154cd8
CD
205962012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20597
20598 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20599 conditions and remove no longer applicable assertion.
20600
9904dc47
L
206012012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20602
20603 * bits/byteswap.h: Include <features.h>.
20604 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20605 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20606
f8887d0a
L
206072012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20608
20609 * bits/byteswap.h (__bswap_16): Removed.
20610 Include <bits/byteswap-16.h> to get __bswap_16.
20611 * sysdeps/i386/bits/byteswap.h: Likewise.
20612 * sysdeps/s390/bits/byteswap.h: Likewise.
20613 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20614 * bits/byteswap-16.h: New file.
20615 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20616 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20617 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20618 * string/Makefile (headers): Add bits/byteswap-16.h.
20619
62470f60
PP
206202012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20621
20622 [BZ #13895]
20623 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20624 extra indirection.
20625 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20626 * nss/tst-nss-static.c: New.
20627
4dad7bab
RM
206282012-04-06 Robert Millan <rmh@gnu.org>
20629
20630 [BZ #6486]
20631 * manual/llio.texi (File Position Primitive): lseek
20632 refers to WHENCE when it really means OFFSET.
20633
e9142a17
AJ
206342012-04-06 Andreas Jaeger <aj@suse.de>
20635
2c040eff
AJ
20636 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20637 strncmp declarations.
20638
e9142a17
AJ
20639 * abilist/libc.abilist: Add __poll and __ppoll.
20640
ff9f1c5f
DM
206412012-04-05 David S. Miller <davem@davemloft.net>
20642
dcd2ae90
DM
20643 * scripts/check-local-headers.sh: Accept a host triplet in the
20644 path matched by the exclude regexp.
20645
993eb054
DM
20646 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20647 definition.
20648 * sysdeps/powerpc/powerpc32/dl-machine.h
20649 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20650 * sysdeps/s390/s390-32/dl-machine.h
20651 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20652 * sysdeps/sparc/sparc32/dl-machine.h
20653 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20654 * sysdeps/sparc/sparc64/dl-machine.h
20655 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20656
ff9f1c5f
DM
20657 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20658 lazy binding.
48e2e132 20659 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
20660 undefined symbol errors.
20661
48e2e132 20662 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
20663 DT_NEEDED entries.
20664
e80d6f94
MM
206652012-04-05 Michael Matz <matz@suse.de>
20666
20667 [BZ #13592]
20668 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20669
349fa79f
AJ
206702012-04-05 Andreas Jaeger <aj@suse.de>
20671
20672 [BZ #13908]
20673 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20674 comment.
20675
f402708f
KK
206762012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20677
20678 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20679 which ROUND is no valid rounding mode.
20680
2ecccfc9
KK
206812012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20682
20683 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20684 read again.
20685 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20686
8a53f50f
KK
206872012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20688
20689 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20690 an exception using FPU order intentionally.
20691
206922012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20693
20694 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20695 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20696 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20697 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20698
d653abb7
SJ
206992012-04-05 Simon Josefsson <simon@josefsson.org>
20700
20701 [BZ #12340]
20702 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20703 EINVAL when BUFLEN is too smal.
20704
c3b1bf7d
TS
207052012-04-05 Thomas Schwinge <thomas@codesourcery.com>
20706
20707 [BZ #13553]
20708 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20709 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20710
b1aa60f3
AJ
207112012-04-03 Andreas Jaeger <aj@suse.de>
20712
c3b1bf7d 20713 [BZ #13938]
67f60a26
AJ
20714 * manual/setjmp.texi (System V contexts): Fix sentence.
20715
b1aa60f3
AJ
20716 [BZ #13926]
20717 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20718 New macro for this case.
20719 [!__GNUC__] (__bswap_64): New inline function for this case.
20720 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20721 * bits/byteswap.h: Likewise.
20722 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20723 ull, guard with __GLIBC_HAVE_LONG_LONG.
20724
20725 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20726 __GLIBC_HAVE_LONG_LONG.
20727
20728 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20729 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20730
39c59c35
TMQMF
207312012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20732
20733 [BZ #13691]
20734 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20735 inptr and inend, rather than using last_ch.
20736
135ffda8
DM
207372012-04-02 David S. Miller <davem@davemloft.net>
20738
20739 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20740 * stdio-common/printf-parse.h (read_int): Change return type to
20741 'int', return -1 on INT_MAX overflow.
20742 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20743 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20744 overflows INT_MAX. Check for overflow of in-format-string precision
20745 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20746 SIZE_MAX not INT_MAX for integer overflow test.
20747 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20748 skip the construct in the format string but do not record anything.
20749 * stdio-common/bug22.c: Adjust to test both width/prevision
20750 INT_MAX overflow as well as total length INT_MAX overflow. Check
20751 explicitly for proper errno values.
20752
228c019e
TS
207532012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20754
302cadd3
TS
20755 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20756 CHAR_MAX.
20757 * string/test-strcmp.c [! WIDE]: Likewise.
20758 * time/tst-mktime2.c: Likewise for INT_MAX.
20759 * string/test-string.h: #include <sys/param.h> for MIN.
20760
228c019e
TS
20761 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20762 * sysdeps/i386/init-first.c (init): Likewise.
20763 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20764 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20765 * sysdeps/sh/init-first.c (init): Likewise.
20766
cfa633f5
UD
207672012-04-01 Ulrich Drepper <drepper@gmail.com>
20768
20769 * po/ru.po: Update from translation team.
d1635ef8 20770 * po/vi.po: Likewise.
cfa633f5 20771
6cd0a5ea
SP
207722012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20773
20774 * resolv/nss_dns/dns-host.c: Merge copyright years.
20775
4b43400f
LD
207762012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20777
20778 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20779 Optimize memcpy with prefetch if
20780 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20781 src, dst pointers have unequal 16 byte alignments.
20782
48c41d04
SP
207832012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20784
20785 [BZ #13928]
20786 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20787 from a CNAME entry and return the minimum ttl for the query.
20788 (gaih_getanswer_slice): Likewise.
20789
b8dc394d
JL
207902012-03-30 Jeff Law <law@redhat.com>
20791
20792 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20793 due to long keys.
20794 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20795 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20796
2f5a5ed0
JL
20797 * resolv/nss_dns/dns-host.c: Update copyright year.
20798
1d39e359
UD
207992012-03-30 Ulrich Drepper <drepper@gmail.com>
20800
c030f70c 20801 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 20802 requests to save a system call. Fix check that all bytes are sent.
c030f70c 20803
1d39e359
UD
20804 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20805 comments for sendmmsg.
20806
208072012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
20808
20809 [BZ #13691]
20810 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20811 with only 1 character between 0x0041 and 0x01b0.
20812 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20813 * wcsmbs/tst-mbsnrtowcs.c: New file.
20814
20fde227
DM
208152012-03-29 David S. Miller <davem@davemloft.net>
20816
20817 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20818 small copies by hand.
20819
984a4237
JL
208202012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20821
20822 [BZ #13761]
20823 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20824 _nss_compat_initgroups_dyn): Fall back to malloc/free
20825 for large group memberships.
20826
18c9d62b
DM
208272012-03-28 David S. Miller <davem@davemloft.net>
20828
88d85d4f
DM
20829 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20830 that branches into memcpy.
20831 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20832 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20833 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20834 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20835 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20836 bits.
20837 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20838 implementation too.
20839 * sysdeps/sparc/mempcpy.S: New file.
20840
e5aa83e1
DM
20841 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20842 the IFUNC routine in the libc case.
20843 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20844
88570753
DM
20845 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20846 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20847 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20848 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20849 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20850 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20851 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20852 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20853
249d7567
DM
20854 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20855 loop to 256 bytes instead of 64 bytes and fix test signedness.
20856
18c9d62b
DM
20857 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20858 * sysdeps/sparc/sparc32/Makefile: rather than here...
20859 * sysdeps/sparc/sparc64/Makefile: and here.
20860
05f3d1f6
UD
208612012-03-28 Ulrich Drepper <drepper@gmail.com>
20862
20863 * malloc/mallocbug.c: Avoid warnings about unused variables.
20864
86ae07a8
JL
208652012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20866
20867 [BZ #13760]
20868 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20869 in the right place. Discard and retry query if response is
20870 larger than input buffer size.
20871
41bf21a1
JM
208722012-03-28 Joseph Myers <joseph@codesourcery.com>
20873
d6270972
JM
20874 [BZ #369]
20875 [BZ #2678]
20876 [BZ #3866]
20877 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20878 x for large integer exponent.
20879 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20880 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
20881 sign of result as needed afterwards.
20882 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20883 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20884 result for underflowing pow the same as for overflow.
20885 (__kernel_standard_l): Handle powl overflow and underflow here
20886 rather than calling __kernel_standard.
20887 * math/libm-test.inc (pow_test): Add more tests.
20888
414fca03 20889 [BZ #3868]
41bf21a1
JM
20890 [BZ #13879]
20891 [BZ #13910]
20892 [BZ #13911]
20893 [BZ #13912]
20894 [BZ #13913]
20895 [BZ #13915]
20896 [BZ #13916]
20897 [BZ #13917]
20898 [BZ #13918]
20899 [BZ #13919]
20900 [BZ #13920]
20901 [BZ #13921]
20902 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20903 * sysdeps/ieee754/k_standard.c: Include <float.h>.
20904 (__kernel_standard_l): New function.
20905 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20906 __kernel_standard.
20907 * math/w_acosl.c (__acosl): Likewise.
20908 * math/w_asinl.c (__asinl): Likewise.
20909 * math/w_atan2l.c (__atan2l): Likewise.
20910 * math/w_atanhl.c (__atanhl): Likewise.
20911 * math/w_coshl.c (__coshl): Likewise.
20912 * math/w_exp10l.c (__exp10l): Likewise.
20913 * math/w_exp2l.c (__exp2l): Likewise.
20914 * math/w_fmodl.c (__fmodl): Likewise.
20915 * math/w_hypotl.c (__hypotl): Likewise.
20916 * math/w_j0l.c (__j0l, __y0l): Likewise.
20917 * math/w_j1l.c (__j1l, __y1l): Likewise.
20918 * math/w_jnl.c (__jnl, __ynl): Likewise.
20919 * math/w_lgammal.c (__lgammal): Likewise.
20920 * math/w_log10l.c (__log10l): Likewise.
20921 * math/w_log2l.c (__log2l): Likewise.
20922 * math/w_logl.c (__logl): Likewise.
20923 * math/w_powl.c (__powl): Likewise.
20924 * math/w_remainderl.c (__remainderl): Likewise.
20925 * math/w_scalbl.c (sysv_scalbl): Likewise.
20926 * math/w_sinhl.c (__sinhl): Likewise.
20927 * math/w_sqrtl.c (__sqrtl): Likewise.
20928 * math/w_tgammal.c (__tgammal): Likewise.
20929 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20930 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20931 * math/libm-test.inc (acos_test): Add more tests.
20932 (acosh_test): Likewise.
20933 (asin_test): Likewise.
20934 (atanh_test): Likewise.
20935 (exp_test): Likewise.
20936 (exp10_test): Likewise.
20937 (exp2_test): Likewise.
20938 (expm1_test): Likewise.
20939 (lgamma_test): Likewise.
20940 (log_test): Likewise.
20941 (log10_test): Likewise.
20942 (log1p_test): Likewise.
20943 (log2_test): Likewise.
20944 (pow_test): Do not allow some spurious overflow exceptions.
20945 (sqrt_test): Add more tests.
20946 (tgamma_test): Likewise.
20947 (y0_test): Likewise.
20948 (y1_test): Likewise.
20949 (yn_test): Likewise.
20950
dd62fda6
AB
209512012-03-27 Anton Blanchard <anton@samba.org>
20952
20953 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
20954 MAP_HUGETLB.
20955 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20956 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20957 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20958
1e3cdfda
AJ
209592012-03-27 David S. Miller <davem@davemloft.net>
20960
b855ab85
DM
20961 * conform/Makefile: Run run-conformtest.sh using $(BASH).
20962
1e3cdfda
AJ
20963 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
20964 have-as-vis3 check.
20965
209662012-03-27 Andreas Jaeger <aj@suse.de>
20967
20968 * sysdeps/x86_64/elf/configure.in: Moved to ...
20969 * sysdeps/x86_64/configure.in: ... here.
20970 * sysdeps/x86_64/elf/start.S: Moved to ...
20971 * sysdeps/x86_64/start.S: ... here.
20972 * sysdeps/x86_64/elf/configure: Delete.
20973
20974 * sysdeps/x86_64/configure.in: Merge contents from
20975 sysdeps/i386/configure.in (without i686 check).
20976
20977 * sysdeps/i386/elf/Versions: Merge into ...
20978 * sysdeps/i386/Versions: ... this.
20979 * sysdeps/i386/elf/Versions: Delete file.
20980 * sysdeps/i386/elf/start.S: Moved to ...
20981 * sysdeps/i386/start.S: ...here.
20982 * sysdeps/i386/elf/configure.in: Merge into...
20983 * sysdeps/i386/configure.in: ...here.
20984 * sysdeps/i386/elf/configure.in: Delete file.
20985 * sysdeps/i386/elf/configure: Delete file.
20986
20987 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
20988 * debug/backtracesyms.c: ... here.
20989 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
20990 * debug/backtracesymsfd.c: ... here.
20991 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
20992 * sysdeps/generic/ifunc-sel.h: ... here.
20993
20994 * sysdeps/unix/i386/start.c: Delete file.
20995 * sysdeps/unix/sparc/start.c: Delete file.
20996 * sysdeps/unix/start.c: Delete file.
20997
20998 * sysdeps/sh/elf/configure.in: Moved to ...
20999 * sysdeps/sh/configure.in: ... here.
21000 * sysdeps/sh/elf/start.S: Moved to ...
21001 * sysdeps/sh/start.S: ... here.
21002 * sysdeps/sh/elf/configure: Delete file.
21003
21004 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21005 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21006 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21007 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21008 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21009 * sysdeps/powerpc/powerpc64/start.S: here.
21010 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21011 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21012 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21013 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21014 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21015
21016 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21017 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21018 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21019 * sysdeps/powerpc/powerpc32/start.S: ... here.
21020 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21021 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21022 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21023
21024 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21025 * sysdeps/powerpc/ifunc-sel.h: ... here.
21026 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21027 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21028
21029 * sysdeps/sparc/elf/configure.in: Moved to ...
21030 * sysdeps/sparc/configure.in: ... here.
21031 * sysdeps/sparc/elf/configure: Delete file.
21032 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21033 * sysdeps/sparc/sparc32/start.S: ... here.
21034 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21035 * sysdeps/sparc/sparc64/start.S: ... here.
21036 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21037 * sysdeps/sparc/sparc32/Makefile: ... this.
21038 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21039 * sysdeps/sparc/sparc64/Makefile: ... this.
21040
21041 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21042 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21043 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21044 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21045 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21046 * sysdeps/s390/s390-32/setjmp.S: ... here.
21047 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21048 * sysdeps/s390/s390-32/configure.in: ... here.
21049 * sysdeps/s390/s390-32/elf/configure: Delete file.
21050 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21051 * sysdeps/s390/s390-32/start.S: ... here.
21052
21053 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21054 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21055 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21056 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21057 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21058 * sysdeps/s390/s390-64/setjmp.S: ... here.
21059 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21060 * sysdeps/s390/s390-64/configure.in: ... here
21061 * sysdeps/s390/s390-64/elf/configure: Delete file.
21062 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21063 * sysdeps/s390/s390-64/start.S: ... here.
21064 * sysdeps/s390/s390-64/elf/configure: Delete.
21065
21066 * configure.in: Remove support for elf directories in sysdeps.
21067
21068 * configure: Regenerated.
21069 * sysdeps/i386/configure: Regenerated.
21070 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21071 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21072 * sysdeps/s390/s390-32/configure: Regenerated.
21073 * sysdeps/s390/s390-64/configure: Regenerated.
21074 * sysdeps/sh/configure: Regenerated.
21075 * sysdeps/sparc/configure: Regenerated.
21076 * sysdeps/x86_64/configure: Regenerated.
21077
a3f61311
AS
210782012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21079
c876e002
AS
21080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21081
a3f61311
AS
21082 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21083 denormal result into account.
21084
ac4c54f0
RM
210852012-03-25 Roland McGrath <roland@hack.frob.com>
21086
21087 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21088 Reported by Allan McRae <allan@archlinux.org>.
21089
6a9b9c02
JL
210902012-03-23 Jeff Law <law@redhat.com>
21091
21092 * nss/getnssent.c (__nss_getent): Fix typo.
21093
4c42a0c1
DM
210942012-03-23 David S. Miller <davem@davemloft.net>
21095
21096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21097
1532c7ac
L
210982012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21099
21100 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21101 to pad to uint64_t for each field.
21102 (dl_tls_index): Replace unsigned long with uint64_t.
21103
3ff42526
PP
211042012-03-23 Daniel Jacobowitz <dmj@google.com>
21105 Paul Pluzhnikov <ppluzhnikov@google.com>
21106
21107 [BZ #6528]
21108 * grp/Makefile (otherlibs): Don't set it.
21109 * inet/Makefile (otherlibs): Likewise.
21110 * login/Makefile (otherlibs): Likewise.
21111 * nscd/Makefile (otherlibs): Likewise.
21112 * posix/Makefile (otherlibs): Likewise.
21113 * pwd/Makefile (otherlibs): Likewise.
21114 * rt/Makefile (otherlibs): Likewise.
21115 * sunrpc/Makefile (otherlibs): Likewise.
21116 * nss/Makefile (otherlibs): Likewise.
21117 Add libnss_files to routines and static-only-routines.
21118 ($(objpfx)getent): Remove rule.
21119 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21120 static-only-routines.
21121
7c69cd14
JM
211222012-03-22 Joseph Myers <joseph@codesourcery.com>
21123
21124 [BZ #13892]
21125 * math/s_cexp.c: Include <float.h>.
21126 (__cexp): Handle exp result overflowing not necessarily
21127 overflowing both real and imaginary parts of result.
21128 * math/s_cexpf.c: Likewise.
21129 * math/s_cexpl.c: Likewise.
21130 * math/libm-test.inc (cexp_test): Add more tests.
21131 * sysdeps/i386/fpu/libm-test-ulps: Update.
21132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21133
81b035fe
L
211342012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21135
21136 * include/link.h (ELFW): New macro.
21137 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21138 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21139
1da7940c
L
211402012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21141
21142 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21143 with uint64_t.
21144
b749dbb9
L
211452012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21146
21147 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21148 declaration.
21149 (struct La_x32_retval): Likewise.
21150
2ff87f3f
L
211512012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21152
21153 * sysdeps/x86_64/preconfigure.in: New file.
21154 * sysdeps/x86_64/preconfigure: New generated file.
21155
c0df8e69
JM
211562012-03-22 Joseph Myers <joseph@codesourcery.com>
21157
48e44791
JM
21158 [BZ #13824]
21159 * math/e_exp2l.c: Include <float.h>.
21160 (__ieee754_exp2l): Handle overflow and underflow cases
21161 separately. Only pass fractional part of argument to
21162 __ieee754_expl.
21163 * math/libm-test.inc (exp2_test): Add more tests.
21164
c0df8e69
JM
21165 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21166 negating x to take absolute value.
21167 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21168 Likewise.
21169 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21170 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21171 Likewise.
21172 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21173 computing low part if x was negated.
21174 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21175
c8e43ba7
L
211762012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21177
21178 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21179 la_x32_gnu_pltexit.
21180 (pltexit): Cast int_retval to ptrdiff_t.
21181 * elf/tst-auditmod3b.c: Likewise.
21182 * elf/tst-auditmod4b.c: Likewise.
21183 * elf/tst-auditmod5b.c: Likewise.
21184 * elf/tst-auditmod6b.c: Likewise.
21185 * elf/tst-auditmod6c.c: Likewise.
21186 * elf/tst-auditmod7b.c: Likewise.
21187
21188 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21189 and x32_gnu_pltexit.
21190
21191 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21192 __ELF_NATIVE_CLASS.
21193 (La_x32_regs): New macro.
21194 (La_x32_retval): Likewise.
21195 (la_x32_gnu_pltenter): New function prototype.
21196 (la_x32_gnu_pltexit): Likewise.
21197
7998fa78
AS
211982012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21199
dcb33988
AS
21200 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21201 exponent.
21202
233fc563
AS
21203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21204
7998fa78
AS
21205 * configure.in (libc_cv_cc_nofma): Check for option to disable
21206 generation of FMA instructions.
21207 * configure: Regenerate.
21208 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21209 * sysdeps/ieee754/dbl-64/Makefile: New file.
21210 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21211 Remove brandred-fma4.
21212 (CFLAGS-brandred-fma4.c): Remove.
21213 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21214 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21215 define.
21216 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21217 define.
21218
8e95c99a
L
212192012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21220
21221 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21222 LLONG_MAX != LONG_MAX.
21223 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21224 (_fitoa_word): Likewise.
21225 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21226 LLONG_MAX != LONG_MAX.
21227 * stdio-common/_itowa.h: Include <_itoa.h>.
21228 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21229 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21230 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21231 only if not defined.
21232 (_ITOA_WORD_TYPE): Likewise.
21233 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21234 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21235
6f4db457
DM
212362012-03-21 David S. Miller <davem@davemloft.net>
21237
21238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21239
7785fe5a
L
212402012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21241
21242 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21243 of x86_64 when setting libc_cv_slibdir, libdir and
21244 libc_cv_localedir.
21245 * sysdeps/unix/sysv/linux/configure: Regenerated.
21246
4535cd55
JM
212472012-03-21 Joseph Myers <joseph@codesourcery.com>
21248
21249 * manual/lang.texi (Old Varargs): Remove section.
21250 (How Variadic): Update menu.
21251 (va_start): Do not mention varargs.h.
21252
17228132
TS
212532012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21254 Joseph Myers <joseph@codesourcery.com>
21255
21256 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21257 link test.
21258 * configure: Regenerated.
21259
8149f976
TS
212602012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21261
05f3d1f6
UD
21262 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21263 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21264 conformtest.pl
8149f976 21265
1a4ac776
JM
212662012-03-21 Joseph Myers <joseph@codesourcery.com>
21267
be22ce65
JM
21268 * NOTES: Remove.
21269 * Makefile (files-for-dist): Remove NOTES.
21270 (NOTES): Remove rule.
21271 * README: Don't refer to NOTES.
21272 * manual/creature.texi: Don't include macros.texi.
21273 * manual/intro.texi (creature.texi): Remove comment referring to
21274 NOTES.
21275
40b601fb
JM
21276 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21277 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21278 * configure: Regenerated.
21279 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21280 LIBC_TRY_CC_OPTION.
21281 (libc_cv_as_i686): Likewise.
21282 (libc_cv_cc_avx): Likewise.
21283 (libc_cv_cc_sse2avx): Likewise.
21284 (libc_cv_cc_fma4): Likewise.
21285 (libc_cv_cc_novzeroupper): Likewise.
21286 * sysdeps/i386/configure: Regenerated.
21287
1a4ac776
JM
21288 [BZ #13883]
21289 * sysdeps/i386/fpu/s_cexp.S: Remove.
21290 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21291 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21292 * math/libm-test.inc (cexp_test): Add more tests.
21293 * sysdeps/i386/fpu/libm-test-ulps: Update.
21294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21295
a458e7fe
AM
212962012-03-21 Allan McRae <allan@archlinux.org>
21297
21298 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21299
0cb7efc5
JM
213002012-03-21 Joseph Myers <joseph@codesourcery.com>
21301
21302 [BZ #13871]
21303 * math/w_exp2.c: Do not include <float.h>.
21304 (o_threshold, u_threshold): Remove.
21305 (__exp2): Calculate result before checking finiteness and calling
21306 __kernel_standard.
21307 * math/w_exp2f.c: Likewise.
21308 * math/w_exp2l.c: Likewise.
21309 * math/libm-test.inc (exp2_test): Require overflow exception for
21310 1e6 input.
2460d3aa
JM
21311
21312 [BZ #3866]
21313 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21314 range of signed 64-bit integers before using fistpll. Remove
21315 checks for whether integers fit in mantissa bits.
21316 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21317 the range of signed 32-bit integers before using fistpl. Remove
21318 checks for whether integers fit in mantissa bits.
21319 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21320 (__ieee754_powl): Test for y outside the range of signed 64-bit
21321 integers before using fistpll. Reduce 64-bit values to 63-bit
21322 ones as needed.
21323 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21324 divide-by-zero is raised for zero to large negative powers.
21325 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21326 (__ieee754_powl): Test for y outside the range of signed 64-bit
21327 integers before using fistpll. Reduce 64-bit values to 63-bit
21328 ones as needed.
21329 * math/libm-test.inc (pow_test): Add more tests.
21330
eb96ffb0
L
213312012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21332
21333 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21334 <stdio-common/_itoa.h>.
21335 * debug/segfault.c: Likewise.
21336 * elf/dl-cache.c: Likewise.
21337 * elf/dl-minimal.c: Likewise.
21338 * elf/dl-misc.c: Likewise.
21339 * elf/dl-sysdep.c: Likewise.
21340 * elf/dl-version.c: Likewise.
21341 * elf/rtld.c: Likewise.
21342 * hurd/hurdsock.c: Likewise.
21343 * hurd/lookup-retry.c: Likewise.
21344 * malloc/malloc.c: Likewise.
21345 * malloc/mtrace.c: Likewise.
21346 * nscd/nscd_getgr_r.c: Likewise.
21347 * nscd/nscd_getpw_r.c: Likewise.
21348 * nscd/nscd_getserv_r.c: Likewise.
21349 * posix/getopt_init.c: Likewise.
21350 * posix/wordexp.c: Likewise.
21351 * stdio-common/_itoa.c: Likewise.
21352 * stdio-common/printf_fphex.c: Likewise.
21353 * stdio-common/vfprintf.c: Likewise.
21354 * string/_strerror.c: Likewise.
21355 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21356 * sysdeps/i386/i686/hp-timing.h: Likewise.
21357 * sysdeps/mach/_strerror.c: Likewise.
21358 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21359 * sysdeps/mach/hurd/sethostid.c: Likewise.
21360 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21361 * sysdeps/mach/xpg-strerror.c: Likewise.
21362 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21363 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21364 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21365 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21366 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21367 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21368 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21369 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21370 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21371 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21372 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21373 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21374 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21375 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21376 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21377 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21378 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21379 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21380 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21381 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21382 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21383
21384 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21385
21386 * stdio-common/_itoa.h: Moved to ...
21387 * sysdeps/generic/_itoa.h: Here.
21388
21389 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21390
21391 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21392 instead of "_itoa.h" and "_itowa.h".
21393 * stdio-common/vfprintf.: Likewise.
21394
d1af992d
L
213952012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21396
21397 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21398 <bits/wordsize.h>.
21399 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21400 (__signbit): Likwise.
21401 (llrintf): Likwise.
21402 (llrint): Likwise.
21403
114883e0
L
214042012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21405
21406 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21407 __WORDSIZE != 64.
21408
c135cc1b
JM
214092012-03-20 Joseph Myers <joseph@codesourcery.com>
21410
21411 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21412 OVERFLOW_EXCEPTION_OK.
21413 * math/libm-test.inc ("Philosophy"): Update comment about
21414 exception testing.
21415 (OVERFLOW_EXCEPTION): Define.
21416 (OVERFLOW_EXCEPTION_OK): Likewise.
21417 (INVALID_EXCEPTION_OK): Renumber.
21418 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21419 (IGNORE_ZERO_INF_SIGN): Likewise.
21420 (test_exceptions): Handle FE_OVERFLOW.
21421 (exp10_test): Expect overflow exceptions.
21422 (exp2_test): Likewise.
21423 (expm1_test): Likewise.
21424 (nextafter_test): Likewise.
21425 (pow_test): Likewise.
21426 (scalbn_test): Likewise.
21427 (scalbln_test): Likewise.
21428
95443d88
L
214292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21430
21431 * sysdeps/x86_64/bits/atomic.h
21432 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21433 64bit integer.
21434 (atomic_exchange_acq): Likewise.
21435 (__arch_exchange_and_add_body): Likewise.
21436 (__arch_add_body): Likewise.
21437 (atomic_add_negative): Likewise.
21438 (atomic_add_zero): Likewise.
21439
490df6c4
L
214402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21441
c2722551 21442 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
21443 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21444
5e52b189
L
214452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21446
21447 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21448 Check __x86_64__ instead of __WORDSIZE.
21449
a9879d4c
L
214502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21451
21452 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21453
5df98260
DM
214542012-03-19 David S. Miller <davem@davemloft.net>
21455
e1497744
DM
21456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21457
5df98260
DM
21458 * sysdeps/sparc/fpu/fenv_private.h: New file.
21459 * sysdeps/sparc/fpu/math_private.h: Use it.
21460 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21461 Remove.
21462 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21463 (libc_feholdexcept_setroundl): Remove.
21464 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21465 Remove.
21466 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21467 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21468
b4c35121
L
214692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21470
21471 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21472 int64_t instead of long int.
21473 (INSERT_WORDS64): Likwise.
21474
56965fd7
L
214752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21476
21477 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21478 _Unwind_GetCFA return to _Unwind_Ptr first.
21479
83d1aec8
JM
214802012-03-19 Joseph Myers <joseph@codesourcery.com>
21481
1897ad44
JM
21482 [BZ #13629]
21483 * math/s_clog.c: Include <float.h>.
21484 (__clog): Scale large or subnormal inputs.
21485 * math/s_clogf.c: Likewise.
21486 * math/s_clogl.c: Likewise.
21487 * math/s_clog10.c: Include <float.h>.
21488 (M_LOG10_2): Define.
21489 (__clog10): Scale large or subnormal inputs.
21490 * math/s_clog10f.c: Likewise.
21491 * math/s_clog10l.c: Likewise.
21492 * math/libm-test.inc (clog_test): Add more tests.
21493 (clog10_test): Likewise.
21494 * sysdeps/i386/fpu/libm-test-ulps: Update.
21495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21496
7726d6a9
JM
21497 [BZ #11451]
21498 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21499 x and y.
21500 * math/libm-test.inc (atan2_test): Add another test.
21501
83d1aec8
JM
21502 * Makerules (common-objdir-compile): Remove.
21503 * sysdeps/unix/Makefile (config-generated): Do not add
21504 $(unix-generated) to variable.
21505 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21506 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21507 Remove rule.
21508 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21509 Likewise.
21510 [generic bits/local_lim.h] (before-compile): Do not append to
21511 variable.
21512 [generic bits/local_lim.h] (common-generated): Likewise.
21513 [generic sys/param.h] (before-compile): Do not append to variable.
21514 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21515 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21516 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21517 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21518 include.
21519 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21520 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21521 [generic sys/param.h] ($(addprefix
21522 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21523 [generic sys/param.h] (common-generated): Do not append to
21524 variable.
21525 [generic sys/param.h] (sysdep_headers): Likewise.
21526 [generic bits/errno.h] (before-compile): Do not append to
21527 variable.
21528 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21529 rule.
21530 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21531 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21532 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21533 [generic bits/errno.h] (common-generated): Do not append to
21534 variable.
21535 [generic bits/ioctls.h] (before-compile): Do not append to
21536 variable.
21537 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21538 rule.
21539 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21540 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21541 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21542 rule.
21543 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21544 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21545 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21546 [generic bits/ioctls.h] (common-generated): Do not append to
21547 variable.
21548 [generic sys/syscall.h] (syscall.h): Remove variable.
21549 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21550 rule.
21551 [generic sys/syscall.h] (before-compile): Do not append to
21552 variable.
21553 [generic sys/syscall.h] (common-generated): Likewise.
21554 * sysdeps/unix/errnos-tmpl.c: Remove file.
21555 * sysdeps/unix/errnos.awk: Likewise.
21556 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21557 * sysdeps/unix/ioctls.awk: Likewise.
21558 * sysdeps/unix/mk-local_lim.c: Likewise.
21559 * sysdeps/unix/snarf-ioctls: Likewise.
21560
4851a949
RH
215612012-03-19 Richard Henderson <rth@twiddle.net>
21562
bd37f2ee
RH
21563 * sysdeps/i386/fpu/fenv_private.h: New file.
21564 * sysdeps/i386/fpu/math_private.h: Use it.
21565 (math_opt_barrier, math_force_eval): Remove.
21566 (libc_feholdexcept_setround_53bit): Remove.
21567 (libc_feupdateenv_53bit): Remove.
21568 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21569 (math_opt_barrier, math_force_eval): Remove.
21570 (libc_feholdexcept): Remove.
21571 (libc_feholdexcept_setround): Remove.
21572 (libc_fetestexcept, libc_fesetenv): Remove.
21573 (libc_feupdateenv_test): Remove.
21574 (libc_feupdateenv, libc_feholdsetround): Remove.
21575 (libc_feresetround): Remove.
21576
d0adc922
RH
21577 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21578 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21579
0fe0f1f8
RH
21580 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21581 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21582 (libc_feupdateenv_testl): New.
21583 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21584 (libc_feupdateenv_testf): New.
21585 (libc_feupdateenv): Use libc_feupdateenv_test.
21586 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21587 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21588
eb92c487
RH
21589 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21590 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21591 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21592 (libc_feresetround_noex): New.
21593 (libc_feresetround_noexf): New.
21594 (libc_feresetround_noexl): New.
21595 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21596 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21597 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21598 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21599 SET_RESTORE_ROUND.
21600 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21601 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21602 (__cos): Likewise.
21603 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21604 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21605 SET_RESTORE_ROUND_NOEX.
21606 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21607 SET_RESTORE_ROUND_NOEXF.
21608 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21609 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21610 (libc_feholdsetroundf): New.
21611 (libc_feresetround, libc_feresetroundf): New.
21612
7d2e8012
RH
21613 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21614 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21615 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21616
b4dabbb4
RH
21617 * sysdeps/generic/math_private.h: Include <fenv.h>.
21618 (default_libc_feholdexcept): New.
21619 (default_libc_feholdexcept_setround): New.
21620 (default_libc_fesetenv, default_libc_feupdateenv): New.
21621 (libc_feholdexcept): Only define if undefined.
21622 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21623 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21624 (libc_feholdexcept_setroundl): Likewise.
21625 (libc_feholdexcept_setround_53bit): Likewise.
21626 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21627 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21628 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21629 (libc_feupdateenv_53bit): Likewise.
21630 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21631 (libc_feholdexcept): Convert from macro to inline function.
21632 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21633 (libc_fesetenv, libc_feupdateenv): Likewise.
21634
4851a949
RH
21635 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21636 not previously defined.
21637 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21638 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21639 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21640 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21641 * sysdeps/ieee754/flt-32/math_private.h: New file.
21642 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21643 math_private.h below SET_FLOAT_WORD.
21644 (__isnan, __isinf_ns, __finite): Remove.
21645 (__isnanf, __isinf_nsf, __finitef): Remove.
21646
e79d442e
AS
216472012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21648
21649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21650
90b80344
DM
216512012-03-17 David S. Miller <davem@davemloft.net>
21652
21653 [BZ #6471]
21654 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21655 for 2.16.
21656
edc21804
DM
216572012-03-16 David S. Miller <davem@davemloft.net>
21658
77e927af
DM
21659 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21660 warnings.
21661
374976dd
DM
21662 [BZ #6471]
21663 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21664 properly.
21665 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21666 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21667 sysdep_routines when subdir is sysvipc.
21668 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21669 __getshmlba helper.
21670
edc21804
DM
21671 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21672
473c3ef3
L
216732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21674
21675 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21676 [__LP64__].
21677
eb0f39b6
L
216782012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21679
21680 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21681 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21682 (__lround): Renamed to ...
21683 (__llround): This. Replace long int with long long int.
21684 Define lround functions as aliases of llround functions.
21685 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21686
6b6cd74b
L
216872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21688
21689 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21690 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
21691 adresses to uintptr_t. Replace "long int" and "unsigned long
21692 int" with "greg_t" on va_arg.
21693
f1a77b01
L
216942012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21695
21696 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21697 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21698
21699 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21700 Move e_machine check before EI_CLASS check. Handle x32
21701 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21702 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21703 SKIP_EM_IA_64 and include
21704 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21705
21706 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21707 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21708 (add_system_dir): New macro.
21709
21710 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21711 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21712
11b90b9f
JM
217132012-03-16 Joseph Myers <joseph@codesourcery.com>
21714
c36e1d23
JM
21715 [BZ #2551]
21716 [BZ #2552]
21717 [BZ #2553]
21718 [BZ #2554]
21719 [BZ #2562]
21720 [BZ #2563]
21721 [BZ #2565]
21722 [BZ #2566]
21723 [BZ #2576]
21724 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21725 (y0): Likewise.
21726 * math/w_j0f.c (j0f): Likewise.
21727 (y0f): Likewise.
21728 * math/w_j0l.c (__j0l): Likewise.
21729 (__y0l): Likewise.
21730 * math/w_j1.c (j1): Likewise.
21731 (y1): Likewise.
21732 * math/w_j1f.c (j1f): Likewise.
21733 (y1f): Likewise.
21734 * math/w_j1l.c (__j1l): Likewise.
21735 (__y1l): Likewise.
21736 * math/w_jn.c (jn): Likewise.
21737 (yn): Likewise.
21738 * math/w_jnf.c (jnf): Likewise.
21739 (ynf): Likewise.
21740 * math/w_jnl.c (__jnl): Likewise.
21741 (__ynl): Likewise.
21742 * math/libm-test.inc (j0_test): Add more tests.
21743 (j1_test): Likewise.
21744 (jn_test): Likewise. Add trailing semicolon to existing test.
21745 (y0_test): Likewise.
21746 (y1_test): Likewise.
21747 * sysdeps/i386/fpu/libm-test-ulps: Update.
21748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21749
11b90b9f
JM
21750 [BZ #13851]
21751 [BZ #13854]
21752 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21753 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21754 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21755 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21756 (__tanl): Set errno for infinite argument.
21757 * sysdeps/i386/fpu/mptan.c: Remove.
21758 * sysdeps/i386/fpu/s_tan.S: Likewise.
21759 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21760 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21761 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21762 * math/libm-test.inc (tan_test): Add more tests and enable more
21763 tests for double and long double.
21764 * sysdeps/i386/fpu/libm-test-ulps: Update.
21765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21766
6a1bd2a1
JK
217672012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21768
21769 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21770 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21771
10a803e0
RM
217722012-03-16 Roland McGrath <roland@hack.frob.com>
21773
21774 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21775 * configure.in: Use it for both main tree and add-ons.
21776 * configure: Regenerated.
21777
f196c7f7
L
217782012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21779
21780 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21781
8848d99d
JM
217822012-03-16 Joseph Myers <joseph@codesourcery.com>
21783
96cbe7f4
JM
21784 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21785 in comment.
21786
8848d99d
JM
21787 [BZ #13851]
21788 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21789 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21790 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21791 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21792 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21793 infinite argument.
21794 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21795 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21796 != 0 for prec == 2.
21797 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21798 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21799 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21800 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21801 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21802 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21803 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21804 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21805 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21806 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21807 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21808 * math/libm-test.inc (cos_test): Add more tests and enable more
21809 tests for long double.
21810 (sin_test): Likewise.
21811 (sincos_test): Likewise.
21812 * sysdeps/i386/fpu/libm-test-ulps: Update.
21813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21814
dd7f4703
DM
218152012-03-16 David S. Miller <davem@davemloft.net>
21816
21817 * sysdeps/sparc/fpu/math_private.h: New file.
21818
006f1daa
DM
218192012-03-15 David S. Miller <davem@davemloft.net>
21820
c0c83bc8
DM
21821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21822 file.
e6a62e18 21823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
21824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21825 file.
e6a62e18
DM
21826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21827 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21828 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21829 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21830 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21831 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21832 sysdep routines.
21833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21834
88cb87d9
DM
21835 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21836 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21837
006f1daa 21838 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
21839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21840 sparc-ifunc.h
006f1daa 21841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
21842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21843 Likewise.
21844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21845 Likewise.
006f1daa
DM
21846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
21849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21850 Likewise.
006f1daa
DM
21851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
21855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21856 Likewise.
21857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21858 Likewise.
006f1daa
DM
21859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21863 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21864 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21865 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21866 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21867 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21868 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21869 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21870 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21871 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21872 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21873 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21874 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21875 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21876 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21877 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21878 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21879 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21880 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21881 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21882 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21883
11e0098e
AS
218842012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21885
21886 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21887 scaling.
21888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21889
e85b09d0
AJ
218902012-03-15 Andreas Jaeger <aj@suse.de>
21891
21892 [BZ #13852]
21893 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21894 ieee754/flt-32 implementation for sin, cos and sincos.
21895 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21896 * sysdeps/i386/fpu/s_cosf.S: Likewise.
21897 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21898 * sysdeps/i386/fpu/s_sinf.S: Likewise.
21899 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21900 ieee754/flt-32 implementation for tan.
21901
21902 * math/libm-test.inc (cos_test): Enable some large input tests for
21903 float as well
21904 (sin_test): Likewise.
21905 (sincos_test): Likewise.
21906 (tan_test): Add tests for large input.
21907
21908 * sysdeps/i386/fpu/libm-test-ulps: Update.
21909
81c64153
AJ
219102012-03-15 Andreas Jaeger <aj@suse.de>
21911
21912 [BZ #13658]
21913 * math/libm-test.inc (cos_test): Add more test cases.
21914 (sin_test): Likewise.
21915 (sincos_test): Likewise.
21916
7bbfa5c6
AJ
219172012-03-15 Andreas Jaeger <aj@suse.de>
21918
21919 [BZ #13837]
21920 * math/libm-test.inc (cos_test): Add a test case for large input
21921 value.
21922 (sin_test): Likewise.
21923 (sincos_test): Likewise.
21924
219252012-03-15 Andreas Jaeger <aj@suse.de>,
21926 Joseph Myers <joseph@codesourcery.com>
21927
21928 [BZ #13658]
0671f479 21929 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
21930 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21931 * sysdeps/i386/fpu/branred.c: Likewise.
21932 * sysdeps/i386/fpu/dosincos.c: Likewise.
21933 * sysdeps/i386/fpu/mpa.c: Likewise.
21934 * sysdeps/i386/fpu/s_cos.S: Likewise.
21935 * sysdeps/i386/fpu/s_sin.S: Likewise.
21936 * sysdeps/i386/fpu/s_sincos.S: Likewise.
21937 * sysdeps/i386/fpu/sincos32.c: Likewise.
21938
21939 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21940 Define.
21941 (libc_feupdateenv_53bit): Define.
21942 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21943 Define.
21944 (libc_feupdateenv_53bit): Define.
21945
21946 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21947 53 bit (without extend i386 double precision).
21948
21949 * math/libm-test.inc (sincos_test): Add tests for large input.
21950 (sin): Likewise.
21951 (cos): Likewise.
21952
21953 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21954
9cad04ea
AS
219552012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21956
21957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21958
f7062b9a
DM
219592012-03-15 David S. Miller <davem@davemloft.net>
21960
21961 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
21962 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
21963 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
21964 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
21965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
21966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
21967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
21968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
21969 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
21970 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
21971 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
21972 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
21973 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
21974 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
21975 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
21976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
21977 file.
f7062b9a 21978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
21979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
21980 file.
f7062b9a 21981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
21982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
21983 file.
f7062b9a 21984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
21985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
21986 file.
f7062b9a
DM
21987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
21988 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
21989 fmin/fmax sysdep routines.
21990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21991
7bd951ff
DM
219922012-03-14 David S. Miller <davem@davemloft.net>
21993
559398ab
DM
21994 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
21995 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
21996 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
21997 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
21998 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
21999 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22000 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22001 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22002 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22003 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22004 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22005 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22006 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22007 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22008 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22009 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22010 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22011 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22012 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22013 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22014 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22015 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22016 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22017 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22018 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22019 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22020 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22021 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22022 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22023 routines.
22024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22025 file.
559398ab 22026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
22027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22028 file.
559398ab 22029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
22030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22031 file.
559398ab 22032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
22033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22034 file.
559398ab 22035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
22036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22037 file.
559398ab 22038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
22039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22040 file.
22041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22042 file.
22043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22044 file.
22045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22046 file.
22047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22048 New file.
22049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22050 file.
22051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22052 file.
559398ab 22053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
22054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22055 file.
559398ab 22056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22058 file.
559398ab 22059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
22060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22061 file.
559398ab 22062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
22063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22064 VIS3 routines.
559398ab
DM
22065
22066 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22067 New file.
22068
5a1c1e32
DM
22069 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22070
eae47a36
DM
22071 * sysdeps/sparc/configure.in: New file.
22072 * sysdeps/sparc/configure: Generate.
22073 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22074 * configure: Regenerate.
22075 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22076 * config.make.in (have-as-vis3): New.
22077 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22078 available use -Av9d instead of -Av9a.
22079 * sysdeps/sparc/sparc64/Makefile: Likewise.
22080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
22081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22082 New file.
22083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22084 file.
22085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22086 New file.
22087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22088 file.
eae47a36
DM
22089 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22090 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22091 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22092 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22093 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22094
c0c83bc8
DM
22095 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22096 fzeros/fnegs to load 0x80000000 into a float register instead of
22097 using the stack.
7bd951ff
DM
22098 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22099
bd951ccb
JM
221002012-03-14 Joseph Myers <joseph@codesourcery.com>
22101
22102 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22103 bits/syscall.h.
22104 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22105 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22106 ($(inst_includedir)/bits/syscall.h): Remove rule.
22107 ($(objpfx)bits/syscall.d): Include instead of
22108 $(objpfx)syscall-list.d.
22109 (generated): Change syscall-list.h and syscall-list.d to
22110 bits/syscall.h and bits/syscall.d.
22111
bb4e6db2
RM
221122012-03-14 Roland McGrath <roland@hack.frob.com>
22113
22114 [BZ #13846]
22115 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22116
aa4a2ae1
JM
221172012-03-14 Joseph Myers <joseph@codesourcery.com>
22118
e456826d
JM
22119 [BZ #13841]
22120 * math/s_csqrt.c: Include <float.h>.
22121 (__csqrt): Scale large or subnormal inputs.
22122 * math/s_csqrtf.c: Likewise.
22123 * math/s_csqrtl.c: Likewise.
22124 * math/libm-test.inc (csqrt_test): Add more tests.
22125 * sysdeps/i386/fpu/libm-test-ulps: Update.
22126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22127
aa4a2ae1
JM
22128 [BZ #13840]
22129 * math/libm-test.inc (hypot_test): Add more tests.
22130
7c10fd35
DM
221312012-03-13 David S. Miller <davem@davemloft.net>
22132
22133 [BZ #13840]
22134 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22135 double-precision for the calculation instead of scaling.
22136
f453b98b
JM
221372012-03-13 Joseph Myers <joseph@codesourcery.com>
22138
22139 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22140 manipulate bits before adding and subtracting TWO52[sx].
22141 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22142 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22143 Likewise.
22144 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22145
09a3453f
DM
221462012-03-13 David S. Miller <davem@davemloft.net>
22147
8e59da90
DM
22148 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22149 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22150 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22151 rtld-global-offsets.h
22152 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22153
2a8ab7f2
DM
22154 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22155 large parameters.
22156
10f62770
DM
22157 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22158
5f0bdb18
DM
22159 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22160 'err' in the ifdef scope in which it is actually used.
22161
09a3453f
DM
22162 * nss/nss_db/db-init.c: Include string.h
22163
b4b2eb5e
DM
221642012-03-12 David S. Miller <davem@davemloft.net>
22165
98bb2f1c
DM
22166 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22167 masking out of the most significant byte of random value used.
22168 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22169 Fix coding style in previous change.
22170
b4b2eb5e
DM
22171 * sysdeps/unix/sysv/linux/kernel-features.h
22172 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22173 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22174 expression.
22175 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22176 later.
22177
6e226b09
DM
221782012-03-11 David S. Miller <davem@davemloft.net>
22179
a1bcbd40
DM
22180 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22181 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22182 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22183 for 'resultvar' otherwise things get truncated on 64-bit.
22184
cb9d6174
DM
22185 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22186 Fix masking out of the most significant byte of random value used.
22187
6e226b09
DM
22188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22189
058c132d
AS
221902012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22191
22192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22193
2d2cd515
DM
221942012-03-09 David S. Miller <davem@davemloft.net>
22195
22196 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22197 variables with appropriate CPP guards.
22198 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22199 frame pointer, not the stack pointer. Correct layout comments. Fix test
22200 on resulting framesize and the management of the outregs buffer for pltexit.
22201 Preserve floating point return values across _dl_call_pltexit call.
22202 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22203 framesize and the management of the outregs buffer for pltexit.
22204 Preserve floating point return values across _dl_call_pltexit
22205 call.
22206 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22207 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22208 (print_exit): Fix format string for return register value.
22209
9a07f9d0
JM
222102012-03-10 Joseph Myers <joseph@codesourcery.com>
22211
22212 * sunrpc/Makefile (others): Add rpcgen.
22213 ($(objpfx)rpcgen): Remove special build rule and dependency on
22214 libc.
22215 * sunrpc/rpcgen.c: New file.
22216
547b5e30
PE
222172012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22218
c524201a
PE
22219 [BZ #13673]
22220 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22221 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22222 * sysdeps/i386/crti.S: Likewise.
22223 * sysdeps/i386/crtn.S: Likewise.
22224 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22225 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22226 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22227 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22228 * sysdeps/sh/crti.S: Likewise.
22229 * sysdeps/sh/crtn.S: Likewise.
22230 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22231
7b6235f2
PE
22232 [BZ #13673]
22233 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22234 with URL.
22235 * locale/programs/locfile-kw.gperf: Likewise.
22236 * locale/programs/charmap-kw.h: Regenerated.
22237 * locale/programs/locfile-kw.h: Likewise.
22238
547b5e30
PE
22239 [BZ #13673]
22240 * intl/plural.y: Replace FSF snail mail address with URL.
22241 * intl/plural.c: Regenerated.
22242
5f0a5dae
RH
222432012-03-09 Richard Henderson <rth@twiddle.net>
22244
22245 * include/math_private.h: Remove file.
22246 * math/math_private.h: Move file ...
22247 * sysdeps/generic/math_private.h: ... here.
22248
b8c03620
RH
22249 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22250 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22251 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22252
4e234f5d 22253 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
22254 and <math_private.h>.
22255 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22256 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22257 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22258 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22259 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22260 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22261 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22262 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22263 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22264 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22265 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22266 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22267 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22268 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22269 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22270 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22271 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22272 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22273 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22274 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22275 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22276 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22277 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22278 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22279 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22280 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22281 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22282 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22283 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22284 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22285 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22286 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22287 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22288 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22289 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22290 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22291 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22292 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22293 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22294 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22295 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22296 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22297 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22298 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22299 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22300 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22301 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22302 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22303 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22304 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22305 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22306 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22307 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22308 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22309 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22310 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22311 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22312 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22313 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22314 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22315 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22316 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22317 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22318 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22319 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22320 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22321 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22322 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22323 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22324 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22325 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22326 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22327 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22328 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22329 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22330 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22331 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22332 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22333 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22334 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22335 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22336 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22337 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22338 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22339 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22340 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22341 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22342 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22343 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22344 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22345 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22346 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22347 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22348 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22349 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22350 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22351 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22352 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22353 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22354 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22355 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22356 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22357 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22358 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22359 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22360 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22361 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22362 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22363 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22364 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22365 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22366 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22367 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22368 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22369 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22370 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22371 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22372 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22373 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22374 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22375 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22376 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22377 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22378 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22379 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22380 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22381 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22382 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22383 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22384 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22385 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22386 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22387 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22388 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22389 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22390 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22391 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22392 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22393 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22394 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22395 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22396 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22397 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22398 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22399 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22400 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22401 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22402 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22403 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22404 * sysdeps/ieee754/k_standard.c: Likewise.
22405 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22406 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22407 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22408 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22409 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22410 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22411 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22412 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22413 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22414 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22415 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22416 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22417 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22418 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22419 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22420 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22421 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22422 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22423 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22424 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22425 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22426 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22427 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22428 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22429 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22430 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22431 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22432 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22433 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22434 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22435 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22436 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22437 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22438 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22439 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22440 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22441 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22442 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22443 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22444 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22445 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22446 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22447 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22448 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22449 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22450 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22451 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22452 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22453 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22454 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22455 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22456 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22457 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22458 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22459 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22460 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22461 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22462 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22463 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22464 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22465 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22466 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22467 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22468 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22469 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22470 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22471 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22472 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22473 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22474 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22475 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22476 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22477 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22478 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22479 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22480 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22481 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22482 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22483 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22484 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22485 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22486 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22487 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22488 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22489 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22490 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22491 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22492 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22493 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22494 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22495 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22496 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22497 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22498 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22499 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22500 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22501 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22502 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22503 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22504 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22505 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22506 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22507 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22508 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22509 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22510 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22511 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22512 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22513 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22514 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22515 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22516 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22517 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22518 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22519 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22520 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22521 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22522 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22523 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22524 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22525 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22526 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22527 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22528 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22529 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22530 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22531 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22532 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22533 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22534 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22535 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22536 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22537 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22538 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22539 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22540 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22541 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22542 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22543 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22544 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22545 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22546 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22547 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22548 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22549 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22550 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22551 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22552 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22553 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22554 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22555 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22556 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22557 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22558 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22559 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22560 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22561 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22562 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22563 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22564 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22565 * sysdeps/ieee754/s_lib_version.c: Likewise.
22566 * sysdeps/ieee754/s_matherr.c: Likewise.
22567 * sysdeps/ieee754/s_signgam.c: Likewise.
22568 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22569 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22570 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22571 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22572 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22573 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22574 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22575 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22576 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22577 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22578 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22579 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22580 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22581 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22582 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22583 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22584 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22585 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22586 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22587 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22588 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 22589
1991fa03
JM
225902012-03-09 Joseph Myers <joseph@codesourcery.com>
22591
22592 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22593 * sunrpc/rpc_main.c: Likewise.
22594 * sunrpc/rpc_svcout.c: Likewise.
22595
60d6f5a6
DM
225962012-03-09 David S. Miller <davem@davemloft.net>
22597
22598 * include/math_private.h: New file.
22599
4962050e
JM
226002012-03-09 Joseph Myers <joseph@codesourcery.com>
22601
02a6f887
JM
22602 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22603 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22604 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22605 from <bits/socket_type.h>.
22606 (enum __socket_type): Don't define here.
22607 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22608 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22609 bits/socket_type.h.
22610
c6e013c1
JM
22611 [BZ #13566]
22612 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22613 checking __USE_GNU.
22614
4962050e
JM
22615 * Makerules ($(inst_includedir)/%.h): New rule.
22616 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22617 (install-others): Remove variable setting.
22618 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22619
38842f45
RH
226202012-03-08 Richard Henderson <rth@twiddle.net>
22621
67bb6da6
RH
22622 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22623 from macro to inline function; merge with the
22624 !__LIBC_INTERNAL_MATH_INLINES version.
22625 (__ieee754_sqrtf): Likewise.
22626
15194b4b
RH
22627 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22628 to inline function.
22629 (__rintf, __floor, __floorf): Likewise.
22630
64e21ede
RH
22631 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22632 macro to inline function.
22633 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22634
38842f45
RH
22635 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22636 not <math/math_private.h>.
22637
c64bf5fe
DM
226382012-03-08 David S. Miller <davem@davemloft.net>
22639
22640 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22641 copyright year.
22642 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22643
82d86f28
TS
226442012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22645
22646 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22647 normalization.
22648 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22649 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22650
aea5d727
UD
226512012-03-08 Ulrich Drepper <drepper@gmail.com>
22652
22653 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22654 be defined individually, they must be defined as a block. Define
22655 S for printing a string instead of hidint the different by using a
22656 macro for adding the 'l'.
22657 * stdio-common/tst-fphex-wide.c: Adjust.
22658
70bca0a3
MP
226592012-03-07 Marek Polacek <polacek@redhat.com>
22660
22661 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22662
65b81130
MP
226632012-03-08 Marek Polacek <polacek@redhat.com>
22664
22665 [BZ #13806]
22666 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22667 * stdio-common/tst-fphex.c: Define a few macros to make the
22668 test reusable. Use them.
22669 * stdio-common/tst-fphex-wide.c: New file.
22670
07037eeb
JM
226712012-03-08 Joseph Myers <joseph@codesourcery.com>
22672
a7a93d50
JM
22673 [BZ #6911]
22674 * manual/macros.texi (gnusystems): New macro.
22675 (nongnusystems): Likewise.
22676 (gnulinuxhurdsystems): Likewise.
22677 (gnuhurdsystems): Likewise..
22678 (gnulinuxsystems): Likewise.
22679 * manual/charset.texi: Use new macros or @theglibc{} to refer to
22680 variants of the GNU system, not "GNU system".
22681 * manual/conf.texi: Likewise.
22682 * manual/errno.texi: Likewise. Update example of errno macro
22683 expansion.
22684 * manual/filesys.texi: Likewise.
22685 (getumask): Document as specific to GNU/Hurd.
22686 * manual/install.texi: Likewise. Reword some references to
22687 GNU/Linux.
22688 * manual/intro.texi: Likewise.
22689 * manual/io.texi: Likewise.
22690 (File Name Portability): Detail which constraints are inapplicable
22691 to all GNU systems and which are only inapplicable to GNU/Hurd.
22692 * manual/job.texi: Likewise.
22693 * manual/llio.texi: Likewise.
22694 (O_NOCTTY): Document as present on GNU/Linux.
22695 * manual/maint.texi: Likewise.
22696 * manual/memory.texi: Likewise.
22697 * manual/pattern.texi: Likewise.
22698 * manual/pipe.texi: Likewise.
22699 * manual/process.texi: Likewise.
22700 * manual/resource.texi: Likewise.
22701 (RUSAGE_CHILDREN): Remove statement about specifying a particular
22702 child on GNU/Hurd.
22703 * manual/setjmp.texi: Likewise.
22704 * manual/signal.texi: Likewise.
22705 * manual/startup.texi: Likewise.
22706 * manual/stdio.texi: Likewise.
22707 * manual/terminal.texi: Likewise.
22708 (ONLCR): Document as POSIX.
22709 (OXTABS): Document availability on GNU/Linux as XTABS.
22710 (ONOEOT): Document availability separately from other bits.
22711 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22712 * manual/time.texi: Likewise.
22713 * manual/users.texi: Likewise.
22714 * INSTALL: Regenerated.
22715 * sysdeps/gnu/errlist.c: Regenerated.
22716
07037eeb
JM
22717 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22718 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22719 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22720 puts.
22721 * configure: Regenerated.
22722
d1d3431a
JM
227232012-03-07 Joseph Myers <joseph@codesourcery.com>
22724
af6a1e37
JM
22725 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22726 default includes instead of AC_HEADER_CHECK.
22727 * sysdeps/i386/configure: Regenerated.
22728
d1d3431a
JM
22729 [BZ #10716]
22730 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22731 * math/s_cacoshf.c (__cacoshf): Likewise.
22732 * math/s_cacoshl.c (__cacoshl): Likewise.
22733 * math/s_casinh.c (__casinh): Set signs of result from argument.
22734 * math/s_casinhf.c (__casinhf): Likewise.
22735 * math/s_casinhl.c (__casinhl): Likewise.
22736 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22737 (casinh_test): Add more tests.
22738 * sysdeps/i386/fpu/libm-test-ulps: Update.
22739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22740
482ff4da
UD
227412012-03-07 Ulrich Drepper <drepper@gmail.com>
22742
872fda05
UD
22743 * po/zh_TW.po: Update from translation team.
22744
a4300c7a
UD
22745 * login/Makefile (distribute): Remove variable.
22746 * catgets/Makefile: Likewise.
22747 * mach/Makefile: Likewise.
22748 * malloc/Makefile: Likewise.
22749 * misc/Makefile: Likewise.
22750 * iconv/Makefile: Likewise.
22751 * nscd/Makefile: Likewise.
22752 * hurd/Makefile: Likewise.
22753 * manual/Makefile: Likewise.
22754 * locale/Makefile: Likewise.
22755 * intl/Makefile: Likewise.
22756 * conform/Makefile: Likewise.
22757 * nss/Makefile: Likewise.
22758 * time/Makefile: Likewise.
22759 * soft-fp/Makefile: Likewise.
22760 * dirent/Makefile: Likewise.
22761 * gmon/Makefile: Likewise.
22762 * po/Makefile: Likewise.
22763 * rt/Makefile: Likewise.
22764 * socket/Makefile: Likewise.
22765 * math/Makefile: Likewise.
22766 * signal/Makefile: Likewise.
22767 * debug/Makefile: Likewise.
22768 * elf/Makefile: Likewise.
22769 * timezone/Makefile: Likewise.
22770 * stdlib/Makefile: Likewise.
22771 * iconvdata/Makefile: Likewise.
22772 * sunrpc/Makefile: Likewise.
22773 * io/Makefile: Likewise.
22774 * argp/Makefile: Likewise.
22775 * inet/Makefile: Likewise.
22776 * hesiod/Makefile: Likewise.
22777 * grp/Makefile: Likewise.
22778 * csu/Makefile: Likewise.
22779 * wctype/Makefile: Likewise.
22780 * crypt/Makefile: Likewise.
22781 * libio/Makefile: Likewise.
22782 * string/Makefile: Likewise.
22783 * nis/Makefile: Likewise.
22784 * resolv/Makefile: Likewise.
22785 * stdio-common/Makefile: Likewise.
22786 * wcsmbs/Makefile: Likewise.
22787 * dlfcn/Makefile: Likewise.
22788 * posix/Makefile: Likewise.
22789
3b7c4e74 22790 [BZ #6959]
482ff4da
UD
22791 * timezone/Makefile: Don't install timezone files, just the programs
22792 and scripts.
22793
f72ed77d
UD
227942012-03-06 Ulrich Drepper <drepper@gmail.com>
22795
a000466f
UD
22796 * nss/databases.def: Add missing gshadow entry.
22797
f72ed77d
UD
22798 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22799
a53b7a4e
MP
228002012-03-06 Marek Polacek <polacek@redhat.com>
22801
22802 [BZ #13726]
22803 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22804 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22805 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22806 * stdio-common/tst-long-dbl-fphex.c: New file.
22807
e9258400
DM
228082012-03-06 David S. Miller <davem@davemloft.net>
22809
22810 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22811 (set_obp_int): New function.
22812 (get_obp_int): New function.
22813 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
22814 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22815 Avoid unused variable warnings on 'val' and use builtin_expect.
22816 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22817 __builtin_expect.
e9258400
DM
22818 (INLINE_CLONE_SYSCALL): Likewise.
22819
3bd2c723
DM
228202012-03-05 David S. Miller <davem@davemloft.net>
22821
22822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22823
bbb78d03
AS
228242012-03-05 Andreas Schwab <schwab@linux-m68k.org>
22825
884c5db4
AS
22826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22827
bbb78d03
AS
22828 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22829 only for |x| >= 40.
22830 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22831
1c9f702a 228322012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
22833
22834 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22835 Replace gettimeofday with __vdso_gettimeofday.
22836
7be16f82
RM
22837 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22838 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22839 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
22840
22841 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22842 time with __vdso_time.
22843
ed58a00f
JM
228442012-03-05 Joseph Myers <joseph@codesourcery.com>
22845
22846 * manual/lang.texi (size_t): Note types to which size_t may be
22847 equivalent with the GNU C Library, but do not describe when
22848 differences between them are significant.
22849
30ee4ced
AJ
228502012-03-05 Andreas Jaeger <aj@suse.de>
22851
22852 * sysdeps/i386/fpu/libm-test-ulps: Update.
22853
b7cd39e8
JM
228542012-03-05 Joseph Myers <joseph@codesourcery.com>
22855
22856 [BZ #3976]
22857 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22858 (__ieee754_pow): Save and restore rounding mode and use
22859 round-to-nearest for main computations.
22860 * math/libm-test.inc (pow_test_tonearest): New function.
22861 (pow_test_towardzero): Likewise.
22862 (pow_test_downward): Likewise.
22863 (pow_test_upward): Likewise.
22864 (main): Call the new functions.
22865 * sysdeps/i386/fpu/libm-test-ulps: Update.
22866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
22867
22868 [BZ #3976]
22869 * math/libm-test.inc (cosh_test_tonearest): New function.
22870 (cosh_test_towardzero): Likewise.
22871 (cosh_test_downward): Likewise.
22872 (cosh_test_upward): Likewise.
22873 (sinh_test_tonearest): Likewise.
22874 (sinh_test_towardzero): Likewise.
22875 (sinh_test_downward): Likewise.
22876 (sinh_test_upward): Likewise.
22877 (main): Call the new functions.
22878 * sysdeps/i386/fpu/libm-test-ulps: Update.
22879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22880
6c6a98c9
TV
228812012-03-05 Tom de Vries <tom@codesourcery.com>
22882
22883 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22884 default stack guard is set in last bytes.
22885 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22886
21bb2d2e 228872012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 22888
21bb2d2e 22889 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 22890
21bb2d2e
AJ
22891 [BZ #13656]
22892 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22893 possibly allocate from heap instead of stack.
22894 * stdio-common/bug-vfprintf-nargs.c: New file.
22895 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 22896
c6922934
AS
228972012-03-03 Andreas Schwab <schwab@linux-m68k.org>
22898
22899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22900
bc957d53
MP
229012012-03-03 Marek Polacek <polacek@redhat.com>
22902
22903 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22904 * math/math_private.h: Likewise.
22905 * stdlib/tst-strtod.c: Likewise.
22906 * sysdeps/i386/i486/bits/atomic.h: Likewise.
22907 * sysdeps/x86_64/bits/atomic.h: Likewise.
22908
6358490d
DM
229092012-03-02 David S. Miller <davem@davemloft.net>
22910
22911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22915 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22916 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22917 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22918 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22919
01ae168d
RM
229202012-03-02 Roland McGrath <roland@hack.frob.com>
22921
d9a17c07
RM
22922 [BZ #13792]
22923 * manual/examples/README: New file, says the example source files
22924 can be used under GPL>=2.
22925 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22926 line containing just "*/".
22927 * manual/examples/add.c: Add copyright header (GPL>=2).
22928 * manual/examples/argp-ex1.c: Likewise.
22929 * manual/examples/argp-ex2.c: Likewise.
22930 * manual/examples/argp-ex3.c: Likewise.
22931 * manual/examples/argp-ex4.c: Likewise.
22932 * manual/examples/atexit.c: Likewise.
22933 * manual/examples/db.c: Likewise.
22934 * manual/examples/dir.c: Likewise.
22935 * manual/examples/dir2.c: Likewise.
22936 * manual/examples/execinfo.c: Likewise.
22937 * manual/examples/filecli.c: Likewise.
22938 * manual/examples/filesrv.c: Likewise.
22939 * manual/examples/fmtmsgexpl.c: Likewise.
22940 * manual/examples/genpass.c: Likewise.
22941 * manual/examples/inetcli.c: Likewise.
22942 * manual/examples/inetsrv.c: Likewise.
22943 * manual/examples/isockad.c: Likewise.
22944 * manual/examples/longopt.c: Likewise.
22945 * manual/examples/memopen.c: Likewise.
22946 * manual/examples/memstrm.c: Likewise.
22947 * manual/examples/mkfsock.c: Likewise.
22948 * manual/examples/mkisock.c: Likewise.
22949 * manual/examples/mygetpass.c: Likewise.
22950 * manual/examples/pipe.c: Likewise.
22951 * manual/examples/popen.c: Likewise.
22952 * manual/examples/rprintf.c: Likewise.
22953 * manual/examples/search.c: Likewise.
22954 * manual/examples/select.c: Likewise.
22955 * manual/examples/setjmp.c: Likewise.
22956 * manual/examples/sigh1.c: Likewise.
22957 * manual/examples/sigusr.c: Likewise.
22958 * manual/examples/stpcpy.c: Likewise.
22959 * manual/examples/strdupa.c: Likewise.
22960 * manual/examples/strftim.c: Likewise.
22961 * manual/examples/strncat.c: Likewise.
22962 * manual/examples/subopt.c: Likewise.
22963 * manual/examples/swapcontext.c: Likewise.
22964 * manual/examples/termios.c: Likewise.
22965 * manual/examples/testopt.c: Likewise.
22966 * manual/examples/testpass.c: Likewise.
22967 * manual/examples/timeval_subtract.c: Likewise.
22968
01ae168d
RM
22969 [BZ #13792]
22970 * manual/time.texi (Elapsed Time): Move timeval_subtract example
22971 function to ...
22972 * manual/timeval_subtract.c.texi: ... here, new file.
22973
49efa33d
DM
229742012-03-02 David S. Miller <davem@davemloft.net>
22975
22976 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
22977
28afd92d
JM
229782012-03-02 Joseph Myers <joseph@codesourcery.com>
22979
804360ed
JM
22980 [BZ #3976]
22981 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
22982 (__sin): Save and restore rounding mode and use round-to-nearest
22983 for all computations.
22984 (__cos): Save and restore rounding mode and use round-to-nearest
22985 for all computations.
22986 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
22987 <fenv.h>.
22988 (tan): Save and restore rounding mode and use round-to-nearest for
22989 all computations.
22990 * math/libm-test.inc (cos_test_tonearest): New function.
22991 (cos_test_towardzero): Likewise.
22992 (cos_test_downward): Likewise.
22993 (cos_test_upward): Likewise.
22994 (sin_test_tonearest): Likewise.
22995 (sin_test_towardzero): Likewise.
22996 (sin_test_downward): Likewise.
22997 (sin_test_upward): Likewise.
22998 (tan_test_tonearest): Likewise.
22999 (tan_test_towardzero): Likewise.
23000 (tan_test_downward): Likewise.
23001 (tan_test_upward): Likewise.
23002 (main): Call the new functions.
23003 * sysdeps/i386/fpu/libm-test-ulps: Update.
23004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23005
a6d06d7b
JM
23006 [BZ #10135]
23007 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23008 small n, then large n, before computing and testing k+n.
23009 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23010 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23011 Likewise.
23012 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23013 Likewise.
23014 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23015 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23016 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23017 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23018 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23019 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23020 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23021 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23022 * math/libm-test.inc (scalbn_test): Add more tests.
23023 (scalbln_test): Likewise.
23024
07e12bb3
JM
23025 * manual/filesys.texi (mode_t): Describe constraints on size and
23026 signedness, not exact equivalence to a particular type.
23027 (ino_t): Likewise.
23028 (ino64_t): Likewise.
23029 (dev_t): Likewise.
23030 (nlink_t): Likewise.
23031 (blkcnt_t): Likewise.
23032 (blkcnt64_t): Likewise.
23033 * manual/llio.texi (off_t): Likewise.
23034
28afd92d
JM
23035 [BZ #3976]
23036 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23037 (__ieee754_exp): Save and restore rounding mode and use
23038 round-to-nearest for all computations.
23039 * math/libm-test.inc (exp_test_tonearest): New function.
23040 (exp_test_towardzero): Likewise.
23041 (exp_test_downward): Likewise.
23042 (exp_test_upward): Likewise.
23043 (main): Call the new functions.
23044 * sysdeps/i386/fpu/libm-test-ulps: Update.
23045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23046
b1eeb65d
CD
230472012-03-01 Chris Demetriou <cgd@google.com>
23048
23049 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23050 have predictable order.
23051
53362a4b
DM
230522012-03-01 David S. Miller <davem@davemloft.net>
23053
3c969083
DM
23054 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23055
759707de
DM
23056 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23057 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23058 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23059 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23060
dfdb8ff2
DM
23061 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23062 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23063 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23065 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23066 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23067 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23068 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23069 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23070
ead89f96
DM
23071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23072
7f66bd07
DM
23073 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23074 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23075 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23076
53362a4b
DM
23077 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23078 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23079 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23080 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23081 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23082 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23083 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23084 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23085 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23086 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23087 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23088 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23089 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23090 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23091 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23092 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23093 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23094 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23095 * sysdeps/sparc/elf/configure: Regenerated.
23096
7b1902cb
JM
230972012-03-01 Joseph Myers <joseph@codesourcery.com>
23098
bec039bc
JM
23099 * configure.in (AS, LD): Require binutils 2.20 or later.
23100 * configure: Regenerated.
23101 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23102 as required minimum version.
23103 * INSTALL: Regenerated.
23104
7b1902cb
JM
23105 [BZ #2541]
23106 [BZ #4108]
23107 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23108 before squaring exponent.
23109 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23110 bottom long double and 27 bits of top long double before squaring
23111 exponent.
23112 * math/libm-test.inc (erfc_test): Add more tests.
23113 * sysdeps/i386/fpu/libm-test-ulps: Update.
23114 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23116
f775c276
KT
231172012-03-01 Kai Tietz <ktietz@redhat.com>
23118
23119 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23120 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23121 containing bit-fields.
23122 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23123 * soft-fp/single.h (_FP_UNION_S): Likewise.
23124 * soft-fp/double.h (_FP_UNION_D): Likewise.
23125
5b8a4d4a
JM
231262012-02-29 Joseph Myers <joseph@codesourcery.com>
23127
0bab47b6
JM
23128 [BZ #13786]
23129 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23130 not include ../strcmp.S.
23131 [USE_AS_STRNCASECMP_L]: Likewise.
23132 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23133 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23134 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23135 (__strncasecmp_l_ia32): Define as alias to
23136 __strncasecmp_l_nonascii.
23137
0fcad3e2
JM
23138 [BZ #5794]
23139 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23140 * sysdeps/i386/fpu/libm-test-ulps: Update.
23141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23142
5b8a4d4a
JM
23143 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23145
8fdceb2e
JL
231462012-02-29 Jeff Law <law@redhat.com>
23147
23148 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23149 out of bounds read.
23150
1f393a11
MP
231512012-02-29 Marek Polacek <polacek@redhat.com>
23152
23153 [BZ #13706]
23154 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23155 * elf/Makefile: Add rules to run tst-unused-dep.out.
23156
8847f037
DM
231572012-02-28 David S. Miller <davem@davemloft.net>
23158
23159 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23160 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23161 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23162 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23163 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23164 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23165
169d7f11
JM
231662012-02-29 Joseph Myers <joseph@codesourcery.com>
23167
23168 * math/libm-test.inc (llround_test): Move one test from
23169 lround_test. Use TEST_f_L in moved test.
23170 (lround_test): Move misplaced test to llround_test. Add testcase
23171 from bug 2561.
23172
39adf059
UD
231732012-02-28 Ulrich Drepper <drepper@gmail.com>
23174
23175 * sysdeps/x86_64/fpu/e_expf.S: New file.
23176 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23177
71b5d1c5
SB
231782012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23179
23180 [BZ #13637]
23181 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23182 of remain_len that may cause incomplete multi-byte character and
23183 false match.
23184 * posix/bug-regex33.c: New file.
23185 * posix/Makefile (tests): Add bug-regex33.
23186
1f77f049
JM
231872012-02-28 Joseph Myers <joseph@codesourcery.com>
23188
23189 * manual/macros.texi: New file.
23190 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23191 * manual/libc.texinfo: Include macros.texi.
23192 * manual/creatute.texi: Likewise.
23193 * manual/install.texi: Likewise.
23194 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23195 @glibcadj{} in references to the GNU C Library.
23196 * manual/charset.texi: Likewise.
23197 * manual/conf.texi: Likewise.
23198 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23199 when not using those macros.
23200 * manual/creature.texi: Likewise.
23201 * manual/crypt.texi: Likewise.
23202 * manual/errno.texi: Likewise.
23203 * manual/filesys.texi: Likewise.
23204 * manual/header.texi: Likewise.
23205 * manual/install.texi: Likewise.
23206 * manual/intro.texi: Likewise.
23207 * manual/io.texi: Likewise.
23208 * manual/job.texi: Likewise.
23209 * manual/lang.texi: Likewise.
23210 * manual/libc.texiinfo: Likewise.
23211 * manual/llio.texi: Likewise.
23212 * manual/locale.texi: Likewise.
23213 * manual/maint.texi: Likewise.
23214 * manual/math.texi: Likewise.
23215 * manual/memory.texi: Likewise.
23216 * manual/message.texi: Likewise.
23217 * manual/nss.texi: Likewise.
23218 * manual/pattern.texi: Likewise.
23219 * manual/process.texi: Likewise.
23220 * manual/resource.texi: Likewise.
23221 * manual/search.texi: Likewise.
23222 * manual/setjmp.texi: Likewise.
23223 * manual/signal.texi: Likewise.
23224 * manual/socket.texi: Likewise.
23225 * manual/startup.texi: Likewise.
23226 * manual/stdio.texi: Likewise.
23227 * manual/string.texi: Likewise.
23228 * manual/sysinfo.texi: Likewise.
23229 * manual/syslog.texi: Likewise.
23230 * manual/terminal.texi: Likewise.
23231 * manual/time.texi: Likewise.
23232 * manual/users.texi: Likewise.
23233 * INSTALL: Regenerated.
23234 * NOTES: Regenerated.
d40c5d54 23235 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 23236
450bf206
AS
232372012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23238
23239 * include/dirent.h: Include <dirstream.h> before
23240 <dirent/dirent.h>.
23241
741a235b
DM
232422012-02-28 David S. Miller <davem@davemloft.net>
23243
23244 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23245 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23246 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23247 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23248
d6b5aa58
DM
232492012-02-27 David S. Miller <davem@davemloft.net>
23250
1aff59a3
DM
23251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23253 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23254 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23255
d6b5aa58
DM
23256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23257 frame pointer instead of stack pointer relative arg slot.
23258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23259 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23260 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23261
433f48bf
CD
232622012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23263
23264 [BZ #3992]
23265 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23266
d674b76d
DM
232672012-02-27 David S. Miller <davem@davemloft.net>
23268
23269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23273 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23274 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23275 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23276 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23277
0e7727f7
JM
232782012-02-27 Joseph Myers <joseph@codesourcery.com>
23279
23280 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23281 later. Allow versions 5-9.
43be4ca2 23282 * configure: Regenerated.
0e7727f7
JM
23283 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23284 required minimum version and 4.6 as recommended version. Do not
23285 mention bugs in GCC 2.7 and 2.8.
43be4ca2 23286 * INSTALL: Regenerated.
0e7727f7 23287
a78bc654
DM
232882012-02-27 David S. Miller <davem@davemloft.net>
23289
428d5830
DM
23290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23294 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23295 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23296 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23297 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23298
a78bc654
DM
23299 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23300 manipulate bits before adding and subtracting TWO112[sx].
23301 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23302
4579f81c
RM
233032012-02-27 Roland McGrath <roland@hack.frob.com>
23304
36c8acb4
RM
23305 [BZ #13775]
23306 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23307 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23308 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23309 being in POSIX, because they are in 1003.1-2008.
23310
84ad622b
RM
23311 * rt/tst-aio.c: Include <fcntl.h>.
23312 * rt/tst-aio7.c: Likewise.
23313 * rt/tst-aio64.c: Likewise.
23314
4579f81c
RM
23315 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23316
abd923db
JM
233172012-02-27 Joseph Myers <joseph@codesourcery.com>
23318
23319 * manual/install.texi (--with-headers): Describe headers as
23320 interface headers, not private headers.
23321 (Specific advice for GNU/Linux systems): Describe use of headers
23322 from "make headers_install", not private headers from older
23323 kernels.
43be4ca2 23324 * INSTALL: Regenerated.
abd923db
JM
23325 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23326 Change to 2.6.19.
23327 * sysdeps/unix/sysv/linux/configure: Regenerated.
23328
6664049b
JM
23329 * manual/llio.texi (fclean): Remove documentation.
23330
bb8b6697
JM
23331 * manual/Makefile (libc-texi-generated): New variable. Include
23332 version.texi.
23333 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23334 $(libc-texi-generated), not duplicated list of files.
23335 (version.texi, stamp-version): New rules.
23336 (realclean): Remove $(libc-texi-generated), not individual files
23337 from that list. Do not remove dir-add.texinfo.
23338 * manual/libc.texinfo: Comment out uses of edition numbers and
23339 references to printed manual. Remove last-updated dates.
23340 (EDITION): Comment out.
23341 (ISBN): Likewise.
23342 (VERSION, UPDATED): Remove.
23343 (version.texi): Include.
23344
12e5c3b9
AS
233452012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23346
23347 * sysdeps/posix/spawni.c: Include <signal.h>.
23348 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23349 * sysdeps/pthread/aio_fsync.c: Likewise.
23350
4efeffc1 233512012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 23352
ba63ba08
UD
23353 * conform/Makefile (tests): Run only when not cross-compiling and
23354 when fast-check is not defined.
23355
d94a4670
UD
23356 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23357 * conform/data/limits.h-data: Fixes for POSIX2008.
23358 * conform/run-conformtest.sh: Run all tests.
23359 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23360 headers.
23361 * include/bits/dlfcn.h: Likewise.
23362 * include/langinfo.h: Likewise.
23363 * include/monetary.h: Likewise.
23364 * include/sys/poll.h: Likewise.
23365
23366 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23367 for __USE_GNU.
23368 * posix/spawn.h: Define __need_sigset_t.
23369 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23370 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23371 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23372 to get sigevent_t only.
23373 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23374 only for __USE_GNU.
23375 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23376 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23377 process_vm_writev only for __USE_GNU.
23378 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
23379
23380 * conform/Makefile: For now ignore errors from run-conformtest.
23381 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23382 POSIX to avoid namespace pollution. Don't prepend headers.
23383 * conform/data/aio.h-data: Fixes for POSIX testing.
23384 * conform/data/fcntl.h-data: Likewise.
23385 * conform/data/glob.h-data: Likewise.
23386 * conform/data/grp.h-data: Likewise.
23387 * conform/data/pthread.h-data: Likewise.
23388 * conform/data/pwd.h-data: Likewise.
23389 * conform/data/signal.h-data: Likewise.
23390 * conform/data/spawn.h-data: Likewise.
23391 * conform/data/stdio.h-data: Likewise.
23392 * conform/data/stdlib.h-data: Likewise.
23393 * conform/data/stropts.h-data: Likewise.
23394 * conform/data/sys/mman.h-data: Likewise.
23395 * conform/data/sys/stat.h-data: Likewise.
23396 * conform/data/sys/types.h-data: Likewise.
23397 * conform/data/sys/wait.h-data: Likewise.
23398 * conform/data/time.h-data: Likewise.
23399 * conform/data/unistd.h-data: Likewise.
23400 * conform/data/utime.h-data: Likewise.
23401
23402 * io/sys/stat.h: fchmod was always in POSIX.
23403 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23404 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23405 * rt/aio.h: Define __need_timespec before including <time.h>.
23406 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23407 struct. Add forward declaration of pthread_attr_t and use it in
23408 sigevent.
23409 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23410 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23411 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23412 always remove CLK_TCK definition.
23413
c20105c3
AS
234142012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23415
23416 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23417
7a270350
UD
234182012-02-25 Ulrich Drepper <drepper@gmail.com>
23419
31341567
UD
23420 * conform/run-conformtest.sh: New file.
23421 * conform/Makefile: Run run-conformtest for tests.
23422 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23423 support.
23424
23425 * conform/data/uchar.h-data: New file.
23426 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23427 * conform/data/arpa/inet.h-data: Likewise.
23428 * conform/data/assert.h-data: Likewise.
23429 * conform/data/complex.h-data: Likewise.
23430 * conform/data/cpio.h-data: Likewise.
23431 * conform/data/ctype.h-data: Likewise.
23432 * conform/data/dirent.h-data: Likewise.
23433 * conform/data/dlfcn.h-data: Likewise.
23434 * conform/data/errno.h-data: Likewise.
23435 * conform/data/fcntl.h-data: Likewise.
23436 * conform/data/float.h-data: Likewise.
23437 * conform/data/fmtmsg.h-data: Likewise.
23438 * conform/data/fnmatch.h-data: Likewise.
23439 * conform/data/ftw.h-data: Likewise.
23440 * conform/data/glob.h-data: Likewise.
23441 * conform/data/grp.h-data: Likewise.
23442 * conform/data/iconv.h-data: Likewise.
23443 * conform/data/inttypes.h-data: Likewise.
23444 * conform/data/langinfo.h-data: Likewise.
23445 * conform/data/libgen.h-data: Likewise.
23446 * conform/data/limits.h-data: Likewise.
23447 * conform/data/locale.h-data: Likewise.
23448 * conform/data/math.h-data: Likewise.
23449 * conform/data/monetary.h-data: Likewise.
23450 * conform/data/mqueue.h-data: Likewise.
23451 * conform/data/ndbm.h-data: Likewise.
23452 * conform/data/net/if.h-data: Likewise.
23453 * conform/data/netdb.h-data: Likewise.
23454 * conform/data/netinet/in.h-data: Likewise.
23455 * conform/data/nl_types.h-data: Likewise.
23456 * conform/data/poll.h-data: Likewise.
23457 * conform/data/pthread.h-data: Likewise.
23458 * conform/data/pwd.h-data: Likewise.
23459 * conform/data/regex.h-data: Likewise.
23460 * conform/data/sched.h-data: Likewise.
23461 * conform/data/search.h-data: Likewise.
23462 * conform/data/semaphore.h-data: Likewise.
23463 * conform/data/setjmp.h-data: Likewise.
23464 * conform/data/signal.h-data: Likewise.
23465 * conform/data/spawn.h-data: Likewise.
23466 * conform/data/stdarg.h-data: Likewise.
23467 * conform/data/stdio.h-data: Likewise.
23468 * conform/data/stdlib.h-data: Likewise.
23469 * conform/data/string.h-data: Likewise.
23470 * conform/data/strings.h-data: Likewise.
23471 * conform/data/stropts.h-data: Likewise.
23472 * conform/data/sys/ipc.h-data: Likewise.
23473 * conform/data/sys/mman.h-data: Likewise.
23474 * conform/data/sys/msg.h-data: Likewise.
23475 * conform/data/sys/resource.h-data: Likewise.
23476 * conform/data/sys/select.h-data: Likewise.
23477 * conform/data/sys/sem.h-data: Likewise.
23478 * conform/data/sys/shm.h-data: Likewise.
23479 * conform/data/sys/socket.h-data: Likewise.
23480 * conform/data/sys/stat.h-data: Likewise.
23481 * conform/data/sys/statvfs.h-data: Likewise.
23482 * conform/data/sys/time.h-data: Likewise.
23483 * conform/data/sys/timeb.h-data: Likewise.
23484 * conform/data/sys/times.h-data: Likewise.
23485 * conform/data/sys/types.h-data: Likewise.
23486 * conform/data/sys/uio.h-data: Likewise.
23487 * conform/data/sys/un.h-data: Likewise.
23488 * conform/data/sys/utsname.h-data: Likewise.
23489 * conform/data/sys/wait.h-data: Likewise.
23490 * conform/data/syslog.h-data: Likewise.
23491 * conform/data/tar.h-data: Likewise.
23492 * conform/data/termios.h-data: Likewise.
23493 * conform/data/utime.h-data: Likewise.
23494 * conform/data/utmpx.h-data: Likewise.
23495 * conform/data/varargs.h-data: Likewise.
23496 * conform/data/wchar.h-data: Likewise.
23497 * conform/data/wctype.h-data: Likewise.
23498 * conform/data/wordexp.h-data: Likewise.
23499
23500 * include/stropts.h: New file.
23501 * include/uchar.h: New file.
23502 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23503 * include/assert.h: Likewise.
23504 * include/ctype.h: Likewise.
23505 * include/dirent.h: Likewise.
23506 * include/dlfcn.h: Likewise.
23507 * include/fcntl.h: Likewise.
23508 * include/fnmatch.h: Likewise.
23509 * include/glob.h: Likewise.
23510 * include/grp.h: Likewise.
23511 * include/libio.h: Likewise.
23512 * include/locale.h: Likewise.
23513 * include/math.h: Likewise.
23514 * include/net/if.h: Likewise.
23515 * include/netdb.h: Likewise.
23516 * include/netinet/in.h: Likewise.
23517 * include/pthread.h: Likewise.
23518 * include/pwd.h: Likewise.
23519 * include/regex.h: Likewise.
23520 * include/sched.h: Likewise.
23521 * include/search.h: Likewise.
23522 * include/setjmp.h: Likewise.
23523 * include/signal.h: Likewise.
23524 * include/stdio.h: Likewise.
23525 * include/stdlib.h: Likewise.
23526 * include/string.h: Likewise.
23527 * include/sys/cdefs.h: Likewise.
23528 * include/sys/mman.h: Likewise.
23529 * include/sys/msg.h: Likewise.
23530 * include/sys/resource.h: Likewise.
23531 * include/sys/select.h: Likewise.
23532 * include/sys/socket.h: Likewise.
23533 * include/sys/stat.h: Likewise.
23534 * include/sys/statvfs.h: Likewise.
23535 * include/sys/time.h: Likewise.
23536 * include/sys/times.h: Likewise.
23537 * include/sys/uio.h: Likewise.
23538 * include/sys/utsname.h: Likewise.
23539 * include/sys/wait.h: Likewise.
23540 * include/termios.h: Likewise.
23541 * include/time.h: Likewise.
23542 * include/ulimit.h: Likewise.
23543 * include/unistd.h: Likewise.
23544 * include/utime.h: Likewise.
23545 * include/wchar.h: Likewise.
23546 * include/wctype.h: Likewise.
23547 * include/wordexp.h: Likewise.
23548
23549 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23550
7a270350
UD
23551 * time/time.h: TIME_UTC must be a macro.
23552 Make timespec_get available for ISO C11 only as well.
23553
7724defc
UD
235542012-02-24 Ulrich Drepper <drepper@gmail.com>
23555
23556 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23557 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23558
6b1d1d46
JM
235592012-02-24 Joseph Myers <joseph@codesourcery.com>
23560
23561 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 23562
0f8bbd69
JM
235632012-02-24 Joseph Myers <joseph@codesourcery.com>
23564
23565 * manual/texinfo.tex: Update to version 2012-01-19.16.
23566
66ab80bc
JM
235672012-02-24 Joseph Myers <joseph@codesourcery.com>
23568
23569 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23570
74981cc5
RM
235712012-02-24 Roland McGrath <roland@hack.frob.com>
23572
ee968201
RM
23573 [BZ #13738]
23574 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23575 * manual/fdl-1.3.texi: New file.
23576 * manual/fdl-1.1.texi: File removed.
23577
74981cc5
RM
23578 [BZ #13738]
23579 * manual/libc.texinfo (FDL_VERSION): New @set.
23580 Use it for mention of FDL in cover text.
23581 (Documentation License): Use it in @include file name.
23582
7bb764bc
JM
235832012-02-22 Joseph Myers <joseph@codesourcery.com>
23584 Roland McGrath <roland@hack.frob.com>
23585
23586 [BZ #5461]
23587 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23588 not LONG_LONG_MAX and LONG_LONG_MIN.
23589 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23590 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23591 name.
23592 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23593
6cbeae47
JM
235942012-02-22 Joseph Myers <joseph@codesourcery.com>
23595
23596 [BZ #2547]
23597 [BZ #11365]
23598 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23599 manipulate bits before adding and subtracting TWO23[sx].
23600 * math/libm-test.inc (nearbyint_test): Add more tests.
23601
fe45ce09
JM
236022012-02-22 Joseph Myers <joseph@codesourcery.com>
23603
23604 [BZ #2548]
23605 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23606 bits before adding and subtracting TWO23[sx].
23607 * math/libm-test.inc (rint_test): Add more tests.
23608 (rint_test_tonearest): Likewise.
23609 (rint_test_towardzero): Likewise.
23610 (rint_test_downward): Likewise.
23611 (rint_test_upward: Likewise.
23612
ff3b3d82
JM
236132012-02-22 Joseph Myers <joseph@codesourcery.com>
23614
23615 [BZ #10110]
23616 * include/stdc-predef.h: New file. Extracted from features.h.
23617 * include/features.h: Include stdc-predef.h.
23618 * Makefile (headers): Add stdc-predef.h.
23619 * CONFORMANCE (Compiler limitations): Update.
23620
ef0aab35
JM
236212012-02-22 Joseph Myers <joseph@codesourcery.com>
23622
23623 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23624
58639409
DM
236252012-02-21 David S. Miller <davem@davemloft.net>
23626
23627 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23628 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23629
c0e70b25
DM
236302012-02-20 David S. Miller <davem@davemloft.net>
23631
23632 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23633 using a normal save/restore sequence, rather than allocating a
23634 dummy stack frame just to store a frame pointer and restore.
23635 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23636
fb06851d
JM
236372012-02-21 Joseph Myers <joseph@codesourcery.com>
23638
23639 * manual/install.texi: Fix stray word in line-wrapped comment.
23640
7a8b71c3
DM
236412012-02-20 David S. Miller <davem@davemloft.net>
23642
d510c123
DM
23643 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23644 both binutils and gcc support GOTDATA.
23645
0722d7c2
DM
23646 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23647 "rd %pc" in the PIC register setup sequences.
23648
3d2b3019
DM
23649 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23650 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23651 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23652 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23653 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23654 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23655 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23656 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23657 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23658 (SYSCALL_ERROR_HANDLER): Likewise.
23659 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23660 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23661 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23662 (SYSCALL_ERROR_HANDLER): Likewise.
23663
c80098a9
DM
23664 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23665 (HAVE_GCC_GOTDATA): New.
23666 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23667 relocation support in both binutils and gcc.
23668 * sysdeps/sparc/elf/configure: Regenerate.
23669
3a2545a0
DM
23670 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23671 * sysdeps/sparc/sparc32/elf/configure: Delete.
23672 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23673 * sysdeps/sparc/sparc64/elf/configure: Delete.
23674 * sysdeps/sparc/elf/configure.in: New file.
23675 * sysdeps/sparc/elf/configure: Generate.
23676
7a8b71c3
DM
23677 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23678 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23679 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23680 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23681 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23682
f1e86fca
JM
236832012-02-21 Joseph Myers <joseph@codesourcery.com>
23684
23685 * manual/install.texi: Do not mention specific glibc version
23686 numbers.
23687 * manual/libc.texinfo (VERSION, UPDATED): Update.
23688 (@copying): Use @copyright{} and range of years.
23689
0e7dfaef
JM
236902012-02-21 Joseph Myers <joseph@codesourcery.com>
23691
23692 [BZ #13695]
23693 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23694 [crti.S not in sysdirs] (generated): Do not append.
23695 [crti.S not in sysdirs] (omit-deps): Likewise.
23696 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23697 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23698 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23699 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23700 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23701 Likewise.
23702 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23703 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23704 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23705 * csu/defs.awk: Remove file.
23706 * sysdeps/generic/initfini.c: Likewise.
23707 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23708 variable.
23709 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23710 Likewise.
23711
599af3ca
JM
237122012-02-20 Joseph Myers <joseph@codesourcery.com>
23713
23714 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23715 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23716 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23717 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23718 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23719 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23720 <bits/epoll.h>.
23721 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23722 (__EPOLL_PACKED): Define to empty if not defined by
23723 <bits/epoll.h>.
23724 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23725 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23726 bits/epoll.h.
23727
0e499750
JM
237282012-02-20 Joseph Myers <joseph@codesourcery.com>
23729
23730 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23731 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23732 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23733 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23734 <bits/timerfd.h>.
23735 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23736 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23737 bits/timerfd.h.
23738
5ad91f6e
JM
237392012-02-20 Joseph Myers <joseph@codesourcery.com>
23740
23741 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23742 in C locale.
23743 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23744 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23745 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23747
06b99b02
AJ
237482012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23749
23750 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23751 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23752
7638c0fd
AS
237532012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23754
23755 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23756 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23757 defined.
23758 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23759 Likewise.
23760 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23761 entry for 2.16.
23762
92221550
AJ
237632012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23764
23765 * math/w_acos.c: Use non-signaling floating-point comparisons.
23766 * math/w_acosf.c: Likewise.
23767 * math/w_acosh.c: Likewise.
23768 * math/w_acoshf.c: Likewise.
23769 * math/w_acoshl.c: Likewise.
23770 * math/w_acosl.c: Likewise.
23771 * math/w_asin.c: Likewise.
23772 * math/w_asinf.c: Likewise.
23773 * math/w_asinl.c: Likewise.
23774 * math/w_atanh.c: Likewise.
23775 * math/w_atanhf.c: Likewise.
23776 * math/w_atanhl.c: Likewise.
23777 * math/w_exp2.c: Likewise.
23778 * math/w_exp2f.c: Likewise.
23779 * math/w_exp2l.c: Likewise.
23780 * math/w_j0.c: Likewise.
23781 * math/w_j0f.c: Likewise.
23782 * math/w_j0l.c: Likewise.
23783 * math/w_j1.c: Likewise.
23784 * math/w_j1f.c: Likewise.
23785 * math/w_j1l.c: Likewise.
23786 * math/w_jn.c: Likewise.
23787 * math/w_jnf.c: Likewise.
23788 * math/w_log.c: Likewise.
23789 * math/w_log10.c: Likewise.
23790 * math/w_log10f.c: Likewise.
23791 * math/w_log10l.c: Likewise.
23792 * math/w_log2.c: Likewise.
23793 * math/w_log2f.c: Likewise.
23794 * math/w_log2l.c: Likewise.
23795 * math/w_logf.c: Likewise.
23796 * math/w_logl.c: Likewise.
23797 * math/w_sqrt.c: Likewise.
23798 * math/w_sqrtf.c: Likewise.
23799 * math/w_sqrtl.c: Likewise.
23800 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23801 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23802 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23803 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23804 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23805
ebaf36eb
JM
238062012-02-19 Joseph Myers <joseph@codesourcery.com>
23807
23808 [BZ #9739]
23809 * manual/string.texi (strnlen): Use correct parameter name in
23810 equivalent expression.
23811
71c254a6
JM
238122012-02-19 Joseph Myers <joseph@codesourcery.com>
23813
23814 [BZ #11174]
23815 * manual/users.texi (seteuid): Consistently use neweuid for
23816 argument name.
23817
16d2c631
JM
238182012-02-19 Joseph Myers <joseph@codesourcery.com>
23819
23820 [BZ #13704]
23821 * manual/nss.texi (Services in the NSS configuration): Correct
23822 list of services in example configuration file.
23823
cd837b09
NB
238242012-02-19 Nick Bowler <nbowler@draconx.ca>
23825
23826 [BZ #11322]
23827 * manual/arith.texi: Remove statements about negative zero
23828 behaving identically to zero.
23829
02c4bbad
JM
238302012-02-18 Joseph Myers <joseph@codesourcery.com>
23831
23832 [BZ #5993]
23833 * manual/install.texi: Do not document upgrading from libc5.
23834
366842e7
JM
238352012-02-18 Joseph Myers <joseph@codesourcery.com>
23836
23837 [BZ #4596]
23838 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23839
dd54084d
DM
238402012-02-18 David S. Miller <davem@davemloft.net>
23841
23842 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23843 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23844 %o7 across the call.
23845 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23846 instead.
23847 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23848 SETUP_PIC_REG_LEAF.
23849 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23850 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23851 * sysdeps/sparc/crtn.S: Likewise.
23852
2bcc53a3
UD
238532012-02-17 Ulrich Drepper <drepper@gmail.com>
23854
23855 * aout/Makefile: Remove.
23856
09c093b5
RK
238572012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
23858
23859 [BZ #13058]
23860 * manual/examples/argp-ex1.c (main): Format definition in GNU
23861 style.
23862 * manual/examples/argp-ex2.c (main): Likewise.
23863 * manual/examples/argp-ex3.c (main): Likewise.
23864 * manual/examples/argp-ex4.c (main): Likewise.
23865 * manual/examples/longopt.c (main): Use new-style prototype
23866 definition.
23867 * manual/examples/strncat.c (main): Specify return type and use
23868 (void) for arguments.
23869 * manual/examples/subopt.c (main): Use char **argv argument.
23870
2ee633a2
JM
238712012-02-17 Joseph Myers <joseph@codesourcery.com>
23872
23873 [BZ #5077]
23874 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23875 rounding modes.
23876
0520adde
FB
238772012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
23878
23879 [BZ #6907]
23880 * manual/string.texi (strchr): Change when strchrnul is
23881 recommended.
23882
3f4081cd
DGM
238832012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
23884
23885 [BZ #174]
23886 * manual/locale.texi (setlocale): Document LOCPATH.
23887
d1b10e78
JM
238882012-02-17 Joseph Myers <joseph@codesourcery.com>
23889
23890 [BZ #10210]
23891 * manual/process.texi (execle): Move @dots{} before last argument.
23892
79c6869c
PB
238932012-02-17 Paul Bolle <pebolle@tiscali.nl>
23894
23895 [BZ #12047]
23896 * manual/charset.texi (Generic Charset Conversion): Fix typo
23897 (LC_TYPE -> LC_CTYPE).
23898
cc6e48bc
NB
238992012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
23900
23901 [BZ #5805]
23902 * manual/arith.texi (scalbn): Use @var{} on parameter names.
23903 (scalbnf): Likewise.
23904 (scalbnl): Likewise.
23905 (scalbln): Likewise.
23906 (scalblnf): Likewise.
23907 (scalblnl): Likewise.
23908 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23909 (vwarnx): Likewise.
23910 (verr): Likewise.
23911 (verrx): Likewise.
23912 * manual/filesys.texi (telldir): Use braces around return type.
23913 * manual/llio.texi (mmap): Add space after comma.
23914 (mmap64): Likewise.
23915 * manual/math.texi (jn): Use @var{} on parameter names.
23916 (jnf): Likewise.
23917 (jnl): Likewise.
23918 (yn): Likewise.
23919 (ynf): Likewise.
23920 (ynl): Likewise.
23921 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23922 line.
23923 * manual/resource.texi (ulimit): Use @dots{} instead of literal
23924 "...".
23925 (sched_get_priority_min): Remove semicolon on @deftypefun line.
23926 (sched_get_priority_max): Likewise.
23927 * manual/signal.texi (sigvec): Add space after comma.
23928 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23929 names.
23930 (if_indextoname): Likewise.
23931 (if_freenameindex): Likewise.
23932 (sendto): Use ',' instead of '.' in prototype.
23933 * manual/startup.texi (syscall): Use @dots{} instead of literal
23934 "...".
23935 * manual/stdio.texi (__fpending): Separate initial words of
23936 paragraph from @deftypefun line.
23937 * manual/syslog.texi (syslog): Use @dots{} instead of literal
23938 "...".
23939 (vsyslog): Use @var{} on parameter names.
23940 * manual/terminal.texi (stty): Use @var{} on parameter names.
23941 * manual/users.texi (getutmp): Use @var{} on parameter names.
23942 (getutmpx): Likewise.
23943
5b23062f
JM
239442012-02-17 Joseph Myers <joseph@codesourcery.com>
23945
23946 [BZ #6884]
23947 * manual/stdio.texi (fopen): Fix typos in description of
23948 ",ccs=STRING".
23949
8dee4833
AJ
239502012-02-17 Aurelien Jarno <aurelien@aurel32.net>
23951
23952 [BZ #4026]
23953 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
23954 get clock_id definition.
23955
9078ce93
TS
239562012-02-17 Thomas Schwinge <thomas@schwinge.name>
23957
23958 [BZ #4822]
23959 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
23960 (madvise): Cast every argument to void on its own.
23961
3835c55f
JM
239622012-02-17 Joseph Myers <joseph@codesourcery.com>
23963
23964 [BZ #9902]
23965 * manual/startup.texi (Exit Status): Fix typo.
23966
35c47e37
JM
239672012-02-17 Joseph Myers <joseph@codesourcery.com>
23968
23969 [BZ #10140]
23970 * manual/examples/argp-ex1.c: Include <stdlib.h>.
23971 * manual/examples/argp-ex2.c: Likewise.
23972 * manual/examples/argp-ex3.c: Likewise.
23973
e3b69ca7
RH
239742012-02-16 Richard Henderson <rth@redhat.com>
23975
23976 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
23977 * sysdeps/s390/s390-32/initfini.c: Remove.
23978 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
23979 * sysdeps/s390/s390-64/initfini.c: Remove.
23980
df83af67
KK
239812012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23982
23983 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
23984 compiler output for sysdeps/generic/initfini.c.
23985 * sysdeps/sh/elf/initfini.c: Remove file.
23986
f63f3380
DM
239872012-02-16 David S. Miller <davem@davemloft.net>
23988
fb59b3a4
DM
23989 [BZ #11494]
23990 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
23991
f63f3380
DM
23992 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
23993 * sysdeps/sparc/crti.S: New file.
23994 * sysdeps/sparc/crtn.S: New file.
23995 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
23996 * sysdeps/sparc/sparc64/Makefile: Likewise.
23997
df6a4a4a
MF
239982012-02-15 Mike Frysinger <vapier@gentoo.org>
23999
6dd8f3dc 24000 [BZ #3335]
df6a4a4a
MF
24001 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24002
1cac7236
RM
240032012-02-15 Roland McGrath <roland@hack.frob.com>
24004
d2c736f8
RM
24005 [BZ #4822]
24006 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24007
1cac7236
RM
24008 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24009 (write, read, close): Likewise.
24010 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24011
8e475601
JM
240122012-02-15 Joseph Myers <joseph@codesourcery.com>
24013
24014 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24015 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24016 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24017 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24018 <bits/signalfd.h>.
24019 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24020 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24021 bits/signalfd.h.
24022
ed656b40
MP
240232012-02-14 Marek Polacek <polacek@redhat.com>
24024
24025 * sysdeps/x86_64/crti.S: New file.
24026 * sysdeps/x86_64/crtn.S: New file.
24027 * sysdeps/x86_64/elf/initfini.c: Remove file.
24028
2a979d3a
JM
240292012-02-13 Joseph Myers <joseph@codesourcery.com>
24030
24031 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24032 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24033 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24034 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24035 <bits/inotify.h>.
24036 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24037 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24038 bits/inotify.h.
24039
2a418ac3
JM
240402012-02-13 Joseph Myers <joseph@codesourcery.com>
24041
24042 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24043 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24044 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24045 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24046 <bits/eventfd.h>.
24047 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24048 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24049 bits/eventfd.h.
24050
fb779be7
TS
240512012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24052
e19e83c5
RM
24053 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24054 __feraiseexcept instead of feraiseexcept.
7c35ffed 24055
fb779be7
TS
24056 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24057 nanosleep invocations.
24058 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24059 strings, and add error checking for a nanosleep invocations.
24060
59ba27a6
PE
240612012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24062
24063 Replace FSF snail mail address with URLs, as per GNU coding standards.
24064 Most of the snail mail addresses were wrong anyway, and omitting
24065 them makes the source code easier to maintain. Almost all of the
24066 changes are to license notices and to locale LC_IDENTIFICATION
24067 addresses, except for this one:
24068 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24069 not its snail mail address.
24070
57b957eb
RH
240712012-02-09 Richard Henderson <rth@twiddle.net>
24072
af850b1c
RH
24073 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24074 of kernel-features.h.
24075
57b957eb
RH
24076 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24077
6b73181a
MP
240782012-02-08 Marek Polacek <polacek@redhat.com>
24079
24080 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24081 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24082 * sysdeps/gnu/_G_config.h: Likewise.
24083 * sysdeps/generic/_G_config.h: Likewise.
24084
26ecc33a
AS
240852012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24086
6c6dbc63
AS
24087 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24088 tests.
24089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24090
e216c012
AS
24091 * sysdeps/powerpc/powerpc32/crti.S: New file.
24092 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24093 * sysdeps/powerpc/powerpc64/crti.S: New file.
24094 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24095
26ecc33a
AS
24096 * Makeconfig (have-initfini): Don't set.
24097 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24098 * configure.in (nopic_initfini): Don't substitute.
24099 * config.h.in (HAVE_INITFINI): Don't #undef.
24100 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24101 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24102
3add8e13
JM
241032012-02-08 Joseph Myers <joseph@codesourcery.com>
24104
24105 Support crti.S and crtn.S provided directly by architectures.
24106 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24107 [crti.S in sysdirs] (omit-deps): Likewise.
24108 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24109 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24110 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24111 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24112 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24113 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24114 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24115 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24116 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24117 compiler output for sysdeps/generic/initfini.c.
24118 * sysdeps/i386/elf/Makefile: Remove file.
24119 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24120
a22f12b4
MP
241212012-02-07 Marek Polacek <polacek@redhat.com>
24122
24123 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24124 * sysdeps/gnu/_G_config.h: Likewise.
24125 * sysdeps/mach/hurd/_G_config.h: Likewise.
24126
148cf100
MP
241272012-02-07 Marek Polacek <polacek@redhat.com>
24128
24129 * math/Makefile (tests): Add tst-CMPLX2.
24130 * math/tst-CMPLX2.c: New file.
24131
cfdc0dd7
AS
241322012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24133
84ba42c4
AS
24134 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24135
cfdc0dd7
AS
24136 * math/libm-test.inc (jn_test): Add missing L suffix.
24137
622c86f4
MP
241382012-02-06 Marek Polacek <polacek@redhat.com>
24139
24140 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24141 * sysdeps/i386/fpu/e_powf.S: Likewise.
24142 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24143 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24144 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24145 * sysdeps/i386/fpu/e_pow.S: Likewise.
24146 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24147 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24148 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24149 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24150 * sysdeps/i386/fpu/e_log2.S: Likewise.
24151 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24152 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24153 * sysdeps/i386/fpu/e_powl.S: Likewise.
24154 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24155 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24156 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24157 * sysdeps/i386/fpu/e_logl.S: Likewise.
24158 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24159 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24160 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24161 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24162 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24163 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24164 * sysdeps/i386/fpu/e_log.S: Likewise.
24165 * sysdeps/i386/fpu/s_cexp.S: Likewise.
24166 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24167 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24168 * sysdeps/i386/fpu/e_logf.S: Likewise.
24169 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24170 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24171 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24172 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24173 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24174 * sysdeps/i386/fpu/e_log10.S: Likewise.
24175 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24176 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24177 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24178 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24179 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24180 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24181 * sysdeps/i386/asm-syntax.h: Likewise.
24182 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24183 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24184 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24185 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24186 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24187 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24188 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24189 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24190 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24191 * sysdeps/powerpc/sysdep.h: Likewise.
24192 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24193 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24194
d4a54ac6
JM
241952012-02-06 Joseph Myers <joseph@codesourcery.com>
24196
24197 [BZ #411]
24198 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24199
314054ea
JM
242002012-02-06 Joseph Myers <joseph@codesourcery.com>
24201
24202 * sysdeps/i386/sysdep.h: Include <features.h>.
24203 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24204 version.
24205
d8e0ca50
JM
242062012-02-05 Joseph Myers <joseph@codesourcery.com>
24207
24208 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24209 Define.
24210 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24211 LOAD_PIC_REG_STR.
24212
b1da7dd9
JM
242132012-02-03 Joseph Myers <joseph@codesourcery.com>
24214
24215 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24216 (SETUP_PIC_REG): Use GET_PC_THUNK.
24217 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24218 macro.
24219
9a1d9254
JM
242202012-02-03 Joseph Myers <joseph@codesourcery.com>
24221
24222 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24223 for non-PIC compilation.
24224 (SETUP_PIC_REG): Add .p2align directive.
24225 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24226 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24227 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24228 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24229 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24230 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24231 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24232 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24233 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24234 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24235 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24236 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24237 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24238 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24239 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24240 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24241 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24242 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24243 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24244 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24245 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24246 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24247 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24248 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24249 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24250 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24251 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24252 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24253 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24254 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24255 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24256 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24257 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24258 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24259 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24260 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24261 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24262 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24263 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24264 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24265 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24266
65dc3b75
JM
242672012-02-03 Joseph Myers <joseph@codesourcery.com>
24268
24269 * math/tst-CMPLX.c: Include <stdio.h>.
24270
d55bf177
JM
242712012-01-31 Joseph Myers <joseph@codesourcery.com>
24272
24273 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24274 float.
24275 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24276 * sysdeps/sparc/bits/mathdef.h: Likewise.
24277
69db4f8f
MP
242782012-01-31 Marek Polacek <polacek@redhat.com>
24279
24280 * libio/libio.h: Don't define _PARAMS.
24281 * locale/programs/config.h: Don't define PARAMS.
24282 * stdlib/strtol_l.c: Likewise.
24283 (__strtol_l): Remove PARAMS from the prototype.
24284
41b81892
UD
242852012-01-31 Ulrich Drepper <drepper@gmail.com>
24286
3b49edc0
UD
24287 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24288 names. Just use the correct names. Remove unnecessary wrapper
24289 functions.
24290 * malloc/arena.c: Likewise.
24291 * malloc/hooks.c: Likewise.
24292
41b81892
UD
24293 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24294 ARENA_TEST says not to. Simplify test for creation of a new arena.
24295 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24296
27a25b6e
UD
242972012-01-30 Ulrich Drepper <drepper@gmail.com>
24298
24299 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24300 into tail calls.
24301 (update_get_addr): New function.
24302 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24303 GET_ADDR_MODULE parameter.
24304
c8a89e7d
JM
243052012-01-30 Joseph Myers <joseph@codesourcery.com>
24306
24307 * crypt/cert.c: Remove __STDC__ conditionals.
24308 * crypt/crypt-entry.c: Likewise.
24309 * crypt/crypt_util.c: Likewise.
24310 * libio/filedoalloc.c: Likewise.
24311 * libio/fileops.c: Likewise.
24312 * libio/genops.c: Likewise.
24313 * libio/iofclose.c: Likewise.
24314 * libio/iofdopen.c: Likewise.
24315 * libio/iofopen.c: Likewise.
24316 * libio/iofopen64.c: Likewise.
24317 * libio/iogetdelim.c: Likewise.
24318 * libio/iopopen.c: Likewise.
24319 * libio/obprintf.c: Likewise.
24320 * libio/oldfileops.c: Likewise.
24321 * libio/oldiofclose.c: Likewise.
24322 * libio/oldiofdopen.c: Likewise.
24323 * libio/oldiofopen.c: Likewise.
24324 * libio/oldiopopen.c: Likewise.
24325 * libio/wfiledoalloc.c: Likewise.
24326 * libio/wgenops.c: Likewise.
24327 * locale/programs/xmalloc.c: Likewise.
24328 * misc/syslog.c: Likewise.
24329 * stdio-common/xbug.c: Likewise.
24330 * string/memchr.c: Likewise.
24331 * string/memcmp.c: Likewise.
24332 * string/memrchr.c: Likewise.
24333 * string/rawmemchr.c: Likewise.
24334 * sysdeps/posix/getcwd.c: Likewise.
24335 * time/strftime_l.c: Likewise.
24336
3b100462
JM
243372012-01-30 Joseph Myers <joseph@codesourcery.com>
24338
24339 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
24340 * config.make.in (config-cflags-sse2avx): Define.
24341 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24342 Fix typo.
24343
607998af
CM
243442012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24345
24346 * scripts/config.guess: Update from upstream config git repository.
24347 * scripts/config.sub: Likewise.
24348
3601428f
CM
243492012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24350
3ac8b282
CM
24351 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24352 (EM_NUM): Update.
24353 (R_TILEPRO_*, R_TILEGX_*): New macros.
24354
e034841e
CM
24355 * scripts/firstversions.awk: Fix bug in version range handling.
24356
540d7568
CM
24357 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24358
3601428f
CM
24359 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24360
463de862
CM
24361 * include/sys/epoll.h: New file.
24362 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24363 libc_hidden_def.
24364
73139a76
UD
243652012-01-28 Ulrich Drepper <drepper@gmail.com>
24366
96bc5b45
UD
24367 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24368 Avoid unnecessary __WORDSIZE == 64 test.
24369 (fmaxf): Use VEX format if possible.
24370 (fmax): Likewise.
24371 (fminf): Likewise.
24372 (fmin): Likewise.
24373
56f6f6a2
UD
24374 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24375 * math/math_private.h: Remove libc_fegetround* and
24376 libc_fesetround*.
24377 * sysdeps/i386/configure.in: Check for -msse2avx.
24378 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24379 also if SSE2AVX is defined.
24380 Remove libc_fegetround* and libc_fesetround*.
24381 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24382 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24383 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24384 of HAS_YMM_USABLE.
24385 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24386 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24387 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24388 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24389 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24390
73139a76
UD
24391 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24392
d73f93a4
AZ
243932012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24394
24395 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24396 size is not set.
24397 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24398
6ee65ed6
UD
243992012-01-27 Ulrich Drepper <drepper@gmail.com>
24400
24401 [BZ #13618]
24402 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24403 relocation.
24404 * Makeconfig (libm): Define.
24405 * elf/Makefile: Add rules to build and run tst-relsort1.
24406 * elf/tst-relsort1.c: New file.
24407 * elf/tst-relsort1mod1.c: New file.
24408 * elf/tst-relsort1mod2.c: New file.
24409
8db21882
JM
244102012-01-27 Joseph Myers <joseph@codesourcery.com>
24411
24412 * math/s_ldexp.c: Remove __STDC__ conditionals.
24413 * math/s_ldexpf.c: Likewise.
24414 * math/s_ldexpl.c: Likewise.
24415 * math/s_nextafter.c: Likewise.
24416 * math/s_nexttowardf.c: Likewise.
24417 * math/s_significand.c: Likewise.
24418 * math/s_significandf.c: Likewise.
24419 * math/s_significandl.c: Likewise.
24420 * math/w_jnl.c: Likewise.
24421 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24422 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24423 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24424 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24425 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24426 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24427 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24428 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24429 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24430 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24431 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24432 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24433 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24434 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24435 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24436 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24437 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24438 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24439 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24440 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24441 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24442 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24443 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24444 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24445 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24446 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24447 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24448 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24449 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24450 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24451 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24452 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24453 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24454 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24455 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24456 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24457 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24458 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24459 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24460 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24461 * sysdeps/ieee754/k_standard.c: Likewise.
24462 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24463 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24464 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24465 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24466 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24467 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24468 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24469 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24470 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24471 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24472 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24473 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24474 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24475 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24476 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24477 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24478 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24479 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24480 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24481 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24482 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24483 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24484 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24485 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24486 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24487 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24488 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24489 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24490 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24491 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24492 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24493 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24494 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24495 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24496 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24497 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24498 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24499 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24500 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24501 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24502 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24503 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24504 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24505 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24506 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24507 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24508 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24509 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24510 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24511 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24512 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24513 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24514 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24515 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24516 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24517 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24518 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24519 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24520 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24521 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24522 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24523 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24524 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24525 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24526 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24527 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24528 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24529 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24530 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24531 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24532 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24533 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24534 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24535 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24536 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24537 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24538 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24539 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24540 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24541 * sysdeps/ieee754/s_matherr.c: Likewise.
24542 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24543 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24544 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24545 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24546
965a54a4
JM
245472012-01-26 Joseph Myers <joseph@codesourcery.com>
24548
24549 * crypt/md5.h: Remove __STDC__ conditionals.
24550 * libio/libioP.h: Likewise.
24551 * locale/programs/config.h: Likewise.
24552 * sysdeps/generic/sysdep.h: Likewise.
24553 * sysdeps/i386/asm-syntax.h: Likewise.
24554 * sysdeps/s390/asm-syntax.h: Likewise.
24555 * sysdeps/unix/sysdep.h: Likewise.
24556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24558
7071ad79
JM
245592012-01-26 Joseph Myers <joseph@codesourcery.com>
24560
24561 * libio/libio.h: Remove __STDC__ conditionals.
24562 * malloc/obstack.h: Likewise.
24563 * math/complex.h: Likewise.
24564 * math/math.h: Likewise.
24565 * sysdeps/generic/_G_config.h: Likewise.
24566 * sysdeps/gnu/_G_config.h: Likewise.
24567 * sysdeps/mach/hurd/_G_config.h: Likewise.
24568 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24569 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24570 * sysdeps/sparc/bits/mathdef.h: Likewise.
24571
afc5ed09
UD
245722012-01-26 Ulrich Drepper <drepper@gmail.com>
24573
24574 [BZ #13583]
24575 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 24576 Clean up HAS_* macros.
afc5ed09 24577 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
24578 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24579 possible.
24580 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24581 HAS_AVX.
24582 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24583 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24584 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24585 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24586 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 24587
bdb6de1d
JM
245882012-01-25 Joseph Myers <joseph@codesourcery.com>
24589
24590 * elf/tst-unique3.cc (gets): Remove declaration.
24591 * elf/tst-unique3lib.cc (gets): Likewise.
24592 * elf/tst-unique3lib2.cc (gets): Likewise.
24593 * elf/tst-unique4.cc (gets): Likewise.
24594
b15549e6
UD
245952012-01-24 Ulrich Drepper <drepper@gmail.com>
24596
24597 * include/stdio.h: Add C++ protection. Add gets declarations and
24598 definitions.
24599 * debug/tst-chk1.c: Don't declare gets here.
24600 * stdio-common/tst-gets.c: Likewise.
24601
a037381f
JM
246022012-01-24 Joseph Myers <joseph@codesourcery.com>
24603
24604 * posix/glob: Remove directory.
24605
f1d4aa75
JM
246062012-01-24 Joseph Myers <joseph@codesourcery.com>
24607
24608 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24609
81c0c964
PT
246102012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24611
24612 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24613 of the non-standard EPFNOSUPPORT.
24614
0ea698ae
ST
246152011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24616
24617 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24618 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24619 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24620
d220b117
UD
246212012-01-21 Ulrich Drepper <drepper@gmail.com>
24622
24623 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24624
3e1aa84e
UD
246252012-01-20 Ulrich Drepper <drepper@gmail.com>
24626
24627 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24628 transient errors.
24629 * nscd/grpcache.c (cache_addgr): Likewise.
24630 * nscd/hstcache.c (cache_addhst): Likewise.
24631 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24632 * nscd/pwdcache.c (cache_addpw): Likewise.
24633 * nscd/servicescache.c (cache_addserv): Likewise.
24634
400aa020
UD
246352012-01-16 Ulrich Drepper <drepper@gmail.com>
24636
d77e7869
UD
24637 * malloc/malloc.c: Various cleanups.
24638 * malloc/hooks.c: Likewise.
24639
400aa020
UD
24640 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24641 * stdlib/bug-fmtmsg1.c: New file.
24642
24643 * stdlib/fmtmsg.c (init): Add missing unlock.
24644 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24645
e0a309cf
MP
246462012-01-12 Marek Polacek <polacek@redhat.com>
24647
24648 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24649 and _GNU_SOURCE.
24650
929d11c7
WS
246512012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24652
24653 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24654 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24655 macro to ensure uniqueness of label name.
24656 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24657 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24658
41d0e869
UD
246592012-01-11 Ulrich Drepper <drepper@gmail.com>
24660
0cc5ed3b
UD
24661 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24662
41d0e869
UD
24663 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24664 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24665 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24666 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24667
a47a831a
UD
246682012-01-10 Ulrich Drepper <drepper@gmail.com>
24669
daa891c0
UD
24670 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24671
24672 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24673 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24674 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24675
e58ef0f2
UD
24676 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24677
a47a831a 24678 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
24679 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24680 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 24681 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
24682
24683 * math/bits/math-finite.h: Add ldexp support.
24684
a0bfc9c7
MP
246852012-01-10 Marek Polacek <polacek@redhat.com>
24686
24687 * locale/programs/localedef.h (show_archive_content): Add noreturn
24688 attribute.
24689
d6e97a1d
UD
246902012-01-09 Ulrich Drepper <drepper@gmail.com>
24691
24692 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24693
d5835c26
UD
246942012-01-08 Ulrich Drepper <drepper@gmail.com>
24695
e5f484c6
UD
24696 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24697
d5835c26
UD
24698 * io/Makefile (headers): Add bits/poll2.h.
24699
d1f741e9
WS
247002011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
24701
24702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24703 typo #include statement.
24704
ec09c1c4
UD
247052012-01-08 Ulrich Drepper <drepper@gmail.com>
24706
24707 * include/sys/cdefs.h: Define __attribute_alloc_size.
24708 * catgets/gencat.c: Add alloc_size attribute and apply consistently
24709 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24710 * elf/pldd.c: Likewise.
24711 * iconv/iconv_charmap.c: Likewise.
24712 * iconv/iconvconfig.c: Likewise.
24713 * iconv/strtab.c: Likewise.
24714 * locale/programs/locale.c: Likewise.
24715 * locale/programs/localedef.h: Likewise.
24716 * locale/programs/simple-hash.c: Likewise.
24717 * nscd/nscd.h: Likewise.
24718 * nss/makedb.c: Likewise.
24719 * sysdeps/generic/ldconfig.h: Likewise.
24720 * locale/programs/localedef.c: Remove xmalloc prototype.
24721 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24722
20b38e03
PP
247232012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24724
24725 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24726 appropriate.
24727
a0da5fe1
UD
247282012-01-08 Ulrich Drepper <drepper@gmail.com>
24729
1d5a644a 24730 * math/Makefile (tests): Add tst-CMPLX.
669704fd 24731 * math/tst-CMPLX.c: New file.
1d5a644a 24732
8784a6db
UD
24733 * math/complex.h (CMPLXL): Fix typo.
24734
d9a216c0
UD
24735 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24736 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24737 GLIBC_2.16.
24738 * debug/tst-chk1.c: Add poll and ppoll tests.
24739 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24740 * include/sys/poll.h: Add hidden proto for ppoll.
24741 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24742 * sysdeps/mach/hurd/ppoll.c: Likewise.
24743 * io/ppoll.c: Likewise.
24744 * debug/poll_chk.c: New file.
24745 * debug/ppoll_chk.c: New file.
24746 * include/bits/poll2.h: New file.
24747 * io/bits/poll2.h: New file.
24748
ac097f5c
UD
24749 [BZ #1350]
24750 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24751
2119dcfa
UD
24752 * configure.in: static is always set to yes. Remove.
24753 * config.make.in: Don't set build-static.
24754 * Makeconfig: Remove use of build-static.
24755 * dlfcn/Makefile: Likewise.
24756 * elf/Makefile: Likewise.
24757 * math/Makefile: Likewise.
24758 * misc/Makefile: Likewise.
24759 * nptl/Makefile: Likewise.
24760 * sysdeps/mach/hurd/Makefile: Likewise.
24761
121766a9
UD
24762 * configure.in: PWD_P is not used anymore.
24763 * config.make.in: Remove PWD_P entry.
24764
51a1d39c 24765 * configure.in: Remove last remnants of RANLIB.
8720d066 24766 No need to check for signed size_t anymore.
215f4bdc
UD
24767 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24768 and IA-64.
3857022a 24769 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
24770 * aclocal.m4: Likewise.
24771
d3ed7225
UD
24772 * wcsmbs/mbrtoc16.c: Implement using towc function.
24773 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24774 * wcsmbs/wcsmbsload.c: Likewise.
24775 * iconv/gconv_simple.c: Likewise.
24776 * iconv/gconv_int.h: Likewise.
24777 * iconv/gconv_builtin.h: Likewise.
24778 * iconv/iconv_prog.c: Remove CHAR16 handling.
24779
24780 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24781
24782 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24783
a0da5fe1
UD
24784 * configure.in: Remove --with-elf and --enable-bounded options.
24785 Dont set base_machine for ia64. More non-ELF conditions removed.
24786 Remove testing and setting of leading underscore information.
24787 * config.make.in (build-bounded): Set to no.
24788 * config.h.in: Remove NO_UNDERSCORES entry.
24789 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24790 them.
24791 * csu/start.c: Remove !NO_UNDERSCORE code.
24792 * locale/localeinfo.h: Likewise.
24793 * sysdeps/generic/machine-gmon.h: Likewise.
24794 * sysdeps/generic/sysdep.h: Likewise.
24795 * sysdeps/i386/sysdep.h: Likewise.
24796 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24797 * sysdeps/mach/sysdep.h: Likewise.
24798 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24799 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24800 * sysdeps/sh/sysdep.h: Likewise.
24801 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24802 * sysdeps/unix/i386/sysdep.S: Likewise.
24803 * sysdeps/unix/sparc/start.c: Likewise.
24804 * sysdeps/unix/sparc/sysdep.S: Likewise.
24805 * sysdeps/unix/sparc/sysdep.h: Likewise.
24806 * sysdeps/unix/start.c: Likewise.
24807 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24808 * sysdeps/x86_64/sysdep.h: Likewise.
24809
df78418a
UD
248102012-01-07 Ulrich Drepper <drepper@gmail.com>
24811
a784e502
UD
24812 [BZ #13553]
24813 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24814 for non-gcc.
24815 * argp/argp-fmtstream.h: Use const instead __const.
24816 * argp/argp.h: Likewise.
24817 * assert/assert.h: Likewise.
24818 * bits/fenv.h: Likewise.
24819 * bits/sched.h: Likewise.
24820 * bits/sigset.h: Likewise.
24821 * bits/sigthread.h: Likewise.
24822 * catgets/nl_types.h: Likewise.
24823 * conform/data/pthread.h-data: Likewise.
24824 * crypt/crypt-private.h: Likewise.
24825 * crypt/crypt.h: Likewise.
24826 * crypt/crypt_util.c: Likewise.
24827 * ctype/ctype.h: Likewise.
24828 * debug/execinfo.h: Likewise.
24829 * debug/mbsnrtowcs_chk.c: Likewise.
24830 * debug/mbsrtowcs_chk.c: Likewise.
24831 * debug/wcsnrtombs_chk.c: Likewise.
24832 * debug/wcsrtombs_chk.c: Likewise.
24833 * debug/wcstombs_chk.c: Likewise.
24834 * dirent/dirent.h: Likewise.
24835 * dlfcn/dlfcn.h: Likewise.
24836 * elf/neededtest4.c: Likewise.
24837 * grp/grp.h: Likewise.
24838 * gshadow/gshadow.h: Likewise.
24839 * iconv/gconv.h: Likewise.
24840 * iconv/gconv_int.h: Likewise.
24841 * iconv/gconv_simple.c: Likewise.
24842 * iconv/iconv.h: Likewise.
24843 * iconv/loop.c: Likewise.
24844 * iconv/skeleton.c: Likewise.
24845 * include/aio.h: Likewise.
24846 * include/aliases.h: Likewise.
24847 * include/argz.h: Likewise.
24848 * include/arpa/inet.h: Likewise.
24849 * include/assert.h: Likewise.
24850 * include/dirent.h: Likewise.
24851 * include/dlfcn.h: Likewise.
24852 * include/execinfo.h: Likewise.
24853 * include/fcntl.h: Likewise.
24854 * include/fenv.h: Likewise.
24855 * include/glob.h: Likewise.
24856 * include/grp.h: Likewise.
24857 * include/libintl.h: Likewise.
24858 * include/mntent.h: Likewise.
24859 * include/netdb.h: Likewise.
24860 * include/pwd.h: Likewise.
24861 * include/rpc/netdb.h: Likewise.
24862 * include/sched.h: Likewise.
24863 * include/search.h: Likewise.
24864 * include/shadow.h: Likewise.
24865 * include/signal.h: Likewise.
24866 * include/stdio.h: Likewise.
24867 * include/stdlib.h: Likewise.
24868 * include/string.h: Likewise.
24869 * include/sys/socket.h: Likewise.
24870 * include/sys/stat.h: Likewise.
24871 * include/sys/statfs.h: Likewise.
24872 * include/sys/statvfs.h: Likewise.
24873 * include/sys/syslog.h: Likewise.
24874 * include/sys/time.h: Likewise.
24875 * include/sys/uio.h: Likewise.
24876 * include/time.h: Likewise.
24877 * include/unistd.h: Likewise.
24878 * include/utmp.h: Likewise.
24879 * include/wchar.h: Likewise.
24880 * include/wctype.h: Likewise.
24881 * inet/aliases.h: Likewise.
24882 * inet/arpa/inet.h: Likewise.
24883 * inet/netinet/ether.h: Likewise.
24884 * inet/netinet/in.h: Likewise.
24885 * intl/libintl.h: Likewise.
24886 * io/bits/fcntl2.h: Likewise.
24887 * io/fcntl.h: Likewise.
24888 * io/ftw.h: Likewise.
24889 * io/sys/poll.h: Likewise.
24890 * io/sys/stat.h: Likewise.
24891 * io/sys/statfs.h: Likewise.
24892 * io/sys/statvfs.h: Likewise.
24893 * io/utime.h: Likewise.
24894 * libio/bits/stdio.h: Likewise.
24895 * libio/bits/stdio2.h: Likewise.
24896 * libio/libio.h: Likewise.
24897 * libio/libioP.h: Likewise.
24898 * libio/stdio.h: Likewise.
24899 * locale/lc-ctype.c: Likewise.
24900 * locale/locale.h: Likewise.
24901 * login/utmp.h: Likewise.
24902 * malloc/arena.c: Likewise.
24903 * malloc/malloc.c: Likewise.
24904 * malloc/malloc.h: Likewise.
24905 * malloc/mcheck.c: Likewise.
24906 * malloc/mtrace.c: Likewise.
24907 * math/bits/mathcalls.h: Likewise.
24908 * math/fenv.h: Likewise.
24909 * math/math_private.h: Likewise.
24910 * misc/bits/error.h: Likewise.
24911 * misc/bits/syslog.h: Likewise.
24912 * misc/err.h: Likewise.
24913 * misc/error.h: Likewise.
24914 * misc/fstab.h: Likewise.
24915 * misc/mntent.h: Likewise.
24916 * misc/regexp.h: Likewise.
24917 * misc/search.h: Likewise.
24918 * misc/sgtty.h: Likewise.
24919 * misc/sys/mman.h: Likewise.
24920 * misc/sys/syslog.h: Likewise.
24921 * misc/sys/uio.h: Likewise.
24922 * misc/sys/xattr.h: Likewise.
24923 * misc/ttyent.h: Likewise.
24924 * nis/rpcsvc/ypclnt.h: Likewise.
24925 * nss/nss.h: Likewise.
24926 * posix/bits/unistd.h: Likewise.
24927 * posix/fnmatch.h: Likewise.
24928 * posix/glob.h: Likewise.
24929 * posix/sched.h: Likewise.
24930 * posix/spawn.h: Likewise.
24931 * posix/sys/wait.h: Likewise.
24932 * posix/unistd.h: Likewise.
24933 * posix/wordexp.h: Likewise.
24934 * pwd/pwd.h: Likewise.
24935 * resolv/netdb.h: Likewise.
24936 * resource/sys/resource.h: Likewise.
24937 * rt/aio.h: Likewise.
24938 * rt/bits/mqueue2.h: Likewise.
24939 * rt/mqueue.h: Likewise.
24940 * shadow/shadow.h: Likewise.
24941 * signal/signal.h: Likewise.
24942 * socket/send.c: Likewise.
24943 * socket/sendto.c: Likewise.
24944 * socket/sys/socket.h: Likewise.
24945 * stdio-common/printf.h: Likewise.
24946 * stdlib/bits/stdlib.h: Likewise.
24947 * stdlib/fmtmsg.h: Likewise.
24948 * stdlib/monetary.h: Likewise.
24949 * stdlib/stdlib.h: Likewise.
24950 * stdlib/ucontext.h: Likewise.
24951 * streams/stropts.h: Likewise.
24952 * string/argz.h: Likewise.
24953 * string/bits/string2.h: Likewise.
24954 * string/string.h: Likewise.
24955 * string/strings.h: Likewise.
24956 * sunrpc/rpc/auth.h: Likewise.
24957 * sunrpc/rpc/auth_des.h: Likewise.
24958 * sunrpc/rpc/clnt.h: Likewise.
24959 * sunrpc/rpc/netdb.h: Likewise.
24960 * sunrpc/rpc/pmap_clnt.h: Likewise.
24961 * sunrpc/rpc/xdr.h: Likewise.
24962 * sysdeps/generic/inttypes.h: Likewise.
24963 * sysdeps/generic/net/if.h: Likewise.
24964 * sysdeps/generic/sys/swap.h: Likewise.
24965 * sysdeps/gnu/net/if.h: Likewise.
24966 * sysdeps/gnu/utmpx.h: Likewise.
24967 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
24968 * sysdeps/i386/i486/bits/string.h: Likewise.
24969 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
24970 * sysdeps/s390/bits/string.h: Likewise.
24971 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
24972 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
24973 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24974 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
24975 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
24976 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
24977 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
24978 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
24979 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
24980 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24981 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
24982 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24983 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
24984 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24985 * sysdeps/unix/sysv/linux/readv.c: Likewise.
24986 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
24987 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24988 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24989 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24990 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24991 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24992 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
24993 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
24994 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
24995 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
24996 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
24997 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
24998 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24999 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25000 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25001 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25002 * sysvipc/sys/ipc.h: Likewise.
25003 * sysvipc/sys/msg.h: Likewise.
25004 * sysvipc/sys/sem.h: Likewise.
25005 * sysvipc/sys/shm.h: Likewise.
25006 * termios/termios.h: Likewise.
25007 * time/sys/time.h: Likewise.
25008 * time/time.h: Likewise.
25009 * wcsmbs/bits/wchar2.h: Likewise.
25010 * wcsmbs/uchar.h: Likewise.
25011 * wcsmbs/wchar.h: Likewise.
25012 * wctype/wctype.h: Likewise.
25013
0269750c
UD
25014 [BZ #13551]
25015 * Makeconfig: Remove all but ELF support including AIX support.
25016 * Makerules: Likewise.
25017 * config.h.in: Likewise.
25018 * config.make.in: Likewise.
25019 * configure: Likewise.
25020 * configure.in: Likewise.
25021 * csu/Makefile: Likewise.
25022 * csu/version.c: Likewise.
25023 * debug/Makefile: Likewise.
25024 * dlfcn/Makefile: Likewise.
25025 * elf/Makefile: Likewise.
25026 * extra-lib.mk: Likewise.
25027 * iconv/Makefile: Likewise.
25028 * include/libc-symbols.h: Likewise.
25029 * include/shlib-compat.h: Likewise.
25030 * resolv/Makefile: Likewise.
25031 * resolv/res_libc.c: Likewise.
25032 * rt/Makefile: Likewise.
25033 * sysdeps/i386/asm-syntax.h: Likewise.
25034 * sysdeps/i386/sysdep.h: Likewise.
25035 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25036 * sysdeps/mach/sysdep.h: Likewise.
25037 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25038 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25039 * sysdeps/s390/asm-syntax.h: Likewise.
25040 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25041 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25042 * sysdeps/sh/sysdep.h: Likewise.
25043 * sysdeps/unix/sparc/sysdep.h: Likewise.
25044 * sysdeps/wordsize-32/divdi3.c: Likewise.
25045 * sysdeps/x86_64/sysdep.h: Likewise.
25046
00bbd29b
UD
25047 * argp/Versions: Remove _argp_unlock_xxx.
25048
25049 [BZ #13559]
25050 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25051 * abilist/libBrokenLocale.abilist: Likewise.
25052 * abilist/libanl.abilist: Likewise.
25053 * abilist/libc.abilist: Likewise.
25054 * abilist/libcrypt.abilist: Likewise.
25055 * abilist/libdl.abilist: Likewise.
25056 * abilist/libm.abilist: Likewise.
25057 * abilist/libnsl.abilist: Likewise.
25058 * abilist/libpthread.abilist: Likewise.
25059 * abilist/libresolv.abilist: Likewise.
25060 * abilist/librt.abilist: Likewise.
25061 * abilist/libthread_db.abilist: Likewise.
25062 * abilist/libutil.abilist: Likewise.
25063 * abilist/libnss_db.abilist: New file.
25064
25065 * scripts/abilist.awk: Add support for indirect functions.
25066
a2693a0e
UD
25067 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25068
3f05895f
UD
25069 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25070
ecb6fb48
UD
25071 * shlib-versions: Remove entries for ports architectures.
25072
664f8cb9
UD
25073 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25074 files in ports.
25075 * elf/stackguard-macros.h: Remove support for IA-64.
25076 * elf/tst-auditmod1.c: Likewise.
25077 * sysdeps/generic/ldsodefs.h: Likewise.
25078
7ae81d88
UD
25079 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25080 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25081 configure files.
25082
bdeba135
UD
25083 [BZ #13552]
25084 * configure.in: Remove --enable-omitfp support.
25085 * FAQ.in: Adjust.
25086 * config.make.in: Likewise.
25087 * Makeconfig: Likewise.
25088 * manual/install.texi: Likewise.
25089
d75a0a62
UD
25090 In case anyone cares, the IA-64 architecture could move to ports.
25091 * sysdeps/ia64/*: Removed.
25092 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 25093 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 25094
dcc9756b
UD
25095 [BZ #13555]
25096 * configure.in: Remove entries for unsupported architectures.
25097
d3761ebc 25098 [BZ #13533]
9954432e
UD
25099 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25100 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25101 routines.
25102 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25103 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25104 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25105 fall back to using wcrtomb.
25106 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25107 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25108 renaming.
25109 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25110 * wcsmbs/tst-c16c32-1.c: New file.
25111
25112 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25113 local variable.
25114
c3a87236
UD
25115 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25116
28926a1b
UD
25117 * elf/tst-unique3.cc: Add explicit declaration of gets.
25118 * elf/tst-unique3lib.cc: Likewise.
25119 * elf/tst-unique3lib2.cc: Likewise.
25120 * elf/tst-unique4.cc: Likewise.
25121
df78418a
UD
25122 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25123
8ecd6b2a
JM
251242012-01-06 Joseph Myers <joseph@codesourcery.com>
25125
25126 [BZ #13566]
25127 * assert/assert.h (static_assert): Don't define for C++.
25128 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25129 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25130
9f115170
UD
251312012-01-03 Ulrich Drepper <drepper@gmail.com>
25132
5e0d0300
UD
25133 * iconv/loop.c (single loop): Fix assertion in storing of
25134 remaining bytes.
25135
9f115170
UD
25136 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25137
81fb02b0
UD
251382012-01-01 Ulrich Drepper <drepper@gmail.com>
25139
25140 * posix/getconf.c: Update copyright year.
25141 * nss/getent.c: Likewise.
a316c1f6 25142 * nss/makedb.c: Likewise.
81fb02b0
UD
25143 * iconv/iconvconfig.c: Likewise.
25144 * iconv/iconv_prog.c: Likewise.
25145 * elf/ldconfig.c: Likewise.
a316c1f6
UD
25146 * elf/pldd.c: Likewise.
25147 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
25148 * catgets/gencat.c: Likewise.
25149 * csu/version.c: Likewise.
25150 * elf/ldd.bash.in: Likewise.
25151 * elf/sprof.c (print_version): Likewise.
25152 * locale/programs/locale.c: Likewise.
25153 * locale/programs/localedef.c: Likewise.
a316c1f6 25154 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
25155 * nscd/nscd.c (print_version): Likewise.
25156 * debug/xtrace.sh: Likewise.
25157 * malloc/memusage.sh: Likewise.
25158 * malloc/mtrace.pl: Likewise.
25159 * debug/catchsegv.sh: Likewise.
25160
2ba92745
JJ
251612011-12-30 Jakub Jelinek <jakub@redhat.com>
25162
25163 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25164 pure attribute.
25165
dadebdae
UD
251662011-12-24 Ulrich Drepper <drepper@gmail.com>
25167
d3761ebc 25168 [BZ #13533]
db6af3eb
UD
25169 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25170 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25171 transformations.
25172 * iconv/gconv_int.h: Likewise.
25173 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25174 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25175 from libc for GLIBC_2.16.
25176 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25177 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25178 * wcsmbs/uchar.h: Really define mbstate_t.
25179 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25180 * wcsmbs/c16rtomb.c: New file.
25181 * wcsmbs/mbrtoc16.c: New file.
25182 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25183 for C/POSIX locale.
25184 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25185 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25186
dadebdae
UD
25187 * wcsmbs/wchar.h: Add missing __restrict.
25188
67371b56
UD
251892011-12-23 Ulrich Drepper <drepper@gmail.com>
25190
74033a25
UD
25191 [BZ #13532]
25192 * time/Makefile (routines): Add timespec_get.
25193 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25194 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25195 timespec for ISO C11.
25196 * time/timespec_get.c: New file.
25197 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25198 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25199
380d7e87
UD
25200 [BZ #13531]
25201 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25202 * stdlib/stdlib.h: Declare aligned_alloc.
25203 * Versions.def: Add GLIBC_2.16 for libc.
25204 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25205
4e9e7a35
UD
25206 [BZ 13527]
25207 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25208 ISO C11.
25209
380d7e87 25210 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
25211 code.
25212
03a71829
UD
25213 [BZ #13528]
25214 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25215
839e283e
UD
25216 [BZ #13529]
25217 * assert/assert.h (static_assert): Define.
25218
ce5294e2 25219 * version.h: Update for 2.16 development version.
90fa7312 25220
8d44e150 25221 [BZ #13526]
d7809905
UD
25222 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25223 _ISOC11_SOURCE.
25224
c0da14cd
UD
25225 * version.h (RELEASE): Bump for 2.15 release.
25226 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25227
530a3249
MP
25228 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25229 Patch by Marek Polacek <mpolacek@redhat.com>.
25230
67371b56
UD
25231 * bits/byteswap.h: Protect long long constants with __extension__.
25232 * sysdeps/i386/bits/byteswap.h: Likewise.
25233 * sysdeps/ia64/bits/byteswap.h: Likewise.
25234 * sysdeps/s390/bits/byteswap.h: Likewise.
25235 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25236
15db4de1
LD
252372011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25238
25239 [BZ #13540]
bbe315ea
LD
25240 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25241 destination buffer.
15db4de1
LD
25242 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25243
2b2596b1
MP
252442011-12-23 Marek Polacek <polacek@redhat.com>
25245
25246 * elf/dl-addr.c (determine_info): Add inline keyword.
25247 * elf/tst-auditmod4b.c (check_avx): Likewise.
25248 * elf/tst-auditmod6b.c (check_avx): Likewise.
25249 * elf/tst-auditmod6c.c (check_avx): Likewise.
25250 * elf/tst-auditmod7b.c (check_avx): Likewise.
25251
70c6c246
UD
252522011-12-23 Ulrich Drepper <drepper@gmail.com>
25253
25254 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25255 !__SSE_MATH__.
25256
c044cf14
LD
252572011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25258
15db4de1 25259 [BZ #13540]
c044cf14
LD
25260 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25261 processing for last bytes.
25262
6b13d9d9
BH
252632011-08-06 Bruno Haible <bruno@clisp.org>
25264
d455f537
BH
25265 [BZ #13061]
25266 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25267 U+0385, not to U+1FEE.
25268
6b13d9d9
BH
25269 [BZ #13062]
25270 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25271 entry for U+00A5 U+0301.
25272
db910efd
UD
252732011-12-22 Ulrich Drepper <drepper@gmail.com>
25274
27deeafc
UD
25275 [BZ #13166]
25276 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25277 buffer for the output is too small.
25278
aed9d171
UD
25279 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25280 optimization.
25281
db910efd
UD
25282 [BZ #13185]
25283 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25284 SSE flags if possible.
25285
2bd779ae
LD
252862011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25287
e7f9dac3 25288 [BZ #13540]
2bd779ae
LD
25289 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25290 processing for last bytes.
25291
154bfc16
JM
252922011-12-22 Joseph Myers <joseph@codesourcery.com>
25293
25294 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25295 (syscall-list-default-options, syscall-list-default-condition)
25296 (syscall-list-includes): Define.
25297 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25298 list of ABIs and options and #if conditions for each ABI. Do not
25299 handle common syscalls between ABIs specially.
25300 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25301 Remove.
25302 (syscall-list-variants, syscall-list-32bit-options)
25303 (syscall-list-32bit-condition, syscall-list-64bit-options)
25304 (syscall-list-64bit-condition): Define.
25305 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25306 (syscall-list-variants, syscall-list-32bit-options)
25307 (syscall-list-32bit-condition, syscall-list-64bit-options)
25308 (syscall-list-64bit-condition): Define.
25309 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25310 Remove.
25311 (syscall-list-variants, syscall-list-32bit-options)
25312 (syscall-list-32bit-condition, syscall-list-64bit-options)
25313 (syscall-list-64bit-condition): Define.
25314 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25315 Remove.
25316 (syscall-list-variants, syscall-list-32bit-options)
25317 (syscall-list-32bit-condition, syscall-list-64bit-options)
25318 (syscall-list-64bit-condition): Define.
25319
21eaf3a5
UD
253202011-12-22 Ulrich Drepper <drepper@gmail.com>
25321
16c6f992
UD
25322 * locale/iso-639.def: Add brx entry.
25323
41043168
UD
25324 [BZ #13328]
25325 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25326 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25327
21eaf3a5
UD
25328 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25329 __feraiseexcept_renamed.
25330
e3a851a2
UD
253312011-12-21 Ulrich Drepper <drepper@gmail.com>
25332
4920765e
UD
25333 [BZ #13538]
25334 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25335 EPOLLET with unsigned values.
25336 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25337 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25338
e3a851a2
UD
25339 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25340 to large cancellation.
25341 * math/s_cacoshf.c: Likewise.
25342 * math/s_cacoshl.c: Likewise.
25343
b27e24b8
RK
253442011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25345
25346 [BZ #13305]
aebefeee 25347 [BZ #12786]
b27e24b8
RK
25348 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25349 * math/s_cacoshf.c: Likewise.
25350 * math/s_cacoshl.c: Likewise.
25351
ee190f67
UD
253522011-12-21 Ulrich Drepper <drepper@gmail.com>
25353
25354 [BZ #13439]
25355 * iconv/gconv.h: Define __GCONV_SWAP.
25356 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25357 * iconvdata/utf-16.c: Likewise.
25358 * iconvdata/utf-32.c: Likewise.
25359
707f25df
AS
253602011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25361
25362 [BZ #13524]
25363 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25364 numerator after shifting it by one limb.
25365
d2daaa1e
RÁE
253662011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25367
25368 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25369 under [__USE_EXTERN_INLINES].
25370
a4647e72
UD
253712011-12-17 Ulrich Drepper <drepper@gmail.com>
25372
25373 [BZ #13446]
25374 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25375
f0b264f1
AZ
253762011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25377
25378 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25379 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25380 optimized code.
25381 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25382 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25383 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25384 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25385 for strncasecmp/strncasecmp_l compilation.
25386 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25387 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25388
8ef4f244
MP
253892011-12-08 Marek Polacek <mpolacek@redhat.com>
25390
25391 [BZ #13484]
25392 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25393 of __asm__.
25394
97ac2654
UD
253952011-12-17 Ulrich Drepper <drepper@gmail.com>
25396
25397 [BZ #13506]
25398 * time/tzfile.c (__tzfile_read): Check values from file header.
25399
91d2a845
WS
254002011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25401
25402 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25403 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25404 * powerpc/powerpc32/dl-start.S: Likewise.
25405 * powerpc/powerpc32/elf/start.S: Likewise.
25406 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25407 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25408 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25409 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25410 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25411 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25412 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25413 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25414 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25415 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25416 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25417 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25418 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25419 * powerpc/powerpc32/memset.S: Likewise.
25420 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25421 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25422 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25423 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25424 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25425 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25426 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25427 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25428 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25429 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25430 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25431 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25432 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25433
a1267ba1
AZ
254342011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25435
25436 * math/libm-test.inc: Added more nearbyint tests.
25437 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25438 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25439 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25440 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25441
ad8ac1bd
RL
254422011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25443
25444 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25445 FD_CLOEXEC.
25446
1d3e4b61
UD
254472011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25448
25449 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25450 Add wcscpy-ssse3 wcscpy-c.
25451 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25452 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25453 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25454 * sysdeps/x86_64/wcschr.S: New file.
25455 * sysdeps/x86_64/wcsrchr.S: New file.
25456 * string/test-strcmp.c: Remove checking of wcscmp function for
25457 wrong alignments.
25458 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25459 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25460 wcsrchr-sse2 wcsrchr-c.
25461 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25462 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25463 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25464 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25465 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25466 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25467 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25468 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25469 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25470 * wcsmbc/wcschr.c (WCSCHR): New macro.
25471
5b330a2d
UD
254722011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25473
25474 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25475 * wcsmbs/test-wcsrchr.c: New file.
25476 * string/test-strrchr.c: Add wcsrchr support.
25477 (WIDE): New macro.
25478 * wcsmbs/test-wcscpy.c: New file.
25479 * string/test-strcpy.c: Add wcscpy support.
25480 (WIDE): New macro.
26428b7c 25481
f039c043
UD
254822011-12-10 Ulrich Drepper <drepper@gmail.com>
25483
25484 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25485 the inner loop.
25486
850fb039
AS
254872011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25488
25489 [BZ #13472]
25490 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25491
4efbd5cb
UD
254922011-12-04 Ulrich Drepper <drepper@gmail.com>
25493
52ff5dd0 25494 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 25495 Minor optimizations.
52ff5dd0 25496
4efbd5cb
UD
25497 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25498 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25499 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25500
8a426e12
UD
255012011-12-03 Ulrich Drepper <drepper@gmail.com>
25502
aff2453d
UD
25503 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25504 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25505 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25506 for gcc to avoid warnings.
25507 * inet/Makefile (tests): Add tst-checks.
25508 * inet/tst-checks.c: New file.
25509
25510 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25511 warning.
25512
25513 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25514 __wmemcmp_sse2.
25515
25516 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25517 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25518
8a426e12
UD
25519 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25520
9bea3473
UD
255212011-12-02 Ulrich Drepper <drepper@gmail.com>
25522
3a965496
UD
25523 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25524 problem.
25525
9bea3473
UD
25526 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25527
f101631b
UD
255282011-11-29 Joseph Myers <joseph@codesourcery.com>
25529
25530 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25531 conditional on GCC version.
25532 (__arch_compare_and_exchange_val_8_acq)
25533 (__arch_compare_and_exchange_val_16_acq)
25534 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25535 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25536 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25537
a98275aa
UD
255382011-12-02 Joseph Myers <joseph@codesourcery.com>
25539
25540 * sysdeps/sh/backtrace.c: New file.
25541
d4cc29a2
AS
255422011-12-02 Andreas Schwab <schwab@redhat.com>
25543
25544 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25545 parenthesis.
25546
6257af2d
AS
255472011-12-01 Andreas Schwab <schwab@redhat.com>
25548
25549 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25550 falling back to utime.
25551
b5f44c1a
AS
255522011-11-30 Andreas Schwab <schwab@redhat.com>
25553
25554 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25555 expectations for float.
25556
f3a6cc0a
AS
255572011-11-29 Andreas Schwab <schwab@redhat.com>
25558
25559 * locale/weight.h (findidx): Add parameter len.
25560 * locale/weightwc.h (findidx): Likewise.
25561 * posix/fnmatch_loop.c (FCT): Adjust caller.
25562 * posix/regcomp.c (build_equiv_class): Likewise.
25563 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25564 * posix/regexec.c (check_node_accept_bytes): Likewise.
25565 * string/strcoll_l.c (STRCOLL): Likewise.
25566 * string/strxfrm_l.c (STRXFRM): Likewise.
25567
9d65ea3a
UD
255682011-11-17 Ulrich Drepper <drepper@gmail.com>
25569
25570 * Makefile.in: Remove CVSOPT handling.
25571 * configure.in: Remove use of AC_REVISION.
25572 * iconvdata/Makefile (distribute): No need to filter out CVS.
25573 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25574 handling.
25575
5583a086
AS
255762011-11-16 Andreas Schwab <schwab@redhat.com>
25577
25578 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25579 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25580 [USE_AS_STRNCASECMP_L]: Likewise.
25581 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25582 NO_TLS_DIRECT_SEG_REFS.
25583 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25584 Fix argument offsets for non-PIC.
25585 [USE_AS_STRNCASECMP_L]: Likewise.
25586 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25587 NO_TLS_DIRECT_SEG_REFS.
25588
d62a8200
UD
255892011-11-15 Ulrich Drepper <drepper@gmail.com>
25590
9d65ea3a 25591 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
25592 O_CLOEXEC.
25593 * locale/loadlocale.c (_nl_load_locale): Likewise.
25594
09f93bd3
AS
255952011-11-15 Andreas Schwab <schwab@redhat.com>
25596
446514f9
AS
25597 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25598 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25599 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25600 (SYSCALL_GETTIME): Set errno on error.
25601
09f93bd3
AS
25602 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25603 count references to noai6ai_cached.
25604
312be3f9
UD
256052011-11-15 Ulrich Drepper <drepper@gmail.com>
25606
25607 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25608
25609 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25610 FD_CLOEXEC for /proc/self/maps.
25611
25612 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25613 FD_CLOEXEC for /proc/meminfo.
25614
25615 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25616 gai.conf.
25617
25618 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25619 FD_CLOEXEC for given file.
25620
25621 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25622
25623 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25624 FD_CLOEXEC for /etc/hosts.
25625 (_gethtent): Likewise.
25626
25627 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25628
25629 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25630 cancellation and set FD_CLOEXEC for /etc/netgroup.
25631
25632 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25633 reading /etc/publickey.
25634
25635 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25636 allow cancellation when reading /etc/group.
25637
25638 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25639 cancellation.
25640 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25641
25642 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25643 when using data file.
25644
25645 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25646
25647 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25648 (write_nis_obj): Use "c" and "e" in fopen.
25649
25650 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25651
25652 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25653
25654 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25655
25656 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25657
25658 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25659 locale.alias.
25660
25661 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25662
25663 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25664
25665 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25666
25667 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25668 file parsing and set FD_CLOEXEC.
25669
82af0fa8
UD
256702011-11-14 Ulrich Drepper <drepper@gmail.com>
25671
25672 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25673
a5fb313c
AS
256742011-11-14 Andreas Schwab <schwab@redhat.com>
25675
25676 * malloc/arena.c (arena_get2): Don't call reused_arena when
25677 _int_new_arena failed.
25678
6abf3465
UD
256792011-11-14 Ulrich Drepper <drepper@gmail.com>
25680
25681 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25682 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25683 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25684 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25685 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25686 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25687 to compile strcasecmp and strncasecmp.
25688 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25689 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25690
25691 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25692
76e3966e
UD
256932011-11-13 Ulrich Drepper <drepper@gmail.com>
25694
25695 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25696 locale-defines.sym to gen-as-const-headers.
25697 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25698 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25699 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25700 to compile strcasecmp and strncasecmp.
25701 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25702 strcasecmp_l and strncasecmp_l.
25703 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25704 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25705 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25706 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25707 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25708 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25709 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25710 * sysdeps/i386/i686/multiarch/strncase.S: New file.
25711 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25712 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25713 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25714
ab26144e
UD
257152011-11-12 Ulrich Drepper <drepper@gmail.com>
25716
7edb22ef
UD
25717 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25718 result of SYSDEP_GETTIME_CPU to retval.
25719 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25720 parameter list to macro. Remove trailing semicolon. Adjust users.
25721
9694fc44
UD
25722 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25723 variable.
25724
8ad89ef8
UD
25725 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25726 mantissa words.
25727 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25728
0c822ef9
UD
25729 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25730 from unused variable.
25731
874e0564
UD
25732 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25733 DWARF definitions.
25734 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25735 for assembling.
25736
3a2edc79
UD
25737 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25738 over namespaces.
25739
f3c2577f
UD
25740 * sunrpc/rpc_prot.c (rejected): Fix case value.
25741
294ce126
UD
25742 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25743 unsigned long long int to avoid warnings in shift.
25744
5e2b63c6
UD
25745 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25746 of use of trans.
25747 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25748 variable tmp.
25749
e7f4b08e
UD
25750 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25751 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25752 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25753
ab26144e
UD
25754 * nis/nis_table.c (nis_list): Use variable of correct type for
25755 result of __follow_path call.
25756
8a6d5255
AZ
257572011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25758
25759 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25760 of math functions ceil, trunc, floor, round, and sqrt, when
25761 avaliable on the platform.
25762 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25763 name clash.
25764 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25765 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25766 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25767
aaddc98c
MP
257682011-10-30 Marek Polacek <mpolacek@redhat.com>
25769
25770 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25771 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25772
95b7042b
RM
257732011-11-11 Roland McGrath <roland@hack.frob.com>
25774
25775 * include/unistd.h: Fix __readlink return type.
25776 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25777
57769839
UD
257782011-11-11 Ulrich Drepper <drepper@gmail.com>
25779
25780 * stdlib/ucontext.h: Undo last change for makecontext.
25781
edc5984d
AS
257822011-11-11 Andreas Schwab <schwab@redhat.com>
25783
98591e58
AS
25784 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25785
edc5984d
AS
25786 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25787 * setjmp/setjmp.h: Mark functions as non-leaf.
25788 * setjmp/bits/setjmp2.h: Likewise.
25789 * stdlib/ucontext.h: Likewise.
25790
77cdc054
AS
257912011-11-10 Andreas Schwab <schwab@redhat.com>
25792
25793 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25794 (reused_arena): Don't check arena limit.
25795 (arena_get2): Atomically check arena limit.
25796
fe72eebd
UD
257972011-11-08 Ulrich Drepper <drepper@gmail.com>
25798
5f078c32
UD
25799 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25800 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25801
fe72eebd
UD
25802 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25803 instructions.
25804
ae1bc2fa
AS
258052011-11-07 Andreas Schwab <schwab@redhat.com>
25806
7583a88d
AS
25807 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25808 handler when locking.
25809
ae1bc2fa
AS
25810 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25811 Fix size of allocated buffer.
25812
10fb0bfa
AS
258132011-11-04 Andreas Schwab <schwab@redhat.com>
25814
998832a4
AS
25815 [BZ #10103]
25816 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25817 declarations for long double functions.
25818 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25819
10fb0bfa
AS
25820 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25821
3d7ba52b
AS
258222011-11-03 Andreas Schwab <schwab@redhat.com>
25823
a9ae54a1
AS
25824 * nscd/nscd.c (main): Don't start AVC thread until credentials are
25825 installed.
25826
3d7ba52b
AS
25827 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25828 is disabled.
25829
bc8db248
ST
258302011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
25831
25832 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25833
45b96dd6
AS
258342011-11-01 Andreas Schwab <schwab@linux-m68k.org>
25835
647776f6
AS
25836 * include/alloca.h (stackinfo_alloca_round): Define.
25837 (extend_alloca): Use it.
25838 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25839 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25840 here.
25841
d91a8b93
AS
25842 * scripts/check-local-headers.sh: Ignore libaudit.h.
25843
45b96dd6
AS
25844 * nscd/Makefile (extra-objs): Make recursively expanded.
25845
432d41ce
UD
258462011-11-01 Ulrich Drepper <drepper@gmail.com>
25847
34372fc6
UD
25848 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25849 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25850
fadb59f8
UD
25851 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25852 * posix/tst-rfc3484-2.c: Likewise.
25853 * posix/tst-rfc3484-3.c: Likewise.
25854
78239589
UD
25855 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25856 process_vm_writev.
25857 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25858 process_vm_writev.
25859 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25860 process_vm_writev from libc using GLIBC_2.15 version.
25861
432d41ce
UD
25862 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25863
02f9c6cf
PP
258642011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
25865
25866 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25867 stack usage.
25868
3a2c0242
UD
258692011-10-31 Ulrich Drepper <drepper@gmail.com>
25870
f4ec4833
UD
25871 [BZ #13367]
25872 * nss/getent.c (initgroups_keys): Show error message in case no group
25873 names are given.
25874
3a2c0242
UD
25875 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25876 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25877 __bump_nl_timestamp.
25878 * nscd/connections (nscd_init): When host database is served open
25879 netlink socket and request notification about configuration changes.
25880 (main_loop_poll): Track netlink file descriptor and bump timestamp
25881 in case data becomes available.
25882 (main_loop_epoll): Likewise.
25883 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25884 (database_pers_head): Add extra_data fileds.
25885 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25886 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25887 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25888 Adjust caller.
25889 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25890 in6ai data, call __free_in6ai.
25891 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25892 Add -DHAVE_NETLINK.
25893 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
25894 interface information. Reuse previous data if netlink timestamp
25895 is not changed.
25896 (__bump_nl_timestamp): New function.
25897 (__free_in6ai): New function.
25898
636064eb
UD
258992011-10-30 Ulrich Drepper <drepper@gmail.com>
25900
25901 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25902 close_not_cancel_no_status here.
25903 (__check_pf): Reorganize code a bit to not call close twice if OOM.
25904
9beb2334
UD
259052011-10-29 Ulrich Drepper <drepper@gmail.com>
25906
6ef76f3b
UD
25907 [BZ #13276]
25908 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25909 return value.
25910
0ffc4f3e 25911 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
25912 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25913 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25914
cb95113e
UD
259152011-07-03 Andreas Jaeger <aj@suse.de>
25916
25917 [BZ #10709]
25918 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25919 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25920 * math/libm-test.inc (sin_test): Add test case.
25921
a1b560ff
UD
259222011-10-29 Ulrich Drepper <drepper@gmail.com>
25923
c9aaface
UD
25924 [BZ #13337]
25925 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25926 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25927
d272e7f1
UD
25928 * elf/chroot_canon.c (chroot_canon): Cleanups.
25929
1bc33071
UD
25930 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25931
1760874d
TJ
25932 [BZ #13335]
25933 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25934 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25935
51d91b18
UD
25936 * string/test-strchr.c: Make usable for strchrnul testing.
25937 * string/test-strchrnul.c: New file.
25938 * string/Makefile (strop-tests): Add strchrnul.
25939
a1b560ff 25940 * po/it.po: Update from translation team.
b611fb81 25941 * po/es.po: Likewise.
a1b560ff 25942
a5b81e1f
UD
259432011-10-28 Ulrich Drepper <drepper@gmail.com>
25944
fd52bc6d
UD
25945 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25946 the three constants needed as parameters. Drop the others.
25947 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25948 __m128i_strloadu_tolower.
52e4b9eb
UD
25949 Create and initialize variable zero and use it in all the places
25950 where _mm_setzero_si128 was used.
fd52bc6d 25951
a5b81e1f
UD
25952 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
25953 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
25954 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
25955 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
25956 anymore.
25957 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
25958 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
25959 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
25960 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
25961 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
25962 __mpranred, __mptan.
25963 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
25964 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
25965 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
25966 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
25967 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
25968 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
25969 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
25970 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
25971 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
25972
b4343346
AS
259732011-10-28 Andreas Schwab <schwab@redhat.com>
25974
0c92d8a8
AS
25975 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
25976 redefine if SHARED.
25977 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
25978
b4343346
AS
25979 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
25980 wide char related routines to wcsmbs subdir.
25981
3871f58f
AS
259822011-10-27 Andreas Schwab <schwab@redhat.com>
25983
25984 [BZ #13344]
25985 * misc/sys/cdefs.h (__THROWNL): Define.
25986 * posix/unistd.h: Use __THREADNL instead of __THREAD
25987 for memory synchronization functions.
25988
94d44d9f
RM
259892011-10-26 Roland McGrath <roland@hack.frob.com>
25990
21b64b15 25991 [BZ #13349]
94d44d9f
RM
25992 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
25993 doesn't exist.
25994 * manual/stdio.texi (Obstack Streams): Node removed.
25995
f6ce9294
AS
259962011-10-26 Andreas Schwab <schwab@redhat.com>
25997
80479147
AS
25998 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
25999 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26000 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26001
f6ce9294
AS
26002 * math/math_private.h (math_force_eval): Allow non-addressable
26003 arguments.
26004 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26005
618280a1
UD
260062011-10-25 Ulrich Drepper <drepper@gmail.com>
26007
e0016b11
UD
26008 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26009 file is not needed.
26010
26011 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26012 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26013 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26014 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26015 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26016 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26017 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26018 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26019 Add AVX variants.
26020 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26021 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26022 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26023 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26024 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26025 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26026 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26027 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26028 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26029 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26030 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26031 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26032 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26033 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26034 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26035 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26036 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26037 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26038 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26039
26040 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26041 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26042
618280a1
UD
26043 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26044 place. Use VEX encoding when compiling for AVX.
26045
37822576
AS
260462011-10-25 Andreas Schwab <schwab@redhat.com>
26047
1f1e1947
AS
26048 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26049 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26050
37822576
AS
26051 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26052
31ea014d
UD
260532011-10-25 Ulrich Drepper <drepper@gmail.com>
26054
d7826aa1 26055 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 26056 useless if() expression.
d7826aa1
UD
26057 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26058 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26059 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26060 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26061 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26062 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26063 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26064 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26065 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26066 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26067 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26068 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26069 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26070 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26071 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26072 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26073 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26074 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26075 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26076
31ea014d
UD
26077 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26078
16437fec
AS
260792011-10-25 Andreas Schwab <schwab@redhat.com>
26080
26081 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26082 condition.
26083 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26084
31d3cc00
UD
260852011-10-25 Ulrich Drepper <drepper@gmail.com>
26086
26087 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26088 .text section. Avoid duplicate constants.
26089 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26090 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26091 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26092 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26093 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26094 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26095 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26096 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26097 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26098 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26099 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26100 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26101 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26102 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26103 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26104 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26105 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26106 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26107 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26108 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26109 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26110 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26111 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26112 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26113 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26114 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26115 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26116 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26117 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26118 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26119 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26120 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26121 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26122 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26123 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26124 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26125 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26126 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26127 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26128 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26129 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26130 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26131 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26132 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26133 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26134
58985aa9
UD
261352011-10-24 Ulrich Drepper <drepper@gmail.com>
26136
202c9deb
UD
26137 * sysdeps/x86_64/dla.h: Move to ...
26138 * sysdeps/x86_64/fpu/dla.h: ...here.
26139 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26140 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 26141
af968f62
UD
26142 * config.make.in: Add have-mfma4 entry.
26143 * configure.in: Substitute libc_cv_cc_fma4.
26144 * math/Makefile (dbl-only-routines): Add sincostab.
26145 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26146 Use __sincostab not sincos.
26147 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26148 name is a macro.
26149 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26150 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26151 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26152 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
26153 using __copysign.
26154 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26155 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26156 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26157 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26158 and __inv.
26159 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26160 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26161 __copysign.
26162 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
26163 define aliases when function name is a macro.
26164 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26165 sysdeps/ieee754/dbl-64/sincos.tbl.
26166 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26167 fma4-enabled routines.
26168 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26169 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26170 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26171 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26172 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26173 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26174 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26175 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26176 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26177 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26178 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26179 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26180 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26181 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26182 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26183 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26184 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26185 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26186 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26187 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26188 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26189 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26190 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26191 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26192 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26193 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26194 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26195 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26196 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26197 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26198
58985aa9
UD
26199 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26200 rename.
26201 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26202 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26203 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26204 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26205 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26206 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26207 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26208 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26209
a201fbcf
AS
262102011-10-24 Andreas Schwab <schwab@redhat.com>
26211
26212 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26213
fc2ee42a
LD
262142011-10-23 Ulrich Drepper <drepper@gmail.com>
26215
bb3129bd
UD
26216 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26217
0275fff8
UD
26218 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26219 prediction.
26220 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26221
2fa2ae85
UD
26222 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26223 Remove unused variable magic_bits.
26224 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26225
fc2ee42a
LD
26226 * string/strnlen.c: Define and use STRNLEN macro.
26227 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26228 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26229 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26230 * wcsmbs/wcslen.c: Define and use WCSLEN.
26231 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26232 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26233 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26234 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26235 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26236 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26237 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26238
ce7dd29f
LD
262392011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26240
26241 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26242 strnlen-sse2-no-bsf.
26243 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26244 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26245 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26246 Add strnlen support.
26247 (USE_AS_STRNLEN): New macro.
26248 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26249 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26250 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26251 * sysdeps/x86_64/wcslen.S: New file.
26252
979c70a3
MZ
262532011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26254
26255 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26256 XMM-moves are used for copying on small sizes.
26257
2d09f82f
LD
262582011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26259
26260 * wcsmbs/Makefile (strop-tests): Add wcschr.
26261 * wcsmbs/test-wcschr.c: New file.
26262 * string/test-strchr.c: Update.
26263 Add wcschr support.
26264 (WIDE): New macro.
26265
619fccca
LD
262662011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26267
2d09f82f 26268 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
26269 * wcsmbs/test-wcslen.c: New file.
26270 * string/test-strlen.c: Update.
26271 Add wcslen support.
26272 (WIDE): New macro.
26273
09f699ea
UD
262742011-10-23 Ulrich Drepper <drepper@gmail.com>
26275
26276 * po/it.po: Update from translation team.
26277
95584d3b
LD
262782011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26279
26280 * sysdeps/x86_64/wcscmp.S: Update.
26281 Fix wrong comparison semantics.
26282 wcscmp shall use signed comparison not unsigned.
26283 Don't use substraction to avoid overflow bug.
26284 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26285 * wcsmbc/wcscmp.c: Likewise.
26286 * string/test-strcmp.c: Likewise.
26287 Add new tests to check cases with negative values.
26288
c8b3296b
UD
262892011-10-23 Ulrich Drepper <drepper@gmail.com>
26290
26291 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26292 * sysdeps/x86_64/dla.h: ...here. New file.
26293 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26294 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26295 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26296 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26297 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26298 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26299 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26300 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26301 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26302
246ad57a
AS
263032011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26304
26305 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26306 __ynl_finite aliases.
26307
a1a87169
UD
263082011-10-22 Ulrich Drepper <drepper@gmail.com>
26309
0d355eb7
UD
26310 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26311
a1a87169
UD
26312 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26313 define DLA_FMA.
26314 [DLA_FMA] (EMULV): Use DLA_FMA.
26315 [DLA_FMA] (MUL12): Use EMULV.
26316 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26317 that are not needed.
26318 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26319 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26320 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26321 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26322 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26323 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26324 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26325
ee2aafe0
AS
263262011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26327
26328 * math/s_nan.c: Undef __nan.
26329 * math/s_nanf.c: Undef __nanf.
26330 * math/s_nanl.c: Undef __nanl.
26331 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26332 "math_private.h".
26333
bc62c2fb
UD
263342011-10-22 Ulrich Drepper <drepper@gmail.com>
26335
77425c63
UD
26336 * math/s_catan.c: Add branch predictions.
26337 * math/s_catanf.c: Likewise.
26338 * math/s_catanh.c: Likewise.
26339 * math/s_catanhf.c: Likewise.
26340 * math/s_catanhl.c: Likewise.
26341 * math/s_catanl.c: Likewise.
26342 * math/s_cexp.c: Likewise.
26343 * math/s_cexpf.c: Likewise.
26344 * math/s_cexpl.c: Likewise.
26345 * math/s_clog.c: Likewise.
26346 * math/s_clog10.c: Likewise.
26347 * math/s_clog10f.c: Likewise.
26348 * math/s_clog10l.c: Likewise.
26349 * math/s_clogf.c: Likewise.
26350 * math/s_clogl.c: Likewise.
26351 * math/s_csqrt.c: Likewise.
26352 * math/s_csqrtf.c: Likewise.
26353 * math/s_csqrtl.c: Likewise.
26354 * math/s_ctanf.c: Likewise.
26355 * math/s_ctanh.c: Likewise.
26356 * math/s_ctanhf.c: Likewise.
26357 * math/s_ctanhl.c: Likewise.
26358 * math/s_ctanl.c: Likewise.
26359
bc62c2fb
UD
26360 * math/math_private.h: Define __nan, __nanf, __nanl.
26361 * math/s_cacosh.c: Include <math_private.h>.
26362 * math/s_cacoshl.c: Likewise.
26363 * math/s_casinh.c: Likewise.
26364 * math/s_casinhf.c: Likewise.
26365 * math/s_casinhl.c: Likewise.
26366 * math/s_ccos.c: Rely entire on ccosh.
26367 * math/s_ccosf.c: Rely entire on ccoshf.
26368 * math/s_ccosl.c: Rely entirely on ccoshl.
26369 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26370 Remove tests for FE_INVALID.
26371 * math/s_ccoshf.c: Likewise.
26372 * math/s_ccoshl.c: Likewise.
26373 * math/s_csin.c: Likewise.
26374 * math/s_csinf.c: Likewise.
26375 * math/s_csinh.c Likewise.
26376 * math/s_csinhf.c: Likewise.
26377 * math/s_csinhl.c: Likewise.
26378 * math/s_csinl.c: Likewise.
26379 * math/s_ctan.c: Likewise.
26380 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26381 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26382 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26383
8ec250a4
UD
263842011-10-21 Ulrich Drepper <drepper@gmail.com>
26385
c196fed8
UD
26386 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26387 compilation problems.
26388
8ec250a4
UD
26389 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26390 __builtin_expect.
26391
8d4f46c6
UD
263922011-10-20 Ulrich Drepper <drepper@gmail.com>
26393
ed72b654
UD
26394 * sysdeps/i386/configure.in: Test for -mfma4 option.
26395 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26396 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26397 COMMON_CPUID_INDEX_80000001.
26398 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26399 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26400 use it if FMA3 is not supported.
26401 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26402
8d4f46c6
UD
26403 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26404 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26405
d45c60c2
AS
264062011-10-20 Andreas Schwab <schwab@redhat.com>
26407
26408 [BZ #12892]
26409 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26410 it would create a cycle with a link time dependency.
26411
d9a4d2ab
UD
264122011-10-19 Ulrich Drepper <drepper@gmail.com>
26413
855d1560
UD
26414 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26415 instruction.
26416 * string/Makefile (strop-tests): Add rawmemchr.
26417 * string/test-rawmemchr.c: New file.
26418
d9a4d2ab
UD
26419 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26420 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26421 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26422 when compiling str{,n}casecmp and when AVX is available. Hook up
26423 new optimized code in initializers.
26424
8f3b1ffe
AS
264252011-10-19 Andreas Schwab <schwab@redhat.com>
26426
26427 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26428 __feraiseexcept instead of feraiseexcept.
26429
d38f1dba
UD
264302011-10-18 Ulrich Drepper <drepper@gmail.com>
26431
d9a8d0ab
UD
26432 * math/math_private.h: Define defaults for libc_fetestexcept and
26433 libc_feupdateenv.
26434 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26435 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26436 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26437 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26438 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26439 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26440 libc_fetestexcept and libc_feupdateenv.
26441
4855e3dd
UD
26442 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26443 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26444 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26445 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26446 libc_feholdexcept_setround.
26447
581d30e3
UD
26448 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26449 Add s_nearbyint-c and s_nearbyintf-c.
26450 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26451 nearbyintf inlines.
26452 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26453 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26454 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26455 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26456
d38f1dba
UD
26457 * math/math_private.h: Define defaults for libc_fegetround,
26458 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26459 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26460 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26461 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26462 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26463 standard functions.
26464 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26465 Remove comments and hacks for old compiler versions.
26466 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26467 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26468 libc_feholdexceptl.
26469
caa6c9d8
AS
264702011-10-18 Andreas Schwab <schwab@redhat.com>
26471
26472 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
26473 (__feraiseexcept_renamed): Add __NTH.
26474 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
26475 namespace violations.
26476
97c066e6
UD
264772011-10-17 Ulrich Drepper <drepper@gmail.com>
26478
99ce7b04
UD
26479 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26480
1004d182
UD
26481 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26482
228a984d
UD
26483 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26484 recently added interfaces.
26485 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26486
c8553a6a
UD
26487 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26488 about macro parameter expansion.
26489
ed22dcf6
UD
26490 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26491 __NO_MATH_INLINES is defined. Cleanups.
26492
26493 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26494 and __floorf is target has SSE4.1.
26495 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26496 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26497 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26498 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26499
b171c137
UD
26500 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26501 name.
26502 (floorf): Likewise.
26503
97c066e6
UD
26504 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26505
629f62ef
AS
265062011-10-17 Andreas Schwab <schwab@redhat.com>
26507
49a43d80
AS
26508 * misc/sys/cdefs.h: Fix last change.
26509
629f62ef
AS
26510 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26511 database lookup.
26512
e453f6cd
UD
265132011-10-16 Ulrich Drepper <drepper@gmail.com>
26514
aa78043a
UD
26515 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26516
ad0f5cad
UD
26517 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26518 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26519 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26520 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26521 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26522 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26523 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26524 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26525 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26526 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26527 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26528 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26529 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26530 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26531 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26532 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26533 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26534 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26535 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26536 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26537 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26538 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26539
26540 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26541 ceil, ceilf, floor, floorf.
26542
26543 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26544 Perform IRELATIVE relocations last.
26545
e453f6cd
UD
26546 * elf/do-rel.h: Add another parameter nrelative, replacing the
26547 local variable with the same name. Change name of the function
26548 to end in Rel or Rela (uppercase).
26549 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26550 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26551 elf_dynamic_do_##reloc function.
26552
fd5bdc09
UD
265532011-10-15 Ulrich Drepper <drepper@gmail.com>
26554
79b195b5
UD
26555 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26556 is sufficient, at least on modern CPUs.
26557
d4a28569
UD
26558 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26559
b61099b5
UD
26560 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26561 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26562
bcf01e6d
UD
26563 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26564 __expl_finite.
26565 * math/bits/math-finite.h: Add entries for exp.
26566 * math/e_expl.c: Add __*_finite alias.
26567 * sysdeps/i386/fpu/e_exp.S: Likewise.
26568 * sysdeps/i386/fpu/e_expf.S: Likewise.
26569 * sysdeps/i386/fpu/e_expl.c: Likewise.
26570 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26571 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26572 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26573 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26574 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26575 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26576 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26577
ba1a0d59
UD
26578 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26579 is sufficient, at least on modern CPUs.
26580
fd5bdc09
UD
26581 * ctype/ctype-info.c (__ctype_init): Define.
26582 * include/ctype.h (__ctype_init): Declare.
26583 (__ctype_b_loc): The variable is always initialized.
26584 (__ctype_toupper_loc): Likewise.
26585 (__ctype_tolower_loc): Likewise.
26586 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26587 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26588
7872cfb0
AS
265892011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26590
b468825a
AS
26591 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26592
7872cfb0
AS
26593 * configure.in: Also look in $cxxmachine/include for C++ system
26594 headers.
26595
be13f7bf
LD
265962011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26597
26598 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26599 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26600 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26601 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26602 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26603 (USE_AS_WMEMCMP): New macro.
26604 Fixing indents.
26605 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26606 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26607 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26608 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26609 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26610 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26611 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26612 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26613 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26614 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26615 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26616 (USE_AS_WMEMCMP): New macro.
26617 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26618 * sysdeps/string/test-memcmp.c: Update.
26619 Fix simple_wmemcmp.
26620 Add new tests.
26621 * wcsmbs/wmemcmp.c: Update.
26622 (WMEMCMP): New macro.
26623 Fix overflow bug.
26624
556a2007
AJ
266252011-10-12 Andreas Jaeger <aj@suse.de>
26626
26627 [BZ #13268]
26628 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26629
538faaa7
UD
266302011-10-15 Ulrich Drepper <drepper@gmail.com>
26631
ab6737ff
UD
26632 * libio/iofwide.c (do_length): Avoid warning.
26633
538faaa7
UD
26634 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26635
396a21b1
UD
266362011-10-14 Ulrich Drepper <drepper@gmail.com>
26637
cdf2901f
UD
26638 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26639
38ad40ce
UD
26640 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26641 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26642 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26643 * sysdeps/i386/i686/fpu/e_log.S: New file.
26644 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26645 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26646
396a21b1
UD
26647 * ctype/ctype.h: Add support for inlined isXXX functions when
26648 compiling C++ code.
26649
6b1f68c9
AS
266502011-10-14 Andreas Schwab <schwab@redhat.com>
26651
349290c0
AS
26652 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26653
6b1f68c9
AS
26654 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26655
f2282d42
RM
266562011-10-13 Roland McGrath <roland@hack.frob.com>
26657
26658 [BZ #13291]
26659 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26660
5298ffa8
AS
266612011-10-13 Andreas Schwab <schwab@redhat.com>
26662
714fad23
AS
26663 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26664 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26665 feraiseexcept.
26666
81dcc7fb
AS
26667 * sysdeps/x86_64/memrchr.S: Check for zero size.
26668
5298ffa8
AS
26669 * string/stratcliff.c: Add memrchr tests.
26670
951fbcec
LD
266712011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26672
26673 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26674 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26675 rawmemchr-sse2 rawmemchr-sse2-bsf.
26676 * sysdeps/i386/i686/multiarch/memchr.S: New file.
26677 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26678 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26679 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26680 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26681 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26682 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26683 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26684 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26685 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26686 * string/memrchr.c (MEMRCHR): New macro.
26687
0ac5ae23
UD
266882011-10-12 Ulrich Drepper <drepper@gmail.com>
26689
26690 Add integration with gcc's -ffinite-math-only and optimize wrapper
26691 functions in libm.
26692 * Versions.def: Define GLIBC_2.15 version for libm.
26693 * math/Makefile (headers): Add bits/math-finite.h.
26694 * math/bits/math-finite.h: New file.
26695 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26696 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26697 * math/e_acoshl.c: Add __*_finite alias.
26698 * math/e_acosl.c: Likewise.
26699 * math/e_asinl.c: Likewise.
26700 * math/e_atan2l.c: Likewise.
26701 * math/e_atanhl.c: Likewise.
26702 * math/e_coshl.c: Likewise.
26703 * math/e_exp10.c: Likewise.
26704 * math/e_exp10f.c: Likewise.
26705 * math/e_exp10l.c: Likewise.
26706 * math/e_exp2l.c: Likewise.
26707 * math/e_fmodl.c: Likewise.
26708 * math/e_gammal_r.c: Likewise.
26709 * math/e_hypotl.c: Likewise.
26710 * math/e_j0l.c: Likewise.
26711 * math/e_j1l.c: Likewise.
26712 * math/e_jnl.c: Likewise.
26713 * math/e_lgammal_r.c: Likewise.
26714 * math/e_log10l.c: Likewise.
26715 * math/e_log2l.c: Likewise.
26716 * math/e_logl.c: Likewise.
26717 * math/e_powl.c: Likewise.
26718 * math/e_sinhl.c: Likewise.
26719 * math/e_sqrtl.c: Likewise.
26720 * math/e_scalb.c: Completely rewritten and optimized.
26721 * math/e_scalbf.c: Likewise.
26722 * math/e_scalbl.c: Likewise.
26723 * math/w_acos.c: Likewise.
26724 * math/w_acosf.c: Likewise.
26725 * math/w_acosl.c: Likewise.
26726 * math/w_acosh.c: Likewise.
26727 * math/w_acoshf.c: Likewise.
26728 * math/w_acoshl.c: Likewise.
26729 * math/w_asin.c: Likewise.
26730 * math/w_asinf.c: Likewise.
26731 * math/w_asinl.c: Likewise.
26732 * math/w_atan2.c: Likewise.
26733 * math/w_atan2f.c: Likewise.
26734 * math/w_atan2l.c: Likewise.
26735 * math/w_atanh.c: Likewise.
26736 * math/w_atanhf.c: Likewise.
26737 * math/w_atanhl.c: Likewise.
26738 * math/w_exp10.c: Likewise.
26739 * math/w_exp10f.c: Likewise.
26740 * math/w_exp10l.c: Likewise.
26741 * math/w_fmod.c: Likewise.
26742 * math/w_fmodf.c: Likewise.
26743 * math/w_fmodl.c: Likewise.
26744 * math/w_j0.c: Likewise.
26745 * math/w_j0f.c: Likewise.
26746 * math/w_j0l.c: Likewise.
26747 * math/w_j1.c: Likewise.
26748 * math/w_j1f.c: Likewise.
26749 * math/w_j1l.c: Likewise.
26750 * math/w_jn.c: Likewise.
26751 * math/w_jnf.c: Likewise.
26752 * math/w_log.c: Likewise.
26753 * math/w_logf.c: Likewise.
26754 * math/w_logl.c: Likewise.
26755 * math/w_log10.c: Likewise.
26756 * math/w_log10f.c: Likewise.
26757 * math/w_log10l.c: Likewise.
26758 * math/w_log2.c: Likewise.
26759 * math/w_log2f.c: Likewise.
26760 * math/w_log2l.c: Likewise.
26761 * math/w_pow.c: Likewise.
26762 * math/w_powf.c: Likewise.
26763 * math/w_powl.c: Likewise.
26764 * math/w_remainder.c: Likewise.
26765 * math/w_remainderf.c: Likewise.
26766 * math/w_remainderl.c: Likewise.
26767 * math/w_scalb.c: Likewise.
26768 * math/w_scalbf.c: Likewise.
26769 * math/w_scalbl.c: Likewise.
26770 * math/w_sqrt.c: Likewise.
26771 * math/w_sqrtf.c: Likewise.
26772 * math/w_sqrtl.c: Likewise.
26773 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26774 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26775 used.
26776 * math/math_private.h: Declare __kernel_standard_f.
26777 * math/w_cosh.c: Remove cruft and optimize a bit.
26778 * math/w_coshf.c: Likewise.
26779 * math/w_coshl.c: Likewise.
26780 * math/w_exp2.c: Likewise.
26781 * math/w_exp2f.c: Likewise.
26782 * math/w_exp2l.c: Likewise.
26783 * math/w_hypot.c: Likewise.
26784 * math/w_hypotf.c: Likewise.
26785 * math/w_hypotl.c: Likewise.
26786 * math/w_lgamma.c: Likewise.
26787 * math/w_lgamma_r.c: Likewise.
26788 * math/w_lgammaf.c: Likewise.
26789 * math/w_lgammaf_r.c: Likewise.
26790 * math/w_lgammal.c: Likewise.
26791 * math/w_lgammal_r.c: Likewise.
26792 * math/w_sinh.c: Likewise.
26793 * math/w_sinhf.c: Likewise.
26794 * math/w_sinhl.c: Likewise.
26795 * math/w_tgamma.c: Likewise.
26796 * math/w_tgammaf.c: Likewise.
26797 * math/w_tgammal.c: Likewise.
26798 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26799 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26800 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26801 Minor optimizations. Pretty printing. Remove cruft.
26802 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26803 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26804 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26805 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26806 * sysdeps/i386/fpu/e_acosl.c: Likewise.
26807 * sysdeps/i386/fpu/e_asin.S: Likewise.
26808 * sysdeps/i386/fpu/e_asinf.S: Likewise.
26809 * sysdeps/i386/fpu/e_atan2.S: Likewise.
26810 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26811 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26812 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26813 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26814 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26815 * sysdeps/i386/fpu/e_exp10.S: Likewise.
26816 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26817 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26818 * sysdeps/i386/fpu/e_exp2.S: Likewise.
26819 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26820 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26821 * sysdeps/i386/fpu/e_fmod.S: Likewise.
26822 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26823 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26824 * sysdeps/i386/fpu/e_hypot.S: Likewise.
26825 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26826 * sysdeps/i386/fpu/e_log.S: Likewise.
26827 * sysdeps/i386/fpu/e_log10.S: Likewise.
26828 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26829 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26830 * sysdeps/i386/fpu/e_log2.S: Likewise.
26831 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26832 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26833 * sysdeps/i386/fpu/e_logf.S: Likewise.
26834 * sysdeps/i386/fpu/e_logl.S: Likewise.
26835 * sysdeps/i386/fpu/e_pow.S: Likewise.
26836 * sysdeps/i386/fpu/e_powf.S: Likewise.
26837 * sysdeps/i386/fpu/e_powl.S: Likewise.
26838 * sysdeps/i386/fpu/e_remainder.S: Likewise.
26839 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26840 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26841 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26842 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26843 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26844 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26845 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26846 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26847 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26848 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26849 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26850 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26851 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26852 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26853 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26854 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26855 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26856 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26857 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26858 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26859 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26860 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26861 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26862 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26863 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26864 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26865 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26866 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26867 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26868 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26869 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26870 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26871 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26872 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26873 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26874 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26875 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26876 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26877 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26878 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26879 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26880 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26881 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26882 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26883 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26884 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26885 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26886 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26887 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26888 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26889 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26890 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26891 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26892 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26893 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26894 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26895 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26896 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26897 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26898 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26899 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26900 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26901 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26902 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26903 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26904 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26905 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26906 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26907 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26908 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26909 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26910 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26911 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26912 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26913 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26914 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26915 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26916 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26917 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26918 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26919 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26920 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26921 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26922 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26923 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26924 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26925 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26926 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26927 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26928 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26929 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26930 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26931 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26932 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26933 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26934 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26935 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26936 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26937 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26938 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26939 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26940 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26941 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26942 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26943 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26944 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26945 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26946 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26947 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26948 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
26949 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
26950 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
26951 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26952 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26953 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26954 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26955 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
26956 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26957 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
26958 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
26959 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
26960 (__isnanf): Likewise.
26961 (__isinf_ns): Likewise.
26962 (__isinf_nsf): Likewise.
26963 (__finite): Likewise.
26964 (__finitef): Likewise.
26965 (__ieee754_sqrt): Define as macro.
26966 (__ieee754_sqrtf): Define as macro.
26967 (__ieee754_sqrtl): Define as macro.
26968 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
26969 inlined copy.
26970 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
26971 __FINITE_MATH_ONLY__ consistent.
26972 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
26973
12cc2fcd
AS
269742011-10-10 Andreas Schwab <schwab@linux-m68k.org>
26975
a843a204
AS
26976 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
26977 of rawmemchr.
26978
12cc2fcd
AS
26979 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
26980
c853acd5
UD
269812011-10-09 Ulrich Drepper <drepper@gmail.com>
26982
26983 * po/ja.po: Update from translation team.
26984
c658d255
RM
269852011-10-08 Roland McGrath <roland@hack.frob.com>
26986
110946e4
RM
26987 * locale/programs/locarchive.c (prepare_address_space): New function.
26988 (create_archive, enlarge_archive, open_archive): Use it.
26989
50604220
RM
26990 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
26991 inside [SHARED], where it is used.
26992
c658d255
RM
26993 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
26994
26995 * nss/getent.c (netgroup_keys): Remove unused variable.
26996 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26997
6a621eb7
UD
269982011-10-08 Ulrich Drepper <drepper@gmail.com>
26999
7edb55ce
UD
27000 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27001 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27002 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27003 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27004 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27005 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27006 * math/Makefile (libm-calls): Add s_isinf_ns.
27007 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27008 * math/multc3.c: Likewise.
27009 * math/s_casin.c: Likewise.
27010 * math/s_casinf.c: Likewise.
27011 * math/s_casinl.c: Likewise.
27012 * math/s_ccos.c: Likewise.
27013 * math/s_ccosf.c: Likewise.
27014 * math/s_ccosl.c: Likewise.
27015 * math/s_ctan.c: Likewise.
27016 * math/s_ctanf.c: Likewise.
27017 * math/s_ctanh.c: Likewise.
27018 * math/s_ctanhf.c: Likewise.
27019 * math/s_ctanhl.c: Likewise.
27020 * math/s_ctanl.c: Likewise.
27021 * math/w_fmod.c: Likewise.
27022 * math/w_fmodf.c: Likewise.
27023 * math/w_fmodl.c: Likewise.
27024 * math/w_remainder.c: Likewise.
27025 * math/w_remainderf.c: Likewise.
27026 * math/w_remainderl.c: Likewise.
27027 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27028 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27029 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27030 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27031 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27032 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27033 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27034 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27035
187da0ae
UD
27036 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27037 of the number.
27038 * stdio-common/printf_fphex.c: Likewise.
27039 * stdio-common/printf_size.c: Likewise.
27040
9277c064
UD
27041 * math/e_exp10.c: Include math_private.h using <...> not "...".
27042 * math/e_exp10f.c: Likewise.
27043 * math/e_exp10l.c: Likewise.
27044 * math/e_exp2l.c: Likewise.
27045 * math/e_j0l.c: Likewise.
27046 * math/e_j1l.c: Likewise.
27047 * math/e_jnl.c: Likewise.
27048 * math/e_lgammal_r.c: Likewise.
27049 * math/e_rem_pio2l.c: Likewise.
27050 * math/e_scalb.c: Likewise.
27051 * math/e_scalbf.c: Likewise.
27052 * math/e_scalbl.c: Likewise.
27053 * math/k_cosl.c: Likewise.
27054 * math/k_sinl.c: Likewise.
27055 * math/k_tanl.c: Likewise.
27056 * math/s_cacoshf.c: Likewise.
27057 * math/s_catan.c: Likewise.
27058 * math/s_catanf.c: Likewise.
27059 * math/s_catanh.c: Likewise.
27060 * math/s_catanhf.c: Likewise.
27061 * math/s_catanhl.c: Likewise.
27062 * math/s_catanl.c: Likewise.
27063 * math/s_ccosh.c: Likewise.
27064 * math/s_ccoshf.c: Likewise.
27065 * math/s_ccoshl.c: Likewise.
27066 * math/s_cexp.c: Likewise.
27067 * math/s_cexpf.c: Likewise.
27068 * math/s_cexpl.c: Likewise.
27069 * math/s_clog.c: Likewise.
27070 * math/s_clog10.c: Likewise.
27071 * math/s_clog10f.c: Likewise.
27072 * math/s_clog10l.c: Likewise.
27073 * math/s_clogf.c: Likewise.
27074 * math/s_clogl.c: Likewise.
27075 * math/s_csin.c: Likewise.
27076 * math/s_csinf.c: Likewise.
27077 * math/s_csinh.c: Likewise.
27078 * math/s_csinhf.c: Likewise.
27079 * math/s_csinhl.c: Likewise.
27080 * math/s_csinl.c: Likewise.
27081 * math/s_csqrt.c: Likewise.
27082 * math/s_csqrtf.c: Likewise.
27083 * math/s_csqrtl.c: Likewise.
27084 * math/s_ctan.c: Likewise.
27085 * math/s_ctanf.c: Likewise.
27086 * math/s_ctanh.c: Likewise.
27087 * math/s_ctanhf.c: Likewise.
27088 * math/s_ctanhl.c: Likewise.
27089 * math/s_ctanl.c: Likewise.
27090 * math/s_ldexp.c: Likewise.
27091 * math/s_ldexpf.c: Likewise.
27092 * math/s_ldexpl.c: Likewise.
27093 * math/s_significand.c: Likewise.
27094 * math/s_significandf.c: Likewise.
27095 * math/s_significandl.c: Likewise.
27096 * math/w_acos.c: Likewise.
27097 * math/w_acosf.c: Likewise.
27098 * math/w_acosh.c: Likewise.
27099 * math/w_acoshf.c: Likewise.
27100 * math/w_acoshl.c: Likewise.
27101 * math/w_acosl.c: Likewise.
27102 * math/w_asin.c: Likewise.
27103 * math/w_asinf.c: Likewise.
27104 * math/w_asinl.c: Likewise.
27105 * math/w_atan2.c: Likewise.
27106 * math/w_atan2f.c: Likewise.
27107 * math/w_atan2l.c: Likewise.
27108 * math/w_atanh.c: Likewise.
27109 * math/w_atanhf.c: Likewise.
27110 * math/w_atanhl.c: Likewise.
27111 * math/w_cosh.c: Likewise.
27112 * math/w_coshf.c: Likewise.
27113 * math/w_coshl.c: Likewise.
27114 * math/w_dremf.c: Likewise.
27115 * math/w_exp10.c: Likewise.
27116 * math/w_exp10f.c: Likewise.
27117 * math/w_exp10l.c: Likewise.
27118 * math/w_exp2.c: Likewise.
27119 * math/w_exp2f.c: Likewise.
27120 * math/w_fmod.c: Likewise.
27121 * math/w_fmodf.c: Likewise.
27122 * math/w_fmodl.c: Likewise.
27123 * math/w_hypot.c: Likewise.
27124 * math/w_hypotf.c: Likewise.
27125 * math/w_hypotl.c: Likewise.
27126 * math/w_j0.c: Likewise.
27127 * math/w_j0f.c: Likewise.
27128 * math/w_j0l.c: Likewise.
27129 * math/w_j1.c: Likewise.
27130 * math/w_j1f.c: Likewise.
27131 * math/w_j1l.c: Likewise.
27132 * math/w_jn.c: Likewise.
27133 * math/w_jnf.c: Likewise.
27134 * math/w_jnl.c: Likewise.
27135 * math/w_lgamma.c: Likewise.
27136 * math/w_lgamma_r.c: Likewise.
27137 * math/w_lgammaf.c: Likewise.
27138 * math/w_lgammaf_r.c: Likewise.
27139 * math/w_lgammal.c: Likewise.
27140 * math/w_lgammal_r.c: Likewise.
27141 * math/w_log.c: Likewise.
27142 * math/w_log10.c: Likewise.
27143 * math/w_log10f.c: Likewise.
27144 * math/w_log10l.c: Likewise.
27145 * math/w_log2.c: Likewise.
27146 * math/w_log2f.c: Likewise.
27147 * math/w_log2l.c: Likewise.
27148 * math/w_logf.c: Likewise.
27149 * math/w_logl.c: Likewise.
27150 * math/w_pow.c: Likewise.
27151 * math/w_powf.c: Likewise.
27152 * math/w_powl.c: Likewise.
27153 * math/w_remainder.c: Likewise.
27154 * math/w_remainderf.c: Likewise.
27155 * math/w_remainderl.c: Likewise.
27156 * math/w_scalb.c: Likewise.
27157 * math/w_scalbf.c: Likewise.
27158 * math/w_scalbl.c: Likewise.
27159 * math/w_sinh.c: Likewise.
27160 * math/w_sinhf.c: Likewise.
27161 * math/w_sinhl.c: Likewise.
27162 * math/w_sqrt.c: Likewise.
27163 * math/w_sqrtf.c: Likewise.
27164 * math/w_sqrtl.c: Likewise.
27165 * math/w_tgamma.c: Likewise.
27166 * math/w_tgammaf.c: Likewise.
27167 * math/w_tgammal.c: Likewise.
27168
6a621eb7
UD
27169 * po/ja.po: Update from translation team.
27170
bf582445
AJ
271712011-09-29 Andreas Jaeger <aj@suse.de>
27172
f9efbf3a
AJ
27173 [BZ #13179]
27174 * sunrpc/netname.c (netname2host): Fix logic.
27175
bf582445
AJ
27176 [BZ #6779]
27177 [BZ #6783]
27178 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27179 correctly.
27180 * math/w_remainder.c (__remainder): Likewise.
27181 * math/w_remainderf.c (__remainderf): Likewise.
27182 * math/libm-test.inc (remainder_test): Add test cases.
27183
48693bea
AK
271842011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27185
27186 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27187 sdiv_qrnnd.
27188
42622229
LD
271892011-10-07 Ulrich Drepper <drepper@gmail.com>
27190
27191 * string/test-memcmp.c: Avoid unncessary #defines.
27192 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27193
093ecf92
LD
271942011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27195
27196 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27197 Use new sse2 version for core i3 - i7 as it's faster
27198 than sse42 version.
27199 (bit_Prefer_PMINUB_for_stringop): New.
27200 * sysdeps/x86_64/rawmemchr.S: Update.
27201 Replace with faster SSE2 version.
27202 * sysdeps/x86_64/memrchr.S: New file.
27203 * sysdeps/x86_64/memchr.S: Update.
27204 Replace with faster SSE2 version.
27205
fde56e5c
MP
272062011-09-12 Marek Polacek <mpolacek@redhat.com>
27207
27208 * elf/dl-load.c (lose): Add cast to avoid warning.
27209
21fd49a9
UD
272102011-10-07 Ulrich Drepper <drepper@gmail.com>
27211
5a06e643
UD
27212 * po/ca.po: Update from translation team.
27213
684ae515
UD
27214 * inet/getnetgrent_r.c: Hook up nscd.
27215 * nscd/Makefile (routines): Add nscd_netgroup.
27216 (nscd-modules): Add netgroupcache.
27217 (CFLAGS-netgroupcache.c): Define.
27218 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27219 (cache_search): Add const to second parameter.
27220 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27221 INNETGR.
27222 (dbs): Add netgrdb entry.
27223 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27224 (verify_persistent_db): Handle netgrdb.
27225 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27226 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27227 GETFDNETGR.
27228 (netgroup_response_header): Define.
27229 (innetgroup_response_header): Define.
27230 (datahead): Add netgroup_response_header and innetgroup_response_header
27231 elements.
27232 * nscd/nscd.conf: Add entries for netgroup cache.
27233 * nscd/nscd.h (dbtype): Add netgrdb.
27234 (_PATH_NSCD_NETGROUP_DB): Define.
27235 (netgroup_iov_disabled): Declare.
27236 (xmalloc, xcalloc, xrealloc): Move declarations here.
27237 (cache_search): Adjust prototype.
27238 Add netgroup-related prototypes.
27239 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27240 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27241 (__nscd_innetgr): Declare.
27242 * nscd/selinux.c (perms): Use access_vector_t as element type and
27243 add netgroup-related initializers.
27244 * nscd/netgroupcache.c: New file.
27245 * nscd/nscd_netgroup.c: New file.
27246 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27247 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27248 For four parameters use innetgr.
27249 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27250 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27251 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27252 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27253
21fd49a9
UD
27254 * nscd/connections.c (register_traced_file): Don't register file
27255 for disabled databases.
27256
054c0457
UD
272572011-10-06 Ulrich Drepper <drepper@gmail.com>
27258
32b63198
UD
27259 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27260
054c0457
UD
27261 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27262 from tree and freeing node.
27263
64031225
JO
272642011-09-25 Jiri Olsa <jolsa@redhat.com>
27265
27266 * nss/nsswitch.c (__nss_database_lookup): Handle
27267 nss_parse_service_list out of memory case.
27268
0490345c
JO
272692011-09-15 Jiri Olsa <jolsa@redhat.com>
27270
27271 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27272 out of memory case.
27273
3a62d00d
AS
272742011-10-04 Andreas Schwab <schwab@redhat.com>
27275
27276 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27277 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27278 pass it down.
27279 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27280 elf_machine_rela, elf_machine_lazy_rel.
27281 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27282 (ELF_DYNAMIC_DO_REL): Likewise.
27283 (ELF_DYNAMIC_DO_RELA): Likewise.
27284 (ELF_DYNAMIC_RELOCATE): Likewise.
27285 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27286 to ELF_DYNAMIC_DO_REL.
27287 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27288 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27289 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27290 elf_machine_rela.
27291 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27292 skip_ifunc, don't call ifunc function if non-zero.
27293 (elf_machine_rela): Likewise.
27294 (elf_machine_lazy_rel): Likewise.
27295 (elf_machine_lazy_rela): Likewise.
27296 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27297 (elf_machine_lazy_rel): Likewise.
27298 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27299 Likewise.
27300 (elf_machine_lazy_rel): Likewise.
27301 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27302 Likewise.
27303 (elf_machine_lazy_rel): Likewise.
27304 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27305 (elf_machine_lazy_rel): Likewise.
27306 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27307 (elf_machine_lazy_rel): Likewise.
27308 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27309 (elf_machine_lazy_rel): Likewise.
27310 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27311 (elf_machine_lazy_rel): Likewise.
27312 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27313 (elf_machine_lazy_rel): Likewise.
27314 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27315 (elf_machine_lazy_rel): Likewise.
27316
68577918
UD
273172011-09-28 Ulrich Drepper <drepper@gmail.com>
27318
27319 * nss/nss_files/files-init.c (_nss_files_init): Use static
27320 initialization for all the *_traced_file variables.
27321
68822d74
AS
273222011-09-28 Andreas Schwab <schwab@redhat.com>
27323
27324 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27325
2056100b
RM
273262011-09-27 Roland McGrath <roland@hack.frob.com>
27327
27328 [BZ #13226]
27329 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27330
32c76b63
AS
273312011-09-27 Andreas Schwab <schwab@redhat.com>
27332
27333 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27334 Reread the line before reparsing it.
27335
bf972c9d
AS
273362011-09-26 Andreas Schwab <schwab@redhat.com>
27337
27338 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27339
e057a1b5
JM
273402011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27341 Maxim Kuvyrkov <maxim@codesourcery.com>
27342 Joseph Myers <joseph@codesourcery.com>
27343
27344 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27345 if needed for __stack_chk_guard.
27346
bc7e1c36
RM
273472011-09-19 Roland McGrath <roland@hack.frob.com>
27348
ecb1482f
RM
27349 * sysdeps/posix/spawni.c (script_execute): Always define it.
27350 It will be optimized away if unused.
27351 (maybe_script_execute): New function.
27352 (__spawni): Call it.
27353
bc7e1c36
RM
27354 * Makerules: Don't include tls.make.
27355 (config-tls): Always set to thread.
27356 * tls.make.c: File removed.
27357
1c3b002b
MF
273582011-09-19 Mike Frysinger <vapier@gentoo.org>
27359
27360 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27361 * config.make.in (CPPFLAGS-config): New substituted variable.
27362
2840865d
UD
273632011-09-15 Ulrich Drepper <drepper@gmail.com>
27364
88738eb6
UD
27365 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27366
cbf645a6 27367 [BZ #13192]
2840865d
UD
27368 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27369 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27370
b402e91a
RM
273712011-09-15 Roland McGrath <roland@hack.frob.com>
27372
27373 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27374 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27375 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27376 (CALL_FAIL): Likewise.
27377 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27378 (CALL_FAIL): Macro removed.
27379 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27380
4c1a1f71
UD
273812011-09-15 Ulrich Drepper <drepper@gmail.com>
27382
27383 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27384 for __FINITE_MATH_ONLY__ == 1.
27385
edc121be
AS
273862011-09-15 Andreas Schwab <schwab@redhat.com>
27387
27388 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27389 __ieee754_sqrt instead of sqrt.
27390 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27391 __ieee754_sqrtf instead of sqrtf.
27392 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27393 __floorf instead of floorf.
27394 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27395 __floorf, __truncf instead of floorf, truncf.
27396
cd205654
UD
273972011-09-14 Ulrich Drepper <drepper@gmail.com>
27398
ee4d0315
UD
27399 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27400
cd205654
UD
27401 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27402 __extern_always_inline.
27403 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27404 32-bit.
27405
48b67d71
AS
274062011-09-14 Andreas Schwab <schwab@redhat.com>
27407
27408 * elf/rtld.c (dl_main): Also relocate in dependency order when
27409 doing symbol dependency testing.
27410
1ae12c75
AS
274112011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27412
27413 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27414 Always define `refsym'.
27415
995a80df
AS
274162011-09-13 Andreas Schwab <schwab@redhat.com>
27417
e529793b
AS
27418 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27419 (__FD_ELT): Renamed from __FDELT.
27420 * misc/bits/select2.h (__FD_ELT): Likewise.
27421 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27422 __FD_MASK instead of __FDELT, __FDMASK.
27423 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27424 Likewise.
27425 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27426 Likewise.
27427
52d4fef8
AS
27428 * elf/Makefile (gen-ldd): Fix pattern.
27429
995a80df
AS
27430 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27431 (init_tls): Likewise.
27432
8682f8b0
UD
274332011-09-12 Ulrich Drepper <drepper@gmail.com>
27434
27435 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27436
de82006d
AS
274372011-09-12 Andreas Schwab <schwab@redhat.com>
27438
a7c8e6a1
AS
27439 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27440 `struct cmsghdr *' instead of `void *'.
27441 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27442 Likewise.
27443
0f31fe77
AS
274442011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27445
27446 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27447 if non-absolute.
27448 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27449 ldd_rewrite_script.
0f31fe77 27450
32b4c839
UD
274512011-09-11 Ulrich Drepper <drepper@gmail.com>
27452
83cd1420
UD
27453 * configure.in: Remove --with-tls option.
27454 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27455 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27456 out in case it is missing.
27457 * sysdeps/ia64/elf/configure.in: Likewise.
27458 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27459 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27460 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27461 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27462 * sysdeps/sh/elf/configure.in: Likewise.
27463 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27464 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27465 * sysdeps/x86_64/elf/configure.in: Likewise.
27466 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27467 * sysdeps/mach/hurd/tls.h: Likewise.
27468
633f745d
UD
27469 [BZ #13067]
27470 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27471
f318beb8
UD
27472 [BZ #13090]
27473 * configure.in: Fix use of AC_INIT.
27474
32b4c839
UD
27475 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27476
3ce1f295
UD
274772011-09-10 Ulrich Drepper <drepper@gmail.com>
27478
bb016596
UD
27479 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27480 __set_errno.
8e58439c
UD
27481 * malloc/hooks.c: Likewise.
27482
aebae053 27483 [BZ #11929]
02d46fc4
UD
27484 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27485 variables statically.
27486 (narenas): Initialize.
27487 (list_lock): Initialize.
bb016596
UD
27488 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27489 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
27490 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27491 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27492 Add initializers to main_arena and mp_.
27493 (malloc_state): Remove pagesize member. Change all users to use
27494 GLRO(dl_pagesize).
27495
27496 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27497 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27498 is always initialized.
27499
22a89187
UD
27500 * malloc/malloc.c: Removed unused configurations and dead code.
27501 * malloc/arena.c: Likewise.
27502 * malloc/hooks.c: Likewise.
02d46fc4 27503 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 27504
d063d164
UD
27505 * include/tls.h: Removed. USE___THREAD must always be defined.
27506 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27507 * elf/dl-libc.c: Likewise.
27508 * elf/dl-tsd.c: Likewise.
27509 * include/errno.h: Likewise.
27510 * include/netdb.h: Likewise.
27511 * include/resolv.h: Likewise.
27512 * inet/herrno-loc.c: Likewise.
27513 * inet/herrno.c: Likewise.
27514 * malloc/arena.c: Likewise.
27515 * malloc/hooks.c: Likewise.
27516 * malloc/malloc.c: Likewise.
27517 * resolv/res-state.c: Likewise.
27518 * resolv/res_libc.c: Likewise.
27519 * sysdeps/i386/dl-machine.h: Likewise.
27520 * sysdeps/ia64/dl-machine.h: Likewise.
27521 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27522 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27523 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27524 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27525 * sysdeps/sh/dl-machine.h: Likewise.
27526 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27527 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27528 * sysdeps/unix/i386/sysdep.S: Likewise.
27529 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27530 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27531 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27532 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27533 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27534 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27535 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27536 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27537 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27538 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27539 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27540 * sysdeps/x86_64/dl-machine.h: Likewise.
27541 * tls.make.c: Likewise.
27542
3ce1f295
UD
27543 * configure.in: Remove --with-__thread option. Make tests for
27544 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27545 tls_model attribute fail if no support is available. Remove
27546 USE_IN_LIBIO.
27547 * Makeconfig: Adjust for dropped configure option. All features are
27548 now mandatory.
27549 * Makerules: Likewise.
27550 * Versions.def: Likewise.
27551 * argp/argp-fmtstream.c: Likewise.
27552 * argp/argp-fmtstream.h: Likewise.
27553 * argp/argp-help.c: Likewise.
27554 * assert/assert.c: Likewise.
27555 * config.h.in: Likewise.
27556 * config.make.in: Likewise.
27557 * configure: Likewise.
27558 * configure.in: Likewise.
27559 * csu/Versions: Likewise.
27560 * csu/init.c: Likewise.
27561 * elf/tst-audit2.c: Likewise.
27562 * elf/tst-tls10.c: Likewise.
27563 * elf/tst-tls10.h: Likewise.
27564 * elf/tst-tls11.c: Likewise.
27565 * elf/tst-tls12.c: Likewise.
27566 * elf/tst-tls14.c: Likewise.
27567 * elf/tst-tlsmod11.c: Likewise.
27568 * elf/tst-tlsmod12.c: Likewise.
27569 * elf/tst-tlsmod13.c: Likewise.
27570 * elf/tst-tlsmod13a.c: Likewise.
27571 * elf/tst-tlsmod14a.c: Likewise.
27572 * elf/tst-tlsmod15b.c: Likewise.
27573 * elf/tst-tlsmod16a.c: Likewise.
27574 * elf/tst-tlsmod16b.c: Likewise.
27575 * elf/tst-tlsmod7.c: Likewise.
27576 * elf/tst-tlsmod8.c: Likewise.
27577 * elf/tst-tlsmod9.c: Likewise.
27578 * gmon/gmon.c: Likewise.
27579 * grp/fgetgrent_r.c: Likewise.
27580 * grp/putgrent.c: Likewise.
27581 * hurd/fopenport.c: Likewise.
27582 * include/libc-symbols.h: Likewise.
27583 * include/tls.h: Likewise.
27584 * intl/gettextP.h: Likewise.
27585 * intl/loadinfo.h: Likewise.
27586 * locale/global-locale.c: Likewise.
27587 * locale/localeinfo.h: Likewise.
27588 * mach/devstream.c: Likewise.
27589 * malloc/arena.c: Likewise.
27590 * malloc/set-freeres.c: Likewise.
27591 * misc/err.c: Likewise.
27592 * misc/getttyent.c: Likewise.
27593 * misc/mntent_r.c: Likewise.
27594 * posix/getopt.c: Likewise.
27595 * posix/wordexp.c: Likewise.
27596 * pwd/fgetpwent_r.c: Likewise.
27597 * resolv/Versions: Likewise.
27598 * resolv/res_hconf.c: Likewise.
27599 * shadow/fgetspent_r.c: Likewise.
27600 * shadow/putspent.c: Likewise.
27601 * stdio-common/printf_fphex.c: Likewise.
27602 * stdio-common/tmpfile.c: Likewise.
27603 * stdlib/abort.c: Likewise.
27604 * stdlib/fmtmsg.c: Likewise.
27605 * sunrpc/auth_unix.c: Likewise.
27606 * sunrpc/clnt_perr.c: Likewise.
27607 * sunrpc/clnt_tcp.c: Likewise.
27608 * sunrpc/clnt_udp.c: Likewise.
27609 * sunrpc/clnt_unix.c: Likewise.
27610 * sunrpc/openchild.c: Likewise.
27611 * sunrpc/svc_simple.c: Likewise.
27612 * sunrpc/svc_tcp.c: Likewise.
27613 * sunrpc/svc_udp.c: Likewise.
27614 * sunrpc/svc_unix.c: Likewise.
27615 * sunrpc/xdr.c: Likewise.
27616 * sunrpc/xdr_array.c: Likewise.
27617 * sunrpc/xdr_rec.c: Likewise.
27618 * sunrpc/xdr_ref.c: Likewise.
27619 * sunrpc/xdr_stdio.c: Likewise.
27620
1248c1c4
PB
276212011-09-09 Ulrich Drepper <drepper@gmail.com>
27622
27623 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27624
276252011-07-03 Andreas Jaeger <aj@suse.de>
27626
27627 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27628 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27629 regenerate with gen-libm-tests.pl.
27630
276312010-05-12 Petr Baudis <pasky@suse.cz>
27632
27633 [BZ #11589]
27634 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27635 around j0() zero points by switching to j1().
27636 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27637 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27638 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27639 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27640
f22e1074
UD
276412011-09-09 Ulrich Drepper <drepper@gmail.com>
27642
f19009c1
UD
27643 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27644 instead of 0.
27645 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 27646 instead of 0.
f19009c1
UD
27647 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27648 Patch in part by Pavel Roskin <proski@gnu.org>.
27649
3f8cc204
UD
27650 [BZ #13138]
27651 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27652 realloc.
27653 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27654 Free memory block if necessary.
27655
f22e1074
UD
27656 [BZ #12847]
27657 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27658 be NULL. Don't lock in this case.
27659
0a2349f9
RM
276602011-09-09 Roland McGrath <roland@hack.frob.com>
27661
27662 * elf/elf.h (ELFOSABI_GNU): New macro.
27663 (ELFOSABI_LINUX): Define to that.
27664
f3cdd467
DZ
276652011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27666
27667 * string/strncat.c (strncat): Undef the symbol in case it has been
27668 defined in bits/string.h.
27669
74718d13
UD
276702011-09-09 Ulrich Drepper <drepper@gmail.com>
27671
633e9e0f
UD
27672 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27673
0a2349f9 27674 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
27675 link map.
27676
f9924780
AJ
276772011-08-17 Andreas Jaeger <aj@suse.de>
27678
27679 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27680
7f5517aa
PP
276812011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27682 Ian Lance Taylor <iant@google.com>
27683
27684 * math/libm-test.inc (lround_test): New testcase.
27685 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27686
762011fe
UD
276872011-09-08 Ulrich Drepper <drepper@gmail.com>
27688
92963737
UD
27689 * Makefile: Remove support for automatic cvs check-ins.
27690 * Makerules: Likewise.
27691 * config.make.in: Likewise.
27692 * configure.in: Likewise.
27693 * intl/Makefile: Likewise.
27694 * locale/Makefile: Likewise.
27695 * po/Makefile: Likewise.
27696 * posix/Makefile: Likewise.
27697 * sysdeps/gnu/Makefile: Likewise.
27698 * sysdeps/mach/hurd/Makefile: Likewise.
27699 * sysdeps/sparc/sparc32/Makefile: Likewise.
27700
b0727fd8
JS
27701 [BZ #13118]
27702 * posix/Makefile (bug-regex32-ENV): Define.
27703 Patch by John Stanley <jpsinthemix@verizon.net>.
27704
a0f33f99
UD
27705 * misc/Makefile (headers): Add bits/select2.h.
27706 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27707 * misc/bits/select2.h: New file.
27708 * include/bits/select2.h: New file.
27709 * debug/Makefile (routines): Add fdelt_chk.
27710 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27711 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27712 FD_ISSET.
27713 * debug/fdelt_chk.c: New file.
27714
762011fe
UD
27715 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
27716 * wcsmbs/test-wmemcmp.c: Likewise.
27717 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 27718 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
27719
277202011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27721
27722 * string/Makefile (strop-tests): Add memcmp.
27723 * string/test-wmemcmp.c: New file.
27724 * string/test-memcmp.c: Add wmemcmp support.
27725
7f513ec8
RM
277262011-09-08 Roland McGrath <roland@hack.frob.com>
27727
0442afb4
RM
27728 [BZ #13153]
27729 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27730 2011-07-19 change.
27731
7f513ec8
RM
27732 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27733 garbage value in a __mach_port_mod_refs call in the cases of the
27734 task-self and thread-self ports.
27735
a12b2239
ST
277362011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27737
27738 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27739
610f9ab4
AS
277402011-09-08 Andreas Schwab <schwab@redhat.com>
27741
7f513ec8 27742 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 27743
48882a1a
LD
277442011-09-07 Ulrich Drepper <drepper@gmail.com>
27745
b49865be
UD
27746 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27747
fdc86bc9
UD
27748 * elf/dl-libc.c (dlerror_run): Pass back error code from
27749 dl_catch_error.
27750
c966526a
UD
27751 [BZ #13123]
27752 * elf/dl-load.c (lose): Free l_origin if it is valid.
27753
48882a1a
LD
27754 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27755 names.
27756 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27757 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27758 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27759 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27760 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27761 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27762
77a2a8b4
AZ
277632011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27764
27765 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27766 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27767 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27768 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27769 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27770 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27771 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27772 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27773 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27774 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27775
24f579d8
AM
277762011-08-15 Alan Modra <amodra@gmail.com>
27777
27778 [BZ #13092]
27779 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27780 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27781 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27782 ppc_mcount to static-only-routines.
27783 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27784 __mcount_internal.
27785 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27786 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27787
3d4837df
UD
277882011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27789
27790 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27791 for finite and infinity parameters.
27792
22700377
WS
277932011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27794
27795 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27796 and add nop instructions for throughput optimization.
27797 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27798
5025581e
WS
277992011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27800
27801 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27802 aligned copy for power7 with vector-scalar instructions.
27803 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27804
08a300c9
L
278052011-07-24 H.J. Lu <hongjiu.lu@intel.com>
27806
27807 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27808 AVX check.
27809
59178ef9
AS
278102011-09-07 Andreas Schwab <schwab@redhat.com>
27811
27812 [BZ #13144]
27813 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27814 last change.
27815
e38ba7ab
UD
278162011-09-07 Ulrich Drepper <drepper@gmail.com>
27817
27818 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27819 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27820 syscall wrapper around clock_gettime in __vdso_clock_gettime.
27821 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27822 clock_gettime.
27823
d53a73ac
UD
278242011-09-06 Ulrich Drepper <drepper@gmail.com>
27825
fc8bffcc
UD
27826 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27827 Forgot to demangle the pointer.
27828
ceaa0c5d
UD
27829 * sysdeps/i386/sysdep.h: Define atom_text_section.
27830 * sysdeps/x86_64/sysdep.h: Likewise.
27831 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27832 section with atom_text_section.
27833 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27834 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27835 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27836 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27837 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27838
a77d3c17
UD
27839 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27840 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27841 already be defined. Change to take two parameters and don't assign
27842 result to variable. Adjust all users.
27843 Define INTERNAL_GETTIME if not already defined.
27844 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27845 call.
27846 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27847 HAVE_CLOCK_GETTIME_VSYSCALL.
27848 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27849
d53a73ac
UD
27850 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27851 gettimeofday vsyscall, just use time.
27852
a8f84144
AS
278532011-09-06 Andreas Schwab <schwab@redhat.com>
27854
27855 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27856 <errno.h>.
27857
ef606249
UD
278582011-09-06 Ulrich Drepper <drepper@gmail.com>
27859
27860 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27861 syscall on x86-64.
27862 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27863 syscall.
27864 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27865 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27866 syscall if possible.
27867
6585cb60
UD
278682011-09-05 Ulrich Drepper <drepper@gmail.com>
27869
27870 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27871 e_ident. Don't pass to find_mapsXX.
27872 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27873
a5f524e4
LD
278742011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27875
27876 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27877 strchr-sse2-no-bsf strrchr-sse2-no-bsf
27878 * sysdeps/x86_64/multiarch/strchr.S: Update.
27879 Check bit_slow_BSF bit.
27880 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27881 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27882 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27883
554881ef
UD
278842011-09-05 Ulrich Drepper <drepper@gmail.com>
27885
d96de963
UD
27886 [BZ #13134]
27887 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27888 before glibc 2.15.
27889 (tryshell): Define.
27890 (__spawni): Change last parameter to be flag. Test
27891 SPAWN_XFLAGS_USE_PATH flag to use path or not.
27892 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27893 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27894 * posix/spawni.c: Likewise.
27895 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27896 * posix/spawnp.c: Likewise. Change normal version to use
27897 SPAWN_XFLAGS_USE_PATH.
27898 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27899 SPAWN_XFLAGS_TRY_SHELL.
27900
d48e5868
UD
27901 [BZ #13150]
27902 * posix/glob.h: Remove gcc 1.x support.
27903
554881ef
UD
27904 [BZ #13068]
27905 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27906
693fb948
LD
279072011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27908
27909 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27910 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27911 strrchr-sse2-bsf
27912 * sysdeps/i386/i686/multiarch/strchr.S: New file.
27913 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27914 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27915 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27916 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27917 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27918
1b48c537
UD
279192011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27920
49d42c37
UD
27921 * sysdeps/x86_64/wcscmp.S: New file.
27922
1b48c537
UD
27923 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27924 wcscmp-c wcscmp-sse2
27925 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27926 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27927 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27928 * wcsmbs/wcscmp.c: Allow renaming.
27929
15c95c5d
DM
279302011-09-05 David S. Miller <davem@davemloft.net>
27931
27932 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27933 stack slot, rather than the struct return pointer slot.
27934 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27935 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27937 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27938
2f0ad8f3
UD
279392011-09-05 Ulrich Drepper <drepper@gmail.com>
27940
d88ae418
UD
27941 * po/ja.po: Update from translation team.
27942
2f0ad8f3
UD
27943 [BZ #13144]
27944 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27945 kernel in 64-bit binaries.
27946
5f4318d1
DM
279472011-09-01 David S. Miller <davem@davemloft.net>
27948
27949 * elf/elf.h (HWCAP_SPARC_*): Move to..
27950 * sysdeps/sparc/sysdep.h: this new file and add new values.
27951 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
27952 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
27953 _DL_HWCAP_COUNT to 24.
27954 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27955 entries.
27956 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
27957 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
27958 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
27959 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
27960 instead of magic constants.
27961 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27962
3ba57516
DM
279632011-08-31 David S. Miller <davem@davemloft.net>
27964
27965 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
27966 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
27967 Reimplement to do errno handling inline.
27968 (SYSCALL_ERROR_HANDLER): New macro.
27969 (__SYSCALL_STRING): Do not do errno handling in asm.
27970 (__CLONE_SYSCALL_STRING): Delete.
27971 (__INTERNAL_SYSCALL_STRING): Delete.
27972 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
27973 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
27974 (PSEUDO): Reimplement to do errno handling inline.
27975 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
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/sysdep.h (INLINE_SYSCALL):
27981 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
27982 i386.
27983 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
27984 (inline_syscall*): Add 'err' argument.
27985 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
27986 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
27987 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
27988 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
27989
27990 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
27991 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27992
2bc17433
AS
279932011-08-30 Andreas Schwab <schwab@redhat.com>
27994
27995 * elf/rtld.c (dl_main): Relocate objects in dependency order.
27996
fbeb5f4d
JO
279972011-08-29 Jiri Olsa <jolsa@redhat.com>
27998
27999 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28000 directive.
28001
ad69cc26
DM
280022011-08-24 David S. Miller <davem@davemloft.net>
28003
28004 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28005
39dd69df
AS
280062011-08-24 Andreas Schwab <schwab@redhat.com>
28007
28008 * elf/Makefile: Add rules to build and run unload8 test.
28009 * elf/unload8.c: New file.
28010 * elf/unload8mod1.c: New file.
28011 * elf/unload8mod1x.c: New file.
28012 * elf/unload8mod2.c: New file.
28013 * elf/unload8mod3.c: New file.
28014
28015 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28016 it wasn't used.
28017
2c0b250a
DM
280182011-08-23 David S. Miller <davem@davemloft.net>
28019
28020 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28021 subtract stack bias.
28022 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28023 %sp not %fp in calculations.
28024 (_JMPBUF_UNWINDS_ADJ): Likewise.
28025
22044b48
DM
28026 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28027 (aio_suspend): Call it to force an exception region around the
28028 AIO_MISC_WAIT() invocation.
28029
2cae4995
AS
280302011-08-23 Andreas Schwab <schwab@redhat.com>
28031
28032 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28033 backslash.
28034
873a772e
AJ
280352011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28036
28037 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28038 protection macro.
28039 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28040 and <dl-machine.h>.
28041 (Elf64_FuncDesc): Remove.
28042
25ad0df1
DM
280432011-08-22 David S. Miller <davem@davemloft.net>
28044
28045 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28046 sigaltstack check, add missing cfi directives.
28047 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28048 missing cfi directives, and sigaltstack handling.
28049
e888bcbe
AS
280502011-08-16 Andreas Schwab <schwab@redhat.com>
28051
28052 [BZ #11724]
28053 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28054 object is seen twice.
28055 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28056
28057 * elf/Makefile (distribute): Add tst-initorder2.c.
28058 (tests): Add tst-initorder2.
28059 (modules-names): Add tst-initorder2a tst-initorder2b
28060 tst-initorder2c tst-initorder2d. Add rules to build them.
28061 ($(objpfx)tst-initorder2.out): New rule.
28062 * elf/tst-initorder2.c: New file.
28063 * elf/tst-initorder2.exp: New file.
28064
87162f46
AS
280652011-08-22 Andreas Schwab <schwab@redhat.com>
28066
70538b7f
AS
28067 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28068
f55ffe58
AS
28069 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28070 dependencies back to end of function.
28071
87162f46
AS
28072 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28073 $(elfobjdir)/ld.so.
28074
91b392a4
UD
280752011-08-21 Ulrich Drepper <drepper@gmail.com>
28076
28077 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28078 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28079 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28080 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28081 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28082 of __vdso_gettimeofday.
28083 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28084 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28085 attribute_hidden.
28086 (_libc_vdso_platform_setup): Remove initialization of
28087 __vdso_gettimeofday and __vdso_time.
28088
5c43483f
UD
280892011-08-20 Ulrich Drepper <drepper@gmail.com>
28090
775a77e7
UD
28091 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28092 and fgetc_unlocked.
28093 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28094 getc_unlocked.
89f447ed 28095
49c74ba9
UD
28096 * elf/dl-open.c (add_to_global): Report additions to the global scope
28097 for LD_DEBUG=scopes.
28098 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 28099 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 28100
5c43483f
UD
28101 [BZ #13114]
28102 * stdio-common/Makefile (tests): Add bug24.
28103 * stdio-common/bug24.c: New file.
28104
a101b025
AJ
281052011-08-19 Andreas Jaeger <aj@suse.de>
28106
28107 [BZ #13114]
28108 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28109 non-existant file when using close-on-exec mode.
28110
c88f1766
UD
281112011-08-20 Ulrich Drepper <drepper@gmail.com>
28112
0276a718
UD
28113 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28114 the very first instruction.
28115
c88f1766
UD
28116 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28117 the CFI state in the end.
28118 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28119 inclusion of dl-trampoline.h.
28120 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28121
51ccffa0
AS
281222011-08-19 Andreas Schwab <schwab@redhat.com>
28123
94d7165f
AS
28124 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28125 expectations for long double.
28126
51ccffa0
AS
28127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28128 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28129
fd708658 281302011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
28131
28132 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28133 artificual limit depends upon the system page size.
28134
44f0a71e
UD
281352011-08-17 Ulrich Drepper <drepper@gmail.com>
28136
28137 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28138 * resolv/Makefile: Define CFLAGS-libresolv.
28139
8de79a24
AS
281402011-08-17 Andreas Schwab <schwab@redhat.com>
28141
28142 * nss/makedb.c (compute_tables): Make variables used in nested
28143 function static.
28144
27724598
UD
281452011-08-17 Ulrich Drepper <drepper@gmail.com>
28146
c5305d88
UD
28147 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28148 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28149 if buffer was too small.
28150
27724598
UD
28151 * elf/pldd.c (main): Attach to all threads in the process.
28152 Rewrite /proc handling to use *at functions.
28153
076fe015
UD
281542011-08-16 Ulrich Drepper <drepper@gmail.com>
28155
174baab3
UD
28156 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28157 specifies first scope to show.
28158 (dl_open_worker): Update callers. Move printing scope of new
28159 object to before the relocation.
44f0a71e 28160 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
28161 * sysdeps/generic/ldsodefs.h: Update declaration.
28162
076fe015
UD
28163 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28164 string for the scope number.
28165
a60df2c3
UD
281662011-08-14 Ulrich Drepper <drepper@gmail.com>
28167
28168 * nscd/servicescache.c (cache_addserv): Make sure written is always
28169 initialized.
28170
5e4287d1
RM
281712011-08-14 Roland McGrath <roland@hack.frob.com>
28172
85ae0589
RM
28173 * sysdeps/i386/i486/bits/atomic.h
28174 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28175 statement expression, so as to suppress "set but not used" warning.
28176 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28177
69f63097
RM
28178 * string/strncat.c (STRNCAT): Use prototype definition.
28179
675456ef
RM
28180 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28181 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28182 -Iprograms here.
28183 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28184 (localedef-modules): Add localedef.
28185 (locale-modules): Add locale.
28186
5e4287d1
RM
28187 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28188 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28189 to avoid a warning.
28190
9c96ff23
DM
281912011-08-14 David S. Miller <davem@davemloft.net>
28192
28193 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28194 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28195
f9ddf089
UD
281962011-08-13 Ulrich Drepper <drepper@gmail.com>
28197
44f0a71e 28198 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
28199 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28200 * elf/rtld.c (dl_main): Set l_name of vDSO.
28201 Call _dl_show_scope when DL_DEBUG_SCOPES.
28202 (process_dl_debug): Recognize scopes flag and also set it for all.
28203 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28204 Declare _dl_show_scope.
28205
1dc27704
UD
28206 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28207 (do_dlopen): Pass caller_dlopen to dl_open.
28208 (__libc_dlopen_mode): Initialize caller_dlopen.
28209
f9ddf089
UD
28210 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28211 of libc. Make tolower call locale-independent. Optimize a bit by
28212 using isdigit instead of isalnum.
28213 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28214
9ac533d3
UD
282152011-08-12 Ulrich Drepper <drepper@gmail.com>
28216
28217 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28218 was a dependency or dynamically loaded.
28219
89edf2e9
UD
282202011-08-11 Ulrich Drepper <drepper@gmail.com>
28221
8e999d29
UD
28222 * intl/l10nflist.c: Allow architecture-specific pop function.
28223 * sysdeps/x86_64/l10nflist.c: New file.
28224
89edf2e9
UD
28225 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28226 classification.
28227
14d96785
AS
282282011-08-10 Andreas Schwab <schwab@redhat.com>
28229
28230 * include/dirent.h: Add libc_hidden_proto for scandirat and
28231 scandirat64. Don't declare __scandirat64.
28232 * dirent/scandirat.c: Add libc_hidden_def.
28233 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28234 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28235
6761ac04
DM
282362011-08-10 David S. Miller <davem@davemloft.net>
28237
28238 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28239 enum.
28240 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28241 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28242 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28243
c55fbd1e
UD
282442011-08-09 Ulrich Drepper <drepper@gmail.com>
28245
28246 * Versions.def [libc]: Add GLIBC_2.15.
28247 * dirent/Makefile (routines): Add scandirat and scandirat64.
28248 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28249 GLIBC_2.15.
28250 * dirent/dirent.h: Declare scandirat and scandirat64.
28251 * dirent/scandirat.c: New file.
28252 * dirent/scandirat64.c: New file.
28253 * sysdeps/wordsize-64/scandirat.c: New file.
28254 * sysdeps/wordsize-64/scandirat64.c: New file.
28255 * dirent/opendir.c: Define opendirat.
28256 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28257 using scandirat.
28258 * dirent/scandir64.c: Adjust for scandir.c change.
28259 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28260 __scandirat64, and __scandir_cancel_handler.
28261 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28262 additional parameter and use openat instead of open (outside of ld.so).
28263 Add new __opendir as wrapper around __opendirat.
28264 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28265 here without requiring old scandirat implementation.
28266
879165f2
UD
282672011-08-08 Ulrich Drepper <drepper@gmail.com>
28268
28269 * dirent/scandir.c (cancel_handler): Renamed to
28270 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28271 defined. Adjust users.
28272 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28273 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28274
cb7e923b
UD
282752011-08-04 Ulrich Drepper <drepper@gmail.com>
28276
16292edd
UD
28277 * string/test-string.h (IMPL): Use __STRING to expand name and then
28278 stringify it.
28279
cb7e923b
UD
28280 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28281 of cleanups.
28282
cff82933
LD
282832011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28284
28285 * string/Makefile: Update.
28286 (strop-tests): Append strncat.
28287 * string/test-wcscmp.c: New file.
28288 New comprehensive test for wcscmp.
28289 * string/test-strcmp.c: Update.
28290 (WIDE): New define.
28291
9be9bfcc
AS
282922011-07-22 Andreas Schwab <schwab@redhat.com>
28293
28294 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28295 line.
28296
2e96f1c7
AS
282972011-07-26 Andreas Schwab <schwab@redhat.com>
28298
28299 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28300 encoding to ACE if AI_IDN.
28301
85188888
JJ
283022011-08-01 Jakub Jelinek <jakub@redhat.com>
28303
28304 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28305 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28306
5fa16e9b
LD
283072011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28308
28309 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28310 Fix overflow bug in strncat.
28311 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28312
28313 * string/test-strncat.c: Update.
28314 Add new tests for checking overflow bugs.
28315
283162011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28317
28318 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28319 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28320 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28321 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28322 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28323 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28324 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28325 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28326 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28327
28328 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28329 (USE_AS_STRCAT): Define.
28330 Add strcat and strncat support.
28331 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28332
8c1a459f
AS
283332011-07-25 Andreas Schwab <schwab@redhat.com>
28334
28335 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28336 __n bigger than INT_MAX+1.
28337 (__strncmp_g): Likewise.
28338
bba33c28
UD
283392011-07-23 Ulrich Drepper <drepper@gmail.com>
28340
798be72d
UD
28341 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28342 * libio/stido.h: Likewise.
28343
8accd4dc
UD
28344 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28345 (AF_NFC): Define.
28346 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28347 (AF_NFC): Define.
28348
cbff0d96
UD
28349 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28350 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28351 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28352 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28353 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28354
9191c04a
UD
28355 [BZ #13021]
28356 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28357 installed.
28358
bba33c28
UD
28359 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28360 typo.
28361 (_dl_x86_64_save_sse): Likewise.
28362
90f139dd
UD
283632011-07-22 Ulrich Drepper <drepper@gmail.com>
28364
1aae088a
UD
28365 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28366 OSXSAVE.
28367 (_dl_x86_64_save_sse): Likewise.
28368
8e2045f5
UD
28369 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28370
90f139dd
UD
28371 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28372
1d002f25
AS
283732011-07-21 Andreas Schwab <schwab@redhat.com>
28374
28375 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28376 change.
28377 (_dl_x86_64_save_sse): Use correct AVX check.
28378
21137f89
UD
283792011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28380
28381 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28382 bug in strncpy/strncat.
28383 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28384
a65c0b7a
UD
283852011-07-21 Ulrich Drepper <drepper@gmail.com>
28386
28387 * string/tester.c (test_strcat): Add tests for different alignments
28388 of source and destination.
28389 (test_strncat): Likewise.
28390
6986b98a
UD
283912011-07-20 Ulrich Drepper <drepper@gmail.com>
28392
90bb2039
UD
28393 [BZ #12852]
28394 * posix/glob.c (glob): Check passed in values before using them in
28395 expressions to avoid some overflows.
28396 (glob_in_dir): Likewise.
28397
5644ef54
UD
28398 [BZ #13007]
28399 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28400 check for AVX enablement so that we don't crash with old kernels and
28401 new hardware.
28402 * elf/tst-audit4.c: Add same checks here.
28403 * elf/tst-audit6.c: Likewise.
28404
28405 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 28406
bfc9dc9b
AS
284072011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28408
28409 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28410
702e64bb
UD
284112011-07-20 Ulrich Drepper <drepper@gmail.com>
28412
28413 * po/cs.po: Update from translation team.
28414 * po/bg.po: Likewise.
28415
295e904f
MP
284162011-07-12 Marek Polacek <mpolacek@redhat.com>
28417
28418 * misc/sys/cdefs.h: Add support for const attribute.
28419 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28420 to gnu_dev_{major,minor,makedev} functions.
28421
3ff94596
MP
284222011-07-20 Marek Polacek <mpolacek@redhat.com>
28423
28424 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28425
28b59fca
AS
284262011-07-20 Andreas Schwab <schwab@redhat.com>
28427
28428 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28429 strlen results.
28430
19df733e
AK
284312011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28432
28433 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28434 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28435 register in order to avoid conflicts with the soft frame pointer
28436 being held in r11 when necessary.
28437 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28438 (INTERNAL_VSYSCALL_NCS): Likewise.
28439
c8835729
MP
284402011-07-14 Marek Polacek <mpolacek@redhat.com>
28441
28442 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28443 * elf/dl-fini.c (_dl_fini): Adjust caller.
28444 * elf/dl-close.c (_dl_close_worker): Likewise.
28445 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28446
b902330c
MP
284472011-07-15 Marek Polacek <mpolacek@redhat.com>
28448
8991e135
MP
28449 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28450 "aux_cache->nlibs < 0".
28451
b902330c
MP
28452 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28453 in the reload-count case.
28454
99710781
LD
284552011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28456
28457 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28458 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28459 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28460 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28461 * sysdeps/x86_64/multiarch/strcat.S: New file.
28462 * sysdeps/x86_64/multiarch/strncat.S: New file.
28463 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28464 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28465 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28466 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28467 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28468 (USE_AS_STRCAT): Define.
28469 Add strcat and strncat support.
28470 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28471 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28472 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28473 * string/strncat.c: Update.
28474 (USE_AS_STRNCAT): Define.
28475 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28476 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28477 and i7.
28478 * sysdeps/x86_64/multiarch/init-arch.h
28479 (bit_Prefer_PMINUB_for_stringop): New.
28480 (index_Prefer_PMINUB_for_stringop): Likewise.
28481 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28482 bit_Prefer_PMINUB_for_stringop.
28483
7dc6bd90
UD
284842011-07-19 Ulrich Drepper <drepper@gmail.com>
28485
28486 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28487 buffer64.
28488 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28489 of casting of buffer.
28490 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28491 buffer32 and buffer64.
28492 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28493 writes instead of casting of buffer.
28494 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28495 buffer32.
28496 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28497 casting of buffer.
28498
e0e72284
AS
284992011-07-19 Andreas Schwab <schwab@redhat.com>
28500
28501 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28502
feb1eb0b
UD
285032011-07-19 Ulrich Drepper <drepper@gmail.com>
28504
28505 * nscd/nscd.c (termination_handler): Don't do anything for a database
28506 if it has not yet been initialized.
28507
298711ff
UD
285082011-07-18 Ulrich Drepper <drepper@gmail.com>
28509
28510 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28511
285122011-07-15 Marek Polacek <mpolacek@redhat.com>
28513
28514 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28515
f9d68389
UD
285162011-07-18 Ulrich Drepper <drepper@gmail.com>
28517
28518 * po/nl.po: Update from translation team.
28519 * po/sv.po: Likewise.
28520
db290cf5
RM
285212011-07-16 Roland McGrath <roland@hack.frob.com>
28522
28523 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28524 now disallowed by GCC.
5c550700 28525
fd5e21c7
RM
28526 * configure.in (use-default-link): Default to yes if a test -shared
28527 link meets our qualifications.
28528 * configure: Regenerated.
28529
5c550700
RM
28530 * config.make.in (output-format): New variable.
28531 * configure.in: Check for ld --print-output-format support.
28532 * configure: Regenerated.
28533 * Makerules ($(common-objpfx)format.lds)
28534 [$(output-format) != unknown]: Just use $(output-format),
28535 instead of the linker-script munging.
28536
9fa2c032
RM
285372011-07-14 Roland McGrath <roland@hack.frob.com>
28538
a6928d51
RM
28539 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28540 of $(common-objpfx)shlib.lds.
28541 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28542
661607b3
RM
28543 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28544 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28545
9fa2c032
RM
28546 * configure.in (-z relro check): Adjust test code to add a large
28547 writable data section after it.
28548 * configure: Regenerated.
28549
defe9061
RM
285502011-07-11 Roland McGrath <roland@hack.frob.com>
28551
28552 * configure.in (-z relro check): Fix test code to make the variable
28553 truly const.
28554 * configure: Regenerated.
28555
319b9ad4
UD
285562011-07-11 Ulrich Drepper <drepper@gmail.com>
28557
28558 * nscd/nscd.h (struct traced_file): Define.
28559 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28560 elements. Add traced_files.
28561 (inotify_fd): Declare.
28562 (register_traced_file): Declare.
28563 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28564 (inotify_fd): Export.
28565 (resolv_conf_descr): Remove.
28566 (nscd_init): Move inotify descriptor creation to main.
28567 Don't register files for notification here.
28568 (register_traced_file): New function.
28569 (invalidate_cache): Don't use reset_res to determine whether to call
28570 res_init, go through the list of registered files.
28571 (main_loop_poll): The inotify descriptors are now stored in the
28572 structures for the traced files.
28573 (main_loop_epoll): Likewise
28574 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28575 to __nss_disable_nscd.
28576 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28577 for a database anymore. Check the records for all the registered
28578 files instead.
28579 * nss/Makefile (libnss_files-routines): Add files-init.
28580 (libnss_db-routines): Add db-init.
28581 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28582 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28583 * nss/nss_db/db-init.c: New file.
28584 * nss/nss_files/files-init.c: New file.
28585 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28586 __nss_lookup_function.
28587 (__nss_lookup_function): Call nss_load_library.
28588 (nss_load_all_libraries): New function.
28589 (__nss_disable_nscd): Take parameter with callback function for files
28590 to register. Set is_nscd. Load all the DSOs for the NSS modules
28591 used for the cached services.
28592 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28593 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28594 options for features to all the files in nscd.
28595
28596 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28597
23bee3e8
RM
285982011-07-10 Roland McGrath <roland@hack.frob.com>
28599
28600 * csu/elf-init.c (__libc_csu_init): Comment typo.
28601
46a5b7f0
UD
286022011-07-09 Ulrich Drepper <drepper@gmail.com>
28603
28604 * po/pl.po: Update from translation team.
28605 * po/ja.po: Likewise.
28606 * po/ru.po: Likewise.
28607 * po/ko.po: Likewise.
28608 * po/fr.po: Likewise.
28609
d30cf5bb
RM
286102011-07-09 Roland McGrath <roland@hack.frob.com>
28611
113ddea4
RM
28612 * configure.in (.ctors/.dtors header and trailer check):
28613 Use an empirical test on a built program.
28614 * configure: Regenerated.
28615
574920b4
RM
28616 * configure.in (-z relro check): Use an empirical test on a built DSO.
28617 Detect, but do not require, on ia64.
28618 * configure: Regenerated.
28619
d30cf5bb
RM
28620 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28621 Update tests that use readelf to use $READELF instead.
28622 * configure: Regenerated.
28623
8538fdb3
UD
286242011-07-08 Ulrich Drepper <drepper@gmail.com>
28625
28626 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28627 if the result is not used.
28628
04d08991
AJ
286292011-07-05 Andreas Jaeger <aj@suse.de>
28630
28631 [BZ#9696]
28632 * stdlib/tst-strtod.c: Add testcase.
28633
de283087
AD
286342011-07-07 Ulrich Drepper <drepper@gmail.com>
28635
4e5f31c8 28636 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 28637 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
28638 The latter has a higher limit. Take additional parameter to pass to
28639 the new function.
28640 (__pathconf): Pass file to __statfs_link_max.
28641 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28642 __statfs_link_max.
28643 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28644 __statfs_link_max.
28645
de283087
AD
28646 [BZ #12868]
28647 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28648 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28649 Handle Lustre.
28650 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28651 (__statfs_filesize_max): Likewise.
28652 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28653
c75fa153
AJ
286542011-07-05 Andreas Jaeger <aj@suse.de>
28655
28656 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28657
1a544854
UD
286582011-07-06 Marek Polacek <mpolacek@redhat.com>
28659
28660 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28661 `status' variable.
28662 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28663 Likewise.
28664
6f0eec67
UD
286652011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28666
28667 * Makefile (strop-tests): Add strncat.
28668 * string/test-strncat.c: New file.
28669
aae30307
UD
286702011-06-30 Marek Polacek <mpolacek@redhat.com>
28671
28672 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28673
c0cfb5eb
UD
286742011-06-21 Andreas Jaeger <aj@suse.de>
28675
28676 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28677 Copy rule from iconvdata/Makefile.
28678
01636b21
UD
286792011-07-06 Ulrich Drepper <drepper@gmail.com>
28680
28681 [BZ #12922]
28682 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28683 but no long options are defined, just return 'W'.
28684
9895c8bc
UD
286852011-06-22 Marek Polacek <mpolacek@redhat.com>
28686
28687 [BZ #9696]
28688 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28689
5d4cf042
UD
286902011-07-06 Ulrich Drepper <drepper@gmail.com>
28691
28692 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28693 netgroups to read.
960e5535 28694 (innetgr): Likewise.
5d4cf042 28695
751eb97e
RM
286962011-07-05 Roland McGrath <roland@hack.frob.com>
28697
28698 * config.make.in (install_root): Default to $(DESTDIR).
28699
f15f1e45
UD
287002011-07-05 Ulrich Drepper <drepper@gmail.com>
28701
28702 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28703
4e34ac6a
RM
287042011-07-02 Roland McGrath <roland@hack.frob.com>
28705
5e9b6af4
RM
28706 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28707
84f9ea0f
RM
28708 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28709 containing directory rather than embedding absolute directory names.
28710
ea5ee9f7
RM
28711 * scripts/check-local-headers.sh: Rewritten using awk.
28712 Match by word, not by line. Print error messages for matches.
28713 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28714
1b74661a
RM
28715 * Makerules [shlib-lds-flags empty]:
28716 ($(common-objpfx)libc_pic.opts): New target.
28717 ($(common-objpfx)libc_pic.os.clean): New target.
28718 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28719
28720 * config.make.in (OBJCOPY): New variable.
28721 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28722 * configure: Regenerated.
28723
f781ef40
RM
28724 * config.make.in (use-default-link): New variable.
28725 * configure.in (use_default_link): Grok --with-default-link to set it.
28726 * configure: Regenerated.
28727 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28728 (shlib-lds, shlib-lds-flags): Define to empty.
28729
2d4fa81e
RM
28730 * Makerules (shlib-lds): New variable.
28731 (shlib-lds-flags): New variable.
28732 (build-shlib, build-moduile, build-module-asneeded): Use it.
28733 ($(common-objpfx)libc.so): Use $(shlib-lds).
28734 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28735 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28736
31fffa6b
RM
28737 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28738 DT_FLAGS/DT_FLAGS_1 with zero flags.
28739
4e34ac6a
RM
28740 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28741 linker script munging.
28742
fcfc776b
UD
287432011-07-02 Ulrich Drepper <drepper@gmail.com>
28744
28745 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28746 as 128-bit value.
28747 * crypt/sha512.c (sha512_process_block): Perform total addition using
28748 128-bit if possible.
28749 (__sha512_finish_ctx): Likewise.
28750 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28751 as 64-bit value.
28752 * crypt/sha256.c (SWAP64): Define.
28753 (sha256_process_block): Perform total addition using 64-bit if
28754 possible.
28755 (__sha256_finish_ctx): Likewise.
28756
99231d9a
UD
287572011-07-01 Ulrich Drepper <drepper@gmail.com>
28758
28759 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28760 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28761 * nscd/hstcache.c (cache_addhst): Likewise.
28762 * nscd/grpcache.c (cache_addgr): Likewise.
28763 * nscd/aicache.c (addhstaiX): Likewise
28764 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28765
445b4a53
TK
287662011-07-01 Thorsten Kukuk <kukuk@suse.de>
28767
28768 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28769 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28770 * nscd/hstcache.c (cache_addhst): Likewise.
28771 * nscd/grpcache.c (cache_addgr): Likewise.
28772 * nscd/aicache.c (addhstaiX): Likewise
28773
6d4d8e8e
AS
287742011-07-01 Andreas Schwab <schwab@redhat.com>
28775
28776 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28777 domain only when needed.
28778
89f654c5
AS
287792011-06-30 Andreas Schwab <schwab@redhat.com>
28780
28781 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28782 is always restored.
28783
cf3b23ff
UD
287842011-06-29 Ulrich Drepper <drepper@gmail.com>
28785
28786 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28787 are re-adding the entry.
28788 * nscd/servicescache.c (cache_addserv): Likewise.
28789
751626f9
AJ
287902011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28791
28792 * sysdeps/generic/dl-irel.h: fix protection against multiple
28793 inclusions.
28794 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28795
9113ea1f
UD
287962011-06-28 Ulrich Drepper <drepper@gmail.com>
28797
5c0b8d90
UD
28798 [BZ #12935]
28799 * malloc/memusage.sh: Fix quoting in message.
28800 * debug/xtrace.sh: Likewise.
28801
9113ea1f
UD
28802 * configure.in: Remove support for --experimental-malloc option, make
28803 it the default.
28804 * config.make.in: Likewise.
28805 * malloc/Makefile: Likewise.
28806
a4172181
AS
288072011-06-27 Andreas Schwab <schwab@redhat.com>
28808
28809 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28810 two-byte characters.
28811
78a7eee7
RM
288122011-06-27 Roland McGrath <roland@hack.frob.com>
28813
62bede13
RM
28814 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28815 AC_CACHE_CHECK invocation.
28816 * configure: Regenerated.
28817
78a7eee7
RM
28818 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28819
5ce33a62
UD
288202011-06-27 Ulrich Drepper <drepper@gmail.com>
28821
034807a9
UD
28822 [BZ #12350]
28823 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
28824 bit from old_res_options.
28825
4902da17
UD
28826 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28827
5ce33a62
UD
28828 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28829 value type for setfct.
28830
c2344f56
L
288312011-06-23 H.J. Lu <hongjiu.lu@intel.com>
28832
28833 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28834 __gettimeofday instead of gettimeofday.
28835
68468076
UD
288362011-06-26 Ulrich Drepper <drepper@gmail.com>
28837
28838 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28839
acb0d739
L
288402011-06-24 H.J. Lu <hongjiu.lu@intel.com>
28841
28842 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28843
28844 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28845 info.
28846
8912479f
L
288472011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28848
28849 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28850 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28851 strcpy-sse2-unaligned strncpy-sse2-unaligned
28852 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28853 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28854 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28855 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28856 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28857 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28858 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28859 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28860 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28861 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28862 (STRCPY): Support SSE2 and SSSE3 versions.
28863
d5495a11
UD
288642011-06-24 Ulrich Drepper <drepper@gmail.com>
28865
28866 [BZ #12874]
28867 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28868 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28869 kernels which artificially limit size of requests.
28870
0b1cbaae
L
288712011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28872
28873 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28874 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28875 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28876 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28877 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28878 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28879 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28880 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28881 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28882 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28883 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28884 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28885 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28886 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28887 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28888 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28889 Enable unaligned load optimization for Intel Core i3, i5 and i7
28890 processors.
28891 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28892 Define.
28893 (index_Fast_Unaligned_Load): Define.
28894 (HAS_FAST_UNALIGNED_LOAD): Define.
28895
07f494a0
MP
288962011-06-23 Marek Polacek <mpolacek@redhat.com>
28897
28898 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28899
fa3fc0fe
UD
289002011-06-22 Ulrich Drepper <drepper@gmail.com>
28901
28902 [BZ #12907]
28903 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28904 until it is clear that the information is realy needed.
28905 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28906
e12df166
AS
289072011-06-22 Andreas Schwab <schwab@redhat.com>
28908
28909 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28910
852eb34d
UD
289112011-06-22 Ulrich Drepper <drepper@gmail.com>
28912
84e2a551
UD
28913 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28914 /sys/devices/system/cpu/online if it is usable.
28915
852eb34d
UD
28916 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28917 reading the information from the /proc filesystem to once a second.
28918
6e502e19
UD
289192011-06-21 Andreas Jaeger <aj@suse.de>
28920
28921 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28922 NULL after inclusion of kernel headers.
28923
75d39ff2
UD
289242011-06-21 Ulrich Drepper <drepper@gmail.com>
28925
51f9aa6a
UD
28926 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28927 calls to internal_setent.
28928
c0244a9d
UD
28929 [BZ #12885]
28930 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28931 addresses using gethostbyname4_r ignore IPv4 addresses.
28932
c5e3c2ae
UD
28933 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28934 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
28935
75d39ff2
UD
28936 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28937
42675c6f
DM
289382011-06-20 David S. Miller <davem@davemloft.net>
28939
28940 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28941 inclusions.
28942 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28943
28944 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28945 (elf_irel): Use it.
28946 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28947 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28948 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
28949 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
28950 * sysdeps/x86_64/dl-irel.h: Likewise.
28951
28952 * elf/dl-runtime.c: Use elf_ifunc_invoke.
28953 * elf/dl-sym.c: Likewise.
28954
57912a71
UD
289552011-06-15 Ulrich Drepper <drepper@gmail.com>
28956
28957 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
28958 need to dereference resplen2.
28959
ee22793d
AS
289602011-06-14 Andreas Schwab <schwab@redhat.com>
28961
28962 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
28963
a9e836b0
UD
289642011-06-15 Ulrich Drepper <drepper@gmail.com>
28965
77fb9117
UD
28966 * Makeconfig: Define vardbdir and inst_vardbdir.
28967 * nss/Makefile: Add rules to install db-Makefile.
28968
40c1b22c
UD
28969 * nss/nss_db/db-XXX.c: Cleanup.
28970
9f2da732
UD
28971 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
28972 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
28973 GLIBC_PRIVATE.
28974 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
28975 * nss/makedb.c: Implement -g option to specify that value strings
28976 are generated and should not be added to table iterated over for
28977 get*ent calls.
28978 * nss/nss_db/db-initgroups.c: New file.
28979
82e9a1f7
UD
28980 * nss/getent.c: Add support for initgroups lookups through getgrouplist
28981 interface.
28982
c41af17e
UD
28983 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
28984 (internal_getgrouplist): Adjust to name change.
28985 Update use_initgroups_entry if this is not the first call.
28986 * nss/databases.def: Add initgroups entry.
28987
a9e836b0
UD
28988 * nss/makedb.c (compute_tables): Check result of multiple hash table
28989 sizes to minimize maximum chain length.
28990
2666d441
UD
289912011-06-14 Ulrich Drepper <drepper@gmail.com>
28992
28993 * Versions.def: Add entry for libnss_db.
28994 * shlib-versions: Likewise.
28995 * nss/Makefile: Add rules to build libnss_db.
28996 * nss/Versions: Add libnss_db information. Organize libnss_files
28997 entries better.
28998 * nss/db-Makefile: Add gshadow support. Change rules for the new
28999 makedb progra. Some minor improvements to generate smaller files.
29000 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29001 here from...
29002 * nss/makedb.c: ...here.
29003 Improve database format to be smaller and require less memory at
29004 runtime.
29005 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29006 db anymore.
29007 * nss/nss_db/db-netgrp.c: Likewise.
29008 * nss/nss_db/db-open.c: Likewise.
29009 * nss/nss_files/flies-XXX.x: Adjust comments.
29010 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29011 * nss/nss_files/files-grp.c: Likewise.
29012 * nss/nss_files/files-hosts.c: Likewise.
29013 * nss/nss_files/files-network.c: Likewise.
29014 * nss/nss_files/files-proto.c: Likewise.
29015 * nss/nss_files/files-pwd.c: Likewise.
29016 * nss/nss_files/files-rpc.c: Likewise.
29017 * nss/nss_files/files-service.c: Likewise.
29018 * nss/nss_files/files-sgrp.c: Likewise.
29019 * nss/nss_files/files-spwd.c: Likewise.
29020 * nss/nss_db/db-alias.c: Removed.
29021 * nss/nss_db/dummy-db.h: Removed.
29022
9ee76b5a
UD
290232011-06-02 Ulrich Drepper <drepper@gmail.com>
29024
29025 * nss/makedb.c: Rewritten to not use database library.
29026 * nss/Makefile: Update to build new makedb program.
29027
c71ca1f8
AJ
290282011-06-14 Andreas Jaeger <aj@suse.de>
29029
29030 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29031 memset declaration.
29032
3154bfb8
UD
290332011-06-10 Andreas Schwab <schwab@redhat.com>
29034
29035 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29036 tmpbuf.
29037
b350afab
RM
290382011-06-10 Roland McGrath <roland@hack.frob.com>
29039
decd4e50
RM
29040 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29041 * elf/Makefile ($(objpfx)ld.so): Likewise.
29042
5615eaf2
RM
29043 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29044 Don't list ld.so twice in dependencies.
29045
29046 * posix/bug-regex31.c: Include <stdlib.h>.
29047
29048 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29049
29050 * nis/nss_compat/compat-spwd.c
29051 (getspent_next_nss_netgr): Remove unused variable.
29052 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29053
29054 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29055 nonmembers" output to use the right array.
29056
29057 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29058
29059 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29060
29061 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29062 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29063 * catgets/gencat.c (read_input_file): Likewise.
29064 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29065
29066 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29067 variable definition inside #if's controlling its use.
29068
29069 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29070
29071 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29072
29073 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29074
29075 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29076 unreachable code.
29077
29078 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29079
b68e08db
RM
29080 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29081 * configure: Regenerated.
29082
b350afab
RM
29083 * Makerules: Revert last change.
29084 * elf/Makefile: Likewise.
29085
28368601
RM
290862011-06-09 Roland McGrath <roland@hack.frob.com>
29087
29088 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29089 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29090 (reloc-link): Likewise.
29091
11988f8f
UD
290922011-06-09 Ulrich Drepper <drepper@gmail.com>
29093
29094 * elf/Makefile: Add rules to build pldd.
29095 * elf/pldd.c: New file.
29096 * elf/pldd-xx.c: New file.
29097
e80fab37
UD
290982011-06-07 Ulrich Drepper <drepper@gmail.com>
29099
29100 * version.h: Update for 2.15 development version.
29101
9b849836
DM
291022011-06-07 David S. Miller <davem@davemloft.net>
29103
29104 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29105 ifuncs.
29106 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29107 elf_machine_lazy_rel): Likewise.
29108 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29109 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29110 elf_machine_lazy_rel): Likewise.
29111 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29112 dl_hwcap via passed in argument.
29113 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29114 Likewise.
29115
5a31b283
AK
291162011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29117
29118 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29119
069e52f8
RM
291202011-06-06 Roland McGrath <roland@hack.frob.com>
29121
29122 [BZ #12849]
29123 * manual/fdl-1.1.texi: New file, verbatim from:
29124 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29125 * manual/lgpl-2.1.texi: New file, verbatim from:
29126 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29127 * manual/Makefile (licenses): New variable, list those new file names.
29128 (texis): Use it.
29129 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29130
29131 * manual/fdl.texi: File removed.
29132 * manual/lesser.texi: File removed.
29133 * manual/libc.texinfo (Copying, Documentation License):
29134 Use new @include file names, put @appendix directive before @include.
29135
f16846a5
JJ
291362011-06-04 Jakub Jelinek <jakub@redhat.com>
29137
29138 [BZ #12841]
29139 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29140 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29141 (mq_open): Add __NTH.
29142
3d29045b
L
291432011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29144
29145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29146 Assume Intel Core i3/i5/i7 processor if AVX is available.
29147
8c297311
UD
291482011-05-31 Ulrich Drepper <drepper@gmail.com>
29149
29150 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29151 typo.
29152
c8fc0c91
UD
291532011-05-31 Andreas Schwab <schwab@redhat.com>
29154
29155 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29156 memory. Use alloca_account. Fix memory leak when retrying.
29157
5b27a807
UD
291582011-05-31 Ulrich Drepper <drepper@gmail.com>
29159
356f8bc6
UD
29160 * version.h (RELEASE): Bump for 2.14 release.
29161 * include/features.h (__GLIBC_MINOR__): Bump to 14.
29162
5b27a807
UD
29163 * config.make.in (RANLIB): Remove entry.
29164
01f16ab0
UD
291652011-05-30 Ulrich Drepper <drepper@gmail.com>
29166
41fce8bd
UD
29167 * po/Makefile (po-sed-cmd): Add ksh to extensions.
29168 (libc.pot): Work around missing support for .ksh extension in xgettext.
29169
4769ae77
UD
29170 [BZ #12684]
29171 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29172 if both request failed.
29173 (send_dg): In case of server errors clear resplen or *resplen2.
29174
6b1e7d19
UD
29175 [BZ #12454]
29176 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29177 when there are multiple maps.
29178 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29179 (_dl_fini): Remove test here.
29180
01f16ab0
UD
29181 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29182
b1ebd700
UD
291832011-05-29 Ulrich Drepper <drepper@gmail.com>
29184
7ae22829
UD
29185 [BZ #12350]
29186 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29187 bit from old_res_options.
29188 (gaih_inet): Likewise.
29189
553149f6 29190 [BZ #11099]
18a84741 29191 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
29192 as signed.
29193
652ffab1
UD
29194 * resolv/res_init.c (res_setoptions): Make the code more compact.
29195
16985fd0
UD
29196 [BZ #11558]
29197 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29198 set RES_USEVC.
29199
0464f746
UD
29200 [BZ #11634]
29201 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29202
7d17596c
UD
29203 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29204
cf6bbbd7
UD
29205 [BZ #11781]
29206 * malloc/malloc.h: Declare malloc hook variables as volatile.
29207
13f1ab36
UD
29208 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29209 in last patch.
29210
b1ebd700
UD
29211 [BZ #11799]
29212 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 29213 raise in the comment.
80e2212d
UD
29214 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29215 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29216 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 29217
ce67228d
UD
292182011-05-28 Ulrich Drepper <drepper@gmail.com>
29219
8887a920
UD
29220 [BZ #12811]
29221 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29222 grow the buffers more if it already has to be sufficient.
29223 (build_wcs_upper_buffer): Likewise.
29224 * posix/regexec.c (check_matching): Likewise.
29225 (clean_state_log_if_needed): Likewise.
29226 (extend_buffers): Don't enlarge buffers beyond size of the input
29227 buffer.
29228 Patches mostly by Emil Wojak <emil@wojak.eu>.
29229 * posix/bug-regex32.c: New file.
29230 * posix/Makefile (tests): Add bug-regex32.
29231
4f031072
UD
29232 * locale/findlocale.c (_nl_find_locale): Return right away if
29233 _nl_explode_name failed.
29234 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29235
d0478f0c
UD
29236 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29237
de81b246
UD
29238 * debug/xtrace.sh: Unify messages.
29239 * malloc/memusage.sh: Likewise.
29240
c738465a
UD
29241 [BZ #12813]
29242 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29243 time symbol from vDSO. Substitute with vsyscall if not available.
29244 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29245 __vdso_time.
29246
f1f929d7
UD
29247 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29248 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29249 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29250 Add sendmmsg and internal_sendmmsg.
29251 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29252 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29253 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29254
ce67228d
UD
29255 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29256 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29257 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29258
e57420c6
UD
292592011-05-27 Ulrich Drepper <drepper@gmail.com>
29260
a8509ca5
UD
29261 [BZ #12813]
29262 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29263 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29264 available.
29265 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29266 __vdso_getcpu.
29267
e57420c6
UD
29268 [BZ #12814]
29269 * iconvdata/Makefile (tests): Add bug-iconv9.
29270 * iconvdata/bug-iconv9.c: New file.
29271
4d07db15
AS
292722011-05-27 Andreas Schwab <schwab@redhat.com>
29273
29274 [BZ #12814]
29275 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29276
ea486f69
JJ
292772011-05-25 Jakub Jelinek <jakub@redhat.com>
29278
29279 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29280 (struct user_regs_struct): Change intcs field back to cs.
29281
6f038433
UD
292822011-05-25 Ulrich Drepper <drepper@gmail.com>
29283
29284 * po/ja.po: Update from translation team.
29285
67f86a25
UD
292862011-05-23 Ulrich Drepper <drepper@gmail.com>
29287
29288 [BZ #12795]
29289 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29290 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29291
def7fbd6
AS
292922011-05-20 Andreas Schwab <schwab@redhat.com>
29293
29294 * stdlib/longlong.h: Update from GCC.
29295
f50ef8f1
AS
292962011-05-23 Andreas Schwab <schwab@redhat.com>
29297
29298 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29299 parameter name.
29300 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29301 Add parameter name.
29302 (__sysconf): Pass it down.
29303
de7ce8f1
UD
293042011-05-22 Ulrich Drepper <drepper@gmail.com>
29305
f2962a71
UD
29306 [BZ #12671]
29307 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29308 some situations.
29309 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29310 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29311 add in in __libc_use_alloca calls. Adjust callers.
29312 (glob): Use malloc in some situations.
29313
de7ce8f1
UD
29314 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29315 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29316 pltexit.
29317
aec84f53
UD
293182011-05-21 Ulrich Drepper <drepper@gmail.com>
29319
05bb4a68
UD
29320 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29321 and CLOCK_BOOTTIME_ALARM.
29322
7ea72f99
UD
29323 [BZ #12782]
29324 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29325 is returned.
29326
7e4afad5
UD
29327 * string/_strerror.c (__strerror_r): Print negative errors as signed
29328 numbers.
29329
8e211fec
UD
29330 [BZ #12777]
29331 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29332 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29333 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29334
f7d82dc9
UD
29335 * configure.in: Fix typo in redirection and correct removal of test
29336 files in two cases.
29337
cc9e536d
UD
29338 [BZ #12788]
29339 * locale/setlocale.c (new_composite_name): Fix test to check for
29340 identical name of all categories.
29341
aec84f53
UD
29342 [BZ #12792]
29343 * libio/filedoalloc.c (local_isatty): New function.
29344 (_IO_file_doallocate): Use local_isatty.
29345 * stdio-common/perror.c (perror): In case a new stream is used
29346 forward the stream error.
29347 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29348 error flag.
29349
78e64fdc
RT
293502011-05-20 Ulrich Drepper <drepper@gmail.com>
29351
34a9094f
UD
29352 [BZ #11869]
29353 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29354 alloca.
29355 * include/alloca.h (extend_alloca_account): Define.
29356
78e64fdc
RT
29357 [BZ #11857]
29358 * posix/regex.h: Fix comments with documentation of user-accessible
29359 fields after compilation and describe correct free'ing of pattern
29360 after re_compile_pattern.
29361 Patch by Reuben Thomas <rrt@sc3d.org>.
29362
457bddfc
RA
293632011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29364
29365 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29366 and -mno-altivec to prevent the compiler from using Altivec and/or
29367 VSX instructions when the corresponding registers are not available.
29368
a4527b51
AS
293692011-05-19 Andreas Schwab <schwab@redhat.com>
29370
29371 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29372
ed690b2f
UD
293732011-05-19 Ulrich Drepper <drepper@gmail.com>
29374
29375 * libio/freopen.c (freopen): Use __dup2, not dup2.
29376 * libio/freopen64.c (freopen64): Likewise.
29377
8db73634
L
293782011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29379
29380 [BZ #12775]
29381 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29382 * math/Makefile (tests): Add test-powl.
29383 (CFLAGS-test-powl.c): Define.
29384 * math/test-powl.c: New file.
29385
0a197a9d
L
293862011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29387
29388 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29389
ee30c380
UD
293902011-05-17 Ulrich Drepper <drepper@gmail.com>
29391
29392 [BZ #11837]
29393 * iconvdata/gb18030.c: Update to GB18020-2005.
29394
6ce75379
UD
293952011-05-16 Ulrich Drepper <drepper@gmail.com>
29396
a4b89fd8
AR
29397 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29398 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29399 Patch by Aharon Robbins <arnold@skeeve.com>.
29400
ea389b12
UD
29401 [BZ #11892]
29402 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29403 on the stack.
29404
68a3f91f
UD
29405 [BZ #11895]
29406 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29407 through underflows.
29408
15cc7dd1
UD
29409 [BZ #12766]
29410 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29411 point to strings before performing equality test for error_one_per_line
29412 mode.
29413
f3799213
UD
29414 [BZ #11697]
29415 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29416
d79a9c94
UD
29417 [BZ #11820]
29418 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29419 (struct user_fpregs_struct): Avoid __uint*_t types.
29420
56e5eb46
UD
29421 [BZ #6420]
29422 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29423 symbol info. Use it instead of calling _dl_addr locally.
29424 (lock_and_info): New function.
29425 (tr_freehook): Call lock_and_info and pass symbol info as additional
29426 parameter to tr_where.
29427 (tr_mallochook): Likewise.
29428 (tr_reallochook): Likewise.
29429 (tr_memalignhook): Likewise.
29430
6ce75379
UD
29431 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29432 used and couldn't be at all thread-safe.
29433
f8a3b5bf
UD
294342011-05-15 Ulrich Drepper <drepper@gmail.com>
29435
94b7cc37
UD
29436 * libio/freopen.c (freopen): Don't close old file descriptor
29437 before the new one is opened. Instead dup the new file descriptor
29438 to the old one after the new stream is created.
29439 * libio/freopen64.c (freopen64): Likewise.
29440 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29441 * libio/fileops.c (_IO_new_file_close_it): Handle new
29442 _IO_FLAGS2_NOCLOSE flag.
29443 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29444 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29445 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29446 _IO_FLAGS2_NOCLOSE flag.
29447 * include/unistd.h: Add hidden_proto for dup3.
29448 Define __have_dup3.
29449 * io/dup3.c: Define hidden symbol.
29450 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29451
bd25564e
UD
29452 [BZ #7101]
29453 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29454 when an incomplete long option is used.
29455 * posix/tst-getopt_long1.c: New file.
29456 * posix/Makefile (tests): Add tst-getopt_long1.
29457
c84cfef4
UD
29458 [BZ #10138]
29459 * scripts/config.guess: Update from autoconf-2.68.
29460 * scripts/config.sub: Likewise.
29461
3b85df27
UD
29462 [BZ #10157]
29463 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29464 tests into ...
29465 (has_cpuclock): ...this. New function.
29466 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29467 macro here based on has_cpuclock code.
29468
15a856b1
UD
29469 [BZ #10149]
29470 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29471 First byte (not low byte) is now always NUL.
29472 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29473
05f399e6
UD
29474 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29475 Use non-cancelable interfaces.
29476
10a52685 29477 [BZ #9809]
94ecc67d
UD
29478 * locale/iso-639.def: Add entry for Sorani.
29479
f8a3b5bf
UD
29480 [BZ #11901]
29481 * include/stdlib.h: Move include protection to the right place.
29482 Define abort_msg_s. Declare __abort_msg with it.
29483 * stdlib/abort.c (__abort_msg): Adjust type.
29484 * assert/assert.c (__assert_fail_base): New function. Majority
29485 of code from __assert_fail. Allocate memory for __abort_msg with
29486 mmap.
29487 (__assert_fail): Now call __assert_fail_base.
29488 * assert/assert-perr.c: Remove bulk of implementation. Use
29489 __assert_fail_base.
29490 * include/assert.hL Declare __assert_fail_base.
29491 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29492 mmap.
29493 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29494
1af4e298
UD
294952011-05-14 Ulrich Drepper <drepper@gmail.com>
29496
f8a3b5bf 29497 [BZ #11952]
d26dfc60
MG
29498 [BZ #12453]
29499 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29500 until all modules are registered in the DTV.
29501 * elf/Makefile: Add rules to build and run tst-tls19.
29502 * elf/tst-tls19.c: New file.
29503 * elf/tst-tls19mod1.c: New file.
29504 * elf/tst-tls19mod2.c: New file.
29505 * elf/tst-tls19mod3.c: New file.
29506 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29507
2fc54d6f
UD
29508 [BZ #12083]
29509 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29510 correctly.
29511
98d76b46
UD
29512 [BZ #12601]
29513 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29514 two-byte sequence errors.
29515 * iconvdata/Makefile (tests): Add bug-iconv8.
29516 * iconvdata/bug-iconv8.c: New file.
29517
da3c19ef
UD
29518 [BZ #12626]
29519 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29520 buf2 definition.
29521
ca408c15
UD
29522 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29523
d6f67f7d
UD
29524 [BZ #12432]
29525 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29526 (dummy_getcfa): New function.
29527 (init): Get _Unwind_GetCFA address, use dummy if not found.
29528 (backtrace_helper): In recursion check, also check whether CFA changes.
29529 (__backtrace): Completely initialize arg.
29530
1af4e298 29531 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
29532 storing incomplete byte sequence in state object. Avoid testing for
29533 guaranteed too small input if we know there is enough data available.
1af4e298 29534
da62f81b
AS
295352011-05-11 Andreas Schwab <schwab@redhat.com>
29536
29537 * Makeconfig (+link-pie): Indent.
29538 * Rules (binaries-pie): Define if $(have-fpie) and
29539 $(build-shared).
29540 (binaries-shared): Also filter out $(binaries-pie).
29541 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29542 * nscd/Makefile (others-pie): Add nscd.
29543 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29544 ($(objpfx)nscd): Remove command override.
29545 * login/Makefile (others-pie): Add pt_chown.
29546 ($(objpfx)pt_chown): Remove command override.
29547 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29548 remove command overrides.
29549
fcabc0f8
UD
295502011-05-13 Ulrich Drepper <drepper@gmail.com>
29551
20030ae6
UD
29552 * libio/tst_putwc.c: Fix error messages.
29553
fcabc0f8
UD
29554 [BZ #12724]
29555 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29556 currently writing and seek to current position when not.
29557 * libio/Makefile (tests): Add bug-fclose1.
29558 * libio/bug-fclose1.c: New file.
29559
320a5dc0
PB
295602011-05-12 Ulrich Drepper <drepper@gmail.com>
29561
29562 [BZ #12511]
29563 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29564 don't set DF_1_NODELETE here.
29565 (do_lookup_x): When entering new entry test for copy relocation
29566 and if necessary set DF_1_NODELETE flag.
29567 * elf/tst-unique4.cc: New file.
29568 * elf/tst-unique4.h: New file.
29569 * elf/tst-unique4lib.cc: New file.
29570 * elf/Makefile: Add rules to build and run tst-unique4.
29571 Patch by Piotr Bury <pbury@goahead.com>.
29572
22836f52
UD
295732011-05-11 Ulrich Drepper <drepper@gmail.com>
29574
f574184a
UD
29575 [BZ #12052]
29576 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29577
e1fb097f
UD
29578 [BZ #12625]
29579 * misc/mntent_r.c (addmntent): Flush the stream after the output
29580
22836f52
UD
29581 [BZ #12393]
29582 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29583 (is_trusted_path_normalize): Skip initial colon. Append slash
29584 to empty buffer. Duplicate is_trusted_path code but allow
29585 constructed patch to be prefix.
29586 (is_dst): Allow $ORIGIN followed by /.
29587 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29588 Correct testing of result of is_trusted_path_normalize
29589 (decompose_rpath): Fix warning.
29590
7b3b0b2a
UD
295912011-05-10 Ulrich Drepper <drepper@gmail.com>
29592
29593 [BZ #11257]
29594 * grp/initgroups.c (internal_getgrouplist): When we found the service
29595 list through the initgroups entry in nsswitch.conf do not always
29596 continue on a successful lookup. Don't always use the
eac80ce2 29597 __nss_group_database value if it is set.
7b3b0b2a
UD
29598 * nss/nsswitch.conf (initgroups): Change action for successful db
29599 lookup to continue for compatibility.
29600
2a81eaa5
UD
296012011-05-09 Ulrich Drepper <drepper@gmail.com>
29602
be97a69e
UD
29603 [BZ #11532]
29604 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29605 and CP774 modules.
29606 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29607 and CP774 modules.
29608 * iconvdata/tst-tables.sh: Likewise.
29609 * iconvdata/cp770.c: New file.
29610 * iconvdata/cp771.c: New file.
29611 * iconvdata/cp772.c: New file.
29612 * iconvdata/cp773.c: New file.
29613 * iconvdata/cp774.c: New file.
29614 * iconvdata/testdata/CP770: New file.
29615 * iconvdata/testdata/CP770..UTF8: New file.
29616 * iconvdata/testdata/CP771: New file.
29617 * iconvdata/testdata/CP771..UTF8: New file.
29618 * iconvdata/testdata/CP772: New file.
29619 * iconvdata/testdata/CP772..UTF8: New file.
29620 * iconvdata/testdata/CP773: New file.
29621 * iconvdata/testdata/CP773..UTF8: New file.
29622 * iconvdata/testdata/CP774: New file.
29623 * iconvdata/testdata/CP774..UTF8: New file.
29624
29625 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29626 END CHARMAP line.
29627 * iconvdata/gen-8bit-gap.sh: Likewise.
29628 * iconvdata/gen-8bit.sh: Likewise.
29629
c1e9e399
UD
29630 * locale/iso-639.def: Add ary entry.
29631
24c55fb3 29632 [BZ #11258]
96b4b1b0
UD
29633 * locale/C-translit.h.in: Add U20A1 transliteration.
29634
bdc2f971
KB
29635 [BZ #12178]
29636 * locale/iso-639.def: Add wae entry.
29637 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29638
2952b117
UD
29639 [BZ #12545]
29640 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29641 for n.
29642
2a81eaa5
UD
29643 [BZ #12711]
29644 * locale/C-translit.h.in: Add entry for U20B9.
29645 Patch by pravin.d.s@gmail.com.
29646
28377d1b
UD
296472011-05-08 Ulrich Drepper <drepper@gmail.com>
29648
7fb90fb8
UD
29649 [BZ #12713]
29650 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29651 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
29652 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29653 in rtld. Use *stat64.
7fb90fb8 29654 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 29655 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 29656 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
29657 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29658 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29659 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29660 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29661 __fstatat64 macros.
7fb90fb8
UD
29662 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29663 * dirent/rewinddir.c: Add libc_hidden_def.
29664 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 29665 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 29666
28377d1b
UD
29667 * include/dirent.h (__alloc_dir): Add flags parameter.
29668 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29669 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29670 __alloc_dir.
29671 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29672 from fdopendir if O_CLOEXEC is already set.
29673
66bdbaa4
AM
296742011-03-15 Alan Modra <amodra@gmail.com>
29675
29676 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29677 l_tls_firstbyte_offset non-zero. Save padding offset in
29678 l_tls_firstbyte_offset for later use.
29679 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29680 freeing static tls block.
29681
95721191
JN
296822011-03-05 Jonathan Nieder <jrnieder@gmail.com>
29683
29684 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29685 where #ifdef was intended. The intent is to prevent ARG_MAX from
29686 being defined by the kernel headers.
29687
f87dfb1f
UD
296882011-05-07 Ulrich Drepper <drepper@gmail.com>
29689
29690 [BZ #12734]
29691 * resolv/resolv.h: Define RES_NOTLDQUERY.
29692 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29693 no-tld-query and set RES_NOTLDQUERY.
29694 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29695 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29696 modern BIND to search name as TLD unless forbidden.
29697
47c3cd7a
UD
296982011-05-07 Petr Baudis <pasky@suse.cz>
29699 Ulrich Drepper <drepper@gmail.com>
29700
29701 [BZ #12393]
29702 * elf/dl-load.c (fillin_rpath): Move trusted path check...
29703 (is_trusted_path): ...to here.
c1e9ea35 29704 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 29705 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 29706 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 29707
8a35c912
PP
297082011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29709
29710 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29711 __BEGIN/__END_DECLS.
29712
acd41f47
UD
297132011-05-06 Ulrich Drepper <drepper@gmail.com>
29714
29715 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29716 NSS_STATUS_NOTFOUND if no record was found.
29717
597df647
AS
297182011-05-05 Andreas Schwab <schwab@redhat.com>
29719
29720 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29721 (headers-not-in-tirpc): Remove rpc/netdb.h
29722 * resolv/netdb.h: Revert last change.
29723
b9af1301
PP
297242011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29725
29726 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29727 circular dependency between libgcc.a and libc.a.
29728
4e34d5f5
AS
297292011-05-05 Andreas Schwab <schwab@redhat.com>
29730
29731 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29732 * nis/Makefile: Don't install rpcsvc/*.
29733 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29734 instead of <rpc/types.h>.
29735 (MAXHOSTNAMELEN): Define.
29736
00ee369c
AS
297372011-05-03 Andreas Schwab <schwab@redhat.com>
29738
29739 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29740
0b592a30
MB
297412011-04-28 Maciej Babinski <mbabinski@google.com>
29742
29743 [BZ #12714]
29744 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29745 gethostbyname4_r when IPv6 results are possible.
29746
6e04cbbe
UD
297472011-05-02 Ulrich Drepper <drepper@gmail.com>
29748
29749 [BZ #12723]
29750 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29751 _PC_PIPE_BUF handling.
29752
e4ecafe0
BH
297532011-04-30 Bruno Haible <bruno@clisp.org>
29754
29755 [BZ #12717]
29756 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29757 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29758 to 'int'.
29759 * inet/getnameinfo.c (getnameinfo): Likewise.
29760
125ee683
UD
297612011-04-29 Ulrich Drepper <drepper@gmail.com>
29762
29763 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29764 to groups setting in database lookup.
29765 * nss/nsswitch.conf: Add initgroups entry.
29766
b722481a
EB
297672011-04-22 Ulrich Drepper <drepper@gmail.com>
29768
29769 [BZ #12685]
29770 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29771 mode string.
29772 Patch by Eric Blake <eblake@redhat.com>.
29773
4df46dbd
L
297742011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29775
29776 * sunrpc/Makefile (need-export-routines): Add svc_run.
29777 (routines): Remove svc_run.
29778 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29779 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29780 * sunrpc/svc_run.c (svc_run): Likewise.
29781 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29782
e84142d2
UD
297832011-04-21 Ulrich Drepper <drepper@gmail.com>
29784
29785 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29786 problem in reallocation in last patch.
29787
877175d8
UD
297882011-04-20 Ulrich Drepper <drepper@gmail.com>
29789
29790 * sunrpc/Makefile: Move inclusion of Rules.
29791
ab8eed78
UD
297922011-04-19 Ulrich Drepper <drepper@gmail.com>
29793
29794 * nss/nss_files/files-initgroups.c: New file.
29795 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29796 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29797 _nss_files_initgroups_dyn.
29798
e3d8f584
RS
297992011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29800
29801 * elf/elf.h (R_ARM_IRELATIVE): Define.
29802
af190f45
UD
298032011-04-19 Ulrich Drepper <drepper@gmail.com>
29804
29805 * po/ru.po: Update from translation team.
29806
53cf59ef
UD
298072011-04-17 Ulrich Drepper <drepper@gmail.com>
29808
29809 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29810 dependencies.
29811
4c559bcd
MF
298122011-02-06 Mike Frysinger <vapier@gentoo.org>
29813
29814 [BZ #12653]
29815 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29816 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29817 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29818 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29819 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29820
4420675c
AS
298212011-03-28 Andreas Schwab <schwab@linux-m68k.org>
29822
29823 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29824 differing bytes.
29825 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29826 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29827 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29828
75ea32ab
UD
298292011-04-17 Ulrich Drepper <drepper@gmail.com>
29830
29831 [BZ #12420]
29832 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29833 storing it.
29834 * stdlib/bug-getcontext.c: New file.
29835 * stdlib/Makefile: Add rules to build and run bug-getcontext.
29836
27390476
AK
298372011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29838
29839 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29840 instructions into .machine "z9-109".
29841 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29842 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29843
10442705
AK
298442011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29845
29846 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29847 between environment variables and auxiliary vector.
29848
7b57bfe5
UD
298492011-04-16 Ulrich Drepper <drepper@gmail.com>
29850
29851 * Makefile: Add rules to build linkobj/libc.so.
29852 * include/libc-symbols.h: Define libc_hidden_nolink.
29853 * include/rpc/auth.h: Mark functions which are to be hidden.
29854 * include/rpc/auth_des.h: Likewise.
29855 * include/rpc/auth_unix.h: Likewise.
29856 * include/rpc/clnt.h: Likewise.
29857 * include/rpc/des_crypt.h: Likewise.
29858 * include/rpc/key_prot.h: Likewise.
29859 * include/rpc/pmap_clnt.h: Likewise.
29860 * include/rpc/pmap_prot.h: Likewise.
29861 * include/rpc/pmap_rmt.h: Likewise.
29862 * include/rpc/rpc_msg.h: Likewise.
29863 * include/rpc/svc.h: Likewise.
29864 * include/rpc/svc_auth.h: Likewise.
29865 * include/rpc/xdr.h: Likewise.
29866 * nis/Makefile: Link all DSOs against linkobj/libc.so.
29867 * nss/Makefile: Likewise.
29868 * sunrpc/Makefile: Don't install headers. Build library with normal
29869 entry points. Don't build rpcinfo. Link RPC tests appropriately.
29870 * sunrpc/auth_des.c: Hide exported symbols by default, export some
29871 for the compat linking library. Remove use of INTDEF/INTUSE.
29872 * sunrpc/auth_none.c: Likewise.
29873 * sunrpc/auth_unix.c: Likewise.
29874 * sunrpc/authdes_prot.c: Likewise.
29875 * sunrpc/authuxprot.c: Likewise.
29876 * sunrpc/clnt_gen.c: Likewise.
29877 * sunrpc/clnt_perr.c: Likewise.
29878 * sunrpc/clnt_raw.c: Likewise.
29879 * sunrpc/clnt_simp.c: Likewise.
29880 * sunrpc/clnt_tcp.c: Likewise.
29881 * sunrpc/clnt_udp.c: Likewise.
29882 * sunrpc/clnt_unix.c: Likewise.
29883 * sunrpc/des_crypt.c: Likewise.
29884 * sunrpc/des_soft.c: Likewise.
29885 * sunrpc/get_myaddr.c: Likewise.
29886 * sunrpc/key_call.c: Likewise.
29887 * sunrpc/key_prot.c: Likewise.
29888 * sunrpc/netname.c: Likewise.
29889 * sunrpc/pm_getmaps.c: Likewise.
29890 * sunrpc/pm_getport.c: Likewise.
29891 * sunrpc/pmap_clnt.c: Likewise.
29892 * sunrpc/pmap_prot.c: Likewise.
29893 * sunrpc/pmap_prot2.c: Likewise.
29894 * sunrpc/pmap_rmt.c: Likewise.
29895 * sunrpc/publickey.c: Likewise.
29896 * sunrpc/rpc_cmsg.c: Likewise.
29897 * sunrpc/rpc_common.c: Likewise.
29898 * sunrpc/rpc_dtable.c: Likewise.
29899 * sunrpc/rpc_prot.c: Likewise.
29900 * sunrpc/rpc_thread.c: Likewise.
29901 * sunrpc/rtime.c: Likewise.
29902 * sunrpc/svc.c: Likewise.
29903 * sunrpc/svc_auth.c: Likewise.
29904 * sunrpc/svc_authux.c: Likewise.
29905 * sunrpc/svc_raw.c: Likewise.
29906 * sunrpc/svc_run.c: Likewise.
29907 * sunrpc/svc_simple.c: Likewise.
29908 * sunrpc/svc_tcp.c: Likewise.
29909 * sunrpc/svc_udp.c: Likewise.
29910 * sunrpc/svc_unix.c: Likewise.
29911 * sunrpc/svcauth_des.c: Likewise.
29912 * sunrpc/xcrypt.c: Likewise.
29913 * sunrpc/xdr.c: Likewise.
29914 * sunrpc/xdr_array.c: Likewise.
29915 * sunrpc/xdr_float.c: Likewise.
29916 * sunrpc/xdr_intXX_t.c: Likewise.
29917 * sunrpc/xdr_mem.c: Likewise.
29918 * sunrpc/xdr_rec.c: Likewise.
29919 * sunrpc/xdr_ref.c: Likewise.
29920 * sunrpc/xdr_sizeof.c: Likewise.
29921 * sunrpc/xdr_stdio.c: Likewise.
29922
e6c61494
UD
299232011-04-10 Ulrich Drepper <drepper@gmail.com>
29924
29925 [BZ #12650]
29926 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29927 * sysdeps/ia64/dl-tls.h: Likewise.
29928 * sysdeps/powerpc/dl-tls.h: Likewise.
29929 * sysdeps/s390/dl-tls.h: Likewise.
29930 * sysdeps/sh/dl-tls.h: Likewise.
29931 * sysdeps/sparc/dl-tls.h: Likewise.
29932 * sysdeps/x86_64/dl-tls.h: Likewise.
29933 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29934
34fe483e
AS
299352011-03-14 Andreas Schwab <schwab@redhat.com>
29936
29937 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29938 rpath element also skip the following colon.
29939 (expand_dynamic_string_token): Add is_path parameter and pass
29940 down to DL_DST_REQUIRED and _dl_dst_substitute.
29941 (decompose_rpath): Call expand_dynamic_string_token with
29942 non-zero is_path. Ignore empty rpaths.
29943 (_dl_map_object_from_fd): Call expand_dynamic_string_token
29944 with zero is_path.
29945
f12a32e6
AS
299462011-04-08 Andreas Schwab <schwab@linux-m68k.org>
29947
29948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29949 Make cancelable.
29950
38a7d692
UD
299512011-04-09 Ulrich Drepper <drepper@gmail.com>
29952
29953 [BZ #12655]
29954 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
29955 Patch by Filipe David Manana <fdmanana@apache.org>.
29956
e451d22b
AS
299572011-04-07 Andreas Schwab <schwab@redhat.com>
29958
29959 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
29960 Maintain aligned stack.
29961 (CHECK_RSP): Remove unused macro.
29962
dedc7c7b
UD
299632011-04-03 Ulrich Drepper <drepper@gmail.com>
29964
29965 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
29966 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
29967
94521213
UD
299682011-04-02 Ulrich Drepper <drepper@gmail.com>
29969
29970 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
29971
8cb700c0 29972 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 29973
0354e355
L
299742011-03-26 H.J. Lu <hongjiu.lu@intel.com>
29975
29976 [BZ #12518]
29977 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
29978 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
29979 * sysdeps/x86_64/memmove.c: New file.
29980 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
29981 (memcpy): Renamed to ...
29982 (__new_memcpy): This.
29983 (memcpy): Provide GLIBC_2_14 memcpy.
29984 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
29985 (memcpy): Provide GLIBC_2_2_5 memcpy.
29986
8593482f
UD
299872011-04-01 Ulrich Drepper <drepper@gmail.com>
29988
29989 [BZ #12631]
29990 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
29991
81a5726b
AS
299922011-03-30 Andreas Schwab <schwab@redhat.com>
29993
29994 * misc/syncfs.c: New file.
29995 * misc/Makefile (routines): Add syncfs.
29996 * posix/unistd.h: Declare syncfs.
29997 * sysdeps/unix/syscalls.list: Add syncfs.
29998
00e5419f
AS
299992011-04-01 Andreas Schwab <schwab@redhat.com>
30000
30001 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30002 open_by_handle_at.
30003 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30004 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30005 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30006 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30007 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30008 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30009 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30010
748876bf
UD
300112011-04-01 Ulrich Drepper <drepper@gmail.com>
30012
658e451d
UD
30013 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30014 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30015 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30016 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30017 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30018 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30019 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30020
748876bf
UD
30021 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30022 sync_file_range.c with -fexceptions.
30023 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30024 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30025 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30026 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30027 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30028 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30029 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
30030 sync_file_range as cancellation point
30031 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30032 now a wrapper around __call_sync_file_range with cancellation handling.
30033 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30034 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30035 function name to __call_sync_file_range.
30036 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30037 Add call_sync_file_range.
748876bf 30038
6e63d5e1
AS
300392011-04-01 Andreas Schwab <schwab@redhat.com>
30040
30041 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 30042 bits/timex.h.
6e63d5e1 30043
46998f74
UD
300442011-04-01 Ulrich Drepper <drepper@gmail.com>
30045
4c1423ed
UD
30046 * iconv/iconv.h: Fix typo in comment.
30047 * io/fcntl.h: Likewise.
30048 * libio/stdio.h: Likewise.
30049 * posix/spawn.h: Likewise.
30050 * posix/unistd.h: Likewise.
30051 * stdlib/stdlib.h: Likewise.
30052 * time/time.h: Likewise.
30053 * wcsmbs/wchar.h: Likewise.
30054
158648c0
UD
30055 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30056 open_by_handle): Add.
30057 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30058 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30059 Augment a few comments.
30060 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30061 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30062 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30063 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30064 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30065 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30066 open_by_handle.
30067
46998f74
UD
30068 * io/fcntl.h (AT_EMPTY_PATH): Define.
30069
83fe108b
UD
300702011-03-30 Ulrich Drepper <drepper@gmail.com>
30071
30072 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30073 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30074 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30075 to...
30076 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
30077 * Versions.def: Add GLIBC_2.14.
30078 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30079 Export.
83fe108b 30080
bb242059
UD
300812011-03-22 Ulrich Drepper <drepper@gmail.com>
30082
30083 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30084 round counter.
30085 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30086
c97a1282
L
300872011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30088
30089 [BZ #12597]
30090 * string/test-strncmp.c (do_page_test): New function.
30091 (check2): Likewise.
30092 (test_main): Call check2.
30093 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30094
2a115601
UD
300952011-03-20 Ulrich Drepper <drepper@gmail.com>
30096
30097 [BZ #12587]
30098 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30099 Handle cache information in CPU leaf 4.
30100 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30101
8126d904
UD
301022011-03-18 Ulrich Drepper <drepper@gmail.com>
30103
042c49c6 30104 [BZ #12583]
8126d904
UD
30105 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30106 character representation.
30107 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30108
ccfe366e
RA
301092011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30110
30111 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30112 END(__isnan) to END(__isnanf) to match function entry point/label
30113 EALIGN(__isnanf,...).
30114
c6e13027
JJ
301152011-03-10 Jakub Jelinek <jakub@redhat.com>
30116
30117 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30118
33f85a3f
UD
301192011-03-10 Ulrich Drepper <drepper@gmail.com>
30120
028478fa
UD
30121 [BZ #12510]
30122 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30123 copy from the symbol referenced in the relocation to initialize the
30124 used variable.
30125 Patch by Piotr Bury <pbury@goahead.com>.
30126 * elf/Makefile: Add rules to build and tst-unique3.
30127 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30128 * elf/tst-unique3.cc: New file.
30129 * elf/tst-unique3.h: New file.
30130 * elf/tst-unique3lib.cc: New file.
30131 * elf/tst-unique3lib2.cc: New file.
30132
33f85a3f
UD
30133 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30134
03592fc7
MF
301352011-03-10 Mike Frysinger <vapier@gentoo.org>
30136
30137 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30138 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30139 to _start.
03592fc7 30140
6a5ee102
UD
301412011-03-06 Ulrich Drepper <drepper@gmail.com>
30142
30143 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30144 to-be-loaded object along a path to loader is ld.so.
30145
7e4ba49c
HJ
301462011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30147 Ulrich Drepper <drepper@gmail.com>
30148
30149 * sysdeps/x86_64/memset.S: After aligning destination, code
30150 branches to different locations depending on the value of
30151 misalignment, when multiarch is enabled. Fix this.
30152
301532011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30154
30155 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30156 Set _x86_64_preferred_memory_instruction for AMD processsors.
30157 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30158 Set bit_Prefer_SSE_for_memop for AMD processors.
30159
13a804de
UD
301602011-03-04 Ulrich Drepper <drepper@gmail.com>
30161
30162 * libio/fmemopen.c (fmemopen): Optimize a bit.
30163
9d25c392
AS
301642011-03-03 Andreas Schwab <schwab@redhat.com>
30165
30166 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30167
a5543c6a
RM
301682011-03-03 Roland McGrath <roland@redhat.com>
30169
30170 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30171
012d35f7
DM
301722011-02-28 Aurelien Jarno <aurelien@aurel32.net>
30173
7e4ba49c 30174 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
30175 __bzero_ultra1 instead of __memset_ultra1.
30176
4bff6e01
AS
301772011-02-23 Andreas Schwab <schwab@redhat.com>
30178 Ulrich Drepper <drepper@gmail.com>
30179
30180 [BZ #12509]
30181 * include/link.h (struct link_map): Add l_orig_initfini.
30182 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30183 returning unsuccessfully.
30184 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30185 close of a file loaded at startup, restore the original l_initfini
30186 list.
30187 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30188 list, store the pointer.
30189 * elf/Makefile ($(objpfx)noload-mem): New rule.
30190 (noload-ENV): Define.
30191 (tests): Add $(objpfx)noload-mem.
30192 * elf/noload.c: Include <memcheck.h>.
30193 (main): Call mtrace. Close all opened handles.
30194
f2092faf
AS
301952011-02-17 Andreas Schwab <schwab@redhat.com>
30196
30197 [BZ #12454]
30198 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30199 dependencies are missing.
30200
6c8a2e88
ST
302012011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30202
f2092faf 30203 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
30204 Hurd needs munmap.
30205 * sysdeps/mach/hurd/ifreq.h: New file.
30206
84a42118
PB
302072011-01-27 Petr Baudis <pasky@suse.cz>
30208 Ulrich Drepper <drepper@gmail.com>
30209
071f805e 30210 [BZ 12445]#
84a42118
PB
30211 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30212 to extend_alloca().
30213 * stdio-common/bug23.c: New file.
30214 * stdio-common/Makefile (tests): Add bug23.
30215
e23fe25b
AS
302162010-09-28 Andreas Schwab <schwab@redhat.com>
30217 Ulrich Drepper <drepper@gmail.com>
30218
30219 [BZ #12489]
30220 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30221 before performing relro protection. At old place add assertion
30222 to make sure nothing changed.
30223
d3f02e10
NS
302242011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30225 Glauber de Oliveira Costa <glommer@gmail.com>
30226
30227 * elf/elf.h: Add new ARM TLS relocs.
30228
d55fd7a5
RA
302292011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30230
30231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30232 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30233 cast from r3.
30234 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30235 'tests' variable.
30236 * sysdeps/wordsize-64/tst-writev.c: New file.
30237
2206397e
RA
302382011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30239
30240 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30241 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30242 insns in _dl_start to prevent a TOC reference before relocs are
30243 resolved.
30244
e9433893
UD
302452011-02-15 Ulrich Drepper <drepper@gmail.com>
30246
30247 [BZ #12469]
30248 * Makeconfig: Remove RANLIB definition.
30249 * Makerules: Don't use RANLIB.
30250 * aclocal.m4: Remove ranlib test.
30251 * configure.in: No need to check for ranlib.
30252 * elf/rtld-Rules: Don't use RANLIB.
30253
f75286c6
ST
302542011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30255
8e31c82d
ST
30256 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30257 protection macro.
30258 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30259 inclusion protection macro.
30260
f75286c6
ST
30261 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30262 SIGRTMIN and SIGRTMAX and print information in that case only when
30263 SIGRTMIN is defined.
30264
c1d0e639
JJ
302652011-02-11 Jakub Jelinek <jakub@redhat.com>
30266
30267 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30268 arginfo fn returning -1.
30269
30270 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30271 and thousands string is zero terminated.
30272
edf9294e
AS
302732011-02-03 Andreas Schwab <schwab@redhat.com>
30274
30275 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30276 sysdeps/unix/sysv/linux/bits/socket.h.
30277
2b7e92df
ST
302782011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30279
edf9294e
AS
30280 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30281 (__CPU_COUNT): Remove old macros.
30282 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30283 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30284 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
30285 (__sched_cpualloc, __sched_cpufree): Add declarations.
30286
a4c7ea7b
UD
302872011-02-05 Ulrich Drepper <drepper@gmail.com>
30288
30289 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30290 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30291 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30292 (readdhstai): Return value of addhstaiX call.
30293 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30294 (addgrbyX): Return value returned by cache_addgr.
30295 (readdgrbyname): Return value returned by addgrbyX.
30296 (readdgrbygid): Likewise.
30297 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30298 (addpwbyX): Return value returned by cache_addpw.
30299 (readdpwbyname): Return value returned by addhstbyX.
30300 (readdpwbyuid): Likewise.
30301 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30302 (addservbyX): Return value returned by cache_addserv.
30303 (readdservbyname): Return value returned by addservbyX:
30304 (readdservbyport): Likewise.
30305 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30306 (addhstbyX): Return value returned by cache_addhst.
30307 (readdhstbyname): Return value returned by addhstbyX.
30308 (readdhstbyaddr): Likewise.
30309 (readdhstbynamev6): Likewise.
30310 (readdhstbyaddrv6): Likewise.
30311 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30312 (readdinitgroups): Return value returned by addinitgroupsX.
30313 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30314 (prune_cache): Keep track of timeout value of re-added entries.
30315 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30316 * nscd/nscd.h: Adjust prototypes of readd* functions.
30317
a0bf67cc
RM
303182011-02-04 Roland McGrath <roland@redhat.com>
30319
30320 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30321 (nis_stats): Likewise.
30322 * nis/nis_modify.c (nis_modify): Likewise.
30323 * nis/nis_remove.c (nis_remove): Likewise.
30324 * nis/nis_add.c (nis_add): Likewise.
30325
30326 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30327
30328 * posix/fnmatch_loop.c: Add some consts.
30329
30330 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30331
435b95eb
L
303322011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30333
30334 [BZ #12460]
30335 * config.make.in (config-cflags-novzeroupper): Define.
30336 * configure.in: Substitute libc_cv_cc_novzeroupper.
30337 * elf/Makefile (AVX-CFLAGS): Define.
30338 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30339 (CFLAGS-tst-auditmod4a.c): Likewise.
30340 (CFLAGS-tst-auditmod4b.c): Likewise.
30341 (CFLAGS-tst-auditmod6b.c): Likewise.
30342 (CFLAGS-tst-auditmod6c.c): Likewise.
30343 (CFLAGS-tst-auditmod7b.c): Likewise.
30344 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30345
8517b15e
UD
303462011-02-02 Ulrich Drepper <drepper@gmail.com>
30347
30348 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30349 function to the callback.
30350 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30351
10a656fe
AS
303522011-02-02 Andreas Schwab <schwab@redhat.com>
30353
30354 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30355 of errno.
30356
968dad0a
UD
303572011-01-19 Ulrich Drepper <drepper@gmail.com>
30358
9f94d2ea 30359 [BZ #11724]
968dad0a
UD
30360 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30361 of constructors.
30362 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30363 of destructors.
30364 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30365
30366 [BZ #11724]
30367 * elf/Makefile: Add rules to build and run new test.
30368 * elf/tst-initorder.c: New file.
30369 * elf/tst-initorder.exp: New file.
30370 * elf/tst-initordera1.c: New file.
30371 * elf/tst-initordera2.c: New file.
30372 * elf/tst-initordera3.c: New file.
30373 * elf/tst-initordera4.c: New file.
30374 * elf/tst-initorderb1.c: New file.
30375 * elf/tst-initorderb2.c: New file.
30376 * elf/tst-order-a1.c: New file.
30377 * elf/tst-order-a2.c: New file.
30378 * elf/tst-order-a3.c: New file.
30379 * elf/tst-order-a4.c: New file.
30380 * elf/tst-order-b1.c: New file.
30381 * elf/tst-order-b2.c: New file.
30382 * elf/tst-order-main.c: New file.
30383 New test case by George Gensure <werkt0@gmail.com>.
30384
86e92359
UD
303852010-10-01 Andreas Schwab <schwab@redhat.com>
30386
30387 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30388 decoding ACE if AI_CANONIDN.
30389
5d5732b0
UD
303902011-01-18 Ulrich Drepper <drepper@gmail.com>
30391
30392 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30393
a77e8cbc
UD
303942011-01-17 Ulrich Drepper <drepper@gmail.com>
30395
6392473f
UD
30396 * version.h (RELEASE): Bump for 2.13 release.
30397 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30398
620a0529
UD
30399 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30400
18ba70a5
UD
30401 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30402 MADV_NOHUGEPAGE.
32465c3e
UD
30403 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30404 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30405 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30406 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30407 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30408 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30409
c0dafcf1
UD
30410 * posix/getconf.c: Update copyright year.
30411 * catgets/gencat.c: Likewise.
30412 * csu/version.c: Likewise.
30413 * debug/catchsegv.sh: Likewise.
30414 * debug/xtrace.sh: Likewise.
30415 * elf/ldconfig.c: Likewise.
30416 * elf/ldd.bash.in: Likewise.
30417 * elf/sprof.c (print_version): Likewise.
30418 * iconv/iconv_prog.c: Likewise.
30419 * iconv/iconvconfig.c: Likewise.
30420 * locale/programs/locale.c: Likewise.
30421 * locale/programs/localedef.c: Likewise.
30422 * malloc/memusage.sh: Likewise.
30423 * malloc/mtrace.pl: Likewise.
30424 * nscd/nscd.c (print_version): Likewise.
30425 * nss/getent.c: Likewise.
30426
a77e8cbc
UD
30427 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30428 PF_CAIF, and PF_ALG.
30429 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30430
77e8bddf
AS
304312011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30432
1f20b93a
AS
30433 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30434 (modules-names): Use them.
30435 (ifunc-test-modules, ifunc-pie-tests): Define.
30436 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30437 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30438 (test-extras): Likewise.
30439 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30440 $(compile-command.c).
30441 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30442 (all-built-dso): Define.
30443 (check-textrel.out, check-execstack.out): Depend on it.
30444
77e8bddf
AS
30445 * configure.in: Don't override --enable-multi-arch.
30446
bc425b33
UD
304472011-01-15 Ulrich Drepper <drepper@gmail.com>
30448
30449 [BZ #6812]
30450 * nscd/hstcache.c (tryagain): Define.
30451 (cache_addhst): Return tryagain not notfound for temporary errors.
30452 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30453 failed.
30454
794c3ad3
UD
304552011-01-14 Ulrich Drepper <drepper@gmail.com>
30456
70181fdd
UD
30457 [BZ #10563]
30458 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30459 to make the syscall.
30460 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30461
794c3ad3
UD
30462 [BZ #12378]
30463 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30464 and fall back to matching as normal character if the string ends before
30465 the matching ']' is found. This is what POSIX requires.
30466 * posix/testfnm.c: Adjust test result.
30467 * posix/globtest.sh: Adjust test result. Add new test.
30468 * posix/tst-fnmatch.input: Likewise.
30469 * posix/tst-fnmatch2.c: Add new test.
30470
68dc9497
AS
304712010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30472
30473 * elf/Makefile (check-execstack): Revert last change. Depend on
30474 check-execstack.h.
30475 (check-execstack.h): New target.
30476 (generated): Add check-execstack.h.
30477 * elf/check-execstack.c: Include "check-execstack.h".
30478 (main): Revert last change.
30479 (handle_file): Return zero if GNU_STACK is absent and
30480 DEFAULT_STACK_PERMS doesn't include PF_X.
30481
451f001b
UD
304822011-01-13 Ulrich Drepper <drepper@gmail.com>
30483
cfa28e56
UD
30484 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30485 in child fails because the descriptor is already closed.
8cf8ce17
UD
30486 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30487 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30488 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 30489
1086d70d
UD
30490 [BZ #12397]
30491 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30492 syscall.
30493
451f001b
UD
30494 [BZ #10484]
30495 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30496 temporary buffer used to handle multi lookups locally.
a85b5cb4 30497 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 30498
08769175
UD
304992011-01-12 Ulrich Drepper <drepper@gmail.com>
30500
30501 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30502 loader is ld.so.
30503
5e49c52e
UD
305042011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30505
30506 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30507 alignment for SSE2.
30508
60522a5f
UD
305092011-01-12 Ulrich Drepper <drepper@gmail.com>
30510
30511 [BZ #12394]
30512 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30513 characters. When rounding increased number of integer digits recompute
30514 number of groups.
30515 * stdio-common/tst-grouping.c: New file.
30516 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30517
f257bbd7
UD
305182011-01-09 Ulrich Drepper <drepper@gmail.com>
30519
30520 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30521 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30522
30523 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30524 void.
30525 * bits/select.h: Likewise.
30526
fa9c15cb
UD
305272011-01-08 Ulrich Drepper <drepper@gmail.com>
30528
30529 * po/ja.po: Update from translation team.
30530
16c2895f
DM
305312011-01-04 David S. Miller <davem@sunset.davemloft.net>
30532
30533 [BZ #11155]
30534 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30535 implementation just like for lxstat, fxstatat, et al.
30536
2543fef2
JM
305372010-12-27 Jim Meyering <meyering@redhat.com>
30538
30539 [BZ #12348]
30540 * posix/regexec.c (build_trtable): Return failure indication upon
30541 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30542
98727dbe
UD
305432010-12-25 Ulrich Drepper <drepper@gmail.com>
30544
5bd6dc5c
UD
30545 [BZ #12201]
30546 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30547 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30548 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30549 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30550
97983464
UD
30551 [BZ #12207]
30552 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30553
98727dbe
UD
30554 [BZ #12204]
30555 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30556 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30557
4a531bb0
L
305582010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30559
30560 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30561 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30562 script has SORT_BY_INIT_PRIORITY.
30563 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30564 NO_CTORS_DTORS_SECTIONS is defined.
30565 * elf/soinit.c: Likewise.
30566 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30567 NO_CTORS_DTORS_SECTIONS is defined.
30568 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30569 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30570 * sysdeps/sh/init-first.c: Likewise.
30571 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30572
07eb4b71
UD
305732010-12-24 Ulrich Drepper <drepper@gmail.com>
30574
30575 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30576 always use the slow path.
30577
30950a5f
RA
305782010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30579
30580 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30581 similar rule which adds the sysdep directories to the header search in
30582 order to pick up the correct platform stackinfo.h.
30583 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30584 perform test if it is, otherwise return successfully without testing.
30585 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30586 DEFAULT_STACK_PERMS define in stackinfo.h.
30587 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30588 defined in stackinfo.h.
30589 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30590 DEFAULT_STACK_PERMS defined in stackinfo.h.
30591 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30592 * sysdeps/ia64/stackinfo.h: Likewise.
30593 * sysdeps/s390/stackinfo.h: Likewise.
30594 * sysdeps/sh/stackinfo.h: Likewise.
30595 * sysdeps/sparc/stackinfo.h: Likewise.
30596 * sysdeps/x86_64/stackinfo.h: Likewise.
30597 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30598 PF_X for powerpc64. Retain PF_X for powerpc32.
30599
db753e2c
UD
306002010-12-19 Ulrich Drepper <drepper@gmail.com>
30601
14b697f7
UD
30602 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30603 accurately.
db753e2c
UD
30604 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30605 GETDENTS_64BIT_ALIGNED.
30606
28300719
UD
306072010-12-14 Ulrich Drepper <dreper@gmail.com>
30608
14b697f7 30609 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 30610
4f197237
AS
306112010-12-10 Andreas Schwab <schwab@redhat.com>
30612
dbb0472f
AS
30613 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30614 _GNU_SOURCE.
30615
4f197237
AS
30616 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30617 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30618 Remove __restrict.
30619 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30620 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30621
fb88ac72
UD
306222010-12-09 Ulrich Drepper <drepper@gmail.com>
30623
30624 [BZ #11655]
30625 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30626 are initialized.
30627
42acbb92
JJ
306282010-12-09 Jakub Jelinek <jakub@redhat.com>
30629
30630 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30631
c038d98d
UD
306322010-12-03 Ulrich Drepper <drepper@gmail.com>
30633
30634 * po/it.po: Update from translation team.
30635
3a4a2499
L
306362010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30637
30638 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30639 unused codes.
30640
1e24cf6e
UD
306412010-11-30 Ulrich Drepper <drepper@gmail.com>
30642
30643 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30644
a7690819
AS
306452010-11-24 Andreas Schwab <schwab@redhat.com>
30646
30647 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30648 specially.
30649 (gaih_getanswer_slice): Likewise.
30650
3bf8d1b1
JJ
306512010-10-20 Jakub Jelinek <jakub@redhat.com>
30652
30653 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30654
6db52fbb
PB
306552010-05-31 Petr Baudis <pasky@suse.cz>
30656
30657 [BZ #11149]
30658 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30659 silently even in the chroot mode.
30660
eaca7569
UD
306612010-11-22 Ulrich Drepper <drepper@gmail.com>
30662
30663 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30664 last patch a bit. Pretty printing
30665
3056dcdb
UD
306662010-05-31 Petr Baudis <pasky@suse.cz>
30667
30668 [BZ #10085]
30669 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30670 initialization of skip_initgroups_dyn.
30671
cf7c9078
UD
306722010-11-19 Ulrich Drepper <drepper@gmail.com>
30673
30674 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30675 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30676
a1fb5e3e
UD
306772010-11-16 Ulrich Drepper <drepper@gmail.com>
30678
30679 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30680
3540d66b
AS
306812010-11-11 Andreas Schwab <schwab@redhat.com>
30682
30683 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30684 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30685 (tst-fnmatch-ENV): Set MALLOC_TRACE.
30686 ($(objpfx)tst-fnmatch-mem): New rule.
30687 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30688 * posix/tst-fnmatch.c (main): Call mtrace.
30689
13b69574
L
306902010-11-11 H.J. Lu <hongjiu.lu@intel.com>
30691
30692 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30693 Support Intel processor model 6 and model 0x2c.
30694
da93d214
LM
306952010-11-10 Luis Machado <luisgpm@br.ibm.com>
30696
30697 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30698 signed comparison.
30699
8ca52c6e
L
307002010-11-09 H.J. Lu <hongjiu.lu@intel.com>
30701
30702 [BZ #12205]
30703 * string/test-strncasecmp.c (check_result): New function.
30704 (do_one_test): Use it.
30705 (check1): New function.
30706 (test_main): Use it.
30707 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30708 Support strcasecmp and strncasecmp.
30709
69da074d
UD
307102010-11-08 Ulrich Drepper <drepper@gmail.com>
30711
30712 [BZ #12194]
30713 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30714 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30715
ff02d528
L
307162010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30717
30718 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30719 IFUNC support.
30720 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30721 memset-x86-64.
30722 * sysdeps/x86_64/multiarch/bzero.S: New file.
30723 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30724 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30725 * sysdeps/x86_64/multiarch/memset.S: New file.
30726 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30727 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30728 Set bit_Prefer_SSE_for_memop for Intel processors.
30729 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30730 Define.
30731 (index_Prefer_SSE_for_memop): Define.
30732 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30733
344d0b54
LM
307342010-11-04 Luis Machado <luisgpm@br.ibm.com>
30735
30736 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30737 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30738
c0dde15b
UD
307392010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30740
30741 [BZ #12191]
30742 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30743 (__x86_64_raw_data_cache_size_half): Likewise.
30744 (__x86_64_raw_shared_cache_size): Likewise.
30745 (__x86_64_raw_shared_cache_size_half): Likewise.
30746
30747 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30748 (__x86_64_raw_data_cache_size_half): Likewise.
30749 (__x86_64_raw_shared_cache_size): Likewise.
30750 (__x86_64_raw_shared_cache_size_half): Likewise.
30751 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30752 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30753 and __x86_64_raw_shared_cache_size_half. Round
30754 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30755 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30756 to multiple of 256 bytes.
30757
0e516e0e
MS
307582010-11-03 Ulrich Drepper <drepper@gmail.com>
30759
30760 [BZ #12167]
30761 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30762 of inacessible symlinks. Verify result of symlink before returning it.
30763 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30764 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30765
0e012e87
ER
307662010-10-28 Erich Ritz <erichritz@gmail.com>
30767
30768 * math/math.h (isinf): Fix typo in comment.
30769
de0ff7bc
UD
307702010-11-01 Ulrich Drepper <drepper@gmail.com>
30771
30772 * po/da.po: Update from translation team.
30773
fa41c84d
UD
307742010-10-26 Ulrich Drepper <drepper@gmail.com>
30775
30776 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30777 is added to the list.
30778
f0967738
AK
307792010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30780 Ulrich Drepper <drepper@gmail.com>
30781
30782 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30783 the global list here. Move code to...
30784 (_dl_add_to_namespace_list): ...here. New function.
30785 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30786 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30787 * elf/dl-load.c (lose): Don't remove the element from the list.
30788 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30789 (_dl_map_object): Likewise.
30790
307912010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
30792
30793 [BZ #12159]
30794 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30795 into all bytes of SSE register.
30796 Patch by Richard Li <richardpku@gmail.com>.
30797
f0967738 307982010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
30799
30800 [BZ #12140]
30801 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30802 perturbing.
30803
d0b9e94f
MB
308042010-10-20 Michael B. Brutman <brutman@us.ibm.com>
30805
30806 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30807 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30808 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30809 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30811 submachine.
30812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30813
8e9f92e9
AS
308142010-10-22 Andreas Schwab <schwab@redhat.com>
30815
30816 * include/dlfcn.h (__RTLD_SECURE): Define.
30817 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
30818 mode & __RTLD_SECURE instead.
30819 (open_path): Rename preloaded parameter to secure.
30820 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30821 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30822 * elf/dl-deps.c (openaux): Likewise.
30823 * elf/rtld.c (struct map_args): Remove is_preloaded.
30824 (map_doit): Don't use it.
30825 (dl_main): Likewise.
30826 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30827 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30828
bc96fbda
AS
308292010-09-09 Andreas Schwab <schwab@redhat.com>
30830
30831 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30832 (sysd-rules-targets): Remove duplicates.
30833 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30834 rtld-%.$o dependency.
30835
22cd1c9b
AS
308362010-10-18 Andreas Schwab <schwab@redhat.com>
30837
30838 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30839 _dl_map_object do it.
30840
18edac48
UD
308412010-10-19 Ulrich Drepper <drepper@gmail.com>
30842
30843 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30844 fast fma builtins, define the macros in the C99 standard.
30845 (FP_FAST_FMAF): Likewise.
30846 (FP_FAST_FMAL): Likewise.
30847 * sysdeps/x86_64/bits/mathdef.h: Likewise.
30848
30849 * bits/mathdef.h: Update copyright year.
30850 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30851
d2050124
MM
308522010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
30853
30854 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30855 builtins, define the macros in the C99 standard.
30856 (FP_FAST_FMAF): Likewise.
30857 (FP_FAST_FMAL): Likewise.
30858 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30859 multiply/add.
30860 (FP_FAST_FMAF): Likewise.
30861
475facd1
JJ
308622010-10-15 Jakub Jelinek <jakub@redhat.com>
30863
30864 [BZ #3268]
30865 * math/libm-test.inc (fma_test): Some new testcases.
30866 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30867 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30868 y and infinite z. Do multiplication by C already in long double.
30869 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30870 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30871 y and infinite z. Do bitwise or of inexact bit into u.d.
30872 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30873 * sysdeps/i386/fpu/s_fmaf.S: Removed.
30874 * sysdeps/i386/fpu/s_fma.S: Removed.
30875 * sysdeps/i386/fpu/s_fmal.S: Removed.
30876
7c08a05c
JJ
308772010-10-16 Jakub Jelinek <jakub@redhat.com>
30878
30879 [BZ #3268]
30880 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30881 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30882 computation is not scheduled after fetestexcept. Fix value
30883 of minimum denormal long double.
30884
f3f7372d
JJ
308852010-10-14 Jakub Jelinek <jakub@redhat.com>
30886
30887 [BZ #3268]
30888 * math/libm-test.inc (fma_test): Add some more tests.
30889 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30890 correctly.
30891
14d43591
AS
308922010-10-15 Andreas Schwab <schwab@redhat.com>
30893
30894 * scripts/data/localplt-s390-linux-gnu.data: New file.
30895 * scripts/data/localplt-s390x-linux-gnu.data: New file.
30896
5e908464
JJ
308972010-10-13 Jakub Jelinek <jakub@redhat.com>
30898
30899 [BZ #3268]
30900 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30901 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30902 instead of dbl-64.
30903 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30904 inlines.
30905 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30906 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30907 if one of x and y is very large and the other is subnormal.
30908 * sysdeps/s390/fpu/s_fmaf.c: New file.
30909 * sysdeps/s390/fpu/s_fma.c: New file.
30910 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30911 * sysdeps/powerpc/fpu/s_fma.S: New file.
30912 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30913 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30914 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30915
309162010-10-12 Jakub Jelinek <jakub@redhat.com>
30917
30918 [BZ #3268]
30919 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30920 fma tests.
30921 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30922 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30923 * sysdeps/i386/i686/multiarch/s_fma.c: Include
30924 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30925 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30926 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30927 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30928
b833d51f
UD
309292010-10-12 Ulrich Drepper <drepper@redhat.com>
30930
30931 [BZ #12078]
30932 * posix/regcomp.c (parse_branch): One more memory leak plugged.
30933 * posix/bug-regex31.input: Add test case.
30934
1751705d
UD
309352010-10-11 Ulrich Drepper <drepper@gmail.com>
30936
e9b9cbf5
UD
30937 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30938 * posix/bug-regex31.input: New file.
30939
30940 [BZ #12078]
30941 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30942 (parse_sub_exp): Fix last change, use postorder.
30943
ef06edbe
UD
30944 * posix/bug-regex31.c: New file.
30945 * posix/Makefile: Add rules to build and run bug-regex31.
30946
a129c80d
UD
30947 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
30948
30949 [BZ #12078]
30950 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
30951
b76b818e
UD
30952 [BZ #12108]
30953 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
30954 to have entries in sys_siglist.
30955
1751705d
UD
30956 [BZ #12093]
30957 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30958 be NULL.
30959
9ff8d36f
JJ
309602010-10-07 Jakub Jelinek <jakub@redhat.com>
30961
30962 [BZ #3268]
30963 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
30964 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
30965 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
30966 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
30967 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30968 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
30969 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
30970 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
30971 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
30972 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
30973 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30974 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
30975 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30976 * math/ftestexcept.c (fetestexcept): Likewise.
30977 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
30978 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
30979 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30980 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
30981 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
30982 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
30983 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30984
af325969
UD
309852010-10-11 Ulrich Drepper <drepper@gmail.com>
30986
c579b202 30987 [BZ #12107]
af325969
UD
30988 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
30989 newline.
30990
67a67b95
UD
309912010-10-06 Ulrich Drepper <drepper@gmail.com>
30992
30993 * string/bug-strstr1.c: New file.
30994 * string/Makefile: Add rules to build and run bug-strstr1.
30995
5fb308bc
EB
309962010-10-05 Eric Blake <eblake@redhat.com>
30997
30998 [BZ #12092]
30999 * string/str-two-way.h (two_way_long_needle): Always clear memory
31000 when skipping input due to the shift table.
31001
45db99c7
UD
310022010-10-03 Ulrich Drepper <drepper@gmail.com>
31003
3b111893
UD
31004 [BZ #12005]
31005 * malloc/mcheck.c: Handle large requests.
31006
45db99c7
UD
31007 [BZ #12077]
31008 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31009 for strncmp and strncasecmp.
31010 * string/stratcliff.c: Add tests for strcmp and strncmp.
31011 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31012
cf7a1eb8
NI
310132010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31014
31015 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31016 __set_fpscr.
31017
6484ba5e
AJ
310182010-09-30 Andreas Jaeger <aj@suse.de>
31019
31020 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31021 (CGROUP_SUPER_MAGIC): Define.
31022 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31023 Handle btrfs and cgroup file systems.
31024 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31025 Likewise.
31026
91c42559
LM
310272010-09-27 Luis Machado <luisgpm@br.ibm.com>
31028
31029 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31030 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31031
87a97932
AK
310322010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31033
31034 [BZ #12067]
31035 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31036 trying to locate the ELF header.
31037
c21cc9bc
AS
310382010-09-27 Andreas Schwab <schwab@redhat.com>
31039
31040 [BZ #11611]
31041 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31042 Mask out sign-bit copies when constructing f_fsid.
31043
315970f6
PB
310442010-09-24 Petr Baudis <pasky@suse.cz>
31045
31046 * debug/stack_chk_fail_local.c: Add missing licence exception.
31047 * debug/warning-nop.c: Likewise.
31048
1ac7a2c7
JM
310492010-09-15 Joseph Myers <joseph@codesourcery.com>
31050
31051 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31052 implementing getdents64 using getdents syscall, set d_type if
31053 __ASSUME_GETDENTS32_D_TYPE.
31054
56801c50
AS
310552010-09-16 Andreas Schwab <schwab@redhat.com>
31056
31057 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31058 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31059
dda51327
UD
310602010-09-21 Ulrich Drepper <drepper@redhat.com>
31061
31062 [BZ #12037]
31063 * posix/unistd.h: Undo change of feature selection for ftruncate from
31064 2010-01-11.
31065
8ffcee4a
UD
310662010-09-20 Ulrich Drepper <drepper@redhat.com>
31067
a545ecd9 31068 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
31069 detection.
31070
e24f0a8b
AS
310712010-09-20 Andreas Schwab <schwab@redhat.com>
31072
31073 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31074 fanotify_mark.
31075 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31076
7291c56f
AS
310772010-09-14 Andreas Schwab <schwab@redhat.com>
31078
31079 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31080 variables after CHECK_SP call.
31081 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31082
bc5fb037
AS
310832010-09-13 Andreas Schwab <schwab@redhat.com>
31084 Ulrich Drepper <drepper@redhat.com>
31085
31086 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31087 re-relocationg ld.so.
31088 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31089 _dl_init_paths call.
31090 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31091 here anymore.
31092
e66e7419
UD
310932010-09-14 Ulrich Drepper <drepper@redhat.com>
31094
31095 * resolv/res_init.c (__res_vinit): Count the default server we added.
31096
c044aa75
CLT
310972010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31098 Ulrich Drepper <drepper@redhat.com>
31099
31100 [BZ #11968]
31101 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31102 (____longjmp_chk): Use %ebx for saving value across system call.
31103 Add unwind info.
31104
32cf4069
AS
311052010-09-06 Andreas Schwab <schwab@redhat.com>
31106
31107 * manual/Makefile: Don't mix pattern rules with normal rules.
31108
817328ee
AS
311092010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31110
31111 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31112 operation.
31113 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31114 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31115 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31116 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31117 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31118 Likewise.
31119
29fddf61
UD
311202010-09-04 Ulrich Drepper <drepper@redhat.com>
31121
31122 [BZ #11979]
31123 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31124 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31125
0959ffc9
UD
311262010-09-02 Ulrich Drepper <drepper@redhat.com>
31127
31128 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31129 * sysdeps/x86_64/addmul_1.S: Likewise.
31130 * sysdeps/x86_64/lshift.S: Likewise.
31131 * sysdeps/x86_64/mul_1.S: Likewise.
31132 * sysdeps/x86_64/rshift.S: Likewise.
31133 * sysdeps/x86_64/sub_n.S: Likewise.
31134 * sysdeps/x86_64/submul_1.S: Likewise.
31135
ece29840
ST
311362010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31137
0959ffc9
UD
31138 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31139 Define __sched_param instead of SCHED_* and sched_param when
ece29840 31140 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 31141 * bits/sched.h [__need_schedparam]
ece29840 31142 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
31143 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31144 (__defined_schedparam): Define to 1.
ece29840
ST
31145 (__sched_param): New structure, identical to sched_param.
31146 (__need_schedparam): Undefine.
31147
e53a31fe
MF
311482010-08-31 Mike Frysinger <vapier@gentoo.org>
31149
fdc0c10d
MF
31150 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31151 (epoll_create1): Declare.
31152
e53a31fe
MF
31153 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31154
a726d796
AS
311552010-08-31 Andreas Schwab <schwab@redhat.com>
31156
31157 [BZ #7066]
31158 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31159 shifting retval into place.
31160
2f3e3dc7
UD
311612010-09-01 Ulrich Drepper <drepper@redhat.com>
31162
f2933da9
UD
31163 * nis/rpcsvc/nis.h: Update copyright notice.
31164 * nis/rpcsvc/nis.x: Likewise.
31165 * nis/rpcsvc/nis_callback.h: Likewise.
31166 * nis/rpcsvc/nis_callback.x: Likewise.
31167 * nis/rpcsvc/nis_object.x: Likewise.
31168 * nis/rpcsvc/nis_tags.h: Likewise.
31169 * nis/rpcsvc/yp.h: Likewise.
31170 * nis/rpcsvc/yp.x: Likewise.
31171 * nis/rpcsvc/ypupd.h: Likewise.
31172 * nis/yp_xdr.c: Likewise.
31173 * nis/ypupdate_xdr.c: Likewise.
31174
2f3e3dc7
UD
31175 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
31176 mainly the body of pmap_getport. Add parameters to specify timeouts.
31177 (pmap_getport): Use __libc_rpc_getport.
31178 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31179 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31180 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31181
f3dcc2f9
AS
311822010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31183
31184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31185 fanotify_mark.
31186
6d34eb5b
RM
311872010-08-27 Roland McGrath <roland@redhat.com>
31188
31189 * sysdeps/i386/i686/multiarch/Makefile
31190 (CFLAGS-varshift.c): New variable.
31191
9ea3de11
UD
311922010-08-27 Ulrich Drepper <drepper@redhat.com>
31193
c96d23fc
UD
31194 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31195 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31196
9ea3de11
UD
31197 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31198
31199 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31200
623aac7f
L
312012010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31202
31203 * sysdeps/x86_64/strlen.S: Unroll the loop.
31204 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31205 strlen-sse2 strlen-sse2-bsf.
31206 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31207 __strlen_no_bsf if bit_Slow_BSF is set.
31208 (__strlen_sse42): Removed.
31209 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31210 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31211
8b2b7715
RM
312122010-08-25 Roland McGrath <roland@redhat.com>
31213
31214 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31215 * sysdeps/x86_64/multiarch/varshift.c: New file.
31216 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31217 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31218 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31219 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31220
e73015f2
L
312212010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31222
31223 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31224 strlen-sse2 strlen-sse2-bsf.
31225 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31226 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31227 (__strlen_sse2): Removed.
31228 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31229 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31230 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31231 bit_Slow_BSF for Atom.
31232 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31233 (index_Slow_BSF): Define.
31234 (HAS_SLOW_BSF): Define.
31235
df24a73e
UD
312362010-08-25 Ulrich Drepper <drepper@redhat.com>
31237
31238 [BZ #10851]
31239 * resolv/res_init.c (__res_vinit): When no server address at all
31240 is given default to loopback.
31241
f2ac4868
RM
312422010-08-24 Roland McGrath <roland@redhat.com>
31243
09055553
RM
31244 * configure.in: Remove config-name.h generation.
31245 * configure: Regenerated.
31246 * config-name.in: File removed.
31247 * scripts/config-uname.sh: New file.
31248 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31249 ($(objdir)config-name.h): New target.
31250
f2ac4868
RM
31251 * sunrpc/rpc_parse.h: Avoid nested comment.
31252
73f27d5e
RH
312532010-08-24 Richard Henderson <rth@redhat.com>
31254 Ulrich Drepper <drepper@redhat.com>
31255 H.J. Lu <hongjiu.lu@intel.com>
31256
31257 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31258 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31259 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31260 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31261 _mm_alignr_epi8 with _mm_loadu_si128.
31262 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31263 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31264 (__m128i_shift_right): Removed.
31265 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31266 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31267 * sysdeps/x86_64/multiarch/varshift.h: New file.
31268 * sysdeps/x86_64/multiarch/varshift.S: New file.
31269
84b9230c
MF
312702010-08-21 Mike Frysinger <vapier@gentoo.org>
31271
31272 * configure.in: Move assembler checks to before sysdep dir checking.
31273
9bbd0ddc
PB
312742010-08-20 Petr Baudis <pasky@suse.cz>
31275
31276 * LICENSES: Sync the sunrpc license.
31277
9da4bb31
UD
312782010-08-19 Ulrich Drepper <drepper@redhat.com>
31279
a7ab6ec8
UD
31280 * sunrpc/auth_des.c: Update copyright notice once again.
31281 * sunrpc/auth_none.c: Likewise.
31282 * sunrpc/auth_unix.c: Likewise.
31283 * sunrpc/authdes_prot.c: Likewise.
31284 * sunrpc/authuxprot.c: Likewise.
31285 * sunrpc/bindrsvprt.c: Likewise.
31286 * sunrpc/clnt_gen.c: Likewise.
31287 * sunrpc/clnt_perr.c: Likewise.
31288 * sunrpc/clnt_raw.c: Likewise.
31289 * sunrpc/clnt_simp.c: Likewise.
31290 * sunrpc/clnt_tcp.c: Likewise.
31291 * sunrpc/clnt_udp.c: Likewise.
31292 * sunrpc/clnt_unix.c: Likewise.
31293 * sunrpc/des_crypt.c: Likewise.
31294 * sunrpc/des_soft.c: Likewise.
31295 * sunrpc/get_myaddr.c: Likewise.
31296 * sunrpc/getrpcport.c: Likewise.
31297 * sunrpc/key_call.c: Likewise.
31298 * sunrpc/key_prot.c: Likewise.
31299 * sunrpc/openchild.c: Likewise.
31300 * sunrpc/pm_getmaps.c: Likewise.
31301 * sunrpc/pm_getport.c: Likewise.
31302 * sunrpc/pmap_clnt.c: Likewise.
31303 * sunrpc/pmap_prot.c: Likewise.
31304 * sunrpc/pmap_prot2.c: Likewise.
31305 * sunrpc/pmap_rmt.c: Likewise.
31306 * sunrpc/rpc/auth.h: Likewise.
31307 * sunrpc/rpc/auth_unix.h: Likewise.
31308 * sunrpc/rpc/clnt.h: Likewise.
31309 * sunrpc/rpc/des_crypt.h: Likewise.
31310 * sunrpc/rpc/key_prot.h: Likewise.
31311 * sunrpc/rpc/netdb.h: Likewise.
31312 * sunrpc/rpc/pmap_clnt.h: Likewise.
31313 * sunrpc/rpc/pmap_prot.h: Likewise.
31314 * sunrpc/rpc/pmap_rmt.h: Likewise.
31315 * sunrpc/rpc/rpc.h: Likewise.
31316 * sunrpc/rpc/rpc_des.h: Likewise.
31317 * sunrpc/rpc/rpc_msg.h: Likewise.
31318 * sunrpc/rpc/svc.h: Likewise.
31319 * sunrpc/rpc/svc_auth.h: Likewise.
31320 * sunrpc/rpc/types.h: Likewise.
31321 * sunrpc/rpc/xdr.h: Likewise.
31322 * sunrpc/rpc_clntout.c: Likewise.
31323 * sunrpc/rpc_cmsg.c: Likewise.
31324 * sunrpc/rpc_common.c: Likewise.
31325 * sunrpc/rpc_cout.c: Likewise.
31326 * sunrpc/rpc_dtable.c: Likewise.
31327 * sunrpc/rpc_hout.c: Likewise.
31328 * sunrpc/rpc_main.c: Likewise.
31329 * sunrpc/rpc_parse.c: Likewise.
31330 * sunrpc/rpc_parse.h: Likewise.
31331 * sunrpc/rpc_prot.c: Likewise.
31332 * sunrpc/rpc_sample.c: Likewise.
31333 * sunrpc/rpc_scan.c: Likewise.
31334 * sunrpc/rpc_scan.h: Likewise.
31335 * sunrpc/rpc_svcout.c: Likewise.
31336 * sunrpc/rpc_tblout.c: Likewise.
31337 * sunrpc/rpc_util.c: Likewise.
31338 * sunrpc/rpc_util.h: Likewise.
31339 * sunrpc/rpcinfo.c: Likewise.
31340 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31341 * sunrpc/rpcsvc/key_prot.x: Likewise.
31342 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31343 * sunrpc/rpcsvc/mount.x: Likewise.
31344 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31345 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31346 * sunrpc/rpcsvc/rex.x: Likewise.
31347 * sunrpc/rpcsvc/rstat.x: Likewise.
31348 * sunrpc/rpcsvc/rusers.x: Likewise.
31349 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31350 * sunrpc/rpcsvc/spray.x: Likewise.
31351 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31352 * sunrpc/rtime.c: Likewise.
31353 * sunrpc/svc.c: Likewise.
31354 * sunrpc/svc_auth.c: Likewise.
31355 * sunrpc/svc_authux.c: Likewise.
31356 * sunrpc/svc_raw.c: Likewise.
31357 * sunrpc/svc_run.c: Likewise.
31358 * sunrpc/svc_simple.c: Likewise.
31359 * sunrpc/svc_tcp.c: Likewise.
31360 * sunrpc/svc_udp.c: Likewise.
31361 * sunrpc/svc_unix.c: Likewise.
31362 * sunrpc/svcauth_des.c: Likewise.
31363 * sunrpc/xcrypt.c: Likewise.
31364 * sunrpc/xdr.c: Likewise.
31365 * sunrpc/xdr_array.c: Likewise.
31366 * sunrpc/xdr_float.c: Likewise.
31367 * sunrpc/xdr_mem.c: Likewise.
31368 * sunrpc/xdr_rec.c: Likewise.
31369 * sunrpc/xdr_ref.c: Likewise.
31370 * sunrpc/xdr_sizeof.c: Likewise.
31371 * sunrpc/xdr_stdio.c: Likewise.
31372
9da4bb31
UD
31373 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31374 handling.
31375
bdaa77bc
AS
313762010-08-19 Andreas Schwab <schwab@redhat.com>
31377
31378 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31379
fe2f79db
LM
313802010-08-19 Luis Machado <luisgpm@br.ibm.com>
31381
31382 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31383 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31384 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31385 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31386 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31387 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31388 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31389 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31390 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31391 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31392 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31393 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31394 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31395 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31396
b9b42ee0
AB
313972010-07-26 Anton Blanchard <anton@samba.org>
31398
31399 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31400 * malloc/arena.c (heap_trim): Likewise.
31401
1c06ba31
UD
314022010-08-16 Ulrich Drepper <drepper@redhat.com>
31403
31404 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31405 here. Not...
31406 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31407 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31408
f8392f40
L
314092010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31410
31411 * sysdeps/i386/elf/Makefile: New file.
31412
3162f12e
AS
314132010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31414
31415 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31416 from fanotify_init.
31417 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31418 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31419
28c90b2c
UD
314202010-08-15 Ulrich Drepper <drepper@redhat.com>
31421
31422 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31423 of strncasecmp_l.
1feccb6c 31424 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 31425
ca6bb004
UD
314262010-08-14 Ulrich Drepper <drepper@redhat.com>
31427
e9f82e0d
UD
31428 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31429 strncase_l-nonascii.
31430 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31431 Add strncase_l-ssse3.
31432 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31433 * sysdeps/x86_64/strcmp.S: Likewise.
31434 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31435 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31436 * sysdeps/x86_64/strncase.S: New file.
31437 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31438 * sysdeps/x86_64/strncase_l.S: New file.
31439 * string/Makefile (strop-tests): Add strncasecmp.
31440 * string/test-strncasecmp.c: New file.
31441
31442 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31443 warning.
31444
ca6bb004
UD
31445 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31446 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31447
052fa7b3
AS
314482010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31449
31450 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31451
962dba78
UD
314522010-08-12 Ulrich Drepper <drepper@redhat.com>
31453
31454 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31455 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31456 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31457
bebff237
AM
314582010-05-01 Alan Modra <amodra@gmail.com>
31459
31460 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31461 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31462 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31463 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31464 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31465 tidying. Don't tail-call __sigjmp_save for static lib.
31466 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31467 save location.
31468 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31469 (CALL_MCOUNT): Add eh info, and nop after bl.
31470 (TAIL_CALL_SYSCALL_ERROR): New macro.
31471 (PSEUDO_RET): Use it.
31472 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31473 Correct save location of integer regs and cr.
31474 (_dl_profile_resolve): Correct cr save location. Delete nops
31475 after bl when SHARED. Reduce cfi size a little by better
31476 placement of cfi directives.
31477 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31478 make a stack frame. Instead use parm save area as a temp.
31479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31480 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31482 Don't make a stack frame for parent, use parm save area.
31483 Increase child stack frame to 112 bytes. Don't save unused reg,
31484 and adjust reg usage. Set up cfi on error recovery and
31485 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31487 (__makecontext): Add dummy nop after jump to exit.
31488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31489 Use correct parm save area and cr save, reduce stack frame.
31490 Correct cfi for possible PSEUDO_RET frame setup.
31491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31492 Branch to local label emitted by PSEUDO_RET rather than
31493 __syscall_error.
31494
02637374
AS
314952010-08-12 Andreas Schwab <schwab@redhat.com>
31496
31497 [BZ #11904]
31498 * locale/programs/locale.c (print_assignment): New function.
31499 (show_locale_vars): Use it.
31500
c3e2f19b
UD
315012010-08-11 Ulrich Drepper <drepper@redhat.com>
31502
3cdaa6ad
UD
31503 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31504 field.
31505 (struct statfs64): Likewise.
31506 (_STATFS_F_FLAGS): Define.
31507 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31508 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31509 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31510 (ST_VALID): Define locally.
31511 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31512 __statvfs_getflags, use the provided value.
31513 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31514 __ASSUME_STATFS_F_FLAGS.
31515
754f7da3
UD
31516 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31517
10b3bedc
UD
31518 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31519 Add sys/fanotify.h.
31520 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31521 fanotify_mask for GLIBC_2.13.
31522 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31523 fanotify_init and fanotify_mark.
31524 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31525 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31526
c08fb0d7
UD
31527 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31528 Add prlimit.
31529 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31530 prlimit64 for GLIBC_2.13.
31531 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31532 prlimit64.
31533 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31534 syscall.
31535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31536 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31537 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31538 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31539 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31540 add prlimit alias.
31541 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31542
15bac72b
UD
31543 [BZ #11903]
31544 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31545 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31546
c3e2f19b
UD
31547 * nss/Makefile: Add rules to build and run tst-nss-test1.
31548 * shlib-versions: Add entry for libnss_test1.
31549 * nss/nss_test1.c: New file.
31550 * nss/tst-nss-test1.c: New file.
31551
31552 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31553 (__nss_configure_lookup): Set appropriate entry in
31554 __nss_configure_lookup to true.
31555 * nss/nsswitch.h: Define enum with indeces of databases in
31556 databases and __nss_database_custom arrays. Declare
31557 __nss_database_custom.
31558 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31559 to avoid using nscd when custom rules are installed.
31560 * nss/getXXbyYY_r.c: Likewise.
31561 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31562
31563 * nss/nss_files/files-parse.c: Whitespace fixes.
31564
f15ce4d8
UD
315652010-08-09 Ulrich Drepper <drepper@redhat.com>
31566
31567 [BZ #11883]
31568 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31569 * posix/fnmatch_loop.c: Likewise.
31570
d22e4cc9
AK
315712010-07-17 Andi Kleen <ak@linux.intel.com>
31572
31573 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31574 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31575 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31576 * Versions.def [GLIBC_2.13]: Add.
31577
805bc17d
UD
315782010-08-06 Ulrich Drepper <drepper@redhat.com>
31579
31580 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31581 Also fail if tpwd after pwuid call is NULL.
31582
5a42321d
ST
315832010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31584
31585 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31586 when converting to ms.
31587
fd3ebeda
ST
315882010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31589
31590 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31591 EOPNOTSUPP errors with ENOTTY.
31592 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31593 EOPNOTSUPP errors with ENOTTY.
31594
73507d3a
UD
315952010-07-31 Ulrich Drepper <drepper@redhat.com>
31596
31597 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31598 Add strcasecmp_l-ssse3.
31599 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31600 strcasecmp.
31601 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31602 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31603 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31604
fe36dd02
UD
316052010-07-30 Ulrich Drepper <drepper@redhat.com>
31606
66f6765a
UD
31607 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31608
42e08a54
UD
31609 * string/Makefile (strop-tests): Add strcasecmp.
31610 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31611 strcasecmp_l-nonascii.
31612 (gen-as-const-headers): Add locale-defines.sym.
31613 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31614 * sysdeps/x86_64/strcasecmp.S: New file.
31615 * sysdeps/x86_64/strcasecmp_l.S: New file.
31616 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31617 * sysdeps/x86_64/locale-defines.sym: New file.
31618 * string/test-strcasecmp.c: New file.
31619
fe36dd02
UD
31620 * string/test-strcasestr.c: Test both ends of the range of characters.
31621 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31622
48cbc0d6
RM
316232010-07-29 Roland McGrath <roland@redhat.com>
31624
76e6d6bc 31625 [BZ #11856]
48cbc0d6
RM
31626 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31627
880113d9
UD
316282010-07-27 Ulrich Drepper <drepper@redhat.com>
31629
31630 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31631 for ld.so.
31632
deb9cabb
AS
316332010-07-27 Andreas Schwab <schwab@redhat.com>
31634
31635 * manual/memory.texi (Malloc Tunable Parameters): Document
31636 M_PERTURB.
31637
1c7570ff
RM
316382010-07-26 Roland McGrath <roland@redhat.com>
31639
31640 [BZ #11840]
31641 * configure.in (-fgnu89-inline check): Set and substitute
31642 gnu89_inline, not libc_cv_gnu89_inline.
31643 * configure: Regenerated.
31644 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31645
24fb0f88
UD
316462010-07-26 Ulrich Drepper <drepper@redhat.com>
31647
31648 * string/test-strnlen.c: New file.
31649 * string/Makefile (strop-tests): Add strnlen.
31650 * string/tester.c (test_strnlen): Add a few more test cases.
31651 * string/tst-strlen.c: Better error reporting.
31652
31653 * sysdeps/x86_64/strnlen.S: New file.
31654
8e96b93a
UD
316552010-07-24 Ulrich Drepper <drepper@redhat.com>
31656
31657 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31658 lower-latency instructions.
31659
dbc676d4
UD
316602010-07-23 Ulrich Drepper <drepper@redhat.com>
31661
31662 * string/test-strcasestr.c: New file.
31663 * string/test-strstr.c: New file.
31664 * string/Makefile (strop-tests): Add strstr and strcasestr.
31665 * string/str-two-way.h: Don't undefine MAX.
31666 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31667
f6a31e0e
AS
316682010-07-21 Andreas Schwab <schwab@redhat.com>
31669
31670 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31671 strcasestr-nonascii.
31672 (CFLAGS-strcasestr-nonascii.c): Define.
31673 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31674 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31675 Remove unused attribute.
31676
5dbc3b6c
RM
316772010-07-20 Roland McGrath <roland@redhat.com>
31678
31679 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31680 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
31681 ld.so.cache was broken. With it, there is no way to disable dsocaps
31682 like LD_HWCAP_MASK can disable hwcaps.
31683
23d101d8
EPM
316842010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31685
31686 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31687
cc9f2e47
UD
316882010-07-16 Ulrich Drepper <drepper@redhat.com>
31689
31690 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31691 call in strcasestr.
31692 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31693 __strcasestr_sse42_nonascii.
31694 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31695 strcasestr-nonascii.c.
31696 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31697
77c1b069
LM
316982010-06-15 Luis Machado <luisgpm@br.ibm.com>
31699
31700 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31701 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31702 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31703 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31704
440566c3
UD
317052010-07-09 Ulrich Drepper <drepper@redhat.com>
31706
31707 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31708 fcntl.
31709
5be9d05d
AS
317102010-07-06 Andreas Schwab <schwab@redhat.com>
31711
c30b7ee2 31712 [BZ #11577]
5be9d05d
AS
31713 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31714 dl_signal_cerror.
31715
8a492a67
UD
317162010-07-06 Ulrich Drepper <drepper@redhat.com>
31717
31718 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31719 _PC_PIPE_BUF using F_GETPIPE_SZ.
31720
713df3d5
RM
317212010-07-05 Roland McGrath <roland@redhat.com>
31722
31723 * manual/arith.texi (Rounding Functions): Fix rint description
31724 implicit in round description.
31725
702e8f14
UD
317262010-07-02 Ulrich Drepper <drepper@redhat.com>
31727
31728 * elf/Makefile: Fix linking for a few tests to make recent linker
31729 happy.
31730
52ed8be9
AS
317312010-06-30 Andreas Schwab <schwab@redhat.com>
31732
31733 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31734 $(common-objpfx)libc_nonshared.a.
31735
f47c9a11
LM
317362010-06-21 Luis Machado <luisgpm@br.ibm.com>
31737
31738 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31739 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31740 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31741 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31742 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31743 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31744 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31745 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31760 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31761 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31762 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31763 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31764 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31765 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31766 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31767 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31768 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31769 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31770 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31771 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31786
6fb8cbcb
L
317872010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31788
31789 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31790 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31791 * string/memmove.c (memmove): Renamed to ...
31792 (MEMMOVE): ...this. Default to memmove.
31793 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31794 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31795 (END_CHK): Define.
31796 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31797 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31798 mempcpy-ssse3-back memmove-ssse3-back.
31799 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31800 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31801 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31802 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31803 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31804 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31805 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31806 * sysdeps/x86_64/multiarch/memmove.c: New file.
31807 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31808 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31809 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31810 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31811 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31812 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31813 Define.
31814 (index_Fast_Copy_Backward): Define.
31815 (HAS_ARCH_FEATURE): Define.
31816 (HAS_FAST_REP_STRING): Define.
31817 (HAS_FAST_COPY_BACKWARD): Define.
31818
4e733bac 318192010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
31820
31821 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31822 Restore proper fallback handling.
31823
63c4ed22
UD
318242010-06-19 Ulrich Drepper <drepper@redhat.com>
31825
ac2b484c
UD
31826 [BZ #11701]
31827 * posix/group_member.c (__group_member): Correct checking loop.
31828
63c4ed22
UD
31829 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31830 OOM in getpwuid_r correctly. Return error number when the caller
31831 should return, otherwise -1.
31832 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31833 call returning > 0 value.
31834 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31835
765ade4b
AS
318362010-06-07 Andreas Schwab <schwab@redhat.com>
31837
31838 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31839 libc_nonshared.a from targets in modules-names.
31840
80da2e09
KS
318412010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
31842
31843 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31844 requires it.
31845
158db122
LM
318462010-06-10 Luis Machado <luisgpm@br.ibm.com>
31847
31848 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31849 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31850 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31851 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31852
caa78cf8
AS
318532010-06-02 Andreas Schwab <schwab@redhat.com>
31854
31855 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31856
b2ef2c01
UD
318572010-06-14 Ulrich Drepper <drepper@redhat.com>
31858
31859 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31860 and F_GETPIPE_SZ.
31861 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31862 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31863 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31864 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31865 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31866 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31867
fbd643b6
RM
318682010-06-14 Roland McGrath <roland@redhat.com>
31869
31870 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31871
f32f2869
JJ
318722010-06-07 Jakub Jelinek <jakub@redhat.com>
31873
31874 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31875 __REDIRECT followed by __THROW.
31876 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31877 * posix/getopt.h (getopt): Likewise.
31878
2a50c078
EPM
318792010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31880
31881 * hurd/lookup-at.c (__file_name_lookup_at): Accept
31882 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
31883 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31884 in AT_FLAGS.
31885 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31886 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31887
eb5ad2eb
LM
318882010-05-28 Luis Machado <luisgpm@br.ibm.com>
31889
31890 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31891
3c88fe1e
L
318922010-05-26 H.J. Lu <hongjiu.lu@intel.com>
31893
31894 [BZ #11640]
31895 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31896 Properly check family and model.
31897
d2f73151
TY
318982010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
31899
31900 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31901
ebd2e13d
LM
319022010-05-24 Luis Machado <luisgpm@br.ibm.com>
31903
31904 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31905
b32b8b45
UD
319062010-05-21 Ulrich Drepper <drepper@redhat.com>
31907
31908 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31909 symbol reference.
31910
9acbe24d
AS
319112010-05-19 Andreas Schwab <schwab@redhat.com>
31912
31913 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31914 symbol reference.
31915
f0ccf6ea
AS
319162010-05-21 Andreas Schwab <schwab@redhat.com>
31917
3d04ff3a
AS
31918 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31919 and internal_recvmmsg.
31920 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31921 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31922 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31923 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31924
f0ccf6ea
AS
31925 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31926 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31927 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31928
5b08ac57
AS
319292010-05-20 Andreas Schwab <schwab@redhat.com>
31930
31931 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31932
4828935d
LM
319332010-05-17 Luis Machado <luisgpm@br.ibm.com>
31934
31935 POWER7 optimizations.
31936 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31937 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31938
373d545e
UD
319392010-05-19 Ulrich Drepper <drepper@redhat.com>
31940
31941 * version.h: Update for 2.13 development version.
31942
21a2b1ae
AS
319432010-05-12 Andrew Stubbs <ams@codesourcery.com>
31944
31945 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31946 exceptions. Return 0.
31947
3f7dcb2b
RM
319482010-05-07 Roland McGrath <roland@redhat.com>
31949
31950 * elf/ldconfig.c (main): Add a const.
31951
5f24d53a 319522010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 31953
a160f8d8
UD
31954 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
31955 (args_options): Add no-idn option.
31956 (ahosts_keys_int): Add idn_flags to ai_flags.
31957 (parse_option): Handle 'i' option to clear idn_flags.
31958
5f24d53a
UD
31959 * malloc/malloc.c (_int_free): Possible race in the most recently
31960 added check. Only act on the data if no current modification
31961 happened.
265bb1ce
UD
31962
31963See ChangeLog.17 for earlier changes.